Home | History | Annotate | only in /test/vts/utils/python/coverage
Up to higher level directory
NameDateSize
__init__.py21-Aug-20180
Android.mk21-Aug-20181.4K
arc_summary.py21-Aug-20183.5K
arc_summary_test.py21-Aug-20184.3K
block_summary.py21-Aug-20182.2K
coverage_report.py21-Aug-20183.7K
coverage_report_test.py21-Aug-20182.2K
coverage_utils.py21-Aug-201831.3K
file_summary.py21-Aug-20181.4K
function_summary.py21-Aug-20183.5K
function_summary_test.py21-Aug-20183.3K
gcda_parser.py21-Aug-20186.1K
gcda_parser_test.py21-Aug-20185.6K
gcno_parser.py21-Aug-20188K
gcno_parser_test.py21-Aug-20188.9K
parser.py21-Aug-20183.6K
parser_test.py21-Aug-20187.6K
README.md21-Aug-2018668
sancov_parser.py21-Aug-20183.1K
sancov_parser_test.py21-Aug-20183.5K
sancov_utils.py21-Aug-201814.4K
testdata/21-Aug-2018

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