Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Contracts in Practice   Contracts are a form of lightweight formal specification embedded in the
program text. Being executable parts of the code, they encourage programmers to
devote proper attention to specifications, and help maintain consistency
between specification and implementation as the program evolves. The present
study investigates how contracts are used in the practice of software
development. Based on an extensive empirical analysis of 21 contract-equipped
Eiffel, C#, and Java projects totaling more than 260 million lines of code over
7700 revisions, it explores, among other questions: 1) which kinds of contract
elements (preconditions, postconditions, class invariants) are used more often;
2) how contracts evolve over time; 3) the relationship between implementation
changes and contract changes; and 4) the role of inheritance in the process. It
has found, among other results, that: the percentage of program elements that
include contracts is above 33% for most projects and tends to be stable over
time; there is no strong preference for a certain type of contract element;
contracts are quite stable compared to implementations; and inheritance does
not significantly affect qualitative trends of contract usage.

29
The categories of this paper are: funct-an
18
The categories of this paper are: econ
11
The categories of this paper are: hep-lat
13
The categories of this paper are: quant-ph
22
The categories of this paper are: chao-dyn
0
The categories of this paper are: hep-ph
12
The categories of this paper are: nucl-th
17
The categories of this paper are: q-fin
34
The categories of this paper are: chem-ph
8
The categories of this paper are: hep-ex
4
The categories of this paper are: cond-mat
14
The categories of this paper are: math-ph
15
The categories of this paper are: nucl-ex
9
The categories of this paper are: nlin
10
The categories of this paper are: q-bio
35
The categories of this paper are: mtrl-th