Branch Coverage

blib/lib/Text/Repository.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
135 1 5 isa($_[0], 'ARRAY') ? :
156 9 0 if wantarray
168 0 1 isa($_[0], 'ARRAY') ? :
220 0 0 wantarray ? :
253 0 5 if (my $cached = $self->cached($filename))
257 0 5 unless (-e $filename and -r _)
262 0 5 if (not $fh = 'IO::File'->new($filename)) { }
278 0 5 if (defined $$self[0]{$filename})
279 0 0 if (-M $filename > $$self[0]{$filename}{'timestamp'}) { }
294 5 0 if (ref $content eq 'SCALAR') { }