LCOV - code coverage report
Current view: top level - src - ProgOptions.cpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 266 486 54.7 %
Date: 2020-12-16 07:07:30 Functions: 43 59 72.9 %
Branches: 451 2095 21.5 %

Function Name Sort by function name Hit count Sort by hit count
OptType get_opt_type<double>() 15
OptType get_opt_type<int>() 25
OptType get_opt_type<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >() 42
OptType get_opt_type<std::vector<int, std::allocator<int> > >() 5
OptType get_opt_type<void>() 40
ProgOpt::ProgOpt(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, OptType) 98
ProgOpt::get_argstring() const 0
ProgOpt::~ProgOpt() 98
ProgOptions::ProgOptions(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 25
ProgOptions::addOptionHelpHeading(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0
ProgOptions::error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0
ProgOptions::evaluate(ProgOpt const&, void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*) 82
ProgOptions::get_namestrings(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) 109
ProgOptions::get_option_usage_prefix(ProgOpt const&) 0
ProgOptions::lookup(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ProgOpt*, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ProgOpt*> > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 97
ProgOptions::lookup_option(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 22
ProgOptions::numOptSet(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 11
ProgOptions::parseCommandLine(int, char**) 25
ProgOptions::printHelp(std::basic_ostream<char, std::char_traits<char> >&) 0
ProgOptions::printUsage(std::basic_ostream<char, std::char_traits<char> >&) 0
ProgOptions::printVersion(std::basic_ostream<char, std::char_traits<char> >&) 0
ProgOptions::process_option(ProgOpt*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, char const*) 34
ProgOptions::setVersion(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) 0
ProgOptions::write_man_page(std::basic_ostream<char, std::char_traits<char> >&) 0
ProgOptions::~ProgOptions() 25
_GLOBAL__sub_I_ProgOptions.cpp 5
__static_initialization_and_destruction_0(int, int) 5
bool ProgOptions::getOpt<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double*) 3
bool ProgOptions::getOpt<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*) 3
bool ProgOptions::getOpt<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) 8
bool ProgOptions::getOpt<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >*) 1
bool ProgOptions::getOpt<void>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*) 0
do_rank_subst(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 7
double ProgOptions::getReqArg<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 2
int ProgOptions::getReqArg<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 2
parse_int_list(char const*, std::vector<int, std::allocator<int> >&) 12
std::basic_string<char, std::char_traits<char>, std::allocator<char> > ProgOptions::getReqArg<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 4
std::vector<int, std::allocator<int> > ProgOptions::getReqArg<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 1
void ProgOptions::addOpt<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double*, int) 8
void ProgOptions::addOpt<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*, int) 17
void ProgOptions::addOpt<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int) 10
void ProgOptions::addOpt<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >*, int) 1
void ProgOptions::addOpt<void>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*, int) 40
void ProgOptions::addOptionalArgs<double>(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) 0
void ProgOptions::addOptionalArgs<int>(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) 0
void ProgOptions::addOptionalArgs<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) 4
void ProgOptions::addOptionalArgs<std::vector<int, std::allocator<int> > >(unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) 0
void ProgOptions::addRequiredArg<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double*, int) 2
void ProgOptions::addRequiredArg<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int*, int) 2
void ProgOptions::addRequiredArg<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int) 14
void ProgOptions::addRequiredArg<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >*, int) 1
void ProgOptions::getArgs<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<double, std::allocator<double> >&) 0
void ProgOptions::getArgs<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >&) 0
void ProgOptions::getArgs<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) 4
void ProgOptions::getArgs<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >&) 0
void ProgOptions::getOptAllArgs<double>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<double, std::allocator<double> >&) 1
void ProgOptions::getOptAllArgs<int>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<int, std::allocator<int> >&) 2
void ProgOptions::getOptAllArgs<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) 3
void ProgOptions::getOptAllArgs<std::vector<int, std::allocator<int> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >&) 1

Generated by: LCOV version 1.11