Static Analysis and Code Complexity Metrics as Early Indicators of Software Defects

Safa Omri, Pascal Montag, Carsten Sinz
2018 Journal of Software Engineering and Applications  
Software is an important part of automotive product development, and it is commonly known that software quality assurance consumes considerable effort in safety-critical embedded software development. Increasing the effectiveness and efficiency of this effort thus becomes more and more important. Identifying problematic code areas which are most likely to fail and therefore require most of the quality assurance attention is required. This article presents an exploratory study investigating
more » ... investigating whether the faults detected by static analysis tools combined with code complexity metrics can be used as software quality indicators and to build pre-release fault prediction models. The combination of code complexity metrics with static analysis fault density was used to predict the pre-release fault density with an accuracy of 78.3%. This combination was also used to separate high and low quality components with a classification accuracy of 79%.
doi:10.4236/jsea.2018.114010 fatcat:klw2xazgsfb5lfmgr5wxbny5hq