Branch Coverage

blib/lib/Test/Proto/Common.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
47 0 814 if defined $customPackage
66 0 0 if defined $customPackage
71 0 0 if (&$testSub($self->subject, $$data{'expected'})) { }
141 2242 0 if (defined ref $expected)
142 1185 1057 if (blessed $expected)
143 0 1185 if $expected->isa('Test::Proto::Series') or $expected->isa('Test::Proto::Repeatable') or $expected->isa('Test::Proto::Alternation')
147 1160 25 if $expected->isa('Test::Proto::Base')
149 108 974 if ref $expected eq 'ARRAY'
150 3 971 if ref $expected eq 'HASH'
151 25 946 if ref $expected eq 'Regexp'
152 33 913 if ref $expected eq 'CODE'
154 383 530 if &Scalar::Util::looks_like_number($expected)
175 59 1 unless defined $summary
176 27 33 if (ref $comparison eq 'CODE') { }
3 30 elsif (blessed $comparison and $comparison->isa('Test::Proto::Compare')) { }
2 56 elsif (defined $comparison and not ref $comparison) { }
183 1 1 if $comparison eq 'cmp'
184 1 0 if $comparison eq '<=>'
204 18118 167751 if (exists $_[0]) { }