Condition Coverage

lib/Pony/Object.pm
Criterion Covered Total %
condition 42 55 76.3


and 3 conditions

line !l l&&!r l&&r condition
290 1 1 6 $@ and defined $catch
296 1 1 2 $@ and defined $catch
303 1 1 8 $@ and defined $catch
364 0 29 0 $base->can('META') and $base->META->{'isAbstract'}
473 61 2 6 exists $call->META->{'properties'}{$name} and $call->META->{'properties'}{$name}{'package'} ne $call
478 67 0 0 $props->{$name}{'package'} and $props->{$name}{'package'} ne $call
523 2 0 279 $call->isa($pkg) || $pkg->isa($call) and $this->isa($pkg)
550 1 0 6 $pkg->isa($call) and $this->isa($pkg)
575 4 0 15 $call->isa($pkg) || $pkg->isa($call) and $this->isa($pkg)
599 3 0 6 $pkg->isa($call) and $this->isa($pkg)
712 71 487 65 *{$sym;}{$type} and *{$sym;}{$type} == $ref

or 2 conditions

line l !l condition
203 51 0 $profile->{'isSingleton'} // 0
204 51 0 $profile->{'isAbstract'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
121 4 0 3 $call->META->{'static'}{$k} || $obj->{$k}
150 2 1 32 $param =~ /^:exceptions?$/ or $param =~ /^:try$/
1 1 30 $param =~ /^:noexceptions?$/ or $param =~ /^:notry$/
478 2 0 67 exists $props->{$name} or $props->{$name}{'package'} and $props->{$name}{'package'} ne $call
523 277 2 2 $call->isa($pkg) || $pkg->isa($call)
575 15 0 4 $call->isa($pkg) || $pkg->isa($call)