Source code metrics and maintainability

A case study

Péter Hegedus, Tibor Bakota, László Illés, Gergely Ladányi, R. Ferenc, T. Gyimóthy

Research output: Chapter in Book/Report/Conference proceedingConference contribution

7 Citations (Scopus)

Abstract

Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast majority of existing quality models use source code metrics for measuring low level quality attributes. Although, a lot of researches analyze the relation of source code metrics to other objective measures, only a few studies deal with their expressiveness of subjective feelings of IT professionals. Our research involved 35 IT professionals and manual evaluation results of 570 class methods of an industrial and an open source Java system. Several statistical models have been built to evaluate the relation of low level source code metrics and high level subjective opinions of IT experts. A decision tree based classifier achieved a precision of over 76% during the estimation of the Changeability ISO/IEC 9126 attribute.

Original languageEnglish
Title of host publicationCommunications in Computer and Information Science
Pages272-284
Number of pages13
Volume257 CCIS
DOIs
Publication statusPublished - 2011
Event2011 Int.Conf.on Advanced Software Eng.and Its Applications,ASEA 2011,Disaster Recovery and Business Continuity,DRBC 2011,and Education and Learning,EL 2011,Held as Part of the 3rd Int.Mega-Conf.on Future-Generation Inform.Tech.FGIT 2011 - Jeju Island, Korea, Republic of
Duration: Dec 8 2011Dec 10 2011

Publication series

NameCommunications in Computer and Information Science
Volume257 CCIS
ISSN (Print)18650929

Other

Other2011 Int.Conf.on Advanced Software Eng.and Its Applications,ASEA 2011,Disaster Recovery and Business Continuity,DRBC 2011,and Education and Learning,EL 2011,Held as Part of the 3rd Int.Mega-Conf.on Future-Generation Inform.Tech.FGIT 2011
CountryKorea, Republic of
CityJeju Island
Period12/8/1112/10/11

Fingerprint

Maintainability
Decision trees
Classifiers
Costs
Statistical Models

Keywords

  • Empirical quality model
  • ISO/IEC 9126
  • Metrics evaluation
  • Software maintainability

ASJC Scopus subject areas

  • Computer Science(all)

Cite this

Hegedus, P., Bakota, T., Illés, L., Ladányi, G., Ferenc, R., & Gyimóthy, T. (2011). Source code metrics and maintainability: A case study. In Communications in Computer and Information Science (Vol. 257 CCIS, pp. 272-284). (Communications in Computer and Information Science; Vol. 257 CCIS). https://doi.org/10.1007/978-3-642-27207-3_28

Source code metrics and maintainability : A case study. / Hegedus, Péter; Bakota, Tibor; Illés, László; Ladányi, Gergely; Ferenc, R.; Gyimóthy, T.

