Branch Coverage

blib/lib/App/perlimports/ExportInspector.pm
Criterion Covered Total %
branch 39 48 81.2


line true false branch
139 53 17 $self->is_exporter ? :
224 49 15 if ($self->has_at_export_ok or $self->has_at_export)
236 4 11 if ($fatal_error)
259 10 36 exists $modules{$self->_module_name} ? :
266 31 40 if &any(sub {
267 22 18 $self->has_at_export || $self->has_at_export_ok ? :
273 48 4 if $self->has_implicit_exports or $self->has_explicit_exports
279 244 1 unless $_ eq "Moose::Object::BUILDALL"
285 4 28 if (&any(sub {
290 27 1 unless $self->_module_name =~ /\ATest/
301 0 1 if ($err =~ /plan/)
322 110 6372 if (substr($key, 0, 1) eq "*")
326 120 320 if (Symbol::Get::get($symbol_name))
336 0 130 if ($self->is_moose_type_class)
338 0 0 if ($key =~ /^(is_|to_)/)
408 7 3 if ($msg =~ qr/Can't locate/ and not $msg =~ /\:all\.pm in \@INC/)
429 10 77 if ($@) { }
457 1 2 unless $_ eq "Moose::Object"
463 48 0 if ($self->_maybe_require_module("Moose::Util"))
464 1 47 Moose::Util::find_meta($self->_module_name) ? :
471 47 0 if ($self->_maybe_require_module("Class::Inspector"))
473 0 47 unless "Class::Inspector"->methods($self->_module_name, "full", "public")
0 47 if &any(sub {
486 48 0 unless $_ eq "MooseX::Types::Base"