Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk
Zusammenfassung
To cope with the scarce resources for testing, teams can apply defect prediction to identify fault-prone code regions. However, defect prediction tends to low precision in cross-project prediction scenarios. We take an inverse view on defect prediction and aim to identify methods that can be deferred when testing because they contain hardly any faults due to their code being \"trivial\". We compute code metrics and apply association rule mining to create rules for identifying methods with low fault risk (LFR) and assess our approach with six Java open-source projects containing precise fault data at the method level. Our results show that inverse defect prediction can identify approx. 32-44% of the methods of a project to have a LFR; on average, they are about six times less likely to contain a fault than other methods. Our approach identifies methods that can be treated with less priority in testing activities and is well applicable in cross-project prediction scenarios.
- Vollständige Referenz
- BibTeX
Niedermayr, R., Röhm, T. & Wagner, S.,
(2020).
Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk.
In:
Felderer, M., Hasselbring, W., Rabiser, R. & Jung, R.
(Hrsg.),
Software Engineering 2020.
Bonn:
Gesellschaft für Informatik e.V..
(S. 137--138).
DOI: 10.18420/SE2020_41
@inproceedings{mci/Niedermayr2020,
author = {Niedermayr, Rainer AND Röhm, Tobias AND Wagner, Stefan},
title = {Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk},
booktitle = {Software Engineering 2020},
year = {2020},
editor = {Felderer, Michael AND Hasselbring, Wilhelm AND Rabiser, Rick AND Jung, Reiner} ,
pages = { 137--138 } ,
doi = { 10.18420/SE2020_41 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Niedermayr, Rainer AND Röhm, Tobias AND Wagner, Stefan},
title = {Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk},
booktitle = {Software Engineering 2020},
year = {2020},
editor = {Felderer, Michael AND Hasselbring, Wilhelm AND Rabiser, Rick AND Jung, Reiner} ,
pages = { 137--138 } ,
doi = { 10.18420/SE2020_41 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
| Dateien | Groesse | Format | Anzeige | |
|---|---|---|---|---|
| B14-01.pdf | 54.63Kb | Öffnen |
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/SE2020_41
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/SE2020_41
ISBN: 978-3-88579-694-7
ISSN: 1617-5468
Datum: 2020
Sprache:
(en)
(en)
Typ: Text/Conference Paper

