Branch Coverage

blib/lib/EB.pm
Criterion Covered Total %
branch 24 48 50.0


line true false branch
33 6 0 unless ($lib)
35 0 6 if ($Cava::Packager::PACKAGED) { }
50 6 22 if ($section and $main::cfg) { }
0 22 elsif ($section) { }
52 0 6 if ($lang =~ /\./)
54 0 0 if $found
57 6 0 if ($lang =~ /_/)
59 0 6 if $found
62 6 0 if ($lang)
64 6 0 if $found
73 0 22 if ($Cava::Packager::PACKAGED)
75 0 0 if -e $found
77 0 0 if -e $found
81 3 123 if -e "$_/EB/user/$file"
82 1 122 if -e "$_/EB/res/$file"
83 12 110 if -e "$_/EB/$file"
116 0 6 if ($main::app or $Cava::Packager::PACKAGED and not Cava::Packager::IsLinux()) { }
129 6 0 unless $year == $thisyear
134 0 6 if $EB::Locale::LOCALISER
135 0 6 $main::app ? :
0 6 @locextra ? :
140 6 0 if ($imsg ne $imsg_saved and not @ARGV && $ARGV[0] =~ /-(P|-?printconfig)$/)
150 0 0 unless defined $id
153 0 6 unless $imsg_saved eq $imsg or $ENV{'AUTOMATED_TESTING'}