Branch Coverage

blib/lib/URI/mid.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
52 0 1 if ($new)
53 0 0 if ref $new and $new->isa('URI::mid')
54 0 0 defined $cid ? :
70 0 0 unless $$self =~ m[/]
88 1 2 if (defined $new)
89 0 1 if (ref $new)
90 0 0 unless &Scalar::Util::blessed($new) and $new->isa('URI::cid')
98 1 1 unless defined $cid and $cid ne ''
123 0 1 unless defined wantarray
128 1 0 unless ref $self
130 0 1 unless (wantarray)