Branch Coverage

blib/lib/PITA/XML/Install.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
66 2 16 unless (_INSTANCE $self->platform, 'PITA::XML::Platform')
71 2 14 unless (_INSTANCE $self->request, 'PITA::XML::Request')
78 1 13 unless ($self->request->scheme =~ /$scheme_regexp/)
84 4 9 unless (_SET0 $$self{'commands'}, 'PITA::XML::Command')
90 4 5 unless (_SET0 $$self{'tests'}, 'PITA::XML::Test')
95 1 4 if (defined $self->analysis or exists $$self{'analysis'}) { }
96 1 0 unless (_INSTANCE $self->analysis, 'PITA::XML::Analysis')
156 0 1 unless my $command = _INSTANCE(shift(), 'PITA::XML::Command')
191 0 1 unless my $test = _INSTANCE(shift(), 'PITA::XML::Test')