Condition Coverage

blib/lib/Acme/ConspiracyTheory/Random.pm
Criterion Covered Total %
condition 136 193 70.4


and 3 conditions

line !l l&&!r l&&r condition
143 20819 12043 188 $redstring->{'protagonists'} and $redstring->{'protagonists'}{'name'} eq $xx->{'name'}
31596 1252 14 $redstring->{'antagonists'} and $redstring->{'antagonists'}{'name'} eq $xx->{'name'}
148 28805 1697 2346 $name =~ /ists$/u and not $name =~ /^the/u
1823 704 371 369 $group2 and $group3
2139 2965 3192 15241 $redstring->{'protagonists'} and not $redstring->{'antagonists'}
6157 7551 7690 $redstring->{'protagonists'} and not $redstring->{'antagonists'} and _RANDOM_((0, 1))

or 2 conditions

line l !l condition
32 3476 0 shift() // {}
65 32848 0 shift() // {}
155 1476 0 shift() // {}
176 347 0 shift() // {}
194 492 0 shift() // {}
210 212 0 shift() // {}
227 2916 0 shift() // {}
248 356 0 shift() // {}
264 1574 0 shift() // {}
285 505 0 shift() // {}
307 266 0 shift() // {}
330 967 0 shift() // {}
353 256 0 shift() // {}
369 257 0 shift() // {}
387 1661 0 shift() // {}
413 1334 0 shift() // {}
441 6201 0 shift() // {}
471 1053 0 shift() // {}
491 1444 0 shift() // {}
500 467 0 shift() // {}
519 1951 900 shift() // {}
538 3914 0 shift() // {}
560 3444 0 shift() // {}
577 460 0 shift() // {}
603 934 0 shift() // {}
627 1890 447 shift() // {}
654 1453 0 shift() // {}
720 2794 0 shift() // {}
753 1387 0 shift() // {}
769 1420 0 shift() // {}
785 740 5283 shift() // {}
808 0 2781 shift() // {}
829 537 0 shift() // {}
850 0 28738 shift() // {}
866 21398 0 shift() // {}
1214 8597 316 shift() // {}
1263 5 4 $redstring->{'random_place'} //= "Somerset"
1268 0 9 $redstring->{'random_place'} //= "Egypt"
1273 0 3 $redstring->{'random_place'} //= "Scotland"
1278 1 3 $redstring->{'random_place'} //= "Alabama"
1283 1 4 $redstring->{'random_place'} //= "Alabama"
1288 0 2 $redstring->{'random_place'} //= "Switzerland"
1293 1 6 $redstring->{'random_place'} //= "New York"
1313 3 4 $redstring->{'random_place'} //= "Greenland"
1335 1 8 $redstring->{'random_place'} //= "Germany"
1340 2 12 $redstring->{'random_place'} //= "Australia"
1632 1397 20001 shift() // {}
1851 0 168 $redstring->{'topic'} //= {"name", "adoption", "plural", 0}
1855 0 161 $redstring->{'topic'} //= {"name", "adoption", "plural", 0}
2010 0 124 $redstring->{'celebrity'} //= {"name", "Louis Armstrong", "female", 0}
2015 0 139 $redstring->{'real_place'} //= "Antarctica"
2196 21398 0 shift() // {}
2217 677 85228 $calcs{$sum} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
143 188 275 32587 $redstring->{'protagonists'} and $redstring->{'protagonists'}{'name'} eq $xx->{'name'} or $redstring->{'antagonists'} and $redstring->{'antagonists'}{'name'} eq $xx->{'name'}
633 145 164 0 $redstring->{$actor}{'shortname'} // $redstring->{$actor}{'name'}
936 2548 1387 17463 $redstring->{'victim'} // $redstring->{'physicist'}
1387 1420 16043 ($redstring->{'victim'} // $redstring->{'physicist'}) // $redstring->{'biologist'}
957 1387 1420 18591 $redstring->{'physicist'} // $redstring->{'biologist'}
1004 1323 339 19736 $redstring->{'real_animal'} // $redstring->{'fake_animal'}
1109 5975 897 14526 $redstring->{'random_place'} // $redstring->{'bad_place'}
1113 1 0 6871 $redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}
0 5585 1286 ($redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}) // $redstring->{'shady_group'}{'name'}
5585 1286 0 (($redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}) // $redstring->{'shady_group'}{'name'}) // shady_group($redstring)
1126 12641 16097 0 $redstring->{$actor}{'shortname'} // $redstring->{$actor}{'name'}
1149 1409 406 26923 $redstring->{'real_animal'} // $redstring->{'fake_animal'}
1249 0 9 0 $redstring->{'antagonist'} //= $redstring->{'shady_group'}
1534 73 157 0 $redstring->{'shady_group'}{'name'} // shady_group($redstring)
1550 70 172 0 $redstring->{'shady_group'}{'name'} // shady_group($redstring)
1594 27 211 0 $redstring->{'victim'} // victim($redstring)
1606 1 229 0 $redstring->{'real_animal'} //= $extinct
1687 135 181 0 $redstring->{'protagonists'}{'shortname'} // $protagonists
1688 135 181 0 $redstring->{'antagonists'}{'shortname'} // $antagonists
1775 14 490 0 $redstring->{'protagonists'} //= $redstring->{'shady_group'}
1786 630 814 0 $redstring->{'protagonists'}{'shortname'} // $group
1814 369 363 0 $redstring->{'antagonists'} //= $redstring->{'shady_group'}
2140 3433 4257 0 $redstring->{'protagonists'}{'shortname'} // $redstring->{'protagonists'}{'name'}