Branch Coverage

xsi/Dimension.xsi
Criterion Covered Total %
branch 21 36 58.3


line true false branch
5 6 1 char c = Dimension::toDimensionSymbol(value);
6 6 0 RETVAL = c;
10 1 7 if (value.size() != 1) throw "string of one char is expected";
11 7 0 RETVAL = Dimension::toDimensionValue(value[0]);
6 1 RETVAL = Dimension::toDimensionValue(value[0]);
15 46 0 auto this_stash = Stash(__PACKAGE__);
16 46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
46 0 xs::exp::create_constants(this_stash, {
276 46 xs::exp::create_constants(this_stash, {
0 0 xs::exp::create_constants(this_stash, {
23 46 0 });
24 46 0 xs::exp::autoexport(this_stash);
46 0 xs::exp::autoexport(this_stash);