Skip to content

Commit d085619

Browse files
authored
Corrective commit probability: a measure of the effort invested in bug fixing
1 parent f386282 commit d085619

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

README.md

+21-8
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,31 @@
22

33
Provide languge models for commit classification, data sets and protocols.
44

5-
Part of the supplementary Materials of the ["The Corrective Commit Probability Code Quality Metric"](https://arxiv.org/abs/2007.10912) paper by Idan Amit and [Dror G. Feitelson](https://www.cs.huji.ac.il/~feit/).
5+
# Corrective commit probability: a measure of the effort invested in bug fixing
6+
Supplementary Materials of the ["Corrective commit probability: a measure of the effort invested in bug fixing"](https://www.cs.huji.ac.il/~feit/papers/CCP21SQJ.pdf) paper by Idan Amit and [Dror G. Feitelson](https://www.cs.huji.ac.il/~feit/).
67

78
Please cite as
89
```
9-
@misc{amit2020corrective,
10-
title={The Corrective Commit Probability Code Quality Metric},
11-
author={Idan Amit and Dror G. Feitelson},
12-
year={2020},
13-
eprint={2007.10912},
14-
archivePrefix={arXiv},
15-
primaryClass={cs.SE}
10+
@Article{Amit2021CCP,
11+
author={Amit, Idan
12+
and Feitelson, Dror G.},
13+
title={Corrective commit probability: a measure of the effort invested in bug fixing},
14+
journal={Software Quality Journal},
15+
year={2021},
16+
month={Aug},
17+
day={05},
18+
abstract={The effort invested in software development should ideally be devoted to the implementation of new features. But some of the effort is invariably also invested in corrective maintenance, that is in fixing bugs. Not much is known about what fraction of software development work is devoted to bug fixing, and what factors affect this fraction. We suggest the Corrective Commit Probability (CCP), which measures the probability that a commit reflects corrective maintenance, as an estimate of the relative effort invested in fixing bugs. We identify corrective commits by applying a linguistic model to the commit messages, achieving an accuracy of 93{\%}, higher than any previously reported model. We compute the CCP of all large active GitHub projects (7,557 projects with 200+ commits in 2019). This leads to the creation of an investment scale, suggesting that the bottom 10{\%} of projects spend less than 6{\%} of their total effort on bug fixing, while the top 10{\%} of projects spend at least 39{\%} of their effort on bug fixing --- more than 6 times more. Being a process metric, CCP is conditionally independent of source code metrics, enabling their evaluation and investigation. Analysis of project attributes shows that lower CCP (that is, lower relative investment in bug fixing) is associated with smaller files, lower coupling, use of languages like JavaScript and C{\#} as opposed to PHP and C++, fewer code smells, lower project age, better perceived quality, fewer developers, lower developer churn, better onboarding, and better productivity.},
19+
issn={1573-1367},
20+
doi={10.1007/s11219-021-09564-z},
21+
url={https://doi.org/10.1007/s11219-021-09564-z},
22+
pages={1--45},
23+
publisher={Springer}
24+
1625
}
26+
1727
```
1828

29+
1930
And the supplementary Materials of the ["Which Refactoring Reduces Bug Rate?"](http://www.cs.huji.ac.il/~feit/papers/Refactor19PROMISE.pdf) paper by Idan Amit and [Dror G. Feitelson](https://www.cs.huji.ac.il/~feit/). Promise 2019
2031

2132
Please cite as
@@ -75,3 +86,5 @@ See here the [corrective commit probability code](https://github.com/evidencebp/
7586

7687
# Versions
7788
Live version is updating at https://github.com/evidencebp/commit-classification
89+
90+
Repository will keep advancing.

0 commit comments

Comments
 (0)