Condition Coverage

blib/lib/Module/CGI/Install.pm
Criterion Covered Total %
condition 8 46 17.3


and 3 conditions

line !l l&&!r l&&r condition
140 1 0 0 $self->interactive and not defined $self->cgi_dir
158 1 0 0 $self->interactive and not defined $self->cgi_uri
176 0 0 0 $self->interactive and not defined $self->config_dir
201 1 0 0 $self->interactive and not defined $self->static_dir
219 1 0 0 $self->interactive and not defined $self->static_uri
243 0 0 1 $from and -f $from
324 0 0 1 $path and -f $path
477 0 0 0 defined $ARGV and $ARGV eq '-'
480 0 0 0 @ARGV > 0 && $ARGV[0] eq '-' && -t *STDIN
489 0 0 0 -t *STDIN && (@ARGV == 0 || $ARGV[0] eq '-')

or 2 conditions

line l !l condition
455 0 0 _STRING(shift()) || 'Unknown error'
461 0 0 _STRING(shift()) || 'Unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
168 0 1 0 $self->force or $self->validate_cgi_dir($self->cgi_map)
229 0 1 0 $self->force or $self->validate_static_dir($self->static_map)
281 0 0 0 _INSTANCE $from, 'YAML::Tiny' or _INSTANCE $from, 'Config::Tiny'
349 0 0 0 _INSTANCE $config, 'Config::Tiny' or _INSTANCE $config, 'Config::YAML'