hh.sePublications
Planned maintenance
A system upgrade is planned for 10/12-2024, at 12:00-13:00. During this time DiVA will be unavailable.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Software Defect Prediction: In collaboration with Danfoss Power Solutions
Halmstad University, School of Information Technology.
Halmstad University, School of Information Technology.
2022 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Being able to optimize testing resources in software development isvaluable when time and resources are scarce. The aim of this projectis to help testing departments improve the distribution of testing resources by identifying modules susceptible of having defects. Danfoss has logged all code changes made to their software modules thelast decade. The logs contain information about each specific change,whether it is a defect fix, feature implementation or maintenance.Using the change history of modules and module imports, indirectmodule connections can be discovered to find additional modules atrisk for having defects. The susceptible modules can be representedby software metrics in order to train a machine learning model. Thepurpose of the machine learning model is to prioritize the susceptible modules from modules requiring most to least testing resources.Once obtained, the priority list of modules should help the testing department distribute their resources, giving the most attention to themodules with a high number of predicted defects and focusing lesson modules with no predicted defects. The regression models werechosen based on popularity and performance in related work in thefield of software defect prediction. The models were evaluated basedon prediction error, coefficient of determination, recall and specificity.The results of this project indicate that a linear regression model canperform well when attempting to predict the number of defects basedon software metrics. Multi-layer perceptron regression models alsoperformed well but more work is required to match the performanceof linear models. 

Place, publisher, year, edition, pages
2022. , p. 74
Keywords [en]
Data mining, Machine learning, Defect prediction, Python, Regression, Software metrics
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:hh:diva-47001OAI: oai:DiVA.org:hh-47001DiVA, id: diva2:1667649
External cooperation
Danfoss Power Solutions
Subject / course
Computer science and engineering
Educational program
Computer Science and Engineering, 300 credits
Supervisors
Examiners
Available from: 2022-06-09 Created: 2022-06-10 Last updated: 2022-12-08Bibliographically approved

Open Access in DiVA

No full text in DiVA

By organisation
School of Information Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 269 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf