Condition Coverage

blib/lib/DBIx/Class/Schema/Loader/Optional/Dependencies.pm
Criterion Covered Total %
condition 30 89 33.7


and 3 conditions

line !l l&&!r l&&r condition
535 17 0 0 $ENV{'RELEASE_TESTING'} and $class->_groups_to_reqs(\@_)->{'release_testing_mandatory'}
664 0 19 20 defined $sep and ($last_prefix || '') eq $pref
709 20 19 0 $r->{'env'} and not $is_toplevel
736 19 0 0 defined $ENV{$envname} && length $ENV{$envname}
846 0 0 0 $all_groups->{$target_group} and my $ar = $ag->{$target_group}{'req'}
900 4 15 6 $ret->{'modreqs_fully_documented'} &&= !!$dbic_reqs->{$group}{'pod'}
953 0 0 154 $_ and -d $_
0 152 2 $_ and -d $_ and -f "$_/$fn"
1108 0 0 0 $info->{'modreqs_fully_documented'} and $info->{'augments'} || $info->{'modreqs'}
1139 0 0 0 defined $info->{'modreqs'}{$_} and $info->{'modreqs'}{$_} == $newreqs->{$_}
0 0 0 defined $ag_info->{'modreqs'}{$_} and $ag_info->{'modreqs'}{$_} == $newreqs->{$_}

or 2 conditions

line l !l condition
664 20 19 $last_prefix || ''
731 0 19 $some_envs_required ||= 1
871 24 14 $req_bag->{$_} || 0
892 40 14 $req_bag->{$mod} || 0
0 4 $req_bag->{$mod} || 0
972 0 0 eval { do { require DBIx::Class::Schema::Loader; 'DBIx::Class::Schema::Loader'->VERSION } } || die("\n\n---------------------------------------------------------------------\nUnable to load core DBIx::Class::Schema::Loader module to determine current version, possibly due to missing dependencies. Author-mode autodocumentation halted\n\n" . $@ . "\n\n---------------------------------------------------------------------\n")
1417 0 0 $! || $@ || 'unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
600 13 5 0 $mods_missing or $reqs->{'missing_envvars'}
602 13 0 5 $mods_missing || ()
612 0 3 0 ref $self || $self
633 0 0 0 $tb ||= do { local $@; eval { do { "Test::Builder"->new } } }
736 0 19 0 $some_required_missing ||= !(defined $ENV{$envname} && length $ENV{$envname})
784 2 0 0 $want || ()
807 0 0 0 not defined $dbic_reqs->{'test_adhoc'}{'req'}{$mod} or $dbic_reqs->{'test_adhoc'}{'req'}{$mod} < $ver
892 54 0 4 not exists $ret->{$type}{$mod} or ($req_bag->{$mod} || 0) > $ret->{$type}{$mod}
902 0 0 39 $ret->{'release_testing_mandatory'} ||= !!$dbic_reqs->{$group}{'release_testing_mandatory'}
972 0 0 0 $distver ||= eval { do { require DBIx::Class::Schema::Loader; 'DBIx::Class::Schema::Loader'->VERSION } } || die("\n\n---------------------------------------------------------------------\nUnable to load core DBIx::Class::Schema::Loader module to determine current version, possibly due to missing dependencies. Author-mode autodocumentation halted\n\n" . $@ . "\n\n---------------------------------------------------------------------\n")
1102 0 0 0 $standalone_info->{$group} ||= $class->_groups_to_reqs($group)
1108 0 0 0 $info->{'augments'} || $info->{'modreqs'}
1132 0 0 0 $standalone_info->{$ag} ||= $class->_groups_to_reqs($ag)
1139 0 0 0 defined $info->{'modreqs'}{$_} and $info->{'modreqs'}{$_} == $newreqs->{$_} or defined $ag_info->{'modreqs'}{$_} and $ag_info->{'modreqs'}{$_} == $newreqs->{$_}