| blib/lib/MsOffice/Word/Surgeon.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 16 | 37.5 |
| line | true | false | branch |
|---|---|---|---|
| 70 | 0 | 0 | unless $self->{'docx'} or $self->{'zip'} |
| 72 | 0 | 1 | unless not $self->{'docx'} && $self->{'zip'} |
| 84 | 0 | 1 | unless $zip->read($self->{'docx'}) == 0 |
| 101 | 21 | 1 | if $_ |
| 124 | 8 | 0 | if (not defined $new_content) { } |
| 125 | 0 | 8 | unless my $bytes = $self->zip->contents($member_name) |
| 216 | 0 | 0 | unless $self->zip->overwrite == 0 |
| 224 | 0 | 0 | unless $self->zip->writeToFileNamed($docx) == 0 |