Branch Coverage

blib/lib/PITA/XML/Guest.pm
Criterion Covered Total %
branch 18 28 64.2


line true false branch
96 4 0 unless (_HASH0($$self{'config'}))
100 13 6 if $ALLOWED{$k}
125 0 4 if (defined _STRING($file) and not -f $file)
130 1 3 defined _STRING($file) ? :
165 3 5 if (defined $self->id)
166 0 3 unless ('PITA::XML'->_GUID($self->id))
172 0 8 unless (_CLASS($self->driver))
177 0 8 unless (_HASH0($self->config))
183 0 8 unless (_SET0 $$self{'files'}, 'PITA::XML::File')
189 0 8 unless (_SET0 $$self{'platforms'}, 'PITA::XML::Platform')
226 0 1 unless ($guid)
229 0 1 if ($self->id)
359 0 7 unless ($file)
394 1 2 unless ($platform)