Branch Coverage

blib/lib/CTM/ReadEM.pm
Criterion Covered Total %
branch 2 138 1.4


line true false branch
106 0 0 if ($ctmDailyTime =~ /^(\+|\-)\d{4}$/)
112 0 0 if ($hoursNow >= $ctmDailyHour and $minNow >= $ctmDailyMin) { }
119 0 0 if (not grep({not defined $_;} values %time)) { }
120 0 0 if ($1 eq '-')
136 0 0 if ref $statusTo eq 'HASH'
137 0 0 if (defined $statusTo and $statusTo =~ /^\d+$/)
139 0 0 if $_ == 4
140 0 0 if $_ == 8
141 0 0 if $_ >= 16 and $_ < 128
142 0 0 if $_ >= 128 and $_ < 256
143 0 0 if $_ >= 256
151 0 0 if ref $severity eq 'HASH'
152 0 0 if (defined $severity)
154 0 0 if $_ eq 'R'
155 0 0 if $_ eq 'U'
156 0 0 if $_ eq 'V'
164 0 0 if ref $xSeverity eq 'HASH'
165 0 0 if (defined $xSeverity and $xSeverity =~ /^\d+$/)
167 0 0 if $_ == 3
168 0 0 if $_ == 2
169 0 0 if $_ == 1
177 0 0 unless defined $status
181 0 0 if /^OK$/i
184 0 0 if /^Completed OK$/i
186 0 0 if $_[0] >= 16
187 0 0 if /^Error$/i
189 0 0 if $_[0] >= 128
190 0 0 if /^Warning$/i
193 0 0 if /^Completed Late$/i
202 0 0 unless defined $severity
206 0 0 if /^Regular$/i
209 0 0 if /^Urgent$/i
212 0 0 if /^Very Urgent$/i
221 0 0 unless defined $severity
225 0 0 if /^Warning$/i
228 0 0 if /^Error$/i
231 0 0 if /^Severe$/i
399 0 1 unless @_ % 2
421 0 0 if $self->isSessionSeemAlive
432 1 0 unless $self->isSessionSeemAlive
442 0 0 unless @_ % 2
445 0 0 if ($self->isSessionSeemAlive) { }
447 0 0 if ($situation) { }
451 0 0 if ($situation) { }
452 0 0 if (defined(my $downloadTimeInTimestamp = Date_to_Time(split(m[[/:\s]+], $$datacenterInfos{$datacenter}{'download_time_to_char'}, 0)))) { }
453 0 0 unless $downloadTimeInTimestamp >= $datacenterOdateStart and $downloadTimeInTimestamp <= $datacenterOdateEnd
459 0 0 if ($datacenterOdateStart) { }
467 0 0 defined $params{'matching'} ? :
0 0 defined $params{'handleDeletedJobs'} ? :
0 0 defined $params{'forLastNetName'} ? :
0 0 defined $params{'forStatus'} ? :
0 0 defined $params{'forDataCenters'} ? :
468 0 0 unless ($situation)
469 0 0 if (defined $servicesDatas) { }
488 0 0 unless @_ % 2
498 0 0 unless @_ % 2
501 0 0 if ($self->isSessionSeemAlive) { }
502 0 0 defined $params{'matching'} ? :
0 0 defined $params{'severity'} ? :
0 0 defined $params{'timeSort'} && $params{'timeSort'} =~ /^(ASC|DESC)$/i ? :
503 0 0 if ($situation) { }
516 0 0 unless @_ % 2
526 0 0 unless @_ % 2
529 0 0 if ($self->isSessionSeemAlive) { }
530 0 0 defined $params{'matching'} ? :
0 0 defined $params{'severity'} ? :
0 0 defined $params{'timeSort'} && $params{'timeSort'} =~ /^(ASC|DESC)$/i ? :
531 0 0 if ($situation) { }
544 0 0 unless @_ % 2