Branch Coverage

blib/lib/Google/Ads/GoogleAds/Utils/FieldMasks.pm
Criterion Covered Total %
branch 26 28 92.8


line true false branch
77 27 41 $current_field ? :
84 8 60 if (ref $original_value eq 'ARRAY' or ref $modified_value eq 'ARRAY') { }
27 33 elsif (__is_hash_ref($original_value) or __is_hash_ref($modified_value)) { }
86 7 1 unless Compare($original_value, $modified_value)
90 0 27 if Compare($original_value, $modified_value)
91 20 7 if (not $original_key_exists) { }
1 6 elsif (__is_clearing_message($original_value, $modified_value)) { }
94 6 14 if (not %$modified_value) { }
101 1 5 if (not defined $modified_value) { }
109 1 20 unless ($original_key_exists or defined $modified_value)
114 30 2 unless Compare($original_value, $modified_value)
123 83 30 unless $ref_type
127 3 27 if grep /^$ref_type/, @invalid_types
144 1 0 if not $modified_is_defined and $original_is_defined and $original_values_size == 0 or not $original_is_defined and $modified_is_defined and $modified_values_size == 0