{"title":"Metrics analysis based on call graph of class methods","authors":"Du Qingfeng, Shi Kun, Yin Kanglin, Q. Juan","doi":"10.1109/PIC.2017.8359507","DOIUrl":null,"url":null,"abstract":"Evaluating software quality is a significant step in the process of developing software. Object-oriented metrics is an important way for software quality assessment and defect prediction. However, the existing object-oriented metric methods are difficult to reflect the complexity of software and vulnerabilities from the level of classes' method call relationship. A method is proposed in this paper, firstly we construct a call graph according to different classes methods call relationship in the system, and then three new software metrics are defined and analyzed by the call graph. The results of experiment indict that the metrics can reflect the complexity of software systems. These metrics can provide recommendations for evaluating software quality from the call graph.","PeriodicalId":370588,"journal":{"name":"2017 International Conference on Progress in Informatics and Computing (PIC)","volume":"3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 International Conference on Progress in Informatics and Computing (PIC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PIC.2017.8359507","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
Evaluating software quality is a significant step in the process of developing software. Object-oriented metrics is an important way for software quality assessment and defect prediction. However, the existing object-oriented metric methods are difficult to reflect the complexity of software and vulnerabilities from the level of classes' method call relationship. A method is proposed in this paper, firstly we construct a call graph according to different classes methods call relationship in the system, and then three new software metrics are defined and analyzed by the call graph. The results of experiment indict that the metrics can reflect the complexity of software systems. These metrics can provide recommendations for evaluating software quality from the call graph.