GCC Code Coverage Report


Directory: ./
Date: 2025-09-09 12:32:24
Exec Total Coverage
Lines: 506 540 93.7%
Functions: 57 63 90.5%
Branches: 760 853 89.1%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
parser_yml(DicoValue&, PPath const&) (src/parser_yml.cpp:343)called 9 times86.7%75.0%-%54.8%
parse_yml_all(VecValue&, PFileParser&, PYmlParserData&) (src/parser_yml.cpp:304)called 1244 times100.0%100.0%-%79.3%
parse_yml_key(PString&, unsigned long&, PFileParser&) (src/parser_yml.cpp:109)called 1213 times100.0%89.5%-%72.7%
checkParserYml(PPath const&) (TESTS/TEST_PARSER_YML/main_list_map.cpp:14)called 2 times100.0%97.7%-%52.9%
checkParserYml() (TESTS/TEST_PARSER_YML/main.cpp:64)called 1 time100.0%100.0%-%47.8%
checkParserYml() (TESTS/TEST_PARSER_YML/main_full_config.cpp:64)called 1 time100.0%78.8%-%52.6%
testCheckValue() (TESTS/TEST_PARSER_YML/main.cpp:57)called 1 time100.0%100.0%-%57.9%
testCheckValue() (TESTS/TEST_PARSER_YML/main_full_config.cpp:57)called 1 time100.0%100.0%-%57.9%
checkDashedList(PPath const&, PString const&) (TESTS/TEST_PARSER_YML/main.cpp:174)called 2 times100.0%100.0%-%48.5%
getLastVecValue(VecValue&, unsigned long) (src/vec_value_utils.cpp:15)called 180 times100.0%100.0%-%100.0%
getVecParentPtr(VecValue&) (src/vec_value_utils.cpp:60)called 22 times80.0%100.0%-%83.3%
getVecParentPtr(std::vector<VecValue*, std::allocator<VecValue*> >&, VecValue&) (src/vec_value_utils.cpp:49)called 72 times100.0%100.0%-%100.0%
checkCompactDico() (TESTS/TEST_PARSER_YML/main.cpp:212)called 1 time100.0%97.8%-%48.8%
checkCompactList() (TESTS/TEST_PARSER_YML/main.cpp:134)called 1 time100.0%100.0%-%49.0%
checkEmbededDico() (TESTS/TEST_PARSER_YML/main.cpp:102)called 1 time100.0%97.8%-%48.8%
checkKeyMapValue(DicoValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_PARSER_YML/main.cpp:16)called 14 times100.0%100.0%-%100.0%
checkKeyMapValue(DicoValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_PARSER_YML/main_full_config.cpp:16)called 2 times100.0%100.0%-%90.0%
parse_yml_string(PString&, PFileParser&) (src/parser_yml.cpp:125)called 13 times100.0%100.0%-%54.9%
getParentVecValue(VecValue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long) (src/vec_value_utils.cpp:27)called 89 times100.0%100.0%-%100.0%
parse_yml_isParse(PYmlParserData const&) (src/parser_yml.cpp:53)called 1381 times100.0%-%-%100.0%
checkKeyMapVecValue(DicoValue const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (TESTS/TEST_PARSER_YML/main.cpp:32)called 7 times100.0%85.7%-%100.0%
checkKeyMapVecValue(DicoValue const*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (TESTS/TEST_PARSER_YML/main_full_config.cpp:32)called 2 times100.0%95.0%-%100.0%
vecValueToDicoValue(DicoValue&, VecValue const&, bool) (src/vec_value_utils.cpp:153)called 135 times100.0%100.0%-%81.8%
parse_yml_dicoContent(VecValue&, PFileParser&, PYmlParserData&) (src/parser_yml.cpp:205)called 1213 times100.0%100.0%-%80.0%
parse_yml_listContent(VecValue&, PFileParser&, PYmlParserData&) (src/parser_yml.cpp:279)called 1235 times100.0%100.0%-%67.9%
parse_yml_stopParsing(PYmlParserData&) (src/parser_yml.cpp:46)not called0.0%-%-%0.0%
parse_yml_stringValue(PFileParser&, PYmlParserData&) (src/parser_yml.cpp:150)called 1122 times100.0%100.0%-%52.5%
parser_yml_fileParser(VecValue&, PFileParser&) (src/parser_yml.cpp:322)called 9 times75.0%52.0%-%46.8%
default_PYmlParserData() (src/parser_yml.cpp:31)called 9 times88.9%100.0%-%83.3%
parse_yml_dicoSetValue(VecValue*, PString const&) (src/parser_yml.cpp:140)called 28 times100.0%66.7%-%85.7%
addChildToParentVecValue(VecValue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, bool, VecValue const&, unsigned long) (src/vec_value_utils.cpp:110)called 91 times88.9%75.0%-%83.3%
getParentVecValueListItem(VecValue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long, VecValue const&) (src/vec_value_utils.cpp:73)called 22 times83.3%68.8%-%79.6%
parse_yml_playCurrentText(PYmlParserData&) (src/parser_yml.cpp:95)called 130 times100.0%90.9%-%73.7%
parse_yml_updateIndentation(std::vector<unsigned long, std::allocator<unsigned long> >&, unsigned long) (src/parser_yml.cpp:61)called 113 times100.0%94.4%-%95.5%
parse_yml_compactDicoContent(VecValue&, PFileParser&, PYmlParserData&) (src/parser_yml.cpp:175)called 1236 times85.7%62.5%-%50.0%
parse_yml_compactListContent(VecValue&, PFileParser&, PYmlParserData&) (src/parser_yml.cpp:243)called 1242 times80.8%64.6%-%55.2%
parse_yml_incrementCurrentChar(PFileParser&, PYmlParserData&) (src/parser_yml.cpp:85)called 1200 times100.0%-%-%100.0%
addChildToParentVecValueAddListItem(VecValue&, std::vector<unsigned long, std::allocator<unsigned long> > const&, bool, VecValue const&, unsigned long) (src/vec_value_utils.cpp:133)called 22 times77.8%50.0%-%75.0%
VecValue::getVecChild() (src/VecValue.cpp:111)called 534 times100.0%-%-%100.0%
VecValue::setVecChild(std::vector<VecValue, std::allocator<VecValue> > const&) (src/VecValue.cpp:55)not called0.0%-%-%0.0%
VecValue::copyVecValue(VecValue const&) (src/VecValue.cpp:146)called 287 times100.0%-%-%100.0%
VecValue::getIndentation() (src/VecValue.cpp:139)called 34 times100.0%-%-%100.0%
VecValue::setIndentation(unsigned long) (src/VecValue.cpp:69)called 122 times100.0%-%-%100.0%
VecValue::initialisationVecValue() (src/VecValue.cpp:155)called 135 times100.0%-%-%100.0%
VecValue::getKey() (src/VecValue.cpp:97)not called0.0%-%-%0.0%
VecValue::setKey(PString const&) (src/VecValue.cpp:48)called 113 times100.0%-%-%100.0%
VecValue::getType() (src/VecValue.cpp:125)called 72 times100.0%-%-%100.0%
VecValue::setType(VecValueType::VecValueType const&) (src/VecValue.cpp:62)called 150 times100.0%-%-%100.0%
VecValue::getValue() (src/VecValue.cpp:83)not called0.0%-%-%0.0%
VecValue::setValue(PString const&) (src/VecValue.cpp:41)called 88 times100.0%-%-%100.0%
VecValue::VecValue(VecValue const&) (src/VecValue.cpp:20)called 287 times100.0%100.0%-%54.5%
VecValue::VecValue() (src/VecValue.cpp:13)called 135 times100.0%100.0%-%54.5%
VecValue::~VecValue() (src/VecValue.cpp:25)not called100.0%-%-%0.0%
VecValue::~VecValue() (src/VecValue.cpp:25)called 422 times100.0%-%-%100.0%
VecValue::operator=(VecValue const&) (src/VecValue.cpp:33)not called0.0%-%-%0.0%
VecValue::getVecChild() const (src/VecValue.cpp:104)called 135 times100.0%-%-%100.0%
VecValue::getIndentation() const (src/VecValue.cpp:132)called 22 times100.0%-%-%100.0%
VecValue::getKey() const (src/VecValue.cpp:90)called 165 times100.0%-%-%100.0%
VecValue::getType() const (src/VecValue.cpp:118)called 34 times100.0%-%-%100.0%
VecValue::getValue() const (src/VecValue.cpp:76)called 88 times100.0%-%-%100.0%
main (TESTS/TEST_PARSER_YML/main.cpp:244)called 1 time100.0%100.0%-%56.4%
main (TESTS/TEST_PARSER_YML/main_full_config.cpp:87)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_PARSER_YML/main_list_map.cpp:34)called 1 time100.0%100.0%-%54.2%