Map.cpp currently has 57% line coverage after running the tests (for my local config). Increase the coverage to 100% or as close as is practical. To do this, add or modify tests in map_test.cpp.
To set up coverage builds:
- Install lcov, the code coverage tool
- Configure the build for coverage analysis: cmake -DCMAKE_BUILD_TYPE=Coverage [...]
- Build the code: make build
- Run the tests: make test
- Generate coverage results: make coverage
- View the results at <build>/coverage_results