Branch Coverage

blib/lib/Hazy.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
11 0 6 scalar @new == 1 ? :
18 1 5 if ($args{'write_dir'})
20 1 0 unless (-d $args{'write_dir'})
23 2 6 unless -e ($dir .= "/$_")
36 0 2 unless open my $fh, "<$css_file"
43 1 0 exists $_[0]{'write_dir'} ? :
50 0 2 unless open my $fh, '>', $_[0]
58 0 5 if !$_[2] =~ /\n$/u
64 0 4 unless opendir my $dh, $_[1]
68 0 4 unless my $spec = delete $files{'config'}
86 30 205 if (not exists $arg{'value'} and $arg{'buffer'} =~ /\s/u)
87 15 190 if (not $arg{'flag'} || $arg{'multi'} and $arg{'buffer'} eq ':')
88 15 175 if ($arg{'buffer'} eq $arg{'end'})
95 16 159 if (exists $arg{'flag'} and not exists $arg{'value'})
96 0 16 if $arg{'buffer'} =~ /\s/u
97 1 15 if ($arg{'buffer'} =~ m([\@\$\^\&\*\{/\\\~\`\>\<\+\_\]\[\?\|\"\'\=\!])u)
103 97 77 exists $arg{'flag'} ? :