Communications in Computer and Information Science. Vol. 257 CCIS 2011. p. 272-284 (Communications in Computer and Information Science; Vol. 257 CCIS).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Hegedus, P, Bakota, T, Illés, L, Ladányi, G, Ferenc, R & Gyimóthy, T 2011, Source code metrics and maintainability: A case study. in Communications in Computer and Information Science. vol. 257 CCIS, Communications in Computer and Information Science, vol. 257 CCIS, pp. 272-284, 2011 Int.Conf.on Advanced Software Eng.and Its Applications,ASEA 2011,Disaster Recovery and Business Continuity,DRBC 2011,and Education and Learning,EL 2011,Held as Part of the 3rd Int.Mega-Conf.on Future-Generation Inform.Tech.FGIT 2011, Jeju Island, Korea, Republic of, 12/8/11. https://doi.org/10.1007/978-3-642-27207-3_28
Hegedus P, Bakota T, Illés L, Ladányi G, Ferenc R, Gyimóthy T. Source code metrics and maintainability: A case study. In Communications in Computer and Information Science. Vol. 257 CCIS. 2011. p. 272-284. (Communications in Computer and Information Science). https://doi.org/10.1007/978-3-642-27207-3_28
Hegedus, Péter ; Bakota, Tibor ; Illés, László ; Ladányi, Gergely ; Ferenc, R. ; Gyimóthy, T. / Source code metrics and maintainability : A case study. Communications in Computer and Information Science. Vol. 257 CCIS 2011. pp. 272-284 (Communications in Computer and Information Science).
@inproceedings{76033733962848bc933478b68e7a2d58,
title = "Source code metrics and maintainability: A case study",
abstract = "Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast majority of existing quality models use source code metrics for measuring low level quality attributes. Although, a lot of researches analyze the relation of source code metrics to other objective measures, only a few studies deal with their expressiveness of subjective feelings of IT professionals. Our research involved 35 IT professionals and manual evaluation results of 570 class methods of an industrial and an open source Java system. Several statistical models have been built to evaluate the relation of low level source code metrics and high level subjective opinions of IT experts. A decision tree based classifier achieved a precision of over 76{\%} during the estimation of the Changeability ISO/IEC 9126 attribute.",
keywords = "Empirical quality model, ISO/IEC 9126, Metrics evaluation, Software maintainability",
author = "P{\'e}ter Hegedus and Tibor Bakota and L{\'a}szl{\'o} Ill{\'e}s and Gergely Lad{\'a}nyi and R. Ferenc and T. Gyim{\'o}thy",
year = "2011",
doi = "10.1007/978-3-642-27207-3_28",
language = "English",
isbn = "9783642272066",
volume = "257 CCIS",
series = "Communications in Computer and Information Science",
pages = "272--284",
booktitle = "Communications in Computer and Information Science",

}

TY - GEN

T1 - Source code metrics and maintainability

T2 - A case study

AU - Hegedus, Péter

AU - Bakota, Tibor

AU - Illés, László

AU - Ladányi, Gergely

AU - Ferenc, R.

AU - Gyimóthy, T.

PY - 2011

Y1 - 2011

N2 - Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast majority of existing quality models use source code metrics for measuring low level quality attributes. Although, a lot of researches analyze the relation of source code metrics to other objective measures, only a few studies deal with their expressiveness of subjective feelings of IT professionals. Our research involved 35 IT professionals and manual evaluation results of 570 class methods of an industrial and an open source Java system. Several statistical models have been built to evaluate the relation of low level source code metrics and high level subjective opinions of IT experts. A decision tree based classifier achieved a precision of over 76% during the estimation of the Changeability ISO/IEC 9126 attribute.

AB - Measuring high level quality attributes of operation-critical IT systems is essential for keeping the maintainability costs under control. International standards and recommendations, like ISO/IEC 9126, give some guidelines regarding the different quality characteristics to be assessed, however, they do not define unambiguously their relationship to the low level quality attributes. The vast majority of existing quality models use source code metrics for measuring low level quality attributes. Although, a lot of researches analyze the relation of source code metrics to other objective measures, only a few studies deal with their expressiveness of subjective feelings of IT professionals. Our research involved 35 IT professionals and manual evaluation results of 570 class methods of an industrial and an open source Java system. Several statistical models have been built to evaluate the relation of low level source code metrics and high level subjective opinions of IT experts. A decision tree based classifier achieved a precision of over 76% during the estimation of the Changeability ISO/IEC 9126 attribute.

KW - Empirical quality model

KW - ISO/IEC 9126

KW - Metrics evaluation

KW - Software maintainability

UR - http://www.scopus.com/inward/record.url?scp=83755206409&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=83755206409&partnerID=8YFLogxK

U2 - 10.1007/978-3-642-27207-3_28

DO - 10.1007/978-3-642-27207-3_28

M3 - Conference contribution

SN - 9783642272066

VL - 257 CCIS

T3 - Communications in Computer and Information Science

SP - 272

EP - 284

BT - Communications in Computer and Information Science

ER -