Condition Coverage

blib/lib/Yancy/Plugin/File.pm
Criterion Covered Total %
condition 10 13 76.9


and 3 conditions

line !l l&&!r l&&r condition
131 9 13 6 is_type($prop->{'type'}, "string") and $prop->{'format'}
13 5 1 is_type($prop->{'type'}, "string") and $prop->{'format'} and $prop->{'format'} eq "filepath"

or 2 conditions

line l !l condition
69 1 52 $config->{'url_root'} // "/uploads"
71 0 53 $config->{'moniker'} // "file"

or 3 conditions

line l !l&&r !l&&!r condition
114 0 1 0 $schema ||= $backend->schema