| line |
!l |
l&&!r |
l&&r |
condition |
|
47
|
1 |
0 |
0 |
exists $pack->{'VERSION'} and defined *{$pack->{'VERSION'};}{'SCALAR'} |
|
|
1 |
0 |
0 |
exists $pack->{'VERSION'} and defined *{$pack->{'VERSION'};}{'SCALAR'} and defined ${$$pack{'VERSION'};} |
|
49
|
1 |
0 |
0 |
exists $pack->{'ISA'} and defined *{$pack->{'ISA'};}{'ARRAY'} |
|
|
1 |
0 |
0 |
exists $pack->{'ISA'} and defined *{$pack->{'ISA'};}{'ARRAY'} and @{$pack->{'ISA'};} != 0 |
|
150
|
0 |
0 |
0 |
defined $value && ref \$value eq 'SCALAR' |
|
155
|
0 |
0 |
0 |
defined $value && $value =~ /\A -? [0-9]+ \z/msx |
|
313
|
0 |
0 |
0 |
&Scalar::Util::blessed($object) and $object->isa($class->name) |
|
443
|
0 |
0 |
0 |
defined $instance and ref $value eq 'CODE' |
|
502
|
0 |
0 |
0 |
ref $args->{'default'} and ref $args->{'default'} ne 'CODE' |
|
509
|
0 |
0 |
0 |
$args->{'required'} and not $can_be_required |
| line |
l |
!l |
condition |
|
178
|
0 |
0 |
Mouse::Util::class_of($_[0]) || (return 0) |
|
299
|
0 |
0 |
Mouse::Util::get_code_ref($class, 'BUILD') || (next) |
|
385
|
0 |
0 |
$self->{'before_method_modifiers'}{$method_name} ||= [] |
|
391
|
0 |
0 |
$self->{'around_method_modifiers'}{$method_name} ||= [] |
|
397
|
0 |
0 |
$self->{'after_method_modifiers'}{$method_name} ||= [] |
|
403
|
0 |
0 |
$self->{'before_method_modifiers'}{$method_name} ||= [] |
|
407
|
0 |
0 |
$self->{'around_method_modifiers'}{$method_name} ||= [] |
|
411
|
0 |
0 |
$self->{'after_method_modifiers'}{$method_name} ||= [] |
|
718
|
0 |
0 |
Mouse::Util::get_code_ref($class, 'DEMOLISH') || (next) |
|
738
|
0 |
0 |
Mouse::Util::get_code_ref($class, 'BUILD') || (next) |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
28
|
0 |
0 |
1 |
ref $class or not defined $class |
|
|
0 |
0 |
1 |
ref $class or not defined $class or not length $class |
|
54
|
0 |
1 |
1 |
ref $entry ne 'GLOB' or defined *{$entry;}{'CODE'} |
|
161
|
0 |
0 |
0 |
ref $value eq 'SCALAR' || ref $value eq 'REF' |
|
171
|
0 |
0 |
0 |
&Scalar::Util::openhandle($value) || &Scalar::Util::blessed($value) && $value->isa('IO::Handle') |
|
210
|
0 |
0 |
0 |
!defined($_) || &$check($_) |
|
326
|
0 |
0 |
0 |
$self->{'_mouse_cache'}{'_initialize_object'} ||= Mouse::Util::load_class($self->constructor_class)->_generate_initialize_object($self) |
|
334
|
0 |
0 |
0 |
$self->{'_mouse_cache'}{'all_attributes'} ||= $self->_calculate_all_attributes |
|
519
|
0 |
0 |
0 |
$args->{'reader'} ||= $name |
|
523
|
0 |
0 |
0 |
$args->{'reader'} ||= $name |
|
526
|
0 |
0 |
0 |
$args->{'accessor'} ||= $name |
|
571
|
0 |
0 |
0 |
$args->{'builder'} ||= "_build_$name" |
|
573
|
0 |
0 |
0 |
$args->{'clearer'} ||= "_clear$name" |
|
574
|
0 |
0 |
0 |
$args->{'predicate'} ||= "_has$name" |
|
577
|
0 |
0 |
0 |
$args->{'clearer'} ||= "clear_$name" |
|
578
|
0 |
0 |
0 |
$args->{'predicate'} ||= "has_$name" |
|
586
|
0 |
0 |
0 |
$tc->is_a_type_of('ArrayRef') or $tc->is_a_type_of('HashRef') |
|
597
|
0 |
0 |
0 |
exists $args->{'default'} or defined $args->{'builder'} |