rectness is that the defect information from this uni-
fied bug dataset comprises five public datasets. Each
of these datasets had a different process for mapping
the defects to the source code.
6 CONCLUSIONS AND FUTURE
WORK
One of the main goals of this research was to inves-
tigate whether a hybrid cyclomatic complexity met-
ric is better than the standard cyclomatic complexity
for a class (WMC). Our experiments concluded that
the SVM prediction models that included the hybrid
metric as a feature performed better than the one that
included the standard WMC metric. In addition, we
consider this hybrid metric to be a more complex and
elaborate one because it considers multiple aspects
concerning the complexity of a class.
Based on these preliminary results, we intend to
investigate the efficacy of this metric on larger sets of
data to have a more in-depth analysis and formalise
the definition of the metric. Moreover, another as-
pect worth studying is the impact of other software
quality metrics combined with the hybrid metric on
the prediction model’s performance. Likewise, we
would like to analyse the sensibility of the results to
the change of the machine learning algorithm.
REFERENCES
StandardScaler. https://scikit-learn.org/stable/modules/
generated/sklearn.preprocessing.StandardScaler.
html/. [Online; accessed 17-February-2022].
SVC. https://scikit-learn.org/stable/modules/generated/
sklearn.svm.SVC.html/. [Online; accessed 17-
February-2022].
Abreu, F. (1993). Metrics for Object Oriented Environment.
In Proceedings of the 3rd International Conference on
Software Quality, Tahoe, Nevada, EUA, October 4th -
6th, pages 67—-75.
Abreu, F. (1995). The MOOD Metrics Set. In 9th Eu-
ropean Conference on Object-Oriented Programming
(ECOOP’95) Workshop Metrics.
Abreu, F. and Rogerio, C. (1994). Candidate Metrics for
Object- Oriented Software within a Taxonomy Frame-
work. In Journal of systems software 26, pages 359–
368.
Alshehri, Y. A., Goseva-Popstojanova, K., Dzielski, D. G.,
and Devine, T. (2018). Applying machine learning to
predict software fault proneness using change metrics,
static code metrics, and a combination of them. In
SoutheastCon 2018, pages 1–7.
Chidamber, S. R. and Kemerer, C. F. (1994). A metrics suite
for object-oriented design. IEEE Trans. Soft Ware
Eng., 20(6):476–493.
Clemente, C. J., Jaafar, F., and Malik, Y. (2018). Is predict-
ing software security bugs using deep learning bet-
ter than the traditional machine learning algorithms?
In 2018 IEEE International Conference on Software
Quality, Reliability and Security (QRS), pages 95–
102.
Coad, P. and Yourdon, E. (1991). Object-Oriented Design.
Prentice Hall, London, 2 edition.
Erturk, E. and Sezer, E. (2016). Software fault predic-
tion using mamdani type fuzzy inference system. In-
ternational Journal of Data Analysis Techniques and
Strategies, 8:14.
Fenton, N. (1994). Software measurement: a necessary sci-
entific basis. IEEE Transactions on Software Engi-
neering, 20(3):199–206.
Ferenc, R., T
´
oth, Z., Lad
´
anyi, G., Siket, I., and Gyim
´
othy,
T. (2018). A public unified bug dataset for java. New
York, NY, USA. Association for Computing Machin-
ery.
Ferzund, J., Ahsan, S., and Wotawa, F. (2008). Analysing
Bug Prediction Capabilities of Static Code Metrics in
Open Source Software.
Hall, T., Zhang, M., Bowes, D., and Sun, Y. (2014). Some
code smells have a significant but small effect on
faults. ACM Transactions on Software Engineering
and Methodology, 23:1–39.
Holvitie, J., Licorish, S. A., Sp
´
ınola, R. O., Hyrynsalmi,
S., MacDonell, S. G., Mendes, T. S., Buchan, J., and
Lepp
¨
anen, V. (2018). Technical debt and agile soft-
ware development practices and processes: An in-
dustry practitioner survey. Information and Software
Technology, 96:141–160.
Kumar, L., Rath, S., and Sureka, A. (2017). Using source
code metrics and ensemble methods for fault prone-
ness prediction.
Li, W. and Henry, S. (1993). Maintenance metrics for the
object oriented paradigm. IEEE Proc. First Interna-
tional Software Metrics Symp, pages 52–60.
Marinescu, R. (2002). Measurement and Quality in Object
Oriented Design. PhD thesis, Faculty of Automatics
and Computer Science, University of Timisoara.
McCabe, T. (1976). A Complexity Measure. IEEE Transac-
tions on Software Engineering, 2(4), pages 308–320.
Mitchell, T. M. and Learning, M. (1997). Mcgraw-hill sci-
ence. Engineering/Math, 1:27.
Riel, A. (1996). Object-Oriented Design Heuristics.
Addison-Wesley.
Schr
¨
oter, A., Zimmermann, T., Premraj, R., and Zeller, .
(2009). If your bug database could talk. Empirical
Software Engineering - ESE, page 18.
Vapnik, V. (1999). The nature of statistical learning theory.
Springer science & business media.
Watson, A. H. and McCabe, T. J. (1996). Structured Test-
ing: A Testing Methodology Using the Cyclomatic
Complexity Metric. In National Institute of Standards
and Technology NIST Special Publication, pages 500–
235.
ICSOFT 2022 - 17th International Conference on Software Technologies
440