Branch Coverage

blib/lib/Module/Extract/Use.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
163 1 8 unless defined $modules
171 1 8 unless (-e $file)
179 0 8 unless ($Document)
215 3 5 unless $modules
219 23 6 if not $Seen{$_->{'module'}}++
227 0 5 unless $_->module_version->literal
250 21 1 unless $_->module eq "parent"
262 3 156 if $_[1]->isa("PPI::Token::Word") and $_[1]->content eq "require" and $sib = $_[1]->snext_sibling
269 7 1 unless $in_statements
302 15 14 if (not defined $node) { }
6 8 elsif ($node->isa('PPI::Token::QuoteLike::Words')) { }
1 7 elsif ($node->isa('PPI::Structure::List')) { }
7 0 elsif ($node->isa('PPI::Token::Quote')) { }