{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,21]],"date-time":"2026-09-21T19:33:03Z","timestamp":1790019183451,"version":"4.0.1"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2020,4,29]],"date-time":"2020-04-29T00:00:00Z","timestamp":1588118400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2020,4,30]]},"abstract":"<jats:p>An important issue faced during software development is to identify defects and the properties of those defects, if found, in a given source file. Determining<jats:italic>defectiveness<\/jats:italic>of source code assumes significance due to its implications on software development and maintenance cost.<\/jats:p><jats:p>We present a novel system to estimate the presence of defects in source code and detect attributes of the possible defects, such as the severity of defects. The salient elements of our system are: (i) a dataset of newly introduced source code metrics, called<jats:italic>PRO<\/jats:italic>gramming<jats:italic>CON<\/jats:italic>struct (PROCON) metrics, and (ii) a novel<jats:italic>M<\/jats:italic>achine-<jats:italic>L<\/jats:italic>earning (ML)-based system, called<jats:italic>D<\/jats:italic>efect<jats:italic>E<\/jats:italic>stimator for<jats:italic>S<\/jats:italic>ource<jats:italic>Co<\/jats:italic>de (DESCo), that makes use of PROCON dataset for predicting defectiveness in a given scenario. The dataset was created by processing 30,400+ source files written in four popular programming languages, viz., C, C++, Java, and Python.<\/jats:p><jats:p>The results of our experiments show that DESCo system outperforms one of the state-of-the-art methods with an improvement of 44.9%. To verify the correctness of our system, we compared the performance of 12 different ML algorithms with 50+ different combinations of their key parameters. Our system achieves the best results with SVM technique with a mean accuracy measure of 80.8%.<\/jats:p>","DOI":"10.1145\/3384517","type":"journal-article","created":{"date-parts":[[2020,5,4]],"date-time":"2020-05-04T17:00:53Z","timestamp":1588611653000},"page":"1-35","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":13,"title":["A Defect Estimator for Source Code"],"prefix":"10.1145","volume":"29","author":[{"given":"Ritu","family":"Kapur","sequence":"first","affiliation":[{"name":"Indian Institute of Technology Ropar, Rupnagar, Punjab, India"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Balwinder","family":"Sodhi","sequence":"additional","affiliation":[{"name":"Indian Institute of Technology Ropar, Rupnagar, Punjab, India"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2020,4,29]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.5455\/aim.2012.21.63-66"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSSP.2019.00011"},{"key":"e_1_2_1_3_1","volume-title":"Estimating defectiveness of source code: A predictive model using github content. arXiv preprint arXiv:1803.07764","author":"Kapur Ritu","year":"2018"},{"key":"e_1_2_1_4_1","volume-title":"Practical Software Testing: A Process-oriented Approach","author":"Burnstein Ilene"},{"key":"e_1_2_1_5_1","volume-title":"Institute of Electrical and Electronics Engineers. Retrieved on","author":"IEEE Computer Society and Software Engineering Technical Committee.","year":"1983"},{"key":"e_1_2_1_6_1","unstructured":"ISO\/IEC. 2011. ISO\/IEC25010:2011(en) Systems and software engineering\u2014Systems and software quality requirements and evaluation (SQuaRE)\u2014System and software quality models. Retrieved from https:\/\/www.iso.org\/obp\/ui\/#iso:std:iso-iec:25010:ed-1:v1:en. ISO\/IEC. 2011. ISO\/IEC25010:2011(en) Systems and software engineering\u2014Systems and software quality requirements and evaluation (SQuaRE)\u2014System and software quality models. Retrieved from https:\/\/www.iso.org\/obp\/ui\/#iso:std:iso-iec:25010:ed-1:v1:en."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2884781.2884804"},{"key":"e_1_2_1_8_1","volume-title":"Retrieved on","author":"Pradel Michael","year":"2017"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2018.10.001"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2635868.2635883"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/s11219-006-9219-1"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICPC.2006.51"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2013.02.009"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2009.06.055"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/2487085.2487127"},{"key":"e_1_2_1_16_1","unstructured":"StackOverflow. 2019. StackOverflow Developer Survey Results 2019: Most Popular Technologies. Retrieved from https:\/\/insights.stackoverflow.com\/survey\/2019#technology. StackOverflow. 2019. StackOverflow Developer Survey Results 2019: Most Popular Technologies. Retrieved from https:\/\/insights.stackoverflow.com\/survey\/2019#technology."},{"key":"e_1_2_1_17_1","volume-title":"An introduction to variable and feature selection. J. Mach. Learn. Res. 3 (Mar","author":"Guyon Isabelle","year":"2003"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the International Conference on Machine Learning (ICML\u201997)","volume":"97","author":"Yang Yiming"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1109\/CSMR.2013.41"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/567793.567795"},{"key":"e_1_2_1_21_1","unstructured":"Terence Parr. 2013. The Definitive ANTLR 4 Reference. Pragmatic Bookshelf. Terence Parr. 2013. The Definitive ANTLR 4 Reference. Pragmatic Bookshelf."},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_2_1_23_1","volume-title":"LIBLINEAR: A library for large linear classification. J. Mach. Learn. Res. 9(Aug.","author":"Fan Rong-En","year":"2008"},{"key":"e_1_2_1_24_1","unstructured":"Sklearn Linear SVM. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.LinearSVC.html. Sklearn Linear SVM. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.LinearSVC.html."},{"key":"e_1_2_1_25_1","unstructured":"sklearn Support Vector Machine. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.SVC.html#sklearn.svm.SVC. sklearn Support Vector Machine. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.SVC.html#sklearn.svm.SVC."},{"key":"e_1_2_1_26_1","unstructured":"sklearn Nu-Support Vector Machine. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.NuSVC.html. sklearn Nu-Support Vector Machine. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.svm.NuSVC.html."},{"key":"e_1_2_1_27_1","volume-title":"Towards Global Optimisation 2","author":"Mo\u0107kus J."},{"key":"e_1_2_1_28_1","unstructured":"sklearn Gaussian Process Classifier. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.gaussian_process.GaussianProcessClassifier.html. sklearn Gaussian Process Classifier. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.gaussian_process.GaussianProcessClassifier.html."},{"key":"e_1_2_1_29_1","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1080\/00031305.1992.10475879","article-title":"An introduction to kernel and nearest-neighbor nonparametric regression","volume":"46","author":"Altman Naomi S.","year":"1992","journal-title":"Amer. Statist."},{"key":"e_1_2_1_30_1","unstructured":"sklearn K Neighbors Classifier. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.neighbors.KNeighborsClassifier.html#sklearn.neighbors.KNeighborsClassifier. sklearn K Neighbors Classifier. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.neighbors.KNeighborsClassifier.html#sklearn.neighbors.KNeighborsClassifier."},{"key":"e_1_2_1_31_1","volume-title":"Proceedings of the 3rd International Conference on Document Analysis and Recognition","volume":"1","author":"Ho Tin Kam","year":"1995"},{"key":"e_1_2_1_32_1","unstructured":"sklearn Random Forest. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.ensemble.RandomForestClassifier.html. sklearn Random Forest. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.ensemble.RandomForestClassifier.html."},{"key":"e_1_2_1_33_1","volume-title":"Neural Networks: A Comprehensive Foundation","author":"Haykin Simon","year":"1994"},{"key":"e_1_2_1_34_1","unstructured":"sklearn Multi-Layer Perceptron. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.neural_network.MLPClassifier.html. sklearn Multi-Layer Perceptron. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.neural_network.MLPClassifier.html."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1162\/neco.2006.18.7.1527"},{"key":"e_1_2_1_36_1","unstructured":"sklearn Supervised Learning. 2020. A Python Implementation of Deep Belief Networks Built Upon NumPy and TensorFlow with Scikit-learn Compatibility. Retrieved from https:\/\/github.com\/albertbup\/deep-belief-network. sklearn Supervised Learning. 2020. A Python Implementation of Deep Belief Networks Built Upon NumPy and TensorFlow with Scikit-learn Compatibility. Retrieved from https:\/\/github.com\/albertbup\/deep-belief-network."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10994-010-5221-8"},{"key":"e_1_2_1_38_1","unstructured":"sklearn Logistic Regression. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.linear_model.LogisticRegression.html. sklearn Logistic Regression. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.linear_model.LogisticRegression.html."},{"key":"e_1_2_1_39_1","volume-title":"Proceedings of the 20th International Conference on Machine Learning (ICML\u201903)","author":"Rennie Jason D."},{"key":"e_1_2_1_40_1","unstructured":"sklearn Bernoulli Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.BernoulliNB.html. sklearn Bernoulli Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.BernoulliNB.html."},{"key":"e_1_2_1_41_1","unstructured":"sklearn Multinomial Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.MultinomialNB.html. sklearn Multinomial Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.MultinomialNB.html."},{"key":"e_1_2_1_42_1","unstructured":"sklearn Gaussian Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.GaussianNB.html. sklearn Gaussian Naive Bayes. 2020. Retrieved from http:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.naive_bayes.GaussianNB.html."},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the Conference on Advances in Neural Information Processing Systems. 841--848","author":"Andrew"},{"key":"e_1_2_1_44_1","unstructured":"sklearn Supervised Learning. 2020. Retrieved from https:\/\/scikit-learn.org\/stable\/supervised_learning.html. sklearn Supervised Learning. 2020. Retrieved from https:\/\/scikit-learn.org\/stable\/supervised_learning.html."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2014.07.005"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/32.295895"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2013.24"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.5555\/2337223.2337226"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.12988\/ijcms.2007.07024"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00500-016-2284-x"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10515-010-0069-5"},{"key":"e_1_2_1_52_1","unstructured":"Maurice Howard Halstead etal 1977. Elements of Software Science. Vol. 7. Elsevier New York. Maurice Howard Halstead et al. 1977. Elements of Software Science. Vol. 7. Elsevier New York."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.1976.233837"},{"key":"e_1_2_1_54_1","volume-title":"Retrieved on","author":"Richardson Leonard","year":"2007"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3384517","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3384517","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:33:12Z","timestamp":1750199592000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3384517"}},"subtitle":["Linking Defect Reports with Programming Constructs Usage Metrics"],"short-title":[],"issued":{"date-parts":[[2020,4,29]]},"references-count":54,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2020,4,30]]}},"alternative-id":["10.1145\/3384517"],"URL":"https:\/\/doi.org\/10.1145\/3384517","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,4,29]]},"assertion":[{"value":"2018-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-02-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2020-04-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}