Branch Coverage

lib/mb/JSON.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
51 42 0 @_ ? :
52 0 42 $] =~ /^5\.006/ ? :
57 41 131 if (/\G (") /cgmsx) { }
1 130 elsif (/\G null \b/cgmsx) { }
1 129 elsif (/\G true \b/cgmsx) { }
1 128 elsif (/\G false \b/cgmsx) { }
128 0 elsif (/\G ($utf8) /cgmsx) { }
72 21 61 if (/\G ( " \s* ) : /cgmsx) { }
20 41 elsif (/\G (") /cgmsx) { }
2 39 elsif (/\G \\u ([Dd][89ABab][0-9A-Fa-f][0-9A-Fa-f]) \\u ([Dd][CDEFcdef][0-9A-Fa-f][0-9A-Fa-f]) /cgmsx) { }
2 37 elsif (/\G \\u ([0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f]) /cgmsx) { }
8 29 elsif (m(\G (\\["\\/bfnrt]) )cgmsx) { }
2 27 elsif (/\G ([\$\@]) /cgmsx) { }
27 0 elsif (/\G ($utf8) /cgmsx) { }
100 2 0 if (do { $unicode < 1114112 }) { }
117 0 2 if (do { $unicode < 128 }) { }
0 2 elsif ($unicode < 2048) { }
2 0 elsif ($unicode < 65536) { }