Branch Coverage

blib/lib/Type/Library/Compiler.pm.mite.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
28 0 0 ref $_[0] ? :
34 0 0 @_ == 1 ? :
0 0 $meta->{'HAS_BUILDARGS'} ? :
41 0 0 exists $args->{'types'} ? :
43 0 0 unless do { package Type::Library::Compiler::Mite; if (ref $value eq "HASH") { my $ok = 1; foreach my $v (values %{$value;}) { $ok = 0, last unless do { &Scalar::Util::blessed($v) }; } ; foreach my $k (keys %{$value;}) { $ok = 0, last unless do { if (defined $k) { ref \(my $val = $k) eq "SCALAR" unless ref \$k eq "SCALAR"; } } and length $k > 0; } ; $ok; } }
46 0 0 if (ref $value eq "HASH")
51 0 0 unless do { &Scalar::Util::blessed($v) }
63 0 0 unless do { if (defined $k) { ref \(my $val = $k) eq "SCALAR" unless ref \$k eq "SCALAR"; } } and length $k > 0
66 0 0 if (defined $k)
67 0 0 unless ref \$k eq "SCALAR"
86 0 0 exists $args->{'pod'} ? :
100 0 0 !ref($to_coerce) && (!defined($to_coerce) || $to_coerce eq '' || $to_coerce eq '0' || $to_coerce eq '1') ? :
104 0 0 unless not ref $coerced_value and !defined($coerced_value) || $coerced_value eq '' || $coerced_value eq '0' || $coerced_value eq '1'
118 0 0 unless exists $args->{'destination_module'}
124 0 0 if (defined $args->{'destination_module'})
126 0 0 unless ref \$args->{'destination_module'} eq "SCALAR"
131 0 0 unless do { package Type::Library::Compiler::Mite; if (defined $args->{'destination_module'}) { ref \(my $val = $args->{'destination_module'}) eq "SCALAR" unless ref \$args->{'destination_module'} eq "SCALAR"; } } and do { package Type::Library::Compiler::Mite; length $args->{'destination_module'} > 0 }
145 0 0 exists $args->{'constraint_module'} ? :
149 0 0 unless do { package Type::Library::Compiler::Mite; if (defined $value) { ref \(my $val = $value) eq "SCALAR" unless ref \$value eq "SCALAR"; } } and length $value > 0
152 0 0 if (defined $value)
153 0 0 unless ref \$value eq "SCALAR"
166 0 0 if (exists $args->{'destination_filename'})
172 0 0 if (defined $args->{'destination_filename'})
175 0 0 unless ref \$args->{'destination_filename'} eq "SCALAR"
180 0 0 unless do { package Type::Library::Compiler::Mite; if (defined $args->{'destination_filename'}) { ref \(my $val = $args->{'destination_filename'}) eq "SCALAR" unless ref \$args->{'destination_filename'} eq "SCALAR"; } } and do { package Type::Library::Compiler::Mite; length $args->{'destination_filename'} > 0 }
196 0 0 if @unknown
200 0 0 unless $meta->{'BUILD'}
0 0 if not $no_build and @{[] unless $meta->{'BUILD'};}
208 0 0 unless $meta->{'BUILD'}
215 0 0 defined ${^GLOBAL_PHASE} ? :
219 0 0 unless $meta->{'DEMOLISH'}
226 0 0 if $e
239 0 0 *{$_;}{'CODE'} ? :
243 0 0 *{$_;}{'CODE'} ? :
254 0 0 if exists $DOES{$role}
255 0 0 if $role eq "Type::Library::Compiler"
291 0 0 exists $_[0]{'destination_filename'} ? :
0 0 @_ > 1 ? :
295 0 0 unless do { package Type::Library::Compiler::Mite; if (defined $default_value) { ref \(my $val = $default_value) eq "SCALAR" unless ref \$default_value eq "SCALAR"; } } and length $default_value > 0
298 0 0 if (defined $default_value)
299 0 0 unless ref \$default_value eq "SCALAR"
349 0 0 !ref($to_coerce) && (!defined($to_coerce) || $to_coerce eq '' || $to_coerce eq '0' || $to_coerce eq '1') ? :
353 0 0 unless not ref $value and !defined($value) || $value eq '' || $value eq '0' || $value eq '1'
364 0 0 @_ > 1 ? :