Have things changed now?: an empirical study of bug characteristics in modern open source software
The DOI matches its Crossref record; 28 of the 28 references it cites were found in a registry or an index.
Abstract
Software errors are a major cause for system failures. To effectively design tools and support for detecting and recovering from software failures requires a deep understanding of bug characteristics. Recently, software and its development process have significantly changed in many ways, including more help from bug detection tools, shift towards multi-threading architecture, the open-source development paradigm and increasing concerns about security and user-friendly interface. Therefore, results from previous studies may not be applicable to present software. Furthermore, many new aspects such as security, concurrency and open-source-related characteristics have not well studied. Additionally, previous studies were based on a small number of bugs, which may lead to non-representative results.To investigate the impacts of the new factors on software errors, we analyze bug characteristics by first sampling hundreds of real world bugs in two large, representative open-source projects. To validate the representativeness of our results, we use natural language text classification techniques and automatically analyze around 29, 000 bugs from the Bugzilla databases of the software.Our study has discovered several new interesting characteristics: (1) memory-related bugs have decreased because quite a few effective detection tools became available recently; (2) surprisingly, some simple memory-related bugs such as NULL pointer dereferences that should have been detected by existing tools in development are still a major component, which indicates that the tools have not been used with their full capacity; (3) semantic bugs are the dominant root causes, as they are application specific and difficult to fix, which suggests that more efforts should be put into detecting and fixing them; (4) security bugs are increasing, and the majority of them cause severe impacts.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The Nature of Statistical Learning Theory
Vapnik, V. N. (1995) · doi:10.1007/978-1-4757-2440-0 · Cited by 39,138
Learning to Classify Text Using Support Vector Machines
Joachims, T. (2002) · Springer eBooks · doi:10.1007/978-1-4615-0907-3 · Cited by 1,366
Coward, P. D. (1990) · The Software Life Cycle · doi:10.1016/b978-0-408-03741-9.50028-3 · Cited by 1,290
StackGuard: Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks
Cowan, C., Pu, C., Maier, D., Hintony, H., Walpole, J., Bakke, P., Beattie, S., Grier, A., Wagle, P., & Zhang, Q. (1998) · PDXScholar (Portland State University) · Cited by 1,278
Dynamically discovering likely program invariants to support program evolution
Ernst, M. D., Cockrell, J., Griswold, W. G., & Notkin, D. (2001) · IEEE Transactions on Software Engineering · doi:10.1109/32.908957 · Cited by 1,050
A probabilistic model of information retrieval: development and comparative experiments
Sparck Jones, K., Walker, S., & Robertson, S. E. (2000) · Information Processing & Management · doi:10.1016/s0306-4573(00)00015-7 · Cited by 942
Learning to Classify Text Using Support Vector Machines: Methods, Theory and Algorithms
Joachims, T. (2002) · Cited by 932
Software testing techniques (2nd ed.)
Beizer, B. (1990) · Cited by 744
Predicting the location and number of faults in large software systems
Ostrand, T. J., Weyuker, E. J., & Bell, R. M. (2005) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2005.49 · Cited by 720
An empirical study of operating systems errors
Chou, A., Yang, J., Chelf, B., Hallem, S., & Engler, D. (2001) · Proceedings of the eighteenth ACM symposium on Operating systems principles · doi:10.1145/502034.502042 · Cited by 713
Cited by
Learning from mistakes: a comprehensive study on real world concurrency bug characteristics
Lu, S., Park, S., Seo, E., & Zhou, Y. (2008) · Proceedings of the 13th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1346281.1346323 · Cited by 895
Self-citationPredicting defects using network analysis on dependency graphs
Zimmermann, T., & Nagappan, N. (2008) · Proceedings of the 13th international conference on Software engineering - ICSE '08 · doi:10.1145/1368088.1368161 · Cited by 580
An empirical analysis of flaky tests
Luo, Q., Hariri, F., Eloussi, L., & Marinov, D. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635920 · Cited by 450
Predicting vulnerable software components
Neuhaus, S., Zimmermann, T., Holler, C., & Zeller, A. (2007) · Proceedings of the 14th ACM conference on Computer and communications security · doi:10.1145/1315245.1315311 · Cited by 416
A large scale study of programming languages and code quality in github
Ray, B., Posnett, D., Filkov, V., & Devanbu, P. (2014) · Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2635868.2635922 · Cited by 389
Understanding and detecting real-world performance bugs
Jin, G., Song, L., Shi, X., Scherpelz, J., & Lu, S. (2012) · Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2254064.2254075 · Cited by 304
Self-citationYin, Z., Yuan, D., Zhou, Y., Pasupathy, S., & Bairavasundaram, L. (2011) · Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering · doi:10.1145/2025113.2025121 · Cited by 249
Self-citationToward an understanding of bug fix patterns
Pan, K., Kim, S., & Whitehead, E. J. (2009) · Empirical Software Engineering · doi:10.1007/s10664-008-9077-5 · Cited by 246
“Since then, studies focused on categorizing bugs are generally consistent with the following pattern (Basili and Perricone 1984; Leszak et al. 2000; Li et al. 2006; Ostrand and Weyuker 1984; Perry and Stieg 1993; Potier et al. 1982).”
BackgroundInfluentialPersonalized defect prediction
Jiang, T., Tan, L., & Kim, S. (2013) · 2013 28th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2013.6693087 · Cited by 240
“specific classification algorithm, we compare PCC and CC using three widely used [6], [16], [25], [26], [27] classification algorithms: Alternating Decision Tree (ADTree) [13], Naive Bayes [28] and Logistic Regression [29].”
MethodSelf-citationBug characteristics in open source software
Tan, L., Liu, C., Li, Z., Wang, X., Zhou, Y., & Zhai, C. (2014) · Empirical Software Engineering · doi:10.1007/s10664-013-9258-8 · Cited by 239
“Our previous work (Li et al. 2006) studied the bug characteristics of two open source projects Mozilla and Apache.”
BackgroundMethodResultInfluentialSelf-citationEvaluating static analysis defect warnings on production software
Ayewah, N., Pugh, W., Morgenthaler, J. D., Penix, J., & Zhou, Y. (2007) · Proceedings of the 7th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering · doi:10.1145/1251535.1251536 · Cited by 213
“[7] examined the commit logs and messages to classify the occurrence of bugs characteristics and patterns.”
BackgroundSelf-citationSearching for a Needle in a Haystack: Predicting Security Vulnerabilities for Windows Vista
Zimmermann, T., Nagappan, N., & Williams, L. (2010) · 2010 Third International Conference on Software Testing, Verification and Validation · doi:10.1109/icst.2010.32 · Cited by 205
“[24] and Li et al. [11] studied how the number of defects and security issues evolve over time.”
BackgroundWhich warnings should I fix first?
Kim, S., & Ernst, M. D. (2007) · Proceedings of the the 6th joint meeting of the European software engineering conference and the ACM SIGSOFT symposium on The foundations of software engineering · doi:10.1145/1287624.1287633 · Cited by 199
“Recent studies indicate the most prevalent type of bug is semantic or program specific [14, 18].”
Background@tComment: Testing Javadoc Comments to Detect Comment-Code Inconsistencies
Tan, S. H., Marinov, D., Tan, L., & Leavens, G. T. (2012) · 2012 IEEE Fifth International Conference on Software Testing, Verification and Validation · doi:10.1109/icst.2012.106 · Cited by 197
“Various research projects analyze natural-language artifacts such as bugs reports [13], [20], [25], [29], [34], [37], [40], [41], API documentation [46], and method names [19] for different purposes such as detecting duplicate bug reports or identifying the appropriate developers to fix bugs.”
BackgroundSelf-citationIdentifying security bug reports via text mining: An industrial case study
Gegick, M., Rotella, P., & Xie, T. (2010) · 2010 7th IEEE Working Conference on Mining Software Repositories (MSR 2010) · doi:10.1109/msr.2010.5463340 · Cited by 180
“[9] collected SBRs from Mozilla and Apache and used a natural-language model to identify the root causes of the security bugs.”
BackgroundMethodAn Empirical Study of Bugs in WebAssembly Compilers
Romano, A., Liu, X., Kwon, Y., & Wang, W. (2021) · 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678776 · Cited by 49
Metadata
- Authors
- Li, Z., Tan, L., Wang, X., Lu, S., Zhou, Y., & Zhai, C.
- Venue
- Proceedings of the 1st workshop on Architectural and system support for improving software dependability
- Publisher
- ACM
- Published
- 2006-10-21
- Pages
- 25-33
- OpenAlex
- W2156633971
- Cited by
- 291
- References
- 28
- FWCI
- 6.58
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.