@inproceedings{d82ee70559894f69aeb41aaf7df317f9,
title = "Too trivial to test? An inverse view on defect prediction to identify methods with low fault risk",
abstract = "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.",
keywords = "Fault risk, Inverse defect prediction, Low-fault-risk methods, Testing",
author = "Rainer Niedermayr and Tobias R{\"o}hm and Stefan Wagner",
note = "Publisher Copyright: {\textcopyright} 2020 Gesellschaft fur Informatik (GI). All rights reserved.; Fachtagung des GI-Fachbereichs Softwaretechnik, Software Engineering 2020 - Conference of the GI Special Interest Group on Software Engineering, Software Engineering 2020 ; Conference date: 24-02-2020 Through 28-02-2020",
year = "2020",
doi = "10.18420/SE2020_41",
language = "English",
series = "Lecture Notes in Informatics (LNI), Proceedings - Series of the Gesellschaft fur Informatik (GI)",
publisher = "Gesellschaft fur Informatik (GI)",
pages = "137--138",
editor = "Michael Felderer and Wilhelm Hasselbring and Rick Rabiser and Reiner Jung",
booktitle = "Software Engineering 2020 - Fachtagung des GI-Fachbereichs Softwaretechnik",
}