EUVIMEDEUVIMED entdecken
Crossref

Maximizing Patch Coverage for Testing of Highly-Configurable Software without Exploding Build Times

Necip Fazıl Yıldıran, Jeho Oh, Julia Lawall, Paul Gazzillo

Proceedings of the ACM on Software Engineering · 12.07.2024 · 1 (FSE) · 427-449

DOI: 10.1145/3643746 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 12.07.2024. Verfasst von Necip Fazıl Yıldıran und 3 weiteren Autor:innen. Die Arbeit wurde bisher 10-mal zitiert (Crossref) und nennt 80 Literaturangaben. Gefördert von: National Science Foundation.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The Linux kernel is highly-configurable, with a build system that takes a configuration file as input and automatically tailors the source code accordingly. Configurability, however, complicates testing, because different configuration options lead to the inclusion of different code fragments. With thousands of patches received per month, Linux kernel maintainers employ extensive automated continuous integration testing. To attempt patch coverage, i.e., taking all changed lines into account, current approaches either use configuration files that maximize total statement coverage or use multiple randomly-generated configuration files, both of which incur high build times without guaranteeing patch coverage. To achieve patch coverage without exploding build times, we propose krepair, which automatically repairs configuration files that are fast-building but have poor patch coverage to achieve high patch coverage with little effect on build times. krepair works by discovering a small set of changes to a configuration file that will ensure patch coverage, preserving most of the original configuration file’s settings. Our evaluation shows that, when applied to configuration files with poor patch coverage on a statistically-significant sample of recent Linux kernel patches, krepair achieves nearly complete patch coverage, 98.5% on average, while changing less than 1.53% of the original default configuration file in 99% of patches, which keeps build times 10.5x faster than maximal configuration files.

Förderung

  • National Science Foundation

Zitieren

APA

Yıldıran, N. F., Oh, J., Lawall, J., & Gazzillo, P. (2024). Maximizing Patch Coverage for Testing of Highly-Configurable Software without Exploding Build Times. Proceedings of the ACM on Software Engineering, 1(FSE), 427-449. https://doi.org/10.1145/3643746

Vancouver

Yıldıran NF, Oh J, Lawall J, Gazzillo P. Maximizing Patch Coverage for Testing of Highly-Configurable Software without Exploding Build Times. Proceedings of the ACM on Software Engineering. 2024;1(FSE):427-449. doi:10.1145/3643746

BibTeX
@article{Yldran2024,
  author = {Yıldıran, Necip Fazıl and Oh, Jeho and Lawall, Julia and Gazzillo, Paul},
  title = {Maximizing Patch Coverage for Testing of Highly-Configurable Software without Exploding Build Times},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2024},
  volume = {1},
  number = {FSE},
  pages = {427--449},
  doi = {10.1145/3643746}
}
Kostenlos starten →