GCC Code Coverage Report


Directory: ./
Date: 2026-01-15 15:40:41
Exec Total Coverage
Lines: 951 993 95.8%
Functions: 139 144 96.5%
Branches: 1300 1395 93.2%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
testVarint() (TESTS/TEST_VARINT/main.cpp:11)called 1 time100.0%100.0%-%55.1%
phoenix_field(unsigned long&, unsigned long&, char*&) (src/phoenix_field.cpp:16)called 59 times100.0%-%-%100.0%
testFieldType() (TESTS/TEST_FIELD_TYPE/main.cpp:13)called 1 time100.0%100.0%-%48.1%
testFieldConfig() (TESTS/TEST_FIELD_CONFIG/main.cpp:32)called 1 time100.0%100.0%-%65.5%
checkFieldConfig(FieldConfig&) (TESTS/TEST_FIELD_CONFIG/main.cpp:14)called 2 times100.0%100.0%-%50.0%
testAbtractField() (TESTS/TEST_ABSTRACT_FIELD/main.cpp:44)called 1 time100.0%100.0%-%71.4%
checkAbtractField(AbtractField&) (TESTS/TEST_ABSTRACT_FIELD/main.cpp:14)called 2 times100.0%100.0%-%49.1%
phoenix_fieldSkip(char*&, unsigned long) (src/phoenix_field.cpp:27)called 12 times100.0%100.0%-%100.0%
FieldType::FieldType phoenix_fieldType<char>() (src/FieldType.cpp:70)called 1 time100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<unsigned char>() (src/FieldType.cpp:38)called 1 time100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<int>() (src/FieldType.cpp:54)called 1 time100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<unsigned int>() (src/FieldType.cpp:22)called 25 times100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<long>() (src/FieldType.cpp:46)called 1 time100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<unsigned long>() (src/FieldType.cpp:14)called 18 times100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<short>() (src/FieldType.cpp:62)called 1 time100.0%-%-%100.0%
FieldType::FieldType phoenix_fieldType<unsigned short>() (src/FieldType.cpp:30)called 7 times100.0%-%-%100.0%
unsigned int phoenix_readValue<unsigned int>(char*&) (src/phoenix_field.h:25)called 1 time100.0%-%-%100.0%
unsigned long phoenix_readValue<unsigned long>(char*&) (src/phoenix_field.h:25)not called100.0%-%-%0.0%
phoenix_fieldPrint(char*&, unsigned long, char const*) (src/phoenix_field.cpp:62)called 4 times66.7%60.0%-%63.6%
phoenix_readVarInt(char*&) (src/phoenix_varint.cpp:29)called 71 times100.0%100.0%-%78.6%
phoenix_skipVarInt(char*&) (src/phoenix_varint.cpp:45)called 4 times100.0%50.0%-%75.0%
testMessageParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_MESSAGE_PARSING/main.cpp:16)called 1 time100.0%100.0%-%57.1%
phoenix_createField(FieldType::FieldType, unsigned long, PString const&, bool) (src/phoenix_field.cpp:89)called 23 times87.5%100.0%-%88.9%
checkFieldConfigConst(FieldConfig const&) (TESTS/TEST_FIELD_CONFIG/main.cpp:24)called 2 times100.0%100.0%-%50.0%
phoenix_varIntToValue(std::vector<unsigned char, std::allocator<unsigned char> > const&) (src/phoenix_varint.cpp:15)called 71 times100.0%100.0%-%100.0%
testSubMessageParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_SUB_MESSAGE_PARSING/main.cpp:19)called 1 time100.0%100.0%-%55.5%
testSubMessageParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_SUB_MESSAGE_PARSING_CONFIG/main.cpp:19)called 1 time100.0%100.0%-%54.1%
testSubMessageParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (TESTS/TEST_SUB_MESSAGE_PARSING_YML/main.cpp:21)called 2 times96.9%95.3%-%50.6%
checkAbtractFieldConst(AbtractField const&) (TESTS/TEST_ABSTRACT_FIELD/main.cpp:30)called 2 times100.0%100.0%-%49.1%
phoenix_fieldTypeToStr[abi:cxx11](FieldType::FieldType) (src/FieldType.cpp:99)called 11 times100.0%94.1%-%63.0%
phoenix_fieldPrintArray(char*&, char const*) (src/phoenix_field.cpp:50)called 2 times100.0%-%-%100.0%
phoenix_fieldTypeFromStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/FieldType.cpp:78)called 24 times100.0%95.5%-%97.1%
phoenix_parseFieldConfig(FieldConfig&, PPath const&, PString const&) (src/phoenix_field.cpp:104)called 2 times81.8%70.6%-%64.3%
phoenix_parseFieldConfig(FieldConfig&, DicoValue const&) (src/phoenix_field.cpp:140)called 5 times100.0%100.0%-%78.5%
phoenix_parseFieldConfig(FieldConfig&, DicoValue const&, PString const&) (src/phoenix_field.cpp:125)called 5 times66.7%50.0%-%50.0%
phoenix_pbTypeToFieldType(unsigned long) (src/FieldType.cpp:120)called 5 times100.0%100.0%-%100.0%
phoenix_printFieldMessage(char const*, unsigned long) (src/phoenix_field.cpp:198)called 1 time100.0%-%-%100.0%
phoenix_printFieldMessage(char const*, unsigned long, unsigned long) (src/phoenix_field.cpp:180)called 1 time100.0%100.0%-%94.1%
testSkipSubMessageParsing(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (TESTS/TEST_SKIP_SUB_MESSAGE_PARSING/main.cpp:19)called 1 time100.0%100.0%-%55.1%
FieldConfig::getIsArray() (src/AbtractField.cpp:390)called 2 times100.0%-%-%100.0%
FieldConfig::setIsArray(bool) (src/AbtractField.cpp:327)called 24 times100.0%-%-%100.0%
FieldConfig::getVecChildren() (src/AbtractField.cpp:404)called 12 times100.0%-%-%100.0%
FieldConfig::setVecChildren(std::map<PString, FieldConfig, std::less<PString>, std::allocator<std::pair<PString const, FieldConfig> > > const&) (src/AbtractField.cpp:334)not called0.0%-%-%0.0%
FieldConfig::copyFieldConfig(FieldConfig const&) (src/AbtractField.cpp:411)called 31 times100.0%-%-%100.0%
FieldConfig::initialisationFieldConfig() (src/AbtractField.cpp:420)called 39 times100.0%-%-%100.0%
FieldConfig::getId() (src/AbtractField.cpp:362)called 2 times100.0%-%-%100.0%
FieldConfig::setId(unsigned long) (src/AbtractField.cpp:313)called 24 times100.0%-%-%100.0%
FieldConfig::getName() (src/AbtractField.cpp:348)called 2 times100.0%-%-%100.0%
FieldConfig::getType() (src/AbtractField.cpp:376)called 2 times100.0%-%-%100.0%
FieldConfig::setName(PString const&) (src/AbtractField.cpp:306)called 24 times100.0%-%-%100.0%
FieldConfig::setType(FieldType::FieldType const&) (src/AbtractField.cpp:320)called 24 times100.0%-%-%100.0%
FieldConfig::FieldConfig(FieldConfig const&) (src/AbtractField.cpp:285)called 18 times100.0%100.0%-%62.5%
FieldConfig::FieldConfig() (src/AbtractField.cpp:278)called 39 times100.0%100.0%-%62.5%
FieldConfig::~FieldConfig() (src/AbtractField.cpp:290)not called100.0%-%-%0.0%
FieldConfig::~FieldConfig() (src/AbtractField.cpp:290)called 57 times100.0%-%-%100.0%
FieldConfig::operator=(FieldConfig const&) (src/AbtractField.cpp:298)called 13 times100.0%-%-%100.0%
FieldParser::resetOffset() (src/FieldParser.cpp:151)called 36 times100.0%100.0%-%100.0%
FieldParser::setBaseField(unsigned long, PString const&) (src/FieldParser.cpp:231)called 44 times100.0%-%-%100.0%
FieldParser::addSubMessage(FieldConfig&, FieldConfig const&, PString const&) (src/FieldParser.cpp:67)called 1 time75.0%50.0%-%72.2%
FieldParser::addSubMessage(FieldConfig const&) (src/FieldParser.cpp:40)called 4 times100.0%50.0%-%87.5%
FieldParser::addSubMessage(FieldConfig const&, PString const&) (src/FieldParser.cpp:50)not called0.0%0.0%-%0.0%
FieldParser::addSubMessage(unsigned long, PString const&) (src/FieldParser.cpp:29)called 8 times100.0%100.0%-%85.7%
FieldParser::checkInputType(FieldType::FieldType, FieldConfig const&) (src/FieldParser.cpp:241)called 22 times60.0%11.1%-%20.8%
bool FieldParser::checkInputType<unsigned int>(FieldConfig const&) (src/FieldParser_impl.h:117)called 8 times100.0%-%-%100.0%
bool FieldParser::checkInputType<unsigned long>(FieldConfig const&) (src/FieldParser_impl.h:117)called 6 times100.0%-%-%100.0%
bool FieldParser::checkInputType<unsigned short>(FieldConfig const&) (src/FieldParser_impl.h:117)called 2 times100.0%-%-%100.0%
FieldParser::loadFromOffset(char*&) (src/FieldParser.cpp:370)called 441 times100.0%100.0%-%100.0%
FieldParser::addParseFieldEnum(unsigned long*, FieldConfig const&) (src/FieldParser.cpp:102)called 2 times100.0%50.0%-%87.5%
FieldParser::addParseFieldEnum(unsigned long*, FieldConfig const&, PString const&) (src/FieldParser.cpp:114)called 1 time71.4%44.4%-%68.8%
FieldParser::addParseFieldEnum(unsigned long*, unsigned long, PString const&) (src/FieldParser.cpp:85)called 5 times100.0%100.0%-%91.7%
FieldParser::loadComputeOffset(char*&, char const*, char const*, std::ostream&) (src/FieldParser.cpp:256)called 13 times81.0%46.2%-%47.6%
bool FieldParser::addParseFieldArray<unsigned short>(unsigned short**, unsigned long*, FieldConfig const&) (src/FieldParser_impl.h:87)called 2 times100.0%50.0%-%61.1%
bool FieldParser::addParseFieldArray<unsigned short>(unsigned short**, unsigned long*, FieldConfig const&, PString const&) (src/FieldParser_impl.h:101)called 1 time71.4%44.4%-%68.8%
void FieldParser::addParseFieldArray<unsigned short>(unsigned short**, unsigned long*, unsigned long, PString const&) (src/FieldParser_impl.h:37)called 4 times100.0%100.0%-%92.9%
bool FieldParser::addParseFieldValue<unsigned int>(unsigned int*, FieldConfig const&) (src/FieldParser_impl.h:56)called 8 times100.0%-%-%87.5%
bool FieldParser::addParseFieldValue<unsigned int>(unsigned int*, FieldConfig const&, PString const&) (src/FieldParser_impl.h:69)called 4 times100.0%-%-%68.8%
void FieldParser::addParseFieldValue<unsigned int>(unsigned int*, unsigned long, PString const&) (src/FieldParser_impl.h:18)called 16 times100.0%-%-%92.3%
bool FieldParser::addParseFieldValue<unsigned long>(unsigned long*, FieldConfig const&) (src/FieldParser_impl.h:56)called 6 times100.0%50.0%-%87.5%
bool FieldParser::addParseFieldValue<unsigned long>(unsigned long*, FieldConfig const&, PString const&) (src/FieldParser_impl.h:69)called 3 times71.4%44.4%-%68.8%
void FieldParser::addParseFieldValue<unsigned long>(unsigned long*, unsigned long, PString const&) (src/FieldParser_impl.h:18)called 11 times100.0%100.0%-%92.3%
FieldParser::loadFieldFromOffset(char*&) (src/FieldParser.cpp:386)called 324 times100.0%100.0%-%100.0%
FieldParser::createMapFieldParser(std::map<unsigned long, FieldParser*, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, FieldParser*> > >&) (src/FieldParser.cpp:360)called 13 times100.0%100.0%-%100.0%
FieldParser::createSubFieldParser(unsigned long, PString const&) (src/FieldParser.cpp:221)called 44 times100.0%40.0%-%70.0%
FieldParser::loadComputeFieldOffset(char*&, char const*, char const*, unsigned long, unsigned long, std::ostream&) (src/FieldParser.cpp:302)called 44 times82.6%75.0%-%78.9%
FieldParser::initialisationFieldParser() (src/FieldParser.cpp:212)called 49 times100.0%-%-%100.0%
FieldParser::loadComputeFieldOffsetArray(char*&, char const*, char const*, std::ostream&) (src/FieldParser.cpp:337)called 12 times92.9%66.7%-%76.5%
FieldParser::load(char const*, unsigned long, std::ostream&) (src/FieldParser.cpp:140)called 50 times100.0%100.0%-%100.0%
FieldParser::load(std::vector<char, std::allocator<char> > const&, std::ostream&) (src/FieldParser.cpp:130)called 50 times100.0%-%-%100.0%
FieldParser::clear() (src/FieldParser.cpp:160)called 49 times100.0%75.0%-%100.0%
FieldParser::FieldParser() (src/FieldParser.cpp:15)called 49 times100.0%100.0%-%62.5%
FieldParser::~FieldParser() (src/FieldParser.cpp:20)called 44 times100.0%-%-%100.0%
FieldParser::~FieldParser() (src/FieldParser.cpp:20)called 49 times100.0%-%-%100.0%
AbtractField::getIsArray() (src/AbtractField.cpp:174)called 326 times100.0%-%-%100.0%
AbtractField::setIsArray(bool) (src/AbtractField.cpp:69)called 37 times100.0%-%-%100.0%
AbtractField::getArrayPtr() (src/AbtractField.cpp:216)called 42 times100.0%-%-%100.0%
AbtractField::getTypeSize() (src/AbtractField.cpp:160)called 303 times100.0%-%-%100.0%
AbtractField::setArrayPtr(void**) (src/AbtractField.cpp:90)called 5 times100.0%-%-%100.0%
AbtractField::setTypeSize(unsigned long) (src/AbtractField.cpp:62)called 37 times100.0%-%-%100.0%
AbtractField::getNbElement() (src/AbtractField.cpp:188)called 6 times100.0%-%-%100.0%
AbtractField::setNbElement(unsigned long*) (src/AbtractField.cpp:76)called 41 times100.0%-%-%100.0%
AbtractField::copyAbtractField(AbtractField const&) (src/AbtractField.cpp:251)called 2 times100.0%-%-%100.0%
AbtractField::getIsOffsetReady() (src/AbtractField.cpp:230)called 52 times100.0%-%-%100.0%
AbtractField::setIsOffsetReady(bool) (src/AbtractField.cpp:97)called 134 times100.0%-%-%100.0%
AbtractField::initialisationAbtractField() (src/AbtractField.cpp:265)called 51 times100.0%-%-%100.0%
AbtractField::getId() (src/AbtractField.cpp:132)called 46 times100.0%-%-%100.0%
AbtractField::setId(unsigned long) (src/AbtractField.cpp:48)called 45 times100.0%-%-%100.0%
AbtractField::getName() (src/AbtractField.cpp:118)called 2 times100.0%-%-%100.0%
AbtractField::getType() (src/AbtractField.cpp:146)called 302 times100.0%-%-%100.0%
AbtractField::setName(PString const&) (src/AbtractField.cpp:41)called 45 times100.0%-%-%100.0%
AbtractField::setType(FieldType::FieldType const&) (src/AbtractField.cpp:55)called 45 times100.0%-%-%100.0%
AbtractField::getOffset() (src/AbtractField.cpp:244)called 326 times100.0%-%-%100.0%
AbtractField::getVarPtr() (src/AbtractField.cpp:202)called 322 times100.0%-%-%100.0%
AbtractField::setOffset(unsigned long) (src/AbtractField.cpp:104)called 109 times100.0%-%-%100.0%
AbtractField::setVarPtr(void*) (src/AbtractField.cpp:83)called 33 times100.0%-%-%100.0%
AbtractField::AbtractField(AbtractField const&) (src/AbtractField.cpp:20)called 1 time100.0%100.0%-%80.0%
AbtractField::AbtractField() (src/AbtractField.cpp:13)called 51 times100.0%100.0%-%80.0%
AbtractField::~AbtractField() (src/AbtractField.cpp:25)not called100.0%-%-%0.0%
AbtractField::~AbtractField() (src/AbtractField.cpp:25)called 52 times100.0%-%-%100.0%
AbtractField::operator=(AbtractField const&) (src/AbtractField.cpp:33)called 1 time100.0%-%-%100.0%
FieldConfig::getIsArray() const (src/AbtractField.cpp:383)called 4 times100.0%-%-%100.0%
FieldConfig::getVecChildren() const (src/AbtractField.cpp:397)called 10 times100.0%-%-%100.0%
FieldConfig::getId() const (src/AbtractField.cpp:355)called 24 times100.0%-%-%100.0%
FieldConfig::getName() const (src/AbtractField.cpp:341)called 24 times100.0%-%-%100.0%
FieldConfig::getType() const (src/AbtractField.cpp:369)called 24 times100.0%-%-%100.0%
FieldParser::print(std::ostream&, PString const&) const (src/FieldParser.cpp:171)called 128 times100.0%89.5%-%92.9%
AbtractField::getIsArray() const (src/AbtractField.cpp:167)called 97 times100.0%-%-%100.0%
AbtractField::getArrayPtr() const (src/AbtractField.cpp:209)called 13 times100.0%-%-%100.0%
AbtractField::getTypeSize() const (src/AbtractField.cpp:153)called 2 times100.0%-%-%100.0%
AbtractField::getNbElement() const (src/AbtractField.cpp:181)called 13 times100.0%-%-%100.0%
AbtractField::getIsOffsetReady() const (src/AbtractField.cpp:223)called 119 times100.0%-%-%100.0%
AbtractField::getId() const (src/AbtractField.cpp:125)called 152 times100.0%-%-%100.0%
AbtractField::getName() const (src/AbtractField.cpp:111)called 236 times100.0%-%-%100.0%
AbtractField::getType() const (src/AbtractField.cpp:139)called 2 times100.0%-%-%100.0%
AbtractField::getOffset() const (src/AbtractField.cpp:237)called 44 times100.0%-%-%100.0%
AbtractField::getVarPtr() const (src/AbtractField.cpp:195)called 86 times100.0%-%-%100.0%
main (TESTS/TEST_ABSTRACT_FIELD/main.cpp:65)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_FIELD_CONFIG/main.cpp:47)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_FIELD_TYPE/main.cpp:58)called 1 time100.0%-%-%100.0%
main (TESTS/TEST_MESSAGE_PARSING/main.cpp:44)called 1 time100.0%100.0%-%64.3%
main (TESTS/TEST_SKIP_SUB_MESSAGE_PARSING/main.cpp:79)called 1 time100.0%100.0%-%64.3%
main (TESTS/TEST_SUB_MESSAGE_PARSING/main.cpp:87)called 1 time100.0%100.0%-%64.3%
main (TESTS/TEST_SUB_MESSAGE_PARSING_CONFIG/main.cpp:87)called 1 time100.0%100.0%-%64.3%
main (TESTS/TEST_SUB_MESSAGE_PARSING_YML/main.cpp:103)called 2 times100.0%90.0%-%63.2%
main (TESTS/TEST_VARINT/main.cpp:21)called 1 time100.0%-%-%100.0%