Branch Coverage

blib/lib/String/JS.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
32 5 2 if ($mode) { }
33 2 3 if ($mode == 1) { }
2 1 elsif ($mode == 2) { }
35 1 1 unless $str =~ /[^\040-\176]/
42 1 1 unless $str =~ /[^\040-\176]/
57 1 1 if ($str =~ /\A"/o) { }
0 1 elsif ($str =~ /\A'/o) { }