Condition Coverage

blib/lib/PLS/Server/Request/TextDocument/PublishDiagnostics.pm
Criterion Covered Total %
condition 9 25 36.0


and 3 conditions

line !l l&&!r l&&r condition
68 0 2 0 length $version and $client_has_version_support
75 0 0 2 defined $PLS::Server::State::CONFIG->{'syntax'}{'enabled'} and $PLS::Server::State::CONFIG->{'syntax'}{'enabled'}
77 0 0 2 defined $PLS::Server::State::CONFIG->{'perlcritic'}{'enabled'} and $PLS::Server::State::CONFIG->{'perlcritic'}{'enabled'}
91 0 1 0 length $version and $current_version > $version
151 2 0 0 length $new_cwd and -d $new_cwd
221 0 2 0 length $profile and -f $profile
2 0 0 length $profile and -f $profile and -r $profile

or 2 conditions

line l !l condition
143 2 0 $inc // []
147 2 0 $PLS::Server::State::CONFIG->{'cwd'} // ""