Branch Coverage

lib/Rex/Helper/INI.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
23 12 27 if /^#|^;|^\s*$/u
25 9 18 if (/^\[(.*)\]/u and not m(^\[(\d+((?:,)|(?:\.\.))*)+(/\d+)*\])u)
31 1 8 if ($section =~ /
48 18 0 if $key
49 1 17 if $val
52 17 1 if (not $val) { }
67 0 0 unless (exists $ini->{$section}{$sub})
75 1 17 if ($key =~ /^\@(.*)/u)
82 0 17 if ($val =~ /\$\{(.*)\}/u)
93 1 16 if ($val =~ /=/u)