Open bernardosulzbach opened 4 years ago
3c45a7f43a68cbe7ed3d611a1fa2a52178bc3f92 currently produces the following report. This only works with Clang.
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Argument.cpp 10 10 0.00% 7 7 0.00% 32 32 0.00%
ArgumentFactory.cpp 4 4 0.00% 4 4 0.00% 12 12 0.00%
Argument.hpp 1 1 0.00% 1 1 0.00% 3 3 0.00%
ArgumentParser.cpp 26 26 0.00% 3 3 0.00% 40 40 0.00%
Average.hpp 6 4 33.33% 3 1 66.67% 13 6 53.85%
BoardComponentSplitter.cpp 72 5 93.06% 3 0 100.00% 134 11 91.79%
Board.cpp 195 38 80.51% 18 2 88.89% 237 58 75.53%
BoardScanner.cpp 119 119 0.00% 17 17 0.00% 298 298 0.00%
Color.hpp 35 12 65.71% 18 6 66.67% 91 38 58.24%
Filesystem.cpp 4 4 0.00% 1 1 0.00% 9 9 0.00%
FloatingPointScreenCoordinates.cpp 6 2 66.67% 6 2 66.67% 19 6 68.42%
FloatingPointScreenCoordinates.hpp 1 0 100.00% 1 0 100.00% 1 0 100.00%
Hashing.cpp 7 1 85.71% 1 0 100.00% 20 2 90.00%
ImageComponentType.cpp 7 7 0.00% 1 1 0.00% 15 15 0.00%
Image.cpp 62 25 59.68% 12 3 75.00% 95 38 60.00%
IntegralScreenCoordinates.cpp 7 1 85.71% 5 1 80.00% 14 3 78.57%
IntegralScreenCoordinates.hpp 1 0 100.00% 1 0 100.00% 8 0 100.00%
MaskComponentFinder.cpp 93 7 92.47% 15 2 86.67% 172 21 87.79%
Mask.cpp 34 27 20.59% 8 3 62.50% 88 73 17.05%
Numeric.hpp 11 5 54.55% 4 1 75.00% 26 16 38.46%
Position.cpp 12 4 66.67% 4 1 75.00% 26 9 65.38%
Range.hpp 5 0 100.00% 5 0 100.00% 12 0 100.00%
Solution.cpp 46 39 15.22% 13 8 38.46% 88 74 15.91%
SolverConfiguration.cpp 8 4 50.00% 8 4 50.00% 24 12 50.00%
Solver.cpp 98 18 81.63% 11 1 90.91% 200 29 85.50%
SystemInformation.cpp 13 13 0.00% 3 3 0.00% 41 41 0.00%
Text.cpp 4 4 0.00% 1 1 0.00% 6 6 0.00%
Text.hpp 11 1 90.91% 5 0 100.00% 33 0 100.00%
Tile.cpp 8 1 87.50% 4 1 75.00% 14 3 78.57%
TileType.cpp 20 7 65.00% 4 1 75.00% 38 11 71.05%
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 926 389 57.99% 187 75 59.89% 1809 866 52.13%
Chromium seems to do this. Find a way to do it.
Clang-coverage may be used for this.