Condition Coverage

blib/lib/Fax/Hylafax/Client.pm
Criterion Covered Total %
condition 21 244 8.6


and 3 conditions

line !l l&&!r l&&r condition
260 0 0 0 $param{'coverfile'} and not -e $param{'coverfile'}
364 0 0 0 $param{'coverfile'} and $docfile eq $tempfiles[0]

or 2 conditions

line l !l condition
44 0 0 $Host || 'localhost'
45 0 0 $Port || '4559'
46 0 0 $User || 'anonymous'
47 0 0 $Password || 'anonymous'
48 0 0 $Passive || '0'
84 0 0 $Host || 'localhost'
85 0 0 $Port || '4559'
86 0 0 $User || 'anonymous'
87 0 0 $Password || 'anonymous'
88 0 0 $Passive || '0'
122 0 0 $Host || 'localhost'
123 0 0 $Port || '4559'
124 0 0 $User || 'anonymous'
125 0 0 $Password || 'anonymous'
126 0 0 $Passive || '0'
127 0 0 $param{'filefmt'} ||= ''
128 0 0 $param{'jobfmt'} ||= '%-4j %3i %1a %6.6o %-12.12e %5P %5D %7z %.25s'
129 0 0 $param{'rcvfmt'} ||= '%-7m %4p%1z %-8.8o %14.14s %7t %f'
130 0 0 $param{'info'} ||= '0'
131 0 0 $param{'files'} ||= '0'
132 0 0 $param{'queue'} ||= '0'
133 0 0 $param{'done'} ||= '0'
134 0 0 $param{'received'} ||= '0'
237 0 0 $Host || 'localhost'
238 0 1 $Port || '4559'
239 0 0 $User || 'anonymous'
240 0 0 $Password || 'anonymous'
241 0 1 $Passive || '0'
242 0 1 $Debug || '0'
243 0 1 $param{'lasttime'} ||= '000259'
244 0 1 $param{'maxdials'} ||= '12'
245 0 1 $param{'maxtries'} ||= '3'
246 0 1 $param{'pagewidth'} ||= '216'
247 0 1 $param{'pagelength'} ||= '279'
248 0 1 $param{'vres'} ||= '196'
249 0 1 $param{'schedpri'} ||= '127'
250 0 1 $param{'chopthreshold'} ||= '3'
251 1 0 $param{'notify'} ||= 'none'
253 0 1 $param{'sendtime'} ||= 'now'
379 0 0 $selector || ''
0 0 $passwd || ''
408 0 0 $Host || 'localhost'
409 0 0 $Port || '444'
410 0 0 $User || 'anonymous'
411 0 0 $Password || 'anonymous'
412 0 0 $Passive || '0'
413 0 0 $param{'maxdials'} ||= '12'
414 0 0 $param{'maxtries'} ||= '3'
415 0 0 $param{'notify'} ||= 'none'
417 0 0 $param{'level'} ||= '1'
490 0 0 $$self{'CONTENT'} || undef
498 0 0 $$self{'SUCCESS'} || undef
506 0 0 $$self{'TRACE'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
44 0 0 0 $param{'host'} ||= $Host || 'localhost'
45 0 0 0 $param{'port'} ||= $Port || '4559'
46 0 0 0 $param{'user'} ||= $User || 'anonymous'
47 0 0 0 $param{'password'} ||= $Password || 'anonymous'
48 0 0 0 $param{'passive'} ||= $Passive || '0'
54 0 0 0 'Net::FTP'->new($param{'host'}, 'Port', $param{'port'}, 'Passive', $param{'passive'}) || croak('Fax::Hylafax::Client: ' . $@)
84 0 0 0 $param{'host'} ||= $Host || 'localhost'
85 0 0 0 $param{'port'} ||= $Port || '4559'
86 0 0 0 $param{'user'} ||= $User || 'anonymous'
87 0 0 0 $param{'password'} ||= $Password || 'anonymous'
88 0 0 0 $param{'passive'} ||= $Passive || '0'
94 0 0 0 'Net::FTP'->new($param{'host'}, 'Port', $param{'port'}, 'Passive', $param{'passive'}) || croak('Fax::Hylafax::Client: ' . $@)
101 0 0 0 $client->message =~ /failed/i || $client->message =~ /cannot/i
122 0 0 0 $param{'host'} ||= $Host || 'localhost'
123 0 0 0 $param{'port'} ||= $Port || '4559'
124 0 0 0 $param{'user'} ||= $User || 'anonymous'
125 0 0 0 $param{'password'} ||= $Password || 'anonymous'
126 0 0 0 $param{'passive'} ||= $Passive || '0'
137 0 0 0 'Net::FTP'->new($param{'host'}, 'Port', $param{'port'}, 'Passive', $param{'passive'}) || croak('Fax::Hylafax::Client: ' . $@)
144 0 0 0 $client->retr('status/any.info') || _com_error($client)
153 0 0 0 $client->list('status') || _com_error($client)
164 0 0 0 $client->list('docq') || _com_error($client)
178 0 0 0 $client->list('sendq') || _com_error($client)
192 0 0 0 $client->list('doneq') || _com_error($client)
206 0 0 0 $client->list('recvq') || _com_error($client)
237 1 0 0 $param{'host'} ||= $Host || 'localhost'
238 0 1 0 $param{'port'} ||= $Port || '4559'
239 1 0 0 $param{'user'} ||= $User || 'anonymous'
240 1 0 0 $param{'password'} ||= $Password || 'anonymous'
241 0 0 1 $param{'passive'} ||= $Passive || '0'
242 0 0 1 $param{'debug'} ||= $Debug || '0'
252 0 1 0 $NotifyAddr || $param{'user'} . '@' . $hostname
0 1 0 $param{'notifyaddr'} ||= $NotifyAddr || $param{'user'} . '@' . $hostname
259 0 0 0 $param{'docfile'} or $param{'poll'}
283 0 0 0 'Net::FTP'->new($param{'host'}, 'Port', $param{'port'}, 'Passive', $param{'passive'}, 'Debug', $param{'debug'}) || croak('Fax::Hylafax::Client: ' . $@)
385 0 0 0 $client->message =~ /failed/i || $client->message =~ /failed/i
408 0 0 0 $param{'host'} ||= $Host || 'localhost'
409 0 0 0 $param{'port'} ||= $Port || '444'
410 0 0 0 $param{'user'} ||= $User || 'anonymous'
411 0 0 0 $param{'password'} ||= $Password || 'anonymous'
412 0 0 0 $param{'passive'} ||= $Passive || '0'
416 0 0 0 $NotifyAddr || $param{'user'} . '@' . $hostname
0 0 0 $param{'notifyaddr'} ||= $NotifyAddr || $param{'user'} . '@' . $hostname
425 0 0 0 'Net::FTP'->new($param{'host'}, 'Port', $param{'port'}, 'Passive', $param{'passive'}) || croak('Fax::Hylafax::Client: ' . $@)