arrow
Return

Topic-based software defect explanation

delete2017-07-01
delete19
PRE
AI
Tse-Hsun Chen cover
Tse-Hsun Chen (Tse-Hsun Chen) *
W
Weiyi Shang
Meiyappan Nagappan cover
Meiyappan Nagappan (Meiyappan Nagappan)
Ahmed E. Hassan cover
Ahmed E. Hassan (Ahmed E. Hassan)
Stephen W. Thomas cover
Stephen W. Thomas (Stephen W. Thomas)
DOI:10.1016/j.jss.2016.05.015delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Researchers continue to propose metrics using measurable aspects of software systems to understand software quality. However, these metrics largely ignore the functionality, i.e., the conceptual concerns, of software systems. Such concerns are the technical concepts that reflect the system's business logic. For instance, while lines of code may be a good general measure for defects, a large file responsible for simple I/O tasks is likely to have fewer defects than a small file responsible for complicated compiler implementation details. In this paper, we study the effect of concerns on software quality. We use a statistical topic modeling approach to approximate software concerns as topics (related words in source code). We propose various metrics using these topics to help explain the file defect-proneness. Case studies on multiple versions of Firefox, Eclipse, Mylyn, and NetBeans show that (i) some topics are more defect-prone than others; (ii) defect-prone topics tend to remain so over time; (iii) our topic-based metrics provide additional explanatory power for software quality over existing structural and historical metrics; and (iv) our topic-based cohesion metric outperforms state-of-the-art topic-based cohesion and coupling metrics in terms of defect explanatory power, while being simpler to implement and more intuitive to interpret. (C) 2016 Elsevier Inc. All rights reserved.
Keywords:
Code quality
Topic modeling
LDA
Metrics
Cohesion
Coupling
A survey on the use of topic models when mining software repositories
err2015-09-10
err136
PREAI
errChen, Tse-Hsun; Thomas, Stephen W.; Hassan, Ahmed E.
errShare
errSave
An Empirical Study on the Effect of Testing on Code Quality Using Topic Models: A Case Study on Software Development Systems
err2017-09-01
err10
PREAI
errChen, Tse-Hsun; Thomas, Stephen W.; Hemmati, Hadi; Nagappan, Meiyappan; Hassan, Ahmed E.
errShare
errSave
A hybrid user-based collaborative filtering algorithm with topic model
err2021-03-20
err17
PREAI
errNa, Liu; Ming-xia, Li; Hai-yang, Qiu; Hao-long, Su
errShare
errSave
An analysis of the coherence of descriptors in topic modeling
err2015-08-01
err195
errOAAI
errO'Callaghan, Derek; Greene, Derek; Carthy, Joe; Cunningham, Padraig
errShare
errSave

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.5K
Citations:
1.0W

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 2.1W
C
concordia university - canada
Scholars:
8.0K
Papers: 8.9K
Citations: 1.1W
R
Rochester Institute of Technology
Scholars:
201
Papers: 101
Citations: 2.2K
researcher View more organizations
Cited Papers

Cited Papers

A Systematic Literature Review on Fault Prediction Performance in Software Engineering
err2012-11-01
err772
errOAAI
errHall, Tracy; Beecham, Sarah; Bowes, David; Gray, David; Counsell, Steve
errShare
errSave
Roles of Nicotinamide Adenine Dinucleotide (NAD+) in Biological Systems
err2018-01-19
err0
errOAAI
errPalmiro Poltronieri; Nataša Čerekovic
errShare
errSave
errShare
errSave
A comparative study of avian middle ear mechanics
err2020-09-01
err0
PREAI
errJohn Peacock; Garth M. Spellman; Daniel J. Tollin; Nathaniel T. Greene
errShare
errSave
Triboelectricity and textile structures
err2020-10-07
err0
PREAI
errAristeidis Repoulias; Savvas Vassiliadis; Sotiria F. Galata
errShare
errSave
Configuring latent Dirichlet allocation based feature location
err2012-08-29
err61
PREAI
errBiggers, Lauren R.; Bocovich, Cecylia; Capshaw, Riley; Eddy, Brian P.; Etzkorn, Letha H.; Kraft, Nicholas A.
errShare
errSave
Local versus Global Lessons for Defect Prediction and Effort Estimation
err2013-06-01
err169
PREAI
errMenzies, Tim; Butcher, Andrew; Cok, David; Marcus, Andrian; Layman, Lucas; Shull, Forrest; Turhan, Burak; Zimmermann, Thomas
errShare
errSave
Semantic clustering: Identifying topics in source code
err2007-03-01
err343
PREAI
errKuhn, Adrian; Ducasse, Stephane; Girba, Tudor
errShare
errSave
Do crosscutting concerns cause defects?
err2008-07-01
err161
PREAI
errEaddy, Marc; Zimmermann, Thomas; Sherwood, Kaitlin D.; Garg, Vibhav; Murphy, Gail C.; Nagappan, Nachiappan; Aho, Alfred V.
errShare
errSave
researcher View more