blib/lib/FTN/Message/serialno/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 21 | 42.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
74 | 0 | 0 | 3 | $param{'directory'} and -d $param{'directory'} |
112 | 0 | 0 | 3 | defined $extension and length $extension |
140 | 3 | 0 | 0 | $param{'decode_filename'} && ref $param{'decode_filename'} eq 'CODE' |
147 | 3 | 0 | 0 | $param{'encode_filename'} && ref $param{'encode_filename'} eq 'CODE' |
162 | 3 | 0 | 0 | $param{'max_tries'} && $param{'max_tries'} =~ /^(\d+)$/ |
line | l | !l | condition |
---|---|---|---|
101 | 0 | 3 | $param{'filename_pattern'} || '^([0-9a-fA-F]{1,8})$' |
111 | 0 | 3 | $param{'filename_format'} || '%x' |
226 | 1 | 2 | $param{'serialno_format'} || '%08x' |