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)
177 0 1 unless $range = $worksheet->normalize_named($named)
235 3 140 if defined $p{"values"}
293 0 34 unless $updates
309 0 34 if $$update{"updatedData"}
335 57 143 if ($p{"range"})
350 0 57 if $worksheet_name ne $self->worksheet_name
358 0 57 if $$p{"majorDimension"} ne $self->dimension
366 148 52 if $$self{"cache_range_values"}
372 0 52 if ($shared and $shared->has_values)
378 0 0 if ($dim =~ /^col/i) { }
436 0 22 unless $shared_range->is_other_inside($self)
457 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"}
470 31 31 if (defined $$p{"values"})
482 0 62 unless $$self{"cache_range_values"}
542 0 842 unless $package
565 0 337 if $incr
577 337 28 if $col
598 0 306 unless $range
601 65 241 if defined $end_cell and $start_cell eq $end_cell
603 59 247 if $end_cell
605 86 220 if not $end_cell and $expand_range
607 145 161 $end_cell ? :
617 68 122 unless ref $$range[1]
620 122 68 $ranges[1] ? :
627 93 5 unless ref $$array[1]
637 0 98 if $range{"endColumnIndex"} < $range{"startColumnIndex"}
639 0 98 if $range{"endRowIndex"} < $range{"startRowIndex"}
652 0 0 unless ref $$array[1]
653 0 0 $dims =~ /^col/i ? :
654 0 0 $dims =~ /^col/i ? :
674 3 3 $dim =~ /col/i ? :
684 2 4 unless my $offset_range = $ranges[$offset]
706 0 0 if (ref $range eq 'ARRAY') { }