Branch Coverage

blib/lib/PITA/XML/Request.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
80 2 22 if (defined $self->id)
81 0 2 unless ('PITA::XML'->_GUID($self->id))
87 3 21 unless ('PITA::XML'->_SCHEME($self->scheme))
93 2 19 unless ('PITA::XML'->_DISTNAME($self->distname))
98 2 17 unless (_INSTANCE $self->file, 'PITA::XML::File')
103 8 9 if ($self->authority) { }
105 1 7 unless (_STRING($self->authority))
113 7 9 if ($self->authpath) { }
115 1 6 unless (_STRING($self->authpath))
123 1 14 if ($self->authpath and not $self->authority)
127 1 13 if ($self->authority and not $self->authpath)
265 1 0 if (-f $path)
268 0 1 unless (-d $path)
274 1 0 -f $file ? :