Branch Coverage

blib/lib/Sub/HandlesVia/CodeGenerator.pm.mite.pm
Criterion Covered Total %
branch 55 132 41.6


line true false branch
66 0 94 *{$_;}{'CODE'} ? :
70 0 94 *{$_;}{'CODE'} ? :
80 0 346 ref $_[0] ? :
86 0 346 @_ == 1 ? :
0 346 $meta->{'HAS_BUILDARGS'} ? :
91 346 0 if (exists $args->{'toolkit'})
97 346 0 if (exists $args->{'target'})
103 346 0 if (exists $args->{'attribute'})
109 329 17 if (exists $args->{'attribute_spec'})
110 0 329 unless do {
122 339 7 if (exists $args->{'isa'})
126 346 0 if (exists $args->{'coerce'})
127 0 346 unless do {
134 346 0 if not ref $args->{'coerce'}
152 346 0 do {
346 0 exists $args->{'env'} ? :
175 0 0 if (defined $args->{'sandboxing_package'})
181 0 0 unless ref \$args->{'sandboxing_package'} eq "SCALAR"
186 0 0 unless (do {
193 0 0 do {
0 346 exists $args->{'sandboxing_package'} ? :
204 344 2 if (exists $args->{'generator_for_slot'})
205 0 344 unless do {
217 346 0 if (exists $args->{'generator_for_get'})
218 0 346 unless do {
230 346 0 if (exists $args->{'generator_for_set'})
231 0 346 unless do {
243 346 0 if (exists $args->{'generator_for_default'})
244 0 346 unless do {
265 0 0 do {
0 346 exists $args->{'generator_for_args'} ? :
285 0 0 do {
0 346 exists $args->{'generator_for_arg'} ? :
305 0 0 do {
0 346 exists $args->{'generator_for_argc'} ? :
325 0 0 do {
0 346 exists $args->{'generator_for_currying'} ? :
345 0 0 do {
0 346 exists $args->{'generator_for_usage_string'} ? :
365 0 0 do {
0 346 exists $args->{'generator_for_self'} ? :
385 0 0 do {
0 346 exists $args->{'generator_for_type_assertion'} ? :
406 0 0 do {
0 346 exists $args->{'generator_for_error'} ? :
426 1 0 do {
1 345 exists $args->{'generator_for_prelude'} ? :
437 208 138 if (exists $args->{'method_installer'})
438 0 208 unless do {
451 0 346 exists $args->{'is_method'} ? :
457 346 0 exists $args->{'get_is_lvalue'} ? :
464 346 0 exists $args->{'set_checks_isa'} ? :
470 346 0 exists $args->{'set_strictly'} ? :
473 0 346 unless $meta->{'BUILD'}
0 346 if not $no_build and @{[] unless $meta->{'BUILD'};}
480 0 346 if @unknown
490 0 0 unless $meta->{'BUILD'}
498 346 0 defined ${^GLOBAL_PHASE} ? :
502 0 346 unless $meta->{'DEMOLISH'}
509 0 0 if $e
881 0 0 unless ref $_[1] eq "CODE"
887 0 6837 @_ > 1 ? :
975 0 2256 if exists $DOES{$role}
976 0 2256 if $role eq "Sub::HandlesVia::CodeGenerator"
977 0 2256 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
980 0 0 if $meta->can("does_role") and $meta->does_role($role)