Condition Coverage

blib/lib/Dist/Zilla/Plugin/PromptIfStale.pm
Criterion Covered Total %
condition 33 46 71.7


and 3 conditions

line !l l&&!r l&&r condition
104 0 24 2 not $ENV{'PROMPTIFSTALE_REALLY_RUN_TESTS'} and $ENV{'CONTINUOUS_INTEGRATION'}
24 1 1 not $ENV{'PROMPTIFSTALE_REALLY_RUN_TESTS'} and $ENV{'CONTINUOUS_INTEGRATION'} and not $self->run_under_travis
134 0 17 2 not $ENV{'PROMPTIFSTALE_REALLY_RUN_TESTS'} and $ENV{'CONTINUOUS_INTEGRATION'}
17 1 1 not $ENV{'PROMPTIFSTALE_REALLY_RUN_TESTS'} and $ENV{'CONTINUOUS_INTEGRATION'} and not $self->run_under_travis
136 3 10 5 $self->phase eq "build" and $self->check_all_prereqs
240 0 24 15 defined $local_version and $local_version < $indexed_version
245 6 5 4 Module::CoreList::is_core($module) and not $self->_is_duallifed($module)
278 21 1 0 $ENV{'CONTINUOUS_INTEGRATION'} and not $ENV{'HARNESS_ACTIVE'}
1 0 21 -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT))

or 2 conditions

line l !l condition
230 26 22 $indexed_version // "undef"
48 0 $local_version // "undef"
248 3 0 $indexed_version // "undef"
3 0 $local_version // "undef"
460 0 1 $self->index_base_url || $ENV{'CPAN_INDEX_BASE_URL'} || 'http://www.cpan.org'

or 3 conditions

line l !l&&r !l&&!r condition
278 0 1 21 $ENV{'CONTINUOUS_INTEGRATION'} and not $ENV{'HARNESS_ACTIVE'} or not -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT))
412 34 0 8 $combined || $packages || $self->_has_index_base_url
473 0 0 16 $self->index_base_url || $ENV{'CPAN_INDEX_BASE_URL'}