Sciweavers

SCAM
2006
IEEE

Bug Classification Using Program Slicing Metrics

13 years 10 months ago
Bug Classification Using Program Slicing Metrics
In this paper, we introduce 13 program slicing metrics for C language programs. These metrics use program slice information to measure the size, complexity, coupling, and cohesion properties of programs. Compared with traditional code metrics based on code statements or code structure, program slicing metrics involve measures for program behaviors. To evaluate the program slicing metrics, we compare them with the Understand for C++ suite of metrics, a set of widely-used traditional code metrics, in a series of bug classification experiments. We used the program slicing and the Understand for C++ metrics computed for 887 revisions of the Apache HTTP project and 76 revisions of the Latex2rtf project to classify source code files or functions as either buggy or bug-free. We then compared their classification prediction accuracy. Program slicing metrics have slightly better performance than the Understand for C++ metrics in classifying buggy/bug-free source code. Program slicing metrics h...
Kai Pan, Sunghun Kim, E. James Whitehead Jr.
Added 12 Jun 2010
Updated 12 Jun 2010
Type Conference
Year 2006
Where SCAM
Authors Kai Pan, Sunghun Kim, E. James Whitehead Jr.
Comments (0)