Branch Coverage

blib/lib/Acme/Marvel/CinematicUniverse/Character.pm.mite.pm
Criterion Covered Total %
branch 34 80 42.5


line true false branch
15 0 6 ref $_[0] ? :
18 0 6 @_ == 1 ? :
0 6 $meta->{'HAS_BUILDARGS'} ? :
22 0 6 unless ref \$args->{'real_name'} eq "SCALAR"
6 0 if (defined $args->{'real_name'})
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; if (defined $args->{'real_name'}) { ref \(my $val = $args->{'real_name'}) eq "SCALAR" unless ref \$args->{'real_name'} eq "SCALAR"; } }
6 0 if (exists $args->{'real_name'}) { }
23 0 6 unless ref \$args->{'hero_name'} eq "SCALAR"
6 0 if (defined $args->{'hero_name'})
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; if (defined $args->{'hero_name'}) { ref \(my $val = $args->{'hero_name'}) eq "SCALAR" unless ref \$args->{'hero_name'} eq "SCALAR"; } }
6 0 if (exists $args->{'hero_name'}) { }
24 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'intelligence'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'intelligence'} > 0 }
6 0 if (exists $args->{'intelligence'}) { }
25 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'strength'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'strength'} > 0 }
6 0 if (exists $args->{'strength'}) { }
26 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'speed'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'speed'} > 0 }
6 0 if (exists $args->{'speed'}) { }
27 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'durability'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'durability'} > 0 }
6 0 if (exists $args->{'durability'}) { }
28 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'energy_projection'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'energy_projection'} > 0 }
6 0 if (exists $args->{'energy_projection'}) { }
29 6 0 if defined $tmp and not ref $tmp
0 6 unless do { package Acme::Marvel::CinematicUniverse::Mite; do { my $tmp = $args->{'fighting_ability'}; $tmp =~ /\A-?[0-9]+\z/ if defined $tmp and not ref $tmp } } and do { package Acme::Marvel::CinematicUniverse::Mite; $args->{'fighting_ability'} > 0 }
6 0 if (exists $args->{'fighting_ability'}) { }
32 0 6 if @unknown and require Carp
35 0 6 unless $meta->{'BUILD'}
0 6 if not $no_build and @{[] unless $meta->{'BUILD'};}
43 0 0 unless $meta->{'BUILD'}
50 0 0 defined ${^GLOBAL_PHASE} ? :
53 0 0 unless $meta->{'DEMOLISH'}
60 0 0 if $e
71 0 1 *{$_;}{'CODE'} ? :
75 0 1 *{$_;}{'CODE'} ? :
86 0 0 if exists $DOES{$role}
87 0 0 if $role eq "Acme::Marvel::CinematicUniverse::Character"