Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
A catalog of source code metrics – a tertiary study
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0003-3177-6138
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0001-7266-5632
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0003-0639-4234
Blekinge Tekniska Högskola, Fakulteten för datavetenskaper, Institutionen för programvaruteknik.ORCID-id: 0000-0002-8132-0107
2023 (engelsk)Inngår i: Software Quality: Higher Software Quality through Zero Waste Development / [ed] Daniel Mendez, Dietmar Winkler, Johannes Kross, Stefan Biffl, Johannes Bergsmann, Springer, 2023, Vol. 472, s. 87-106Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

Context: A large number of source code metrics are reported in the literature. It is necessary to systematically collect, describe and classify source code metrics to support research and practice.Objective: We aim to utilize existing secondary studies to develop a cat- alog of source code metrics together with their descriptions. The catalog will also provide information about which units of code (e.g., operators, operands, lines of code, variables, parameters, code blocks, or functions) are used to measure the internal quality attributes and the scope on which they are collected. 

Method: We conducted a tertiary study to identify secondary studies re- porting source code metrics. We have classified the source code metrics according to the measured internal quality attributes, the units of code used in the measures, and the scope at which the source code metrics are collected. 

Results: From 711 secondary studies, we identified 52 relevant secondary studies. We reported 423 source code metrics together with their de- scriptions and the internal quality attributes they measure. Source code metrics predominantly incorporate function as a unit of code to measure internal quality attributes. In contrast, several source code metrics use more than one unit of code when measuring internal quality attributes. Nearly 51% of the source code metrics are collected at the class scope, while almost 12% and 15% of source code metrics are collected at module and application levels, respectively. 

Conclusions: Researchers and practitioners can use the extensive catalog to assess which source code metrics meet their individual needs based on the description and classification scheme presented. 

sted, utgiver, år, opplag, sider
Springer, 2023. Vol. 472, s. 87-106
Serie
Lecture Notes in Business Information Processing, ISSN 1865-1348, E-ISSN 1865-1356 ; 472
Emneord [en]
Internal quality attributes, Code measurement, Code quality, Ter- tiary study, Source code metrics
HSV kategori
Forskningsprogram
Programvaruteknik
Identifikatorer
URN: urn:nbn:se:bth-24650DOI: 10.1007/978-3-031-31488-9_5ISI: 001269092500005Scopus ID: 2-s2.0-85161231906ISBN: 978-3-031-31487-2 (tryckt)ISBN: 978-3-031-31488-9 (digital)OAI: oai:DiVA.org:bth-24650DiVA, id: diva2:1760340
Konferanse
15th International Conference on Software Quality, SWQD 2023, Munich, Germany, May 23-25, 2023
Ingår i projekt
OSIR- Open Source Inspired Reuse, Knowledge Foundation
Forskningsfinansiär
ELLIIT - The Linköping‐Lund Initiative on IT and Mobile Communications, B07Knowledge Foundation, 20190081Tilgjengelig fra: 2023-05-30 Laget: 2023-05-30 Sist oppdatert: 2024-09-11bibliografisk kontrollert
Inngår i avhandling
1. Towards Measuring & Improving Source Code Quality
Åpne denne publikasjonen i ny fane eller vindu >>Towards Measuring & Improving Source Code Quality
2024 (engelsk)Licentiatavhandling, med artikler (Annet vitenskapelig)
Abstract [en]

Context: Software quality has a multi-faceted description encompassing several quality attributes. Central to our efforts to enhance software quality is to improve the quality of the source code. Poor source code quality impacts the quality of the delivered product. Empirical studies have investigated how to improve source code quality and how to quantify the source code improvement. However, the reported evidence linking internal code structure information and quality attributes observed by users is varied and, at times, conflicting. Furthermore, there is a further need for research to improve source code quality by understanding trends in feedback from code review comments.

Objective: This thesis contributes towards improving source code quality and synthesizes metrics to measure improvement in source code quality. Hence, our objectives are 1) To synthesize evidence of links between source code metrics and external quality attributes, & identify source code metrics, and 2) To identify areas to improve source code quality by identifying recurring code quality issues using the analysis of code review comments.

Method: We conducted a tertiary study to achieve the first objective, an archival analysis and a case study to investigate the latter two objectives.

Results: To quantify source code quality improvement, we reported a comprehensive catalog of source code metrics and a small set of source code metrics consistently linked with maintainability, reliability, and security. To improve source code quality using analysis of code review comments, our explored methodology improves the state-of-the-art with interesting results.

Conclusions: The thesis provides a promising way to analyze themes in code review comments. Researchers can use the source code metrics provided to estimate these quality attributes reliably. In future work, we aim to derive a software improvement checklist based on the analysis of trends in code review comments.

sted, utgiver, år, opplag, sider
Karlskrona: Blekinge Tekniska Högskola, 2024. s. 169
Serie
Blekinge Institute of Technology Licentiate Dissertation Series, ISSN 1650-2140 ; 2024:02
Emneord
Source code quality, Code review analysis, Software quality improvement
HSV kategori
Forskningsprogram
Programvaruteknik
Identifikatorer
urn:nbn:se:bth-25608 (URN)978-91-7295-474-8 (ISBN)
Presentation
2024-04-12, J1630, Karlskrona, 10:15 (engelsk)
Opponent
Veileder
Forskningsfinansiär
ELLIIT - The Linköping‐Lund Initiative on IT and Mobile Communications
Tilgjengelig fra: 2024-03-13 Laget: 2024-03-13 Sist oppdatert: 2024-03-21bibliografisk kontrollert

Open Access i DiVA

Fulltekst mangler i DiVA

Andre lenker

Forlagets fulltekstScopus

Person

Iftikhar, UmarAli, Nauman binBörstler, JürgenUsman, Muhammad

Søk i DiVA

Av forfatter/redaktør
Iftikhar, UmarAli, Nauman binBörstler, JürgenUsman, Muhammad
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric

doi
isbn
urn-nbn
Totalt: 324 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf