Branch Coverage

lib/Google/RestApi/SheetsApi4/Range.pm
Criterion Covered Total %
branch 47 72 65.2


line true false branch
152 9 14 if ($range ne $original_range)
157 0 9 if $end and $start eq $end
171 0 1 if ($range)
179 0 1 unless $range = $worksheet->normalize_named($named)
239 3 140 if defined $p{"values"}
297 0 34 unless $updates
313 0 34 if $$update{"updatedData"}
339 57 143 if ($p{"range"})
354 0 57 if $worksheet_name ne $self->worksheet_name
362 0 57 if $$p{"majorDimension"} ne $self->dimension
370 148 52 if $$self{"cache_range_values"}
376 0 52 if ($shared and $shared->has_values)
382 0 0 if ($dim =~ /^col/i) { }
440 0 22 unless $shared_range->is_other_inside($self)
461 8 2 if $$range[0]{"col"} <= $$inside_range[0]{"col"} and $$range[0]{"row"} <= $$inside_range[0]{"row"} and $$range[1]{"col"} >= $$inside_range[1]{"col"} and $$range[1]{"row"} >= $$inside_range[1]{"row"}
474 31 31 if (defined $$p{"values"})
486 0 62 unless $$self{"cache_range_values"}
546 0 842 unless $package
569 0 337 if $incr
581 337 28 if $col
602 0 306 unless $range
605 65 241 if defined $end_cell and $start_cell eq $end_cell
607 59 247 if $end_cell
609 86 220 if not $end_cell and $expand_range
611 145 161 $end_cell ? :
621 68 122 unless ref $$range[1]
624 122 68 $ranges[1] ? :
631 93 5 unless ref $$array[1]
641 0 98 if $range{"endColumnIndex"} < $range{"startColumnIndex"}
643 0 98 if $range{"endRowIndex"} < $range{"startRowIndex"}
656 0 0 unless ref $$array[1]
657 0 0 $dims =~ /^col/i ? :
658 0 0 $dims =~ /^col/i ? :
678 3 3 $dim =~ /col/i ? :
688 2 4 unless my $offset_range = $ranges[$offset]
710 0 0 if (ref $range eq 'ARRAY') { }