Condition Coverage

blib/lib/Acme/ConspiracyTheory/Random.pm
Criterion Covered Total %
condition 128 182 70.3


and 3 conditions

line !l l&&!r l&&r condition
137 20741 11054 176 $redstring->{'protagonists'} and $redstring->{'protagonists'}{'name'} eq $xx->{'name'}
30831 961 3 $redstring->{'antagonists'} and $redstring->{'antagonists'}{'name'} eq $xx->{'name'}
142 27958 1650 2184 $name =~ /ists$/u and not $name =~ /^the/u
2034 3317 2310 15743 $redstring->{'protagonists'} and not $redstring->{'antagonists'}
5627 7855 7888 $redstring->{'protagonists'} and not $redstring->{'antagonists'} and _RANDOM_((0, 1))

or 2 conditions

line l !l condition
32 3773 0 shift() // {}
59 31792 0 shift() // {}
149 1651 0 shift() // {}
169 276 0 shift() // {}
187 499 0 shift() // {}
203 238 0 shift() // {}
218 1508 0 shift() // {}
238 400 0 shift() // {}
253 1596 0 shift() // {}
271 542 0 shift() // {}
289 274 0 shift() // {}
311 1018 0 shift() // {}
332 302 0 shift() // {}
348 268 0 shift() // {}
366 238 0 shift() // {}
387 863 0 shift() // {}
415 6096 0 shift() // {}
445 558 0 shift() // {}
465 516 0 shift() // {}
484 2067 933 shift() // {}
503 3410 0 shift() // {}
525 2922 0 shift() // {}
542 502 0 shift() // {}
567 971 0 shift() // {}
591 2072 484 shift() // {}
618 1521 0 shift() // {}
684 2911 0 shift() // {}
714 1474 0 shift() // {}
730 1547 0 shift() // {}
745 7 5546 shift() // {}
764 0 2721 shift() // {}
783 605 0 shift() // {}
802 0 27618 shift() // {}
816 21370 0 shift() // {}
1163 9156 388 shift() // {}
1212 1 4 $redstring->{'random_place'} //= 'Somerset'
1217 4 9 $redstring->{'random_place'} //= 'Egypt'
1222 2 6 $redstring->{'random_place'} //= 'Scotland'
1227 1 4 $redstring->{'random_place'} //= 'Alabama'
1232 0 2 $redstring->{'random_place'} //= 'Alabama'
1237 1 11 $redstring->{'random_place'} //= 'Switzerland'
1242 1 4 $redstring->{'random_place'} //= 'New York'
1262 0 7 $redstring->{'random_place'} //= 'Greenland'
1284 0 10 $redstring->{'random_place'} //= 'Germany'
1289 1 4 $redstring->{'random_place'} //= 'Australia'
1581 1369 20001 shift() // {}
1746 0 169 $redstring->{'topic'} //= {'name', 'adoption', 'plural', 0}
1750 0 154 $redstring->{'topic'} //= {'name', 'adoption', 'plural', 0}
1905 0 132 $redstring->{'celebrity'} //= {'name', 'Louis Armstrong', 'female', 0}
1910 0 145 $redstring->{'real_place'} //= 'Antarctica'
2091 21370 0 shift() // {}
2112 651 81837 $calcs{$sum} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
137 176 9 31786 $redstring->{'protagonists'} and $redstring->{'protagonists'}{'name'} eq $xx->{'name'} or $redstring->{'antagonists'} and $redstring->{'antagonists'}{'name'} eq $xx->{'name'}
597 159 196 0 $redstring->{$actor}{'shortname'} // $redstring->{$actor}{'name'}
886 2680 1474 17216 $redstring->{'victim'} // $redstring->{'physicist'}
1474 1547 15669 ($redstring->{'victim'} // $redstring->{'physicist'}) // $redstring->{'biologist'}
907 1474 1547 18349 $redstring->{'physicist'} // $redstring->{'biologist'}
954 1488 264 19618 $redstring->{'real_animal'} // $redstring->{'fake_animal'}
1059 5854 482 15034 $redstring->{'random_place'} // $redstring->{'bad_place'}
1063 2 0 6334 $redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}
0 4835 1499 ($redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}) // $redstring->{'shady_group'}{'name'}
4835 1499 0 (($redstring->{'antagonist'}{'name'} // $redstring->{'protagonist'}{'name'}) // $redstring->{'shady_group'}{'name'}) // shady_group($redstring)
1075 12283 15335 0 $redstring->{$actor}{'shortname'} // $redstring->{$actor}{'name'}
1098 1530 248 25840 $redstring->{'real_animal'} // $redstring->{'fake_animal'}
1198 0 4 0 $redstring->{'antagonist'} //= $redstring->{'shady_group'}
1483 68 167 0 $redstring->{'shady_group'}{'name'} // shady_group($redstring)
1499 76 169 0 $redstring->{'shady_group'}{'name'} // shady_group($redstring)
1543 38 219 0 $redstring->{'victim'} // victim($redstring)
1555 5 255 0 $redstring->{'real_animal'} //= $extinct
1636 167 221 0 $redstring->{'protagonists'}{'shortname'} // $protagonists
1637 167 221 0 $redstring->{'antagonists'}{'shortname'} // $antagonists
1724 16 483 0 $redstring->{'protagonists'} //= $redstring->{'shady_group'}
2035 3517 4371 0 $redstring->{'protagonists'}{'shortname'} // $redstring->{'protagonists'}{'name'}