Static code metrics vs. process metrics for software fault prediction using Bayesian network learners
Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Software fault prediction (SFP) has an important role in the process of improving software product quality by identifying fault-prone modules. Constructing quality models includes a usage of metrics that describe real world entities defined by numbers or attributes. Examining the nature of machine learning (ML), researchers proposed its algorithms as suitable for fault prediction. Moreover, information that software metrics contain will be used as statistical data necessary to build models for a certain ML algorithm. One of the most used ML algorithms is a Bayesian network (BN), which is represented as a graph, with a set of variables and relations between them.
This thesis will be focused on the usage of process and static code metrics with BN learners for SFP. First, we provided an informal review on non-static code metrics. Furthermore, we created models that contained different combinations of process and static code metrics, and then we used them to conduct an experiment. The results of the experiment were statistically analyzed using a non-parametric test, the Kruskal-Wallis test.
The informal review reported that non-static code metrics are beneficial for the prediction process and its usage is highly recommended for industrial projects. Finally, experimental results did not provide a conclusion which process metric gives a statistically significant result; therefore, a further investigation is needed.
Place, publisher, year, edition, pages
2015. , 54 p.
Software fault prediction, Bayesian network learners, Process metrics, Static code metrics
IdentifiersURN: urn:nbn:se:mdh:diva-29694OAI: oai:DiVA.org:mdh-29694DiVA: diva2:874471
Subject / course
2015-11-13, Lambda, Högskoleplan 1, 721 23, Västerås, 14:05 (English)