Branch Coverage

blib/lib/PLS/Parser/DocumentSymbols.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
38 0 0 if (ref $function ne "IO::Async::Function")
53 0 0 if ref $document ne "PLS::Parser::Document"
65 0 0 $index == $#{$packages;} ? :
74 0 0 if $_->{'range'}{'start'}{'line'} > $line_start
78 0 0 unless (scalar @package_roots)
99 0 0 ref $current eq 'HASH' ? :
100 0 0 unless &blessed($scope)
102 0 0 if ($scope->isa('PPI::Document') or $scope->isa('PPI::Structure::Block')) { }
0 0 elsif ($scope->isa('PPI::Statement::Sub') or $scope->isa('PPI::Statement::Scheduled')) { }
0 0 elsif ($scope->isa('PPI::Statement::Variable')) { }
0 0 elsif ($scope->isa('PPI::Statement::Include') and $scope->type eq 'use' and $scope->pragma eq 'constant') { }
112 0 0 unless &blessed(scalar $scope->block)
113 0 0 unless $scope->block->isa("PPI::Structure::Block")
116 0 0 $scope->isa('PPI::Statement::Sub') ? :