International Journal of Computer Applications
Due to the popularity of mobile devices and increasing demands of software applications, more and more individual developers join this industry. However, software defects top at the cost of software development. Software metrics are able to show some indication of software defect. This paper reviews popular static code and object-oriented metrics and summarizes heuristics for using the metrics. Correlations between software defect and metrics are presented. Finally, advantages and disadvantages of metrics are discussed. According to the summary of correlation analyses, some metrics show inconsistent relationships with software defect. Implications to practice and research are provided.