Branch Coverage

blib/lib/Crypt/TEA_PP.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
18 0 1 if (not defined $Crypt::TEA_PP::Config{'use64bitint'})
46 0 2 unless defined $key
48 0 2 if (my $ref_of_key = ref $key) { }
50 0 0 unless $ref_of_key eq 'ARRAY'
51 0 0 if scalar @{$key;} != $ELEMENTS_IN_KEY
52 0 0 unless all sub { isint $_ != 0; } , @{$key;}
58 0 2 if length $key != $KEY_SIZE
64 0 2 if isint $rounds != 1
77 0 2 if length $plain_text != $BLOCK_SIZE
87 0 2 if length $cipher_text != $BLOCK_SIZE
98 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
99 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
118 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
119 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
135 0 2 if length $key_str != $KEY_SIZE