LCOV - code coverage report
Current view: top level - src - parser.cpp (source / functions) Coverage Total Hit
Test: JSON Expression Parser Lines: 95.4 % 327 312
Test Date: 2024-11-04 20:34:32 Functions: 92.0 % 25 23
Branches: 69.2 % 620 429

Function Name Sort by function name Hit count Sort by function hit count
parser_lib::parser::parser(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> > const&) 0
parser_lib::parser::parser(std::basic_ifstream<char, std::char_traits<char> >&) 0
parser_lib::parser::parser(std::filesystem::__cxx11::path const&) 5
parser_lib::parser::check_ahead(char) const 15
parser_lib::parser::parse_set_item(std::vector<std::shared_ptr<reference_lib::json_reference>, std::allocator<std::shared_ptr<reference_lib::json_reference> > >&, bool) 20
parser_lib::parser::throw_message(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::source_location) const 34
parser_lib::parser::parse_keyword[abi:cxx11]() 96
parser_lib::parser::parser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) 106
parser_lib::parser::completely_parse_json(std::shared_ptr<json_lib::json>&, bool) 110
parser_lib::parser::parse_reference(std::shared_ptr<json_lib::json>&) 242
parser_lib::parser::parse_tail(std::shared_ptr<reference_lib::json_reference> const&) 262
parser_lib::parser::parse_accessor(std::shared_ptr<json_lib::json>&) 374
parser_lib::parser::parse_array_item(std::vector<std::shared_ptr<json_lib::json>, std::allocator<std::shared_ptr<json_lib::json> > >&, bool) 1138
parser_lib::parser::parse_number[abi:cxx11]() 3306
parser_lib::parser::read_line() 5081
parser_lib::parser::get() 8751
parser_lib::parser::parse_object_item(std::vector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<json_lib::json> >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::shared_ptr<json_lib::json> > > >&, bool) 12001
parser_lib::parser::parse_json(std::shared_ptr<json_lib::json>&, bool) 13252
parser_lib::parser::parse_string[abi:cxx11]() 19488
parser_lib::parser::separator(char) 25144
parser_lib::parser::nonessential() 67329
parser_lib::parser::next() 510238
parser_lib::parser::valid() const 703629
parser_lib::parser::peek() const 789530
parser_lib::parser::get_pos() const 2002973

Generated by: LCOV version 2.0-1