Condition Coverage

blib/lib/App/sslmaker.pm
Criterion Covered Total %
condition 25 42 59.5


and 3 conditions

line !l l&&!r l&&r condition
135 0 0 7 $passphrase =~ /^file:(.+)/ and not -e $1
248 0 0 25 defined $phrase and length $phrase

or 2 conditions

line l !l condition
10 0 6 $ENV{'SSLMAKER_DEBUG'} || 0
11 0 6 $ENV{'SSLMAKER_BITS'} || 4096
12 0 6 $ENV{'SSLMAKER_DAYS'} || 365
65 3 1 $args->{'days'} || 365
97 2 6 $args->{'days'} || 365
141 11 1 $args->{'bits'} || 4096
187 7 0 $args->{'extensions'} || 'usr_cert'
194 4 3 ($self->{'subject'} // $ENV{'SSLMAKER_SUBJECT'}) // ""
201 84 84 $args->{$_} // ""

or 3 conditions

line l !l&&r !l&&!r condition
149 0 17 0 ref $class || $class
167 0 2 0 $args->{'crl'} || $home->child('crl.pem')
194 7 4 3 $self->{'subject'} // $ENV{'SSLMAKER_SUBJECT'}
207 9 19 0 $self->{$key} ||= $self->render_to_file("openssl.cnf", $args)
292 49 0 0 $DATA{$name} // confess("No such template: $name")
293 205 0 0 eval $1 // confess($@)