| 1 | package HTML::Form::KeygenInput; | ||||||||||||
| 2 | |||||||||||||
| 3 | 11 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 11 | ▶ | use parent 'HTML::Form::Input'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 11 | our $VERSION = '6.13'; | |||||||||||
| 7 | |||||||||||||
| 8 | # ABSTRACT: An HTML form keygen input element for use with HTML::Form | ||||||||||||
| 9 | |||||||||||||
| 10 | 1 | ▶ | sub challenge { | ||||||||||
|
Subroutine
challenge: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 11 | 1 | my $self = shift; | |||||||||||
| 12 | 1 | return $self->{challenge}; | |||||||||||
| 13 | } | ||||||||||||
| 14 | |||||||||||||
| 15 | 1 | ▶ | sub keytype { | ||||||||||
|
Subroutine
keytype: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||||
| 16 | 1 | my $self = shift; | |||||||||||
| 17 | 1 | ▶ | return lc( $self->{keytype} || 'rsa' ); | ||||||||||
|
Condition50%1/2
$self->{'keytype'} || 'rsa'
MC/DC0%0/1
$self->{'keytype'} || 'rsa'
$self->{'keytype'}
Truth table50%1/2
A
A= $self->{'keytype'}
| |||||||||||||
| 18 | } | ||||||||||||
| 19 | |||||||||||||
| 20 | 11 | 1; | |||||||||||
| 21 | |||||||||||||
| 22 | __END__ | ||||||||||||