Condition Coverage

blib/lib/Class/Decorator.pm
Criterion Covered Total %
condition 8 12 66.6


or 2 conditions

line l !l condition
15 3 2 $args{'pre'} || sub { }
3 2 $args{'post'} || sub { }
1 4 $args{'methods'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
11 0 5 0 ref $caller || $caller
15 5 0 0 $args{'obj'} || croak('decorator must be constructed with a component to be decorated')