Branch Coverage

blib/lib/MsOffice/Word/Surgeon.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
74 0 0 unless $self->{'docx'} or $self->{'zip'}
76 0 4 unless not $self->{'docx'} && $self->{'zip'}
88 1 3 &openhandle($docx) ? :
92 0 4 unless $result == 0
108 132 4 if $_
131 14 0 if (not defined $new_content) { }
132 0 14 unless my $bytes = $self->zip->contents($member_name)
223 0 0 unless $self->zip->overwrite == 0
231 1 0 &openhandle($docx) ? :
232 0 1 unless $self->zip->$method($docx) == 0