Condition Coverage: lib/Yukki/Web/Plugin/Spreadsheet.pm

# Condition Coverage

File: | lib/Yukki/Web/Plugin/Spreadsheet.pm
Coverage: | 30.0%

line | % | coverage | condition
--- | --- | --- | ---
61 | 33 |
A | B | dec
--- | --- | ---
0 | 0 | 0
0 | 1 | 1
1 | X | 1
| $ctx->stash->{'Spreadsheet.sheet'} //= 'Spreadsheet::Engine'->new
62 | 50 |
A | dec
--- | ---
0 | 0
1 | 1
| $ctx->stash->{'Spreadsheet.map'} //= {}
63 | 50 |
A | dec
--- | ---
0 | 0
1 | 1
| $ctx->stash->{'Spreadsheet.rowmap'} //= {}
64 | 50 |
A | dec
--- | ---
0 | 0
1 | 1
| $ctx->stash->{'Spreadsheet.nextrow'} //= 'A'
65 | 50 |
A | dec
--- | ---
0 | 0
1 | 1
| $ctx->stash->{'Spreadsheet.nextcol'} //= {}
107 | 33 |
A | B | dec
--- | --- | ---
0 | 0 | 0
0 | 1 | 1
1 | X | 1
| $$rowmap{$file->repository_name}{$file->full_path} // $ctx->stash->{'Spreadsheet.nextrow'}++
160 | 0 |
A | B | dec
--- | --- | ---
0 | X | 0
1 | 0 | 0
1 | 1 | 1
| $other_file->repository_name eq $file->repository_name and $other_file->full_path eq $file->full_path
204 | 0 |
A | B | dec
--- | --- | ---
0 | X | 0
1 | 0 | 0
1 | 1 | 1
| &blessed($_) and $_->isa('Yukki::Error')