Condition Coverage

lib/Sub/Contract.pm
Criterion Covered Total %
condition 27 54 50.0


and 3 conditions

line !l l&&!r l&&r condition
256 0 6 82 defined $key and ref $key eq ''
295 1 7 0 defined $subref and ref $subref ne 'CODE'
316 0 8 0 defined $subref and ref $subref ne 'CODE'

or 3 conditions

line l !l&&r !l&&!r condition
51 2 1 47 scalar @_ != 1 or not defined $_[0]
65 0 0 5 scalar @_ != 1 or not defined $_[0]
0 0 5 scalar @_ != 1 or not defined $_[0] or ref $_[0] ne 'CODE'
77 0 0 3 scalar @_ != 1 or not defined $_[0]
0 0 3 scalar @_ != 1 or not defined $_[0] or ref $_[0] ne 'CODE'
89 0 0 2 scalar @_ != 1 or not defined $_[0]
0 0 2 scalar @_ != 1 or not defined $_[0] or ref $_[0] ne 'CODE'
100 0 0 5 not defined $test or ref $test ne 'CODE'
118 0 0 2 not defined $test or ref $test ne 'CODE'
133 0 0 3 scalar @_ != 1 or not defined $_[0]
0 0 3 scalar @_ != 1 or not defined $_[0] or ref $_[0] ne ''
156 0 56 0 ref $class || $class
157 51 5 0 delete $args{'caller'} || caller()
231 36 77 68 not defined $check or ref $check eq 'CODE'
264 22 50 8 not defined $check or ref $check eq 'CODE'