DocumentCode :
660697
Title :
A Comparison of Different Defect Measures to Identify Defect-Prone Components
Author :
Oyetoyan, Tosin Daniel ; Conradi, Reidar ; Cruzes, Daniela Soares
Author_Institution :
Dept. of Comput. & Inf. Sci., Norwegian Univ. of Sci. & Technol., Trondheim, Norway
fYear :
2013
fDate :
23-26 Oct. 2013
Firstpage :
181
Lastpage :
190
Abstract :
(Background) Defect distribution in software systems has been shown to follow the Pareto rule of 20-80. This motivates the prioritization of components with the majority of defects for testing activities. (Research goal) Are there significant variations between defective components and architectural hotspots identified by other defect measures? (Approach) We have performed a study using post-release data of an industrial Smart Grid application with a well-maintained defect tracking system. Using the Pareto principle, we identify and compare defect-prone and hotspots components based on four defect metrics. Furthermore, we validated the quantitative results against qualitative data from the developers. (Results) Our results show that at the top 25% of the measures 1) significant variations exist between the defective components identified by the different defect metrics and that some of the components persist as defective across releases 2) the top defective components based on number of defects could only identify about 40% of critical components in this system 3) other defect metrics identify about 30% additional critical components 4) additional quality challenges of a component could be identified by considering the pair wise intersection of the defect metrics. (Discussion and Conclusion) Since a set of critical components in the system is missed by using largest-first or smallest-first prioritization approaches, this study, therefore, makes a case for an all-inclusive metrics during defect model construction such as number of defects, defect density, defect severity and defect correction effort to make us better understand what comprises defect-prone components and architectural hotspots, especially in critical applications.
Keywords :
Pareto distribution; object-oriented programming; power engineering computing; program testing; smart power grids; software architecture; software metrics; software quality; Pareto principle; Pareto rule; architectural hotspot; component prioritization; critical application; defect correction; defect density; defect distribution; defect measure; defect metrics; defect severity; defect-prone component identification; industrial smart grid application; largest-first prioritization approach; post-release data; quality challenges; smallest-first prioritization approach; software system; testing activities; well-maintained defect tracking system; Maintenance engineering; Measurement; Object oriented modeling; Predictive models; Smart grids; Software; Testing; Smart Grid; architectural hotspots; critical system; defect correction effort; defect density; defect distribution; defect measures; defect metrics; defect severity; defect-prone component;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Measurement and the 2013 Eighth International Conference on Software Process and Product Measurement (IWSM-MENSURA), 2013 Joint Conference of the 23rd International Workshop on
Conference_Location :
Ankara
Type :
conf
DOI :
10.1109/IWSM-Mensura.2013.34
Filename :
6693238
Link To Document :
بازگشت