Branch Coverage

blib/lib/Crypt/TEA_XS.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
39 0 2 unless defined $key
41 0 2 if (my $ref_of_key = ref $key) { }
43 0 0 unless $ref_of_key eq 'ARRAY'
44 0 0 if scalar @{$key;} != $ELEMENTS_IN_KEY
45 0 0 unless all sub { isint $_ != 0; } , @{$key;}
51 0 2 if length $key != $KEY_SIZE
57 0 2 if isint $rounds != 1
70 0 2 if length $plain_text != $BLOCK_SIZE
80 0 2 if length $cipher_text != $BLOCK_SIZE
91 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
92 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
102 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
103 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
110 0 2 if length $key_str != $KEY_SIZE