Leetcode build and run bazel test //... coverage report bazel coverage --instrument_test_targets --combined_report=lcov //... genhtml --output coverage "$(bazel info output_path)/_coverage/_coverage_report.dat" There is the code coverage report