Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning for Software Engineering: A Systematic Mapping

Saad Shafiq, Atif Mashkoor|arXiv (Cornell University)|May 27, 2020
Software Engineering ResearchComputer Science169 references8 citations
TL;DR

This systematic mapping study analyzes 227 articles to classify machine learning (ML) applications across software engineering (SE) life cycle stages, proposing a comprehensive MLSE taxonomy. It identifies key ML techniques, their applicability to SE tasks like requirements engineering, testing, and defect prediction, and highlights underexplored areas for future research.

ABSTRACT

Context: The software development industry is rapidly adopting machine learning for transitioning modern day software systems towards highly intelligent and self-learning systems. However, the full potential of machine learning for improving the software engineering life cycle itself is yet to be discovered, i.e., up to what extent machine learning can help reducing the effort/complexity of software engineering and improving the quality of resulting software systems. To date, no comprehensive study exists that explores the current state-of-the-art on the adoption of machine learning across software engineering life cycle stages. Objective: This article addresses the aforementioned problem and aims to present a state-of-the-art on the growing number of uses of machine learning in software engineering. Method: We conduct a systematic mapping study on applications of machine learning to software engineering following the standard guidelines and principles of empirical software engineering. Results: This study introduces a machine learning for software engineering (MLSE) taxonomy classifying the state-of-the-art machine learning techniques according to their applicability to various software engineering life cycle stages. Overall, 227 articles were rigorously selected and analyzed as a result of this study. Conclusion: From the selected articles, we explore a variety of aspects that should be helpful to academics and practitioners alike in understanding the potential of adopting machine learning techniques during software engineering projects.

Motivation & Objective

  • To address the lack of a comprehensive overview of machine learning (ML) applications in software engineering (SE) life cycle stages.
  • To identify which ML techniques are most effective for specific SE tasks such as requirements analysis, defect prediction, and test automation.
  • To classify and organize the current state-of-the-art in ML for SE using a structured taxonomy.
  • To guide researchers and practitioners by highlighting underexplored areas and promising application domains.
  • To provide a foundation for future empirical studies by mapping the distribution of ML research across SE stages.

Proposed method

  • Conducted a systematic mapping study following empirical software engineering guidelines.
  • Performed a multi-stage search across academic databases using predefined keywords and inclusion/exclusion criteria.
  • Applied a rigorous screening process to select 227 relevant articles based on relevance to ML in SE life cycle stages.
  • Developed a taxonomy to classify ML techniques by their applicability to specific SE phases (e.g., requirements, design, testing).
  • Used thematic and quantitative analysis to map the distribution of ML techniques across SE activities.
  • Validated results through iterative review and consensus among authors to ensure methodological rigor.

Experimental results

Research questions

  • RQ1Which software engineering life cycle stages most frequently apply machine learning techniques?
  • RQ2What types of machine learning techniques are predominantly used in SE, and how are they applied across different SE phases?
  • RQ3How is the research landscape distributed across different SE activities (e.g., requirements, testing, maintenance) in terms of ML adoption?
  • RQ4What are the most common problem domains addressed by ML in SE, and which are underexplored?
  • RQ5What are the key challenges and opportunities in integrating ML into SE processes based on current research trends?

Key findings

  • The majority of ML applications in SE are concentrated in testing, defect prediction, and requirements engineering, with significant growth in automated test case generation and fault prediction.
  • Supervised learning techniques such as support vector machines (SVM), random forests, and neural networks are the most widely used ML methods in SE applications.
  • A notable number of studies focus on code clone detection, vulnerability prediction, and effort estimation, indicating strong interest in quality and cost-efficiency improvements.
  • The systematic mapping reveals that maintenance and architecture design are underexplored areas for ML application, suggesting significant research potential.
  • The study identifies a growing trend in using deep learning for complex tasks such as code similarity detection and exploitability prediction.
  • The proposed MLSE taxonomy effectively organizes existing research and provides a structured reference for future work in ML for SE.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.