1 / 13

Coverage reports with GCOV

Coverage reports with GCOV. Natalia Yastrebova 01.03.2010. What is GCOV and LCOV. GCOV is a test coverage program for GCC. Help create more efficient, faster running code and discover untested parts of your program. LCOV is a graphical front-end for GCC's coverage testing tool.

samara
Download Presentation

Coverage reports with GCOV

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Coverage reports with GCOV Natalia Yastrebova 01.03.2010

  2. What is GCOV and LCOV • GCOV is a test coverage program for GCC. Help create more efficient, faster running code and discover untested parts of your program. • LCOV is a graphical front-end for GCC's coverage testing tool.

  3. How to use gcov for shared lib 1. Modify make-file: • Compilation flags + -fprofile-arcs -ftest-coverage • Linked libraries + -lgcov 2. Creating a report in html with lcov: lcov -d . –b . –c - o dir/coverage.info genhtml coverage.info

  4. Example of html report

  5. Example of html report

  6. Test coverage comparison

  7. Combined resultsSummary coverage report • Results for PbPbbench, PPbench, gun, genkine and merge tests

  8. ResultsCoverage report for gun

  9. ResultsCoverage report for fpprod

  10. ITS detectorSimulation and reconstruction coverage

  11. MUONReconstruction coverage

  12. TRD, TOF and TPC detectorsReconstruction coverage comparison

  13. Conclusions and plans • The coverage of tests used to verify AliRoot is low. • We’ll check all existing tests and improve them with respect to the coverage • The reconstruction of selected RAW data files will be included in the coverage estimation • We will include the coverage as a standard target in the AliRootmakefiles/cmake.

More Related