Condition Coverage

blib/lib/Dist/Zilla/Plugin/StaticInstall.pm
Criterion Covered Total %
condition 30 40 75.0


and 3 conditions

line !l l&&!r l&&r condition
53 30 1 2 $self->dry_run and $self->mode ne 'auto'
82 4 25 0 $self->mode ne 'off' and exists $distmeta->{'x_static_install'}
17 5 3 $self->mode ne 'off' and exists $distmeta->{'x_static_install'} and ($$distmeta{'x_static_install'} xor $value)
98 17 5 3 $value and $self->mode eq 'off'
101 9 0 17 not exists $distmeta->{'x_static_install'} and $self->mode eq 'auto'
9 1 16 not exists $distmeta->{'x_static_install'} and $self->mode eq 'auto' and not $self->dry_run
189 21 0 0 $1 eq 'Dist::Zilla::Plugin::MakeMaker::Awesome' && &any(sub { &blessed($_) eq 'Dist::Zilla::Plugin::MakeMaker::Fallback'; } , @installers)
21 0 21 $added_by =~ /content set by .* \((.*) line \d+\)/ and not $1 eq 'Dist::Zilla::Plugin::MakeMaker::Awesome' && &any(sub { &blessed($_) eq 'Dist::Zilla::Plugin::MakeMaker::Fallback'; } , @installers)
21 20 1 $added_by =~ /content set by .* \((.*) line \d+\)/ and not $1 eq 'Dist::Zilla::Plugin::MakeMaker::Awesome' && &any(sub { &blessed($_) eq 'Dist::Zilla::Plugin::MakeMaker::Fallback'; } , @installers) and not $1 =~ /Dist::Zilla::Plugin::(MakeMaker|ModuleBuildTiny)(::Fallback)?$/

or 3 conditions

line l !l&&r !l&&!r condition
98 1 0 25 $self->dry_run or $value and $self->mode eq 'off'
189 0 0 42 $added_by =~ /from coderef added by/ or $added_by =~ /filename set by/
0 0 42 $added_by =~ /from coderef added by/ or $added_by =~ /filename set by/ or $added_by =~ /content set by .* \((.*) line \d+\)/ and not $1 eq 'Dist::Zilla::Plugin::MakeMaker::Awesome' && &any(sub { &blessed($_) eq 'Dist::Zilla::Plugin::MakeMaker::Fallback'; } , @installers) and not $1 =~ /Dist::Zilla::Plugin::(MakeMaker|ModuleBuildTiny)(::Fallback)?$/

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
82 4 2 1 1 $$distmeta{'x_static_install'} xor $value