| blib/lib/Spreadsheet/WriteExcel/Worksheet/SheetProtection.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 148 | 4 | 2 | defined $$self{'_sheet_protection'} ? : |
| 151 | 4 | 2 | unless @_ |
| 153 | 1 | 1 | if (scalar @_ == 1) { } |
| 162 | 0 | 2 | unless my $mask = $protection_flags{$key} |
| 163 | 1 | 1 | if ($value) { } |
| 180 | 0 | 1 | if $self->sheet_protection == $default_protection |