Branch Coverage

lib/Google/RestApi/SheetsApi4/Worksheet.pm
Criterion Covered Total %
branch 23 60 38.3


line true false branch
38 1 2 unless defined $$self{"id"} or defined $$self{"name"} or $$self{"uri"}
46 1 222 unless (defined $$self{"id"})
47 1 0 if ($$self{'uri'}) { }
50 0 1 unless defined $$self{"id"}
54 0 0 unless $worksheet
72 0 0 unless ($$self{"uri"})
85 0 116 unless $worksheet
96 1 1 defined $values ? :
106 1 1 unless $values
123 1 1 defined $values ? :
133 1 1 unless $values
150 0 48 defined $value ? :
160 0 0 unless $values
193 1 0 unless my $headers = $self->header_col
195 0 0 if ++$i > 0
206 1 0 unless my $headers = $self->header_row
208 0 0 if ++$i > 0
221 0 0 if ($enable =~ qr/i really want to do this/i) { }
0 0 elsif ($enable) { }
236 1 0 unless ($$self{"header_col_enabled"})
242 0 0 if $refresh
244 0 0 unless ($$self{"header_col"})
257 3 0 if ($enable) { }
270 1 0 unless ($$self{"header_row_enabled"})
276 0 0 if $refresh
278 0 0 unless ($$self{"header_row"})
296 0 1 if $sheet_id and $sheet_id != $this_sheet_id
314 0 0 defined $$cols[0][$_] ? :
319 0 0 $self->header_row_enabled ? :
333 0 11 unless /^range/ and $self->can($_)