blib/lib/Module/Checkstyle/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 30 | 86.6 |
line | true | false | branch |
---|---|---|---|
27 | 1 | 3 | unless defined $expected |
28 | 0 | 4 | unless defined $got |
36 | 1 | 41 | if (@_ == 4) { } |
41 | 0 | elsif (@_ == 5) { } | |
44 | 41 | 0 | if ($caller) { } |
62 | 29 | 18 | unless defined $value and $value |
63 | 16 | 2 | if $value =~ /^ y | yes | true | 1 $/xi |
70 | 6 | 5 | unless defined $value and $value |
71 | 4 | 1 | if $value =~ /^\-?\d+$/ |
77 | 8 | 7 | unless defined $value |
78 | 1 | 6 | if $value =~ /^\s*$/ |
80 | 5 | 1 | unless ($value =~ /^qr/) |
85 | 0 | 6 | if $@ |
91 | 5 | 1 | $value =~ /^same|alone$/i ? : |
97 | 4 | 1 | $value =~ /^left|middle|right$/i ? : |