Title :
On the relationship between defects of nodes and characteristics of their neighbors in software structural network
Author :
Yuan, Zi ; Yu, Lili ; Liu, Chao
Author_Institution :
Sch. of Comput. Sci. & Eng., Beihang Univ., Beijing, China
Abstract :
Software development is a complex task as there exist various relationships between different pieces of code. If software entities (e.g., classes) are considered as nodes and the relationships between entities (e.g., inheritance) are considered as edges, the static structure of software can be viewed as a software structural network. In this paper, the relationship between the quality of nodes and the characteristics of their neighbors in the software structural network has been investigated. The following observations have been made: On most occasions, the neighbors of the defect-prone nodes tend to have higher code complexity and be more centralized in the software structural network and undergo more frequent changes than those which are defect-free. The observations made in our research can be used to help software engineers assess risks during the software evolution activities (e.g., adding new entities and relationships) with the purpose of improving software designs.
Keywords :
computational complexity; object-oriented methods; program compilers; program diagnostics; software quality; code complexity; defect-free; defect-prone nodes; risks assessment; software designs; software development; software engineers; software entities; software evolution activities; software static structure; software structural network; Educational institutions; Testing; Metrics; Neighbors; Software quality; Software structural network;
Conference_Titel :
Software Engineering and Service Science (ICSESS), 2012 IEEE 3rd International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4673-2007-8
DOI :
10.1109/ICSESS.2012.6269400