line |
true |
false |
branch |
15
|
26 |
1 |
if (defined $file) |
16
|
0 |
26 |
if (UNIVERSAL::isa($file, 'Module::Checkstyle::Config')) |
22
|
1 |
26 |
unless (defined $file) |
28
|
2 |
25 |
if (ref $file eq 'GLOB') { } |
|
22 |
3 |
elsif (ref $file eq 'SCALAR') { } |
|
1 |
2 |
elsif ($file and -e $file and -f $file) { } |
43
|
0 |
27 |
unless (defined $self) |
48
|
27 |
0 |
unless (exists $$self{'_'}{'global-error-level'} and $$self{'_'}{'global-error-level'} =~ /^cricial|error|info|warn$/) |
61
|
27 |
29 |
if $section eq '_' |
63
|
42 |
0 |
if ($$self{$section}{$property} =~ /^ \s* (?:(critical|error|info|warn)\s+)? (.*?) $/xi) |
74
|
64 |
87 |
if (defined $check and not defined $property) |
80
|
0 |
151 |
unless (defined $check) |
83
|
0 |
151 |
unless (defined $property) |