Condition Coverage

blib/lib/DBIx/Class/Optional/Dependencies.pm
Criterion Covered Total %
condition 41 89 46.0


and 3 conditions

line !l l&&!r l&&r condition
769 84 0 0 $ENV{'RELEASE_TESTING'} and $class->_groups_to_reqs(\@_)->{'release_testing_mandatory'}
900 0 31 60 defined $sep and ($last_prefix || '') eq $pref
945 1331 102 0 $r->{'env'} and not $is_toplevel
972 95 0 7 defined $ENV{$envname} && length $ENV{$envname}
1082 125 0 49 $all_groups->{$target_group} and my $ar = $ag->{$target_group}{'req'}
1136 56 669 246 $ret->{'modreqs_fully_documented'} &&= !!$dbic_reqs->{$group}{'pod'}
1192 0 0 624 $_ and -d $_
0 619 5 $_ and -d $_ and -f "$_/$fn"
1340 0 0 0 $info->{'modreqs_fully_documented'} and $info->{'augments'} || $info->{'modreqs'}
1371 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
900 60 31 $last_prefix || ''
967 0 102 $some_envs_required ||= 1
1107 1599 450 $req_bag->{$_} || 0
1128 3153 764 $req_bag->{$mod} || 0
33 36 $req_bag->{$mod} || 0
1211 0 0 eval { do { require DBIx::Class; 'DBIx::Class'->VERSION } } || die("\n\n---------------------------------------------------------------------\nUnable to load core DBIx::Class module to determine current version, possibly due to missing dependencies. Author-mode autodocumentation halted\n\n" . $@ . "\n\n---------------------------------------------------------------------\n")
1649 0 0 $! || $@ || 'unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
834 376 0 8 $mods_missing or $reqs->{'missing_envvars'}
836 376 0 0 $mods_missing || ()
846 0 65 0 ref $self || $self
867 5 5 0 $tb ||= do { local $@; eval { do { 'Test::Builder'->new } } }
972 0 95 7 $some_required_missing ||= !(defined $ENV{$envname} && length $ENV{$envname})
1020 696 4 0 $want || ()
1043 0 0 9 not defined $dbic_reqs->{'test_adhoc'}{'req'}{$mod} or $dbic_reqs->{'test_adhoc'}{'req'}{$mod} < $ver
1128 3902 15 54 not exists $ret->{$type}{$mod} or ($req_bag->{$mod} || 0) > $ret->{$type}{$mod}
1138 76 19 1298 $ret->{'release_testing_mandatory'} ||= !!$dbic_reqs->{$group}{'release_testing_mandatory'}
1211 0 0 0 $distver ||= eval { do { require DBIx::Class; 'DBIx::Class'->VERSION } } || die("\n\n---------------------------------------------------------------------\nUnable to load core DBIx::Class module to determine current version, possibly due to missing dependencies. Author-mode autodocumentation halted\n\n" . $@ . "\n\n---------------------------------------------------------------------\n")
1334 0 0 0 $standalone_info->{$group} ||= $class->_groups_to_reqs($group)
1340 0 0 0 $info->{'augments'} || $info->{'modreqs'}
1364 0 0 0 $standalone_info->{$ag} ||= $class->_groups_to_reqs($ag)
1371 0 0 0 defined $info->{'modreqs'}{$_} and $info->{'modreqs'}{$_} == $newreqs->{$_} or defined $ag_info->{'modreqs'}{$_} and $ag_info->{'modreqs'}{$_} == $newreqs->{$_}