Branch Coverage

blib/lib/Locale/MakePhrase/Print.pm
Criterion Covered Total %
branch 12 46 26.0


line true false branch
109 0 0 unless defined $options
110 0 0 if (@_ > 1 and not @_ % 2) { }
0 0 elsif (@_ == 1 and ref $_[0] eq 'HASH') { }
0 0 elsif (@_ == 1 and ref $_[0] eq 'GLOB') { }
0 0 elsif (@_ == 1 and ref $_[0] eq '' and $_[0] eq 'print') { }
0 0 elsif (@_ == 1 and ref $_[0] eq '' and $_[0] eq 'println') { }
0 0 elsif (@_ > 0) { }
123 0 0 $$options{'print'} ? :
0 0 exists $$options{'print'} ? :
124 0 0 $$options{'println'} ? :
0 0 exists $$options{'println'} ? :
136 1 0 unless defined $Locale::MakePhrase::Print::STDOUT
139 0 1 if @_
140 0 1 defined $filehandle ? :
0 1 exists $options{'filehandle'} ? :
141 0 1 unless defined $filehandle
147 0 1 if ($print)
152 0 1 if ($println)
168 0 1 if @_
171 0 1 if ($print)
176 0 1 if ($println)
191 1 0 if (@_ > 0) { }
192 0 1 unless $$self{'fh'} = shift()