Branch Coverage

blib/lib/Net/SSH/Perl/Cipher.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
44 12 1 unless $@
52 6 43 if ($type eq 'None') { }
67 32 0 defined $_[1] ? :
80 0 8 if (my $class = ref $this) { }
93 0 0 if (my $class = ref $this) { }
110 1 7 unless (keys %Net::SSH::Perl::Cipher::SUPPORTED)
114 0 8 if not ref $_[0] and $_[0] and $_[0] eq "protocol"
116 0 8 unless (@_)
117 0 0 unless 2 == $protocol
121 0 8 ref $_[0] ? :
122 8 0 unless @_