blib/lib/App/sslmaker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 42 | 59.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
130 | 0 | 0 | 7 | $passphrase =~ /^file:(.+)/ and not -e $1 |
250 | 0 | 0 | 25 | defined $phrase and length $phrase |
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 |
64 | 3 | 1 | $args->{'days'} || 365 |
93 | 2 | 6 | $args->{'days'} || 365 |
136 | 11 | 1 | $args->{'bits'} || 4096 |
182 | 7 | 0 | $args->{'extensions'} || 'usr_cert' |
189 | 4 | 3 | ($self->{'subject'} // $ENV{'SSLMAKER_SUBJECT'}) // "" |
196 | 84 | 84 | $args->{$_} // "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
144 | 0 | 17 | 0 | ref $class || $class |
162 | 0 | 2 | 0 | $args->{'crl'} || $home->child('crl.pem') |
189 | 7 | 4 | 3 | $self->{'subject'} // $ENV{'SSLMAKER_SUBJECT'} |
202 | 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($@) |