Branch Coverage

blib/lib/DB/Color/Highlight.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
11 0 2 if (not 'Term::ANSIColor'->VERSION >= 3)
53 1 1 if (defined $cache_dir and not -d $cache_dir)
54 0 1 unless mkdir $cache_dir
97 0 2 unless my $debug = $self->{'debug_fh'}
104 0 0 if ($self->_should_cache) { }
106 0 0 unless (-d $path)
111 0 0 if (-e $file) { }
116 0 0 unless utime time, time, $file
117 0 0 unless open my $fh, '<', $file
123 0 0 unless open my $fh, '>', $file
142 89 1859 if (/^=(?!cut\b)/)
145 1181 767 if ($in_pod) { }
153 24 1924 if (/^=cut\b/)
167 0 2 unless ($self->_should_cache)