Branch Coverage

blib/lib/DB/Color/Highlight.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
11 0 2 if (not 'Term::ANSIColor'->VERSION >= 3)
53 0 2 if (defined $cache_dir and not -d $cache_dir)
54 0 0 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 79 1834 if (/^=(?!cut\b)/)
145 1147 766 if ($in_pod) { }
153 24 1889 if (/^=cut\b/)
167 0 2 unless ($self->_should_cache)