Branch Coverage

lib/Amon2/Setup/Flavor.pm
Criterion Covered Total %
branch 14 36 38.8


line true false branch
33 57 63 if $x ne "Amon2::Setup::Flavor"
39 57 0 @_ == 1 ? :
45 0 1 @_ == 1 ? :
50 0 1 unless exists $args{$_}
87 0 0 if ref $path
95 0 0 @_ == 1 ? :
101 0 0 if ref $filename
102 0 0 unless $$self{lc $1}
104 0 0 $params ? :
110 0 0 if ref $filename
112 0 0 unless $$self{lc $1}
120 0 47 if ref $filename
126 47 0 if $dirname
128 0 47 unless open my $ofh, $input_mode, $filename
145 9 1 $self->{'tags'} ? :
147 0 10 if $require_newline and not $self->{'tags'} =~ /\n\z/
154 0 2 unless $asset
160 18 29 $fname =~ /\.js\z/ ? :