As the world around us is increasingly becoming defined by software and the size and complexity of the softwaresystems increases, as well as our dependance on them, it becomes all the more important that the software is thoroughlytested in an attempt to guarantee high reliability. In order to measure the thoroughness of testing, code coverage is oftenapplied as an attempt at measuring the software testing. The paper aims to explore how code coverage is correlated withsoftware quality and reliability. The paper also examines what code coverage actually is and how the state-of-the-artsuggests the usage of code coverage for optimal result. Through a Systematic Literature Review, with a holistic approach,the paper concludes that code coverage and software reliability are not directly correlated, but possibly indirectly witha varying correlation factor. When it comes to recommended code coverage practices and optimal use, the literaturestrongly argues for not having code coverage as an absolute goal of the testing, instead using it to evaluate the test suiteand find its flaws so that it can be improved.
展开▼