In industrial embedded software, are some compilation errors easier to localize and fix than others?

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fu, Han, Eldh, Sigrid, Wiklund, Kristian, Ermedahl, Andreas, Haller, Philipp, Artho, Cyrille
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910419192381440
author Fu, Han
Eldh, Sigrid
Wiklund, Kristian
Ermedahl, Andreas
Haller, Philipp
Artho, Cyrille
author_facet Fu, Han
Eldh, Sigrid
Wiklund, Kristian
Ermedahl, Andreas
Haller, Philipp
Artho, Cyrille
contents Industrial embedded systems often require specialized hardware. However, software engineers have access to such domain-specific hardware only at the continuous integration (CI) stage and have to use simulated hardware otherwise. This results in a higher proportion of compilation errors at the CI stage than in other types of systems, warranting a deeper study. To this end, we create a CI diagnostics solution called ``Shadow Job'' that analyzes our industrial CI system. We collected over 40000 builds from 4 projects from the product source code and categorized the compilation errors into 14 error types, showing that the five most common ones comprise 89 % of all compilation errors. Additionally, we analyze the resolution time, size, and distance for each error type, to see if different types of compilation errors are easier to localize or repair than others. Our results show that the resolution time, size, and distance are independent of each other. Our research also provides insights into the human effort required to fix the most common industrial compilation errors. We also identify the most promising directions for future research on fault localization.
format Preprint
id arxiv_https___arxiv_org_abs_2404_14823
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle In industrial embedded software, are some compilation errors easier to localize and fix than others?
Fu, Han
Eldh, Sigrid
Wiklund, Kristian
Ermedahl, Andreas
Haller, Philipp
Artho, Cyrille
Software Engineering
D.2.5
Industrial embedded systems often require specialized hardware. However, software engineers have access to such domain-specific hardware only at the continuous integration (CI) stage and have to use simulated hardware otherwise. This results in a higher proportion of compilation errors at the CI stage than in other types of systems, warranting a deeper study. To this end, we create a CI diagnostics solution called ``Shadow Job'' that analyzes our industrial CI system. We collected over 40000 builds from 4 projects from the product source code and categorized the compilation errors into 14 error types, showing that the five most common ones comprise 89 % of all compilation errors. Additionally, we analyze the resolution time, size, and distance for each error type, to see if different types of compilation errors are easier to localize or repair than others. Our results show that the resolution time, size, and distance are independent of each other. Our research also provides insights into the human effort required to fix the most common industrial compilation errors. We also identify the most promising directions for future research on fault localization.
title In industrial embedded software, are some compilation errors easier to localize and fix than others?
topic Software Engineering
D.2.5
url https://arxiv.org/abs/2404.14823