Branch Coverage

blib/lib/YAML/PP/Schema/Include.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
15 2 2 if (defined $paths) { }
16 2 0 unless (ref $paths eq "ARRAY")
46 4 11 if (@_ == 2)
72 6 5 if ($relative)
74 3 3 if (@$last_includes) { }
87 1 10 if ('File::Spec'->file_name_is_absolute($filename)) { }
88 1 0 unless ($allow_absolute)
95 10 0 unless ($allow_absolute)
101 9 1 if (-e $test)
106 1 9 unless defined $fullpath
109 1 8 if ($self->{'cached'}{$fullpath}++)
112 5 3 if ($relative)
121 3 3 if ($relative)
124 6 0 unless (--$self->{'cached'}{$fullpath})
132 0 8 if (@_ == 2)