Home | History | Annotate | only in /test/vts/utils/python/coverage
Up to higher level directory
NameDateSize
__init__.py06-Dec-20170
Android.mk06-Dec-20171.4K
arc_summary.py06-Dec-20173.5K
arc_summary_test.py06-Dec-20174.3K
block_summary.py06-Dec-20172.2K
coverage_report.py06-Dec-20173.6K
coverage_report_test.py06-Dec-20172.1K
coverage_utils.py06-Dec-201722.5K
file_summary.py06-Dec-20171.4K
function_summary.py06-Dec-20173.5K
function_summary_test.py06-Dec-20173.3K
gcda_parser.py06-Dec-20175.8K
gcda_parser_test.py06-Dec-20175.6K
gcno_parser.py06-Dec-20178K
gcno_parser_test.py06-Dec-20178.9K
parser.py06-Dec-20173.6K
parser_test.py06-Dec-20177.6K
README.md06-Dec-2017668
testdata/06-Dec-2017

README.md

      1 # To run from another Python module
      2 
      3 Import the CoverageReport module by including the line:
      4 
      5    from vts.utils.python.coverage import CoverageReport
      6 
      7 Run the code by calling the parse function as follows:
      8    html_report = CoverageReport.GenerateCoverageReport(src_file_name, src_file_content, gcov_file_content,
      9                            gcda_file_content)
     10 
     11 Args:
     12     src_file_name: string, the source file name.
     13     src_file_content: string, the C/C++ source file content.
     14     gcov_file_content: string, the raw gcov binary file content.
     15     gcda_file_content: string, the raw gcda binary file content.
     16 
     17 Returns:
     18     the coverage HTML produced for 'src_file_name'.
     19