blib/lib/Brick/Constraints.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 13 | 38.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
48 | 0 | 0 | 2 | $#callers >= 1 and exists $callers[1]{'sub'} |
0 | 2 | 0 | $#callers >= 1 and exists $callers[1]{'sub'} and $callers[1]{'sub'} =~ /^_/ |
line | l | !l | condition |
---|---|---|---|
42 | 2 | 0 | $setup ||= {} |
53 | 2 | 0 | $setup->{'name'} || $callers[1]{'sub'} || 'Anonymous' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 0 | 2 | 0 | eval { do { $validator->isa(ref sub { } ) } } or UNIVERSAL::isa($validator, ref sub { } ) |