Branch Coverage

blib/lib/JavaScript/Dependency/Manager.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
49 2 24 if ($self->scan_files and not $self->_scanned_files)
63 22 8 if (my $requirements = $self->_direct_requirements_for($file))
76 14 3 if $_ ne '.'
79 1 10 if $self->recurse and -d $fqfn
80 9 2 if -f $fqfn
86 0 9 unless $file =~ /\.js$/
89 7 33 if (m[//\s*provides:\s*(\S+)]) { }
6 27 elsif (m[//\s*requires:\s*(\S+)]) { }
102 0 30 unless $self->provisions->{$provision}