Condition Coverage

lib/WWW/Workflowy.pm
Criterion Covered Total %
condition 20 58 34.4


and 3 conditions

line !l l&&!r l&&r condition
173 0 18 9 $stash and $stash->can($method)
226 3 0 0 $args{'guid'} and not $args{'url'}
2 1 0 $args{'url'} and $args{'url'} =~ m[workflowy.com/s/\w+$]
0 2 1 not $args{'guid'} and $args{'url'}
2 0 0 $args{'guid'} and $args{'url'}
0 0 0 $args{'username'} and $args{'password'}
265 3 0 0 $username and $password
407 2 0 0 $args{'node'} and not $node_id

or 2 conditions

line l !l condition
384 0 0 $$outline{'rootProjectChildren'} ||= []
386 0 1 $$parent_node{'ch'} ||= []
677 1 0 $$result_json{'results'}[0]{'new_polling_interval_in_ms'} || 1000
731 0 0 delete $args{'priority'} || 0
835 48 22 shift() || [$node]

or 3 conditions

line l !l&&r !l&&!r condition
190 0 0 18 $ref eq 'HASH' || $ref eq 'ARRAY'
298 0 0 0 $response->code == 301 or $response->code == 302
347 1 0 0 $shared_projectid ||= $$response_json{'projectTreeData'}{'mainProjectTreeInfo'}{'rootProject'}{'id'}
377 4 1 0 $args{'parent_id'} || $args{'parent_node'}{'id'}
396 1 3 0 $args{'node'} ||= _find_node($outline, $args{'node_id'})
730 0 0 0 delete $args{'parent_id'} || $$parent_node{'id'}
786 0 0 0 $action eq 'fetch' or $action eq 'read'
0 0 0 $action eq 'fetch' or $action eq 'read' or $action eq 'get'