line |
true |
false |
branch |
42
|
17 |
18 |
if defined $self->_changes
|
64
|
1 |
17 |
$self->resolve_dynamicvalues ? :
|
65
|
1 |
17 |
$self->resolve_dynamicvalues ? :
|
71
|
16 |
2 |
if (exists $old_resources{$res}) { }
|
73
|
11 |
5 |
if (my(@changes) = $self->_compare_resource($new->Resource($res), $old->Resource($res), $res))
|
93
|
3 |
13 |
if $new_res->isa('Cfn::Resource::AWS::CloudFormation::CustomResource')
|
95
|
3 |
13 |
if $old_res->isa('Cfn::Resource::AWS::CloudFormation::CustomResource')
|
97
|
1 |
15 |
if ($new_res_type ne $old_res_type)
|
110
|
1 |
14 |
if (not defined $new || defined $old) { }
|
|
2 |
12 |
elsif (not defined $new && defined $old) { }
|
115
|
1 |
1 |
if not defined $new and defined $old
|
116
|
1 |
1 |
if defined $new and not defined $old
|
133
|
237 |
0 |
unless defined $new_val or defined $old_val
|
136
|
0 |
22 |
if (defined $old_val and not defined $new_val) { }
|
|
1 |
21 |
elsif (not defined $old_val and defined $new_val) { }
|
|
21 |
0 |
elsif (defined $old_val and defined $new_val) { }
|
|
0 |
0 |
elsif (not defined $old_val || defined $new_val) { }
|
141
|
8 |
13 |
if (not $self->_properties_equal($new_val, $old_val, "$logical_id.$meth")) { }
|
166
|
23 |
23 |
if (&blessed($new)) { }
|
167
|
23 |
0 |
if (&blessed($old)) { }
|
169
|
1 |
22 |
if $new->meta->name ne $old->meta->name
|
172
|
1 |
21 |
if ($new->isa('Cfn::DynamicValue')) { }
|
|
14 |
7 |
elsif ($new->isa('Cfn::Value::Primitive')) { }
|
|
2 |
5 |
elsif ($new->isa('Cfn::Value::Function')) { }
|
|
5 |
0 |
elsif ($new->isa('Cfn::Value')) { }
|
187
|
0 |
23 |
if (&blessed($old)) { }
|
190
|
0 |
23 |
if ref $old ne ref $new
|
191
|
10 |
13 |
if (not ref $new) { }
|
|
6 |
7 |
elsif (ref $new eq 'ARRAY') { }
|
|
7 |
0 |
elsif (ref $new eq 'HASH') { }
|
194
|
0 |
6 |
if @$new != @$old
|
196
|
0 |
11 |
unless $self->_properties_equal($new->[$i], $old->[$i])
|
200
|
0 |
7 |
if keys %$new != keys %$old
|
202
|
2 |
5 |
unless $self->_properties_equal($new->{$key}, $old->{$key})
|