Branch Coverage

blib/lib/Mandel/Model.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
41 12 5 if ($meta)
45 0 5 unless $self->{'fields'}
46 5 10 if $name eq $_->name
57 1 11 ref $fields eq 'ARRAY' ? :
65 2 11 if ($builder) { }
74 5 8 if $meta->{'isa'}
81 0 13 if $ENV{'MOJO_BASE_DEBUG'}
82 0 13 unless eval "$code;1"
4 2 if @_ == 1
2 2 if @_ == 1
2 1 unless ref \$i eq 'SCALAR'
1 4 if (defined $i)
4 0 unless do { if (defined $i) { ref \(my $val = $i) eq 'SCALAR' unless ref \$i eq 'SCALAR'; } }
0 4 if (XXX)
2 0 unless ref \$_ eq 'SCALAR'
1 0 if (defined $_)
91 1 3 unless $_[0]{'fields'}
100 1 6 if ($type->has_coercion and $type->coercion->can_be_inlined)
103 6 1 if ($type->can_be_inlined)
106 2 3 if ($type->is_a_type_of(&Num()))
116 0 7 if (@_ == 1)
124 1 6 if ref $e