LCOV - code coverage report
Current view: top level - gcc - diagnostic-format-json.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 92.5 % 201 186
Test Date: 2024-04-20 14:03:02 Functions: 79.2 % 24 19
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_ZL34diagnostic_output_format_init_jsonP18diagnostic_context 0
_ZN18json_output_format10on_diagramERK18diagnostic_diagram 0
_ZNK23json_file_output_format25machine_readable_stderr_pEv 0
_ZNK25json_stderr_output_format25machine_readable_stderr_pEv 0
_ZN8selftest31diagnostic_format_json_cc_testsEv 4
_ZN8selftestL18test_bad_endpointsEv 4
_ZN8selftestL21test_unknown_locationEv 4
_ZL18json_from_metadataPK19diagnostic_metadata 5
_ZL20json_from_fixit_hintP18diagnostic_contextPK10fixit_hint 7
_Z39diagnostic_output_format_init_json_fileP18diagnostic_contextbPKc 15
_ZN23json_file_output_formatC2ER18diagnostic_contextbPKc 15
_ZN23json_file_output_formatD0Ev 30
_ZN23json_file_output_formatD0Ev 15
_ZN23json_file_output_formatD2Ev 15
_Z41diagnostic_output_format_init_json_stderrP18diagnostic_contextb 38
_ZN18json_output_format12on_end_groupEv 38
_ZN25json_stderr_output_formatD0Ev 38
_ZN25json_stderr_output_formatD2Ev 0
_ZN25json_stderr_output_formatD0Ev 38
_ZN18json_output_format13flush_to_fileEP8_IO_FILE 53
_ZN18json_output_formatC2ER18diagnostic_contextb 53
_ZN18json_output_format14on_begin_groupEv 58
_ZN18json_output_format17on_end_diagnosticERK15diagnostic_info12diagnostic_t 73
_ZN18json_output_format19on_begin_diagnosticERK15diagnostic_info 73
_ZL24json_from_location_rangeP18diagnostic_contextPK14location_rangej 77
_Z27json_from_expanded_locationP18diagnostic_contextj 184

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.