Branch Coverage

blib/lib/CAD/Firemen/Change.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
41 0 0 unless (exists $params{'name'})
44 0 0 unless (exists $params{'valueOld'})
47 0 0 unless (exists $params{'valueNew'})
70 0 0 unless (defined $name)
85 0 0 unless (defined $value)
100 0 0 unless (defined $value)
115 0 0 if (not defined $valuesRef or ref $valuesRef ne 'ARRAY')
130 0 0 if (not defined $valuesRef or ref $valuesRef ne 'ARRAY')
146 0 0 unless (defined $value)
152 0 0 if ($value eq $posValue)
156 0 0 unless ($found)
171 0 0 unless (defined $value)
177 0 0 if ($value eq $posValue)
181 0 0 unless ($found)
196 0 0 unless (defined $value)
221 0 0 if ($value eq $newValue)
226 0 0 unless ($exist)
236 0 0 if ($value eq $oldValue)
241 0 0 unless ($exist)
248 0 0 if ($self->defaultValueNew ne $self->defaultValueOld)
254 0 0 if ($self->valueOld ne $self->valueNew and uc $self->valueOld eq uc $self->valueNew)
257 0 0 if ($self->valueOld =~ m[^[A-Za-z]:[\\/]] and $self->valueNew =~ m[^[A-Za-z]:[\\/]])
262 0 0 if ($self->valueOld ne $self->valueNew and not $self->changeType('CAD::Firemen::Change::Type'->Case) and not $self->changeType('CAD::Firemen::Change::Type'->Case))
266 0 0 if ($valuesChanged)
269 0 0 if ($defaultChanged)
279 0 0 unless (defined $value)
290 0 0 unless (defined $value)
295 0 0 if ($value ne 'CAD::Firemen::Change::Type'->NoChange)
296 0 0 if (exists $self->{'_changeType'}{'CAD::Firemen::Change::Type'->NoChange})
306 0 0 unless (defined $type)
309 0 0 if (exists $self->{'_changeType'}{$type})
317 0 0 if ($self->changeType('CAD::Firemen::Change::Type'->Case)) { }
0 0 elsif ($self->changeType('CAD::Firemen::Change::Type'->Path)) { }