Hot answers tagged


There are the following types of test coverage criteria: structural criteria data criteria fault-model criteria requirements-based criteria criteria based on explicit test case specifications criteria based on statistical methods for random test data generation criteria based on mutation-analysis All criteria except the first one are ...


So you need real-world examples of LOC metrics in a software sources and a test suite LOC volume, right? I can share some rough metrics for one real-world project. Never heard about representative figures. It highly depends on technologies and tools you're using. The applications are written in C++ (Windows only though). Metrics were done with simple Python ...


As for all metrics, it's a matter of definition, e.g. in unit tests you distinguish between line coverage branch coverage One line of code can have many conditions, of which not all are evaluated due to short-circuiting. In your case, test coverage could be defined as block coverage function coverage (a block has several functions) The term "test ...


Coverage of state transitions Coverage of environment combinations It says, that structural is everything which is based un underlying code or alike. But I don't really see any practical use of this division.

Only top voted, non community-wiki answers of a minimum length are eligible