Journal of Open Source Developments

A Review of Code Defect Likelihood Using ML Methods

  1. UKPE KUFRE ✉
  2. AMANNAH
  3. Constance Izuchukwu

Abstract

AbstractSoftware begets defects and defects are inevitable in software design and coding. This paper focused on five machine learning analysis models (MLAM); Support Vector Machine, Random Forest, K-Nearest Neighbor, Classification and Regression Tree, and Linear Discriminant Analysis. These models are trained to detect software defects using the software defect dataset from Promise data repository. The collected dataset is preprocessed to reduce the amount of redundant features using a dimension reduction algorithm called Principal Component Analysis. The transformed dataset is then used in training the five MLAM to predict software defect as a classification task. Real life software packages are analyzed and code attribute values such as line of code, cyclomatic complexity, line of comment, number of operators, number of operands, and so on are extracted for use in testing the trained models. To ascertain the efficiency of the system and also select the best algorithm for prediction of software, the performance of the trained models is evaluated; using the metrics; accuracy, error rate, precision, and recall. These models are ranked with respect to their performance and the best model (model with the highest accuracy) is selected and recommended for the task of software defect prediction.

Keywords

References (21)

  1. Charmi Mehta, Basics of Data Mining: A Survey Paper, Int J Trend Res Dev. 2017; 4(2).
  2. Nikita Jain , Vishal Srivastava, Data Mining Techniques: A Survey Paper , IJRET: Int J Res Eng Technol. 2013.
  3. Available at: https://www.researchgate. net/publication/259757435_Opinion_Mini ng_by_survey_method
  4. https://www.researchgate.net/publication/3 14087250, A Study on the Social Journal of Mobile Computing, Communications & Mobile Networks Volume 7, Issue 3 ISSN: 2349-901X JoMCCMN (2020) 1–9 © STM Journals 2020. All Rights Reserved Page 9 Networking Sites Usage by Undergraduate Students.
  5. Kautkar Rohit A . A Comprehensive Survey on Data Mining , IJRET: Int J Res Eng Technol. Aug-2014; 03(08).
  6. Chowdary BV, Radhika Y. A Survey on Applications of Data Mining Techniques, Int J Appl Eng Res. 2018; 13(7): 5384– 5392p.
  7. Sarwar Shah Kha n, Muzammil Khan, Qiong Ran, Rashid Naseem, Challenges in Opinion Mining, Comprehensive Review, Sci Technol J. 2018; 33(1): 123–135p.
  8. Available at: https://ijarcce.com/upload/ 2017/si/ICACTRP-17/IJARCCE-ICACT RP%2030.pdf
  9. Vinodhini G, Chandrasekaran RM. Sentiment Analysis and Opinion Mining: A Survey, Int J Adv Res Comp Sci Softw Eng. June 2012; 2(6).
  10. Jyoti, Rao S. A Survey on Sentiment Analysis and O pinion Mining, Proceedings of the International Conference on Advances in Information Communication Technology & Computing-AICTC, 16 , 2016, doi:10.1145/2979779.2979832.
  11. Kajaree Das , Rabi Narayan Behera, A Survey on Machine Learning: Concept, Algorithms, and Applications, Int J Innov Res Comp Commun Eng . February 2017; 5(2): doi:10.15680/IJIRCCE.2017. 0502001.
  12. Syed Saood Zia , et al. A Survey on Sentiment Analysis, Classification and Applications, Int J Pure Appl Math . 2018; 119(10): 1203–1211p.
  13. Ann Arbor, Available at: https://nrgeup. github.io/resume/papers/18-sigir.pdf, SIGIR ’18, July 8–12, 2018, MI, USA
  14. Vamshi KB, Pandey AK, Siva KAP. Topic Model Based Opinion Mining and Sentiment Analysis, International Conference on Computer Communication and Informatics (ICCCI) , Coimbatore, 2018, 1 –4p, doi:10.1109/ICCCI.20 18.8441220.
  15. He Y, Tian K. Peer-review experts’ selection for evaluating interdisciplinary studies based on scientific knowledge mapping, 4th International Conference on Information Management (ICIM) , Oxford, 2018, 275 –279p, DOI: 10.1109/ INFOMAN.2018.8392849.
  16. Chifu ES, Letia TS, Chifu VR. Unsupervised Aspect Level Sentiment Analysis Using Self -Organizing Maps, 17th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC) , Timisoara, 2015, pp. 468 –475, doi:10.1109/SYNASC.2015.75.
  17. Salinca A. Business Reviews Classification Using Sentiment Analysis, 17th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC) , Timisoara, 2015, 247 –250p, doi:10.1109/SYNASC.2015.46.
  18. Bai X, Wang M, Lee I, Yang Z, Kong X, Xia F. Scientific Paper Recommendation: A Survey, in IEEE Access, 2019; 7: 9324– 9339p, doi:10.1109/ACCESS.20 18.2890388.
  19. Feng Z, Zhu Y. A Survey on Trajectory Data Mining: Techniques and Applications, in IEEE Access , 2016; 4: 2056–2067p, doi:10.1109/ACCESS.2 016.2553681.
  20. Kumar KLS, Desai J, Majumdar J. Opinion Mining and Sentiment Analysis on Online Customer Review , IEEE International Conference on Computational Intelligence and Computing Research (ICCIC) , Chennai, 2016, 1 –4p, doi:10.1109/ICCIC.2016. 7919584.
  21. Das MK, Padhy B, Mishra BK. Opinion Mining and Sentiment Classification : A Review, International Conference on Inventive Systems and Control (ICISC) , Coimbatore, 2017, 1 –3p, DOI: 10.1109/ ICISC.2017.8068637. Cite this Article Anand Singh, Sitaram Patel, Megha Kamble. Scientific Paper Reviews Identification by Sentiment Analysis in Data Mining Journal of Mobile Computing, Communications & Mobile Networks. 2020; 7(3): 1–9p.

Read more of it

Subscribe to one journal or build your own list of several. One invoice, one payment, access for a full year.

Subscribe to journals →

Publish your article

Peer-reviewed journals across every subject, with open access options. Send your manuscript to the right editor today.

Publish with us → Calculate your APC
Support