Branch Coverage

blib/lib/Test/Class/Sugar/Context.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
12 0 0 unless $self->looking_at(q['])
18 0 0 if ($length < 0) { }
44 0 0 unless ($self->looking_at('>>'))
46 0 0 unless $self->looking_at(qr/\w/)
48 0 0 unless defined $name
52 0 0 if $name eq 'test'
53 0 0 if ($name eq $declarator)
73 0 0 unless (defined $len)
74 0 0 ref $expected ? :
77 0 0 unless ref $expected
96 0 0 unless $self->strip_string('>>')
109 0 0 if not $self->looking_at(qr/^(?:uses|ex(?:tends|ercises))/, 9)
120 0 0 defined $self->strip_class_under_test(\%ret) ? :
0 0 defined $self->strip_helper_classes(\%ret) ? :
0 0 defined $self->strip_base_classes(\%ret) ? :
133 0 0 unless $self->strip_string('exercises')
135 0 0 if $$opts{'class_under_test'}
138 0 0 unless defined $name
146 0 0 unless $self->strip_string('uses')
148 0 0 unless defined $$opts{'helpers'}
153 0 0 if ($self->strip_string('-'))
160 0 0 unless $self->strip_comma
166 0 0 unless $self->strip_string('extends')
172 0 0 unless defined $baseclass
174 0 0 unless $self->strip_comma
187 0 0 unless $self->looking_at($expected)