The automatic test suite
is required
to execute at least
95%
of all executable lines of Mapper.
It
is also required
to execute at least
70%
of the executable lines of each compilation unit (.cpp file)
of Mapper.
The following table shows the measured coverage of the automatic tests run on the latest versiuon of Mapper.
| Number of lines | Fraction Executed | File | |
|---|---|---|---|
| Executed | Executable | ||
| 75 | 93 | 80% | c++/DOM_output.cpp |
| 69 | 74 | 93% | c++/MapDataDocument.cpp |
| 175 | 176 | 99% | c++/MapDataDocument_convert.cpp |
| 65 | 68 | 95% | c++/MapDataDocument_convert_attributes.cpp |
| 153 | 153 | 100% | c++/MapDataDocument_convert_Constraint_group.cpp |
| 132 | 132 | 100% | c++/MapDataDocument_convert_Tracing.cpp |
| 133 | 140 | 95% | c++/MapDataDocument_update.cpp |
| 44 | 60 | 73% | c++/MapperErrorHandler.cpp |
| 49 | 49 | 100% | c++/angle_constraint.cpp |
| 85 | 85 | 100% | c++/assoc.cpp |
| 43 | 43 | 100% | c++/bearing_constraint.cpp |
| 23 | 23 | 100% | c++/constraint.cpp |
| 125 | 125 | 100% | c++/curve.cpp |
| 102 | 102 | 100% | c++/delaunay.cpp |
| 42 | 42 | 100% | c++/distance_constraint.cpp |
| 2 | 2 | 100% | c++/error.cpp |
| 15 | 15 | 100% | c++/func.cpp |
| 107 | 118 | 90% | c++/mapper.cpp |
| 4 | 4 | 100% | c++/matrix2x2.cpp |
| 264 | 264 | 100% | c++/minimise.cpp |
| 51 | 51 | 100% | c++/through_constraint.cpp |
| 32 | 32 | 100% | c++/vector_constraint.cpp |
| 48 | 48 | 100% | c++/vector_math.cpp |
| 143 | 143 | 100% | c++/total_energy_function.cpp |
| 1981 | 2042 | 97% | Total |