Static Analysis and Code Complexity Metrics as Early Indicators of Software Defects
Static Analysis and Code Complexity Metrics as Early Indicators of Software Defects作者机构:Daimler AG Boeblingen Germany Karlsruhe Institute of Technology Karlsruhe Germany
出 版 物:《Journal of Software Engineering and Applications》 (软件工程与应用(英文))
年 卷 期:2018年第11卷第4期
页 面:153-166页
学科分类:1002[医学-临床医学] 100214[医学-肿瘤学] 10[医学]
主 题:Static Analysis Tools Complexity Metrics Software Quality Assurance Statistical Methods Fault Proneness
摘 要: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 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%.