Branch Coverage

blib/lib/String/RewritePrefix.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
66 0 38 unless defined wantarray
69 29 9 unless (wantarray)
70 0 29 if @_ > 1
73 0 29 if @_ == 0
79 66 93 if (index($str, $rewrites[$i]) == 0)
80 10 56 if (ref $rewrites[$i + 1]) { }
83 5 5 defined $str ? :
94 9 29 wantarray ? :