@article {HBL13, title = {A Drill-Down Approach for Measuring Maintainability at Source Code Element Level}, journal = {Electronic Communications of the {EASST}}, volume = {60}, year = {2013}, pages = {1{\textendash}21}, abstract = {Measuring source code maintainability has always been a challenge for software engineers. To address this problem, a number of metrics-based quality models have been proposed by researchers. Besides expressing source code maintainability in terms of numerical values, these models are also expected to provide explicable results, i.e. to give a detailed list of source code fragments that should be improved in order to reach higher overall quality. In this paper, we propose a general method for drilling down to the root causes of a quality rating. According to our approach, a relative maintainability index can be calculated for each source code element for which metrics are calculated (e.g. methods, classes). The index value expresses the source code element{\textquoteright}s contribution to the overall quality rating. We empirically validated the method on the jEdit open source tool, by comparing the results with the opinions of software engineering students. The case study shows that there is a high, 0.68 Spearman{\textquoteright}s correlation, which suggests that relative maintainability indices assigned by our method express the subjective feelings of humans fairly well.}, keywords = {ISO/IEC 9126, Method level maintainability, Metrics-based quality model, Relative maintainability index}, issn = {1863-2122}, doi = {10.14279/tuj.eceasst.60.852}, url = {https://journal.ub.tu-berlin.de/eceasst/article/view/852}, author = {P Heged{\H u}s and Tibor Bakota and Lad{\'a}nyi, Gergely and Farag{\'o}, Csaba and Rudolf Ferenc} } @conference {HBL13b, title = {A Drill-Down Approach for Measuring Maintainability at Source Code Element Level}, booktitle = {Proceedings of the 7th International Workshop on Software Quality and Maintainability (SQM 2013)}, year = {2013}, month = {mar}, pages = {20{\textendash}29}, address = {Genova, Italy}, abstract = {Measuring source code maintainability has always been a challenge for software engineers. To address this problem, a number of metrics-based quality models have been proposed by researchers. Besides expressing source code maintainability in terms of numerical values, these models are also expected to provide explicable results, i.e. to give a detailed list of source code fragments that should be improved in order to reach higher overall quality. In this paper, we propose a general method for drilling down to the root causes of a quality rating. According to our approach, a relative maintainability index can be calculated for each source code element for which metrics are calculated (e.g. methods, classes). The index value expresses the source code element{\textquoteright}s contribution to the overall quality rating. We empirically validated the method on the jEdit open source tool, by comparing the results with the opinions of software engineering students. The case study shows that there is a high, 0.68 Spearman{\textquoteright}s correlation, which suggests that relative maintainability indices assigned by our method express the subjective feelings of humans fairly well.}, keywords = {ISO/IEC 9126, Method level maintainability, Metrics-based quality model, Relative maintainability index}, author = {P Heged{\H u}s and Tibor Bakota and Lad{\'a}nyi, Gergely and Farag{\'o}, Csaba and Rudolf Ferenc} }