Branch Coverage

blib/lib/Crypt/Age/Header.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
32 15 0 if ($recipient =~ /^age1/) { }
91 0 9 if $header_end < 0
99 0 9 unless $version_line eq "age-encryption.org/v1"
105 0 11 if $line =~ /^---/
107 11 0 if ($line =~ /^-> (\S+)\s*(.*)/)
116 11 0 if length $body_line < 64
122 11 0 if ($type eq "X25519")
137 0 9 if $footer_end < 0
140 0 9 unless $footer_line =~ /^--- (\S+)$/
168 13 0 if ($stanza->isa("Crypt::Age::Stanza::X25519") and $identity =~ /^AGE-SECRET-KEY-1/i)
170 10 3 if (defined $file_key and $self->verify_mac($file_key))