line |
true |
false |
branch |
114
|
70 |
200 |
if $line =~ /^\s*$/
|
115
|
20 |
180 |
if ($line =~ /^\[\s*([\w\.]+)\s*\]$/) { }
|
|
73 |
107 |
elsif (not $self->_space_required($onspace)) { }
|
|
27 |
80 |
elsif ($line =~ /^([\w\.]+)\s*=\s*(.*)$/) { }
|
|
80 |
0 |
elsif ($line =~ /^([\w\.]+)(\s+(.*))?$/) { }
|
157
|
5 |
196 |
unless defined $$self{'_spaces'}
|
159
|
0 |
11 |
ref($a) =~ /array/i ? :
|
208
|
0 |
27 |
unless $key
|
211
|
0 |
27 |
if ($alias)
|
215
|
0 |
27 |
unless (defined $$self{'_data'}{$key})
|
216
|
0 |
0 |
if $mandatory
|
217
|
0 |
0 |
unless $noalert
|
291
|
0 |
27 |
unless $from
|
293
|
0 |
27 |
unless $k
|
294
|
0 |
27 |
if (defined $to)
|
297
|
0 |
0 |
unless $d
|
369
|
0 |
32 |
unless $key
|
375
|
0 |
32 |
if (not $value) { }
|
|
0 |
32 |
elsif ($value =~ /^(true|false)$/i) { }
|
|
8 |
24 |
elsif ($value =~ /^[\d\.Ee+\-]+$/) { }
|
|
3 |
21 |
elsif ($value =~ /^'(.*)'$/) { }
|
|
21 |
0 |
elsif ($value =~ /^"(.*)"$/) { }
|
386
|
5 |
16 |
if $value =~ /\$\{[\w\.]+\}/
|
393
|
0 |
32 |
wantarray ? :
|
418
|
73 |
358 |
unless defined $space
|
420
|
78 |
280 |
unless $out =~ /^\./
|
421
|
0 |
358 |
unless $out =~ /^[\w\.]+(\.\*)?$/i
|
452
|
0 |
342 |
if $req_space eq $space or $req_space =~ /^(.+)\.\*$/ and $space =~ /^$1\.[^\.]+/ or $space =~ /^$req_space\..*/
|
501
|
0 |
80 |
unless defined $self->_get_handle_function($token)
|
504
|
0 |
80 |
unless ref($hf) =~ /HASH/i
|
506
|
0 |
80 |
unless defined $$hf{'-obj'} and defined $$hf{'-fun'}
|
513
|
0 |
80 |
if ($@)
|
535
|
0 |
0 |
unless defined $fn
|
536
|
0 |
0 |
unless ref($fn) =~ /HASH/i
|
537
|
0 |
0 |
unless defined $$fn{'-obj'} and defined $$fn{'-fun'}
|
544
|
0 |
0 |
if ($@)
|
654
|
5 |
186 |
unless defined $$self{'_handle_functions'}
|
672
|
5 |
0 |
unless defined $$self{'_postparse_functions'}
|
720
|
0 |
10 |
unless defined $$self{'_reparse'}
|
723
|
5 |
5 |
unless $#reparse >= 0
|
724
|
0 |
5 |
if ($CFGCURDEPTH++ >= $CFGMAXDEPTH)
|
729
|
0 |
5 |
unless $key
|
771
|
0 |
218 |
unless $key
|
775
|
137 |
81 |
if $space and not $key =~ /^\./
|
778
|
0 |
218 |
unless $key =~ /^[\w\.]+$/
|
807
|
0 |
0 |
unless $body
|
811
|
0 |
0 |
unless $from
|
812
|
0 |
0 |
unless $to
|
831
|
0 |
5 |
unless $noparse
|