{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,17]],"date-time":"2025-10-17T14:21:54Z","timestamp":1760710914560,"version":"build-2065373602"},"reference-count":24,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2022,4,27]],"date-time":"2022-04-27T00:00:00Z","timestamp":1651017600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Natural Science Foundation of Zhejiang Province","award":["LY22F020007","2019C01004","2019C03123"],"award-info":[{"award-number":["LY22F020007","2019C01004","2019C03123"]}]},{"name":"the Key R&amp;D Program of Zhejiang Province","award":["LY22F020007","2019C01004","2019C03123"],"award-info":[{"award-number":["LY22F020007","2019C01004","2019C03123"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Axioms"],"abstract":"<jats:p>Complex network theory has been successfully introduced into the field of software engineering. Many works in the literature have built complex networks in software, usually called software networks, to represent software structure. Such software networks and their related graph algorithms have been proved effective in predicting software bugs. However, the software networks used were unweighted and undirected, neglecting the strength and direction of the couplings. Worse still, they ignored many important types of couplings between classes, such as local variable, instantiates, and access. All of these greatly affect the accuracy of the software network in representing the topological detail of software projects and ultimately affect the metrics derived from it. In this work, an improved effort-aware bug prediction approach named CoreBug is proposed. First, CoreBug uses a weighted directed class dependency network (WDCDN) to precisely describe classes and their couplings, including nine coupling types and their different coupling strengths and directions. Second, a generalized k-core decomposition is introduced to compute the coreness of each class in the WDCDN. Third, CoreBug combines the coreness of each class with its relative risk, as returned by the logistic regression, to quantify the risk of a given class being buggy. Empirical results on eighteen Java projects show that CoreBug is superior to the state-of-the-art approaches according to the average ranking of the Friedman test.<\/jats:p>","DOI":"10.3390\/axioms11050205","type":"journal-article","created":{"date-parts":[[2022,4,27]],"date-time":"2022-04-27T13:40:57Z","timestamp":1651066857000},"page":"205","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":22,"title":["CoreBug: Improving Effort-Aware Bug Prediction in Software Systems Using Generalized k-Core Decomposition in Class Dependency Networks"],"prefix":"10.3390","volume":"11","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0356-623X","authenticated-orcid":false,"given":"Xin","family":"Du","sequence":"first","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Tian","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Liuhai","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6355-1385","authenticated-orcid":false,"given":"Weifeng","family":"Pan","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Chunlai","family":"Chai","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xinxin","family":"Xu","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Bo","family":"Jiang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jiale","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou 310018, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2022,4,27]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"170","DOI":"10.1016\/j.infsof.2014.11.006","article-title":"An empirical study on software defect prediction with a simplified metric set","volume":"59","author":"He","year":"2015","journal-title":"Inf. Softw. Technol."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"331","DOI":"10.1109\/TSE.2014.2370048","article-title":"Are Slice-Based Cohesion Metrics Actually Useful in Effort-Aware Post-Release Fault-Proneness Prediction? An Empirical Study","volume":"41","author":"Yang","year":"2015","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"348","DOI":"10.1109\/TSE.2019.2892959","article-title":"Using K-core Decomposition on Class Dependency Networks to Improve Bug Prediction Model\u2019s Practical Performance","volume":"47","author":"Qu","year":"2021","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"431","DOI":"10.1016\/j.future.2017.09.039","article-title":"Analyzing the structure of Java software systems by weighted K-core decomposition","volume":"83","author":"Pan","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"28076","DOI":"10.1109\/ACCESS.2021.3058450","article-title":"Mining Key Classes in Java Projects by Examining a Very Small Number of Classes: A Complex Network-Based Approach","volume":"9","author":"Li","year":"2021","journal-title":"IEEE Access"},{"key":"ref_6","unstructured":"Harrold, M.J., and Murphy, G.C. (2008, January 9\u201314). Predicting failures with developer networks and social network analysis. Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of Software Engineering, Atlanta, GA, USA."},{"key":"ref_7","unstructured":"Harrold, M.J., and Murphy, G.C. (2008, January 9\u201314). Can developer-module networks predict failures?. Proceedings of the 16th ACM SIGSOFT International Symposium on Foundations of Software Engineering, Atlanta, GA, USA."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"122901:1","DOI":"10.1007\/s11432-015-5426-3","article-title":"Empirical analysis of network measures for predicting high severity software faults","volume":"59","author":"Chen","year":"2016","journal-title":"Sci. China Inf. Sci."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"50","DOI":"10.1016\/j.infsof.2015.09.001","article-title":"Empirical analysis of network measures for effort-aware fault-proneness prediction","volume":"69","author":"Ma","year":"2016","journal-title":"Inf. Softw. Technol."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Pan, W., Ming, H., Yang, Z., and Wang, T. (2022). Comments on \u201cusing k-core decomposition on class dependency networks to improve bug prediction model\u2019s practical performance\u201d. IEEE Trans. Softw. Eng.","DOI":"10.1109\/TSE.2022.3140599"},{"key":"ref_11","unstructured":"Sch\u00e4fer, W., Dwyer, M.B., and Gruhn, V. (2008, January 10\u201318). Predicting defects using network analysis on dependency graphs. Proceedings of the 30th International Conference on Software Engineering (ICSE 2008), Leipzig, Germany."},{"key":"ref_12","unstructured":"Ostrand, T.J. (2009, January 18\u201319). Validation of network measures as indicators of defective modules in software systems. Proceedings of the 5th International Workshop on Predictive Models in Software Engineering, PROMISE, Vancouver, BC, Canada."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Premraj, R., and Herzig, K. (2011, January 22\u201323). Network Versus Code Metrics to Predict Defects: A Replication Study. Proceedings of the 5th International Symposium on Empirical Software Engineering and Measurement, ESEM, Banff, AB, Canada.","DOI":"10.1109\/ESEM.2011.30"},{"key":"ref_14","unstructured":"Huchard, M., K\u00e4stner, C., and Fraser, G. (2018, January 3\u20137). node2defect: Using network embedding to improve software defect prediction. Proceedings of the 33rd ACM\/IEEE International Conference on Automated Software Engineering, ASE, Montpellier, France."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"e2362","DOI":"10.1002\/smr.2362","article-title":"Software defect prediction with imbalanced distribution by radius-synthetic minority over-sampling technique","volume":"33","author":"Guo","year":"2021","journal-title":"J. Softw. Evol. Process"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"159","DOI":"10.1007\/s11219-020-09538-7","article-title":"An empirical study on the effect of community smells on bug prediction","volume":"29","author":"Eken","year":"2021","journal-title":"Softw. Qual. J."},{"key":"ref_17","unstructured":"Brito e Abreu, F., and Goulao, M. (2001, January 14\u201316). Coupling and cohesion as modularization drivers: Are we being over-persuaded?. Proceedings of the Proceedings Fifth European Conference on Software Maintenance and Reengineering, Lisbon, Portugal."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"188","DOI":"10.1016\/j.future.2017.10.006","article-title":"Identifying key classes in object-oriented software using generalized k-core decomposition","volume":"81","author":"Pan","year":"2018","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"1276","DOI":"10.1109\/TSE.2011.103","article-title":"A Systematic Literature Review on Fault Prediction Performance in Software Engineering","volume":"38","author":"Hall","year":"2012","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"485","DOI":"10.1109\/TSE.2008.35","article-title":"Benchmarking Classification Models for Software Defect Prediction: A Proposed Framework and Novel Findings","volume":"34","author":"Lessmann","year":"2008","journal-title":"IEEE Trans. Softw. Eng."},{"key":"ref_21","unstructured":"Menzies, T., Caglayan, B., Kocaguneli, E., Krall, J., Peters, F., and Turhan, B. (2012). The Promise Repository of Empirical Software Engineering Data, West Virginia University, Department of Computer Science."},{"key":"ref_22","unstructured":"Whitehead, J., and Zimmermann, T. (2010, January 2\u20133). An extensive comparison of bug prediction approaches. Proceedings of the 7th International Working Conference on Mining Software Repositories, MSR 2010 (Co-Located with ICSE), Cape Town, South Africa."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Shippey, T., Hall, T., Counsell, S., and Bowes, D. (2016, January 8\u20139). So You Need More Method Level Datasets for Your Software Defect Prediction?: Voil\u00e0!. Proceedings of the 10th ACM\/IEEE International Symposium on Empirical Software Engineering and Measurement, ESEM, Ciudad Real, Spain.","DOI":"10.1145\/2961111.2962620"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"2044","DOI":"10.1016\/j.ins.2009.12.010","article-title":"Advanced nonparametric tests for multiple comparisons in the design of experiments in computational intelligence and data mining: Experimental analysis of power","volume":"180","author":"Luengo","year":"2010","journal-title":"Inf. Sci."}],"container-title":["Axioms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2075-1680\/11\/5\/205\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T23:02:11Z","timestamp":1760137331000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2075-1680\/11\/5\/205"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,4,27]]},"references-count":24,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2022,5]]}},"alternative-id":["axioms11050205"],"URL":"https:\/\/doi.org\/10.3390\/axioms11050205","relation":{},"ISSN":["2075-1680"],"issn-type":[{"type":"electronic","value":"2075-1680"}],"subject":[],"published":{"date-parts":[[2022,4,27]]}}}