Condition Coverage

blib/lib/Class/Accessor/Assert.pm
Criterion Covered Total %
condition 16 30 53.3


and 3 conditions

line !l l&&!r l&&r condition
63 7 3 1 $$spec{$k}{'required'} and not exists $$stuff{$k}
66 3 5 2 exists $$spec{$k}{'class'} and exists $$stuff{$k}
8 1 1 exists $$spec{$k}{'class'} and exists $$stuff{$k} and not UNIVERSAL::isa($$stuff{$k}, $$spec{$k}{'class'})
82 0 0 3 defined $_[0] and exists $$spec{$key}{'class'}
0 1 2 defined $_[0] and exists $$spec{$key}{'class'} and not UNIVERSAL::isa($_[0], $$spec{$key}{'class'})
87 0 1 0 defined $_[0] and $$spec{$key}{'array'}
1 0 0 defined $_[0] and $$spec{$key}{'array'} and ref $_[0] ne 'ARRAY'

or 3 conditions

line l !l&&r !l&&!r condition
23 0 1 0 ref $self || $self
79 0 0 3 not exists $$spec{$key} or @_ > 1
99 0 0 0 not exists $$spec{$key} or @_ > 1