Branch Coverage

lib/CGI/Minimal/Multipart.pm
Criterion Covered Total %
branch 39 40 97.5


line true false branch
19 750 7000 if ($#_ == -1) { }
6250 750 elsif ($#_ == 0) { }
23 4750 1500 if (defined $vars->{'field'}{$fname})
30 3000 4000 if (wantarray) { }
3250 750 elsif ($#result > -1) { }
46 750 7000 if ($#_ == -1) { }
6250 750 elsif ($#_ == 0) { }
50 4750 1500 if (defined $vars->{'field'}{$fname})
58 3000 4000 if (wantarray) { }
3250 750 elsif ($#result > -1) { }
76 561 691 if ($bdry =~ m[[^A-Za-z0-9',-./:=]]s)
93 5007 7511 unless defined $pair
96 0 7511 if $pair eq '--'
97 2504 5007 unless $pair
110 2252 5007 if ($fname =~ /^Content-Type$/io)
113 5007 2252 if ($fname =~ /^Content-Disposition$/io)
116 5007 7760 if $dispitem eq 'form-data'
120 5007 2753 if $dispfield eq 'name'
121 2753 5007 if $dispfield eq 'filename'
126 4506 501 unless (defined $vars->{'field'}{$name}{'count'})