iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://doi.org/10.18420/SE2020_41
Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk
Logo des Repositoriums
 
Konferenzbeitrag

Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk

Lade...
Vorschaubild

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2020

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Verlag

Gesellschaft für Informatik e.V.

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.

Beschreibung

Niedermayr, Rainer; Röhm, Tobias; Wagner, Stefan (2020): Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk. Software Engineering 2020. DOI: 10.18420/SE2020_41. Bonn: Gesellschaft für Informatik e.V.. PISSN: 1617-5468. ISBN: 978-3-88579-694-7. pp. 137. Testing 2. Innsbruck, Austria. 24.-28. Feburar 2020

Zitierform

Tags