Condition Coverage

blib/lib/WebService/DataDog/Alert.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
59 0 0 0 defined $response and defined $$response{'alerts'}
141 0 0 0 defined $args{'name'} and $args{'name'} ne ''
146 0 0 0 defined $args{'message'} and $args{'message'} ne ''
151 0 0 0 defined $args{'silenced'} and $args{'silenced'} ne ''
166 0 0 0 defined $response && defined $$response{'state'}
220 0 0 0 defined $response and defined $$response{'id'}
312 0 0 0 defined $args{'name'} and $args{'name'} ne ''
317 0 0 0 defined $args{'message'} and $args{'message'} ne ''
322 0 0 0 defined $args{'silenced'} and $args{'silenced'} ne ''
337 0 0 0 defined $response && defined $$response{'state'}
478 0 0 0 defined $args{'name'} and length $args{'name'} > 80
482 0 0 0 defined $args{'silenced'} and not $args{'silenced'} =~ /^[01]$/

or 3 conditions

line l !l&&r !l&&!r condition
127 0 0 0 not defined $args{$arg} or $args{$arg} eq ''
166 0 0 0 not defined $response && defined $$response{'state'} or $$response{'state'} ne 'OK'
204 0 0 0 not defined $args{$arg} or $args{$arg} eq ''
291 0 0 0 not defined $args{$arg} or $args{$arg} eq ''
337 0 0 0 not defined $response && defined $$response{'state'} or $$response{'state'} ne 'OK'
432 0 0 0 not defined $args{$arg} or $args{$arg} eq ''