Branch Coverage

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


line true false branch
37 0 2 unless defined $key
38 0 2 if (my $ref_of_key = ref $key) { }
39 0 0 unless $ref_of_key eq 'ARRAY'
40 0 0 if scalar @{$key;} != $ELEMENTS_IN_KEY
41 0 0 unless all sub { isint $_ != 0; } , @{$key;}
44 0 2 if length $key != $KEY_SIZE
47 0 2 if isint $rounds != 1
59 0 2 if length $plain_text != $BLOCK_SIZE
69 0 2 if length $cipher_text != $BLOCK_SIZE
80 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
81 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
91 0 2 if scalar @{$block_ref;} != $ELEMENTS_IN_BLOCK
92 0 2 if scalar @{$key_ref;} != $ELEMENTS_IN_KEY
99 0 2 if length $key_str != $KEY_SIZE