Condition Coverage

blib/lib/Template/Direct/Directory/File.pm
Criterion Covered Total %
condition 7 26 26.9


and 2 conditions

line l !l condition
43 0 0 carp('Unable to create valid file object, missing File p') and return
285 0 0 $filesize / 1024 and $unit = 'KB'
286 0 0 $filesize / 1024 and $unit = 'MB'
287 0 0 $filesize / 1024 and $unit = 'GB'

and 3 conditions

line !l l&&!r l&&r condition
63 2 0 0 $p{'Create'} and not $self->exist
71 0 2 0 $$self{'Cache'} and $self->exist || $p{'Create'}
178 2 0 0 not $$self{'Cache'} and $ENV{'FILE_DEBUG'}

or 3 conditions

line l !l&&r !l&&!r condition
71 2 0 0 $self->exist || $p{'Create'}
87 2 0 2 not defined $$self{'Data'} or $self->outofdate
304 0 0 2 not length $self->modtime or $newfiletime < $self->modtime