Branch Coverage

blib/lib/Nagios/Clientstatus.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
150 3 11 if (exists $args{'dont_check_commandline_args'})
156 2 12 unless (exists $args{'help_subref'} and ref $args{'help_subref'} eq 'CODE')
177 3 9 if (exists $args{'optional_args'} and ref $args{'optional_args'} eq 'ARRAY')
186 9 3 if (exists $args{'mandatory_args'} and ref $args{'mandatory_args'} eq 'ARRAY')
275 2 1 exists $$self{'given_args'}{$name} ? :
295 0 12 if ($self->_dont_check_commandline_args)
338 6 3 unless (exists $got_this_option{$_})
342 6 6 if (scalar @mand_forgotten > 0)
382 5 4 ref $first_arg ? :
391 1 8 unless (exists $nagios_returnvalue{$status})