Condition Coverage

blib/lib/Sys/Export/LazyFileData.pm
Criterion Covered Total %
condition 9 21 42.8


and 3 conditions

line !l l&&!r l&&r condition
19 3 0 0 utf8::is_utf8($src) and not utf8::downgrade($src, 1)
22 2 1 0 not $offset and !$size || $size == length $$src

or 3 conditions

line l !l&&r !l&&!r condition
22 1 0 0 !$size || $size == length $$src
26 10 0 0 Cwd::abs_path($src) // croak("Can't resolve '${src}' to a real file")
29 2 10 0 $size //= $actual_size - $offset
42 14 7 0 $_[0][0] //= ref $_[0][1] eq "SCALAR" ? \substr(${$_[0][1];}, $_[0][2], $_[0][3]) : Sys::Export::map_or_load_file($_[0][1], $_[0][2], $_[0][3])
47 0 0 0 $_[0][0] // $_[0]->as_scalarref