LCOV - code coverage report
Current view: top level - gcc - diagnostic-format-sarif.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 92.3 % 1697 1567
Test Date: 2025-01-11 13:11:20 Functions: 88.7 % 142 126
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
_Z42diagnostic_output_format_init_sarif_stderrR18diagnostic_contextPK9line_mapsPKcb13sarif_version 0
_Z42diagnostic_output_format_init_sarif_streamR18diagnostic_contextPK9line_mapsPKcb13sarif_versionP8_IO_FILE 0
_ZL21maybe_get_sarif_level12diagnostic_t 0
_ZL25sarif_begin_embedded_linkP14pretty_printer 0
_ZN15sarif_code_flow15get_thread_flowEi 0
_ZN26sarif_stream_output_formatD0Ev 0
_ZN26sarif_stream_output_formatD0Ev 0
_ZN26sarif_stream_output_formatD2Ev 0
_ZN30diagnostic_sarif_format_buffer7move_toER28diagnostic_per_format_buffer 0
_ZNK19sarif_output_format27follows_reference_printer_pEv 0
_ZNK19sarif_output_format4dumpEP8_IO_FILEi 0
_ZNK24sarif_file_output_format4dumpEP8_IO_FILEi 0
_ZNK26sarif_stream_output_format25machine_readable_stderr_pEv 0
_ZNK27sarif_location_relationship13get_target_idEv 0
_ZNK30diagnostic_sarif_format_buffer4dumpEP8_IO_FILEi 0
_ZNK8selftest29test_sarif_diagnostic_context22buffered_output_format25machine_readable_stderr_pEv 0
_ZN22sarif_ice_notification20add_related_locationESt10unique_ptrI14sarif_locationSt14default_deleteIS1_EER13sarif_builder 1
_ZN12sarif_result10on_diagramERK18diagnostic_diagramR13sarif_builder 4
_ZN13sarif_builder12emit_diagramERK18diagnostic_diagram 4
_ZN13sarif_builder25make_stack_from_backtraceEv 4
_ZN13sarif_builder31make_message_object_for_diagramERK18diagnostic_diagram 4
_ZN16sarif_invocation24add_notification_for_iceERK15diagnostic_infoR13sarif_builderSt10unique_ptrIN4json6objectESt14default_deleteIS7_EE 4
_ZN19sarif_output_format10on_diagramERK18diagnostic_diagram 4
_ZN22sarif_ice_notificationC2ERK15diagnostic_infoR13sarif_builderSt10unique_ptrIN4json6objectESt14default_deleteIS7_EE 4
_ZN8selftest32diagnostic_format_sarif_cc_testsEv 4
_Z15make_sarif_sinkR18diagnostic_contextRK9line_mapsPKc13sarif_version22diagnostic_output_file 6
_ZN13sarif_builder15make_fix_objectERK13rich_location 8
_ZN13sarif_builder27make_artifact_change_objectERK13rich_location 8
_ZN30diagnostic_sarif_format_buffer5flushEv 8
_ZN8selftestL14test_bufferingE13sarif_version 8
_ZN8selftestL15test_simple_logE13sarif_version 8
_ZN8selftestL31test_message_with_embedded_linkE13sarif_version 8
_ZNK13sarif_builder23make_replacement_objectERK10fixit_hint 8
_ZNK13sarif_builder27make_region_object_for_hintERK10fixit_hint 8
_ZNK13sarif_builder28make_artifact_content_objectEPKc 8
_ZNK24sarif_file_output_format25machine_readable_stderr_pEv 8
_ZZN13sarif_builder16make_tool_objectEvEN17my_plugin_visitor9on_pluginERK29diagnostic_client_plugin_info 8
_Z24make_sarif_url_for_eventPK15sarif_code_flow21diagnostic_event_id_t 9
_ZL11bt_callbackPvmPKciS1_ 14
_ZN13sarif_builder10get_resultEm 16
_ZN8selftestL23get_message_from_resultERK12sarif_result 16
_ZZN8selftestL31test_message_with_embedded_linkE13sarif_versionENK13test_urlifier23get_url_for_quoted_textEPKcm 16
_ZN19sarif_output_format22make_per_format_bufferEv 17
_ZN13sarif_builder53make_reporting_descriptor_reference_object_for_cwe_idEi 18
_ZNK13sarif_builder43make_reporting_descriptor_object_for_cwe_idEi 18
_ZNK13sarif_builder44make_tool_component_reference_object_for_cweEv 18
_ZN13sarif_builder21make_code_flow_objectER12sarif_resultjRK15diagnostic_path 19
_ZN15sarif_code_flowC2ER12sarif_resultj 19
_ZN13sarif_builder20make_location_objectER22sarif_location_managerm24diagnostic_artifact_role 20
_ZN17sarif_thread_flowC2ER15sarif_code_flowRK17diagnostic_threadj 20
_ZN30diagnostic_sarif_format_buffer5clearEv 22
_ZN22sarif_location_manager21process_worklist_itemER13sarif_builderRKNS_13worklist_itemE 24
_ZN8selftestL19get_result_from_logEPK9sarif_log 24
_ZN8selftestL20get_message_from_logEPK9sarif_log 24
_ZN22sarif_location_manager28add_relationship_to_worklistER14sarif_locationNS_13worklist_item4kindEm 25
_ZN12sarif_result20on_nested_diagnosticERK15diagnostic_info12diagnostic_tR13sarif_builder 27
_ZL23sarif_end_embedded_linkP14pretty_printerPKc 35
_ZL16make_pwd_uri_strv 36
_ZNK13sarif_builder37make_artifact_location_object_for_pwdEv 36
_ZL41get_string_for_location_relationship_kind26location_relationship_kind 44
_ZN14sarif_location13lazily_add_idER22sarif_location_manager 44
_ZN14sarif_location23lazily_add_relationshipERS_26location_relationship_kindR22sarif_location_manager 44
_ZN14sarif_location30lazily_add_relationship_objectERS_R22sarif_location_manager 44
_ZN14sarif_location30lazily_add_relationships_arrayEv 44
_ZN27sarif_location_relationship15lazily_add_kindE26location_relationship_kind 44
_ZN27sarif_location_relationshipC2ER14sarif_locationR22sarif_location_manager 44
_ZNK14sarif_location6get_idEv 44
_ZN22sarif_location_manager20add_related_locationESt10unique_ptrI14sarif_locationSt14default_deleteIS1_EER13sarif_builder 51
_ZN13sarif_builder44make_reporting_descriptor_object_for_warningERK15diagnostic_info12diagnostic_tPKc 58
_ZNK30diagnostic_sarif_format_buffer7empty_pEv 61
_ZN13sarif_builder20make_location_objectER22sarif_location_managerRK16diagnostic_event24diagnostic_artifact_role 63
_ZN13sarif_builder36populate_thread_flow_location_objectER12sarif_resultR26sarif_thread_flow_locationRK16diagnostic_eventi 63
_ZN15sarif_code_flow12add_locationER26sarif_thread_flow_location 63
_ZN15sarif_code_flow25get_or_append_thread_flowERK17diagnostic_threadi 63
_ZN17sarif_thread_flow12add_locationEv 63
_ZNK13sarif_builder22maybe_make_kinds_arrayEN16diagnostic_event7meaningE 63
_ZNK15sarif_code_flow23get_thread_flow_loc_objE21diagnostic_event_id_t 72
_Z40diagnostic_output_format_init_sarif_fileR18diagnostic_contextP9line_mapsPKcb13sarif_versionS4_ 86
_Z40diagnostic_output_format_open_sarif_fileR18diagnostic_contextP9line_mapsPKc 90
_ZN13sarif_builder13flush_to_fileEP8_IO_FILE 92
_ZN24sarif_file_output_formatC2ER18diagnostic_contextPK9line_mapsPKcb13sarif_version22diagnostic_output_file 92
_ZN8selftestL21run_tests_per_versionERKNS_15line_table_caseE 96
_Z34make_sarif_logical_location_objectRK16logical_location 104
_ZL20maybe_get_sarif_kind21logical_location_kind 104
_ZZN13sarif_builder20make_location_objectER22sarif_location_managerRK13rich_locationPK16logical_location24diagnostic_artifact_roleENK24escape_nonascii_renderer6renderERKS_ 136
_ZNK13sarif_builder31make_multiformat_message_stringEPKc 154
_ZN8selftest29test_sarif_diagnostic_contextC2EPKc13sarif_version 168
_ZN24sarif_file_output_formatD0Ev 184
_ZN24sarif_file_output_formatD0Ev 92
_ZN24sarif_file_output_formatD2Ev 92
_ZN8selftestL17test_simple_log_2ERKNS_15line_table_caseE13sarif_version 192
_ZN8selftestL25test_make_location_objectERKNS_15line_table_caseE13sarif_version 192
_ZL32make_rule_id_for_diagnostic_kind12diagnostic_t 218
_ZN14sarif_artifact17populate_contentsER13sarif_builder 220
_ZNK13sarif_builder34maybe_make_artifact_content_objectEPKc 220
_ZN13sarif_builder15flush_to_objectEv 252
_ZN13sarif_builder15make_run_objectESt10unique_ptrI16sarif_invocationSt14default_deleteIS1_EES0_IN4json5arrayES2_IS6_EE 252
_ZN13sarif_builder16make_tool_objectEv 252
_ZN13sarif_builder21make_top_level_objectESt10unique_ptrI16sarif_invocationSt14default_deleteIS1_EES0_IN4json5arrayES2_IS6_EE 252
_ZN13sarif_builder33make_driver_tool_component_objectEv 252
_ZN16sarif_invocation16prepare_to_flushER13sarif_builder 252
_ZNK13sarif_builder27maybe_make_taxonomies_arrayEv 252
_ZNK13sarif_builder30maybe_make_cwe_taxonomy_objectEv 252
_ZL35diagnostic_output_format_init_sarifR18diagnostic_contextSt10unique_ptrI19sarif_output_formatSt14default_deleteIS2_EE 254
_ZL20sarif_version_to_url13sarif_version 260
_ZL25sarif_version_to_property13sarif_version 260
_ZN19sarif_output_format14update_printerEv 260
_ZN19sarif_output_formatC2ER18diagnostic_contextPK9line_mapsPKcb13sarif_version 260
_ZN19sarif_output_formatD0Ev 260
_ZN19sarif_output_formatD0Ev 0
_ZN19sarif_output_formatD2Ev 260
_ZN12sarif_object24get_or_create_propertiesEv 266
_ZN14sarif_artifact14populate_rolesEv 270
_ZN19sarif_output_format10set_bufferEP28diagnostic_per_format_buffer 286
_ZL24get_artifact_role_string24diagnostic_artifact_role 288
_ZN13sarif_builderC2ER18diagnostic_contextR14pretty_printerPK9line_mapsPKcb13sarif_version 388
_ZN13sarif_builderD2Ev 388
_ZN16sarif_invocationC2ER13sarif_builderPKPKc 388
_ZN22sarif_location_manager16process_worklistER13sarif_builder 428
_ZN13sarif_builder18make_result_objectERK15diagnostic_info12diagnostic_tj 440
_ZN13sarif_builder18make_locations_arrER22sarif_location_managerRK15diagnostic_info24diagnostic_artifact_role 444
_ZN13sarif_builder9end_groupEv 444
_ZN19sarif_output_format12on_end_groupEv 444
_ZN19sarif_output_format14on_begin_groupEv 444
_ZN19sarif_output_format16after_diagnosticERK15diagnostic_info 446
_ZN13sarif_builder20on_report_diagnosticERK15diagnostic_info12diagnostic_tP30diagnostic_sarif_format_buffer 471
_ZN19sarif_output_format20on_report_diagnosticERK15diagnostic_info12diagnostic_t 471
_ZN13sarif_builder19sarif_token_printer12print_tokensEP14pretty_printerRK13pp_token_list 509
_ZN14sarif_artifactC2EPKc 534
_ZN22sarif_location_managerC2Ev 572
_ZN13sarif_builder20make_location_objectER22sarif_location_managerRK13rich_locationPK16logical_location24diagnostic_artifact_role 599
_ZNK13sarif_builder16get_source_linesEPKcii 622
_ZNK13sarif_builder34maybe_make_artifact_content_objectEPKciiPK16content_renderer 622
_ZNK13sarif_builder36maybe_make_region_object_for_contextEmPK16content_renderer 626
_ZN13sarif_builder29make_artifact_location_objectEm 634
_ZL38make_date_time_string_for_current_timev 640
_ZN13sarif_builder24set_any_logical_locs_arrER14sarif_locationPK16logical_location 662
_ZN13sarif_builder21add_any_include_chainER22sarif_location_managerR14sarif_locationm 682
_ZN13sarif_builder35maybe_make_physical_location_objectEm24diagnostic_artifact_roleiPK16content_renderer 682
_ZNK13sarif_builder19make_message_objectEPKc 944
_ZN13sarif_builder22get_or_create_artifactEPKc24diagnostic_artifact_roleb 1014
_ZN14sarif_artifact8add_roleE24diagnostic_artifact_roleb 1014
_ZNK13sarif_builder24maybe_make_region_objectEmi 1036
_ZN13sarif_builder29make_artifact_location_objectEPKc 1556
_ZNK13sarif_builder16get_sarif_columnE17expanded_location 1880

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.