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'})
45 0 2 unless defined $key
46 0 2 if (my $ref_of_key = ref $key) { }
47 0 0 unless $ref_of_key eq 'ARRAY'
48 0 0 if scalar @{$key;} != $ELEMENTS_IN_KEY
49 0 0 unless all sub { isint $_ != 0; } , @{$key;}
52 0 2 if length $key != $KEY_SIZE
55 0 2 if isint $rounds != 1
67 0 2 if length $plain_text != $BLOCK_SIZE
77 0 2 if length $cipher_text != $BLOCK_SIZE
88 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
89 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
110 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
111 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
129 0 2 if length $key_str != $KEY_SIZE