Condition Coverage

blib/lib/XAO/Templates.pm
Criterion Covered Total %
condition 10 30 33.3


and 3 conditions

line !l l&&!r l&&r condition
45 9 31 0 exists $XAO::Templates::cache{$sitename} and exists $XAO::Templates::cache{$sitename}{$path}
46 0 0 0 exists $XAO::Templates::cache{'/'} and exists $XAO::Templates::cache{'/'}{$path}
56 0 0 1 exists $XAO::Templates::cache{'/'} and exists $XAO::Templates::cache{'/'}{$path}
68 0 16 17 $tpath and -r $tpath
125 1 0 80 -f $tn and -r _
129 1 0 0 -f $tn and -r _
162 0 0 0 $tpath and -r $tpath
165 0 0 0 $tpath and -r $tpath

or 3 conditions

line l !l&&r !l&&!r condition
114 0 81 0 $sitename ||= &get_current_project_name()
121 0 0 81 not defined $path or $path eq ""