Branch Coverage

lib/App/MtAws/MetaData.pm
Criterion Covered Total %
branch 46 46 100.0


line true false branch
116 3 2475 unless defined $str
119 13 2462 unless defined $marker
120 2080 382 if ($marker eq 'mt1') { }
380 2 elsif ($marker eq 'mt2') { }
132 2 16 unless defined $str
135 1 15 unless defined $marker
136 13 2 if ($marker eq 'mtijob1') { }
147 14 2477 if not defined $b64 or length $b64 > 1024
157 942 1565 if $padding_n
165 2 2099 unless defined $str
174 2 2480 unless defined $str
181 14 2453 unless defined $h
182 6 2447 unless defined $h->{'filename'} and defined $h->{'mtime'}
185 6 2441 unless defined(my $mtime = iso8601_to_epoch($h->{'mtime'}))
192 4 9 unless defined $h
193 2 7 unless defined $h->{'type'}
200 2 418 unless defined $mtime and defined $relfilename
201 1 417 unless defined(my $res = _encode_b64(_encode_json(_encode_filename_and_mtime($relfilename, $mtime))))
203 2 415 if length $res > 1024
211 1 7 if length $res > 1024
218 1 461 unless defined $str
234 1 425 unless defined(my $iso = epoch_to_iso8601($mtime))
244 1 434 unless defined $h