Condition Coverage

blib/lib/File/Assets/Asset/Content.pm
Criterion Covered Total %
condition 11 13 84.6


or 2 conditions

line l !l condition
40 311 36 (stat $self->file)[9] || 0
45 180 0 (stat $self->file)[7] || 0

or 3 conditions

line l !l&&r !l&&!r condition
21 53 1 110 not $$self{'content'} or $self->stale
33 64 53 0 $$self{'digest'} ||= do { 'File::Assets::Util'->digest->add(${$self->content;})->hexdigest }
73 1 1 179 $self->file_mtime > $self->content_mtime || $self->file_size != $self->content_size