Branch Coverage

blib/lib/App/DuckPAN/DDG.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
17 0 0 if (%$failed_to_load)
23 0 0 if &first(sub { /dependencies/; } , values %$failed_to_load)
31 0 0 if (@$no_metadata)
46 0 0 unless $self->app->get_local_ddg_version
53 0 0 if (scalar @args == 0) { }
54 0 0 if $type->{'name'} eq 'Fathead'
71 0 0 unless $type->{'name'} eq 'Spice'
96 0 0 if (my $ia = $self->app->get_ia_by_name($arg)) { }
0 0 elsif ($arg =~ /^[a-z0-9\_]+$/) { }
0 0 elsif ($arg =~ /^(DDG::(?:Goodie|Spice|Fathead)::)?[A-Z]+[a-z0-9]*?$/) { }
120 0 0 $1 ? :
133 0 0 if ($load_success) { }
141 0 0 unless ($blocks_plugins{$class->triggers_block_type})
150 0 0 if ($triggers_block_type eq 'Words')
155 0 0 if ($t =~ /\p{Uppercase}/)
167 0 0 if ($load_error_message =~ /Can't locate ([^\.]+).pm in \@INC/) { }
191 0 0 unless (@successfully_loaded or $self->app->fathead->selected)
195 0 0 if (@UC_TRIGGERS)