Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/libpanda.x/i/panda/function_utils.h
Criterion Covered Total %
branch 4 18 22.2


line true false branch
13 0 0 virtual ~AnyFunction() {}
24 0 0 virtual ~Ifunction() {}
0 0 virtual ~Ifunction() {}
93 0 0 class abstract_function : public Ifunction
0 0 class abstract_function : public Ifunction
101 13 0 explicit abstract_function(F&& f) : Caller(std::forward(f)) {}
13 0 explicit abstract_function(F&& f) : Caller(std::forward(f)) {}
189 0 13 if (!bool_or(f, true)) return nullptr;
190 13 0 return new abstract_function(std::forward(f));