Condition Coverage

blib/lib/Traveller/System.pm
Criterion Covered Total %
condition 176 186 94.6


and 3 conditions

line !l l&&!r l&&r condition
145 4 565 124 $self->atmosphere != 13 and $self->temperature >= 10
569 38 86 $self->atmosphere != 13 and $self->temperature >= 10 and $self->temperature <= 11
149 4 651 38 $self->atmosphere != 13 and $self->temperature >= 12
185 58 406 229 $self->size >= 2 and $self->size <= 4
189 19 292 382 $self->population >= 1 and $self->population <= 5
205 579 80 34 $self->atmosphere <= 1 and $self->tech < 8
206 453 208 32 $self->atmosphere <= 3 and $self->tech < 5
207 500 178 15 $self->atmosphere == 4 || $self->atmosphere == 7 || $self->atmosphere == 9 and $self->tech < 3
210 661 16 16 $self->atmosphere == 10 and $self->tech < 8
211 683 4 6 $self->atmosphere == 11 and $self->tech < 9
212 683 5 5 $self->atmosphere == 12 and $self->tech < 10
213 689 4 0 $self->atmosphere == 13 and $self->atmosphere == 14
693 0 0 $self->atmosphere == 13 and $self->atmosphere == 14 and $self->tech < 5
215 693 0 0 $self->atmosphere == 15 and $self->tech < 8
227 240 56 397 $self->atmosphere >= 4 and $self->atmosphere <= 9
296 128 269 $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4
184 78 191 $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4 and $self->hydro <= 8
206 87 104 $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4 and $self->hydro <= 8 and $self->population >= 5
165 24 80 $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4 and $self->hydro <= 8 and $self->population >= 5 and $self->population <= 7
230 674 8 11 $self->size == 0 and $self->atmosphere == 0
682 0 11 $self->size == 0 and $self->atmosphere == 0 and $self->hydro == 0
231 590 0 103 $self->population == 0 and $self->government == 0
590 0 103 $self->population == 0 and $self->government == 0 and $self->law == 0
232 114 498 81 $self->atmosphere >= 2 and $self->hydro == 0
233 637 23 33 $self->atmosphere >= 10 and $self->hydro >= 1
234 287 60 346 $self->size >= 5 and $self->atmosphere >= 4
347 56 290 $self->size >= 5 and $self->atmosphere >= 4 and $self->atmosphere <= 9
116 65 225 $self->size >= 5 and $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4
121 75 150 $self->size >= 5 and $self->atmosphere >= 4 and $self->atmosphere <= 9 and $self->hydro >= 4 and $self->hydro <= 8
239 579 90 24 $self->atmosphere <= 1 and $self->hydro >= 1
240 642 22 29 $self->population >= 9 and &any(sub { $_ == $self->atmosphere; } , 0, 1, 2, 4, 7, 9)
241 103 427 163 $self->population >= 1 and $self->population <= 3
242 104 479 110 $self->tech >= 1 and $self->tech <= 5
243 453 67 173 $self->atmosphere <= 3 and $self->hydro <= 3
520 103 70 $self->atmosphere <= 3 and $self->hydro <= 3 and $self->population >= 6
244 266 156 271 $self->population >= 4 and $self->population <= 6
245 114 301 278 $self->atmosphere >= 2 and $self->atmosphere <= 5
415 151 127 $self->atmosphere >= 2 and $self->atmosphere <= 5 and $self->hydro <= 3
246 448 51 194 $self->population >= 6 and $self->population <= 8
499 155 39 $self->population >= 6 and $self->population <= 8 and &any(sub { $_ == $self->atmosphere; } , 6, 8)
256 103 536 54 $self->population and $self->government == 0
259 103 517 73 $self->population and $self->law == 0
261 383 289 21 $danger and $self->pirate

or 3 conditions

line l !l&&r !l&&!r condition
116 55 71 567 $atmosphere == 2 or $atmosphere == 3
119 71 77 545 $atmosphere == 3 or $atmosphere == 4
148 0 545 $atmosphere == 3 or $atmosphere == 4 or $atmosphere == 14
123 50 45 598 $atmosphere == 8 or $atmosphere == 9
126 32 4 657 $atmosphere == 10 or $atmosphere == 13
36 0 657 $atmosphere == 10 or $atmosphere == 13 or $atmosphere == 15
130 10 10 673 $atmosphere == 11 or $atmosphere == 12
139 69 45 579 $self->atmosphere == 0 or $self->atmosphere == 1
114 32 547 $self->atmosphere == 0 or $self->atmosphere == 1 or $self->atmosphere == 10
77 10 537 $self->atmosphere == 0 or $self->atmosphere == 1 or $self->atmosphere == 10 or $self->atmosphere == 11
42 10 527 $self->atmosphere == 0 or $self->atmosphere == 1 or $self->atmosphere == 10 or $self->atmosphere == 11 or $self->atmosphere == 12
152 58 74 561 $self->size <= 1 or $hydro < 0
162 37 10 646 $government < 0 or $self->population == 0
171 55 7 631 $law < 0 or $self->population == 0
186 240 56 397 $self->atmosphere <= 3 or $self->atmosphere >= 10
187 171 33 489 $self->hydro == 0 or $self->hydro == 9
194 74 74 545 $self->government == 0 or $self->government == 5
196 5 2 686 $self->government == 13 or $self->government == 14
207 148 45 500 $self->atmosphere == 4 || $self->atmosphere == 7 || $self->atmosphere == 9