Condition Coverage

blib/lib/Nagios/Plugin/LDAP.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
137 0 0 0 $opts->get('starttls') && !$ssl
143 0 0 0 $ssl and not eval { do { require Net::LDAPS } }

or 2 conditions

line l !l condition
117 0 0 $opts->get('hostname') || 'localhost'
134 0 0 $opts->get('timeout') || 4
229 0 0 $opts->get('attr') || '(objectClass=*)'

or 3 conditions

line l !l&&r !l&&!r condition
136 0 0 0 $opts->get('port') || ($ssl ? 636 : 389)
227 0 0 0 $warning or $critical
257 0 0 0 $warning or $critical