blib/lib/Game/CharacterSheetGenerator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 82 | 112 | 73.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
340 | 433 | 18583 | 18312 | $translation->{$en} and $lang eq "de" |
515 | 22 | 1 | 43 | $char->{$id} and not defined $$char{"$id-bonus"} |
519 | 4 | 0 | 7 | $char->{'cha'} and not defined $char->{'reaction'} |
528 | 4 | 0 | 7 | $char->{'thac0'} and not defined $char->{'melee-thac0'} |
531 | 4 | 0 | 7 | $char->{'thac0'} and not defined $char->{'range-thac0'} |
534 | 4 | 0 | 7 | $char->{'thac0'} and not defined $char->{'other-thac0'} |
819 | 63 | 9 | 2 | good($str) and $hp > 6 |
72 | 1 | 1 | good($str) and $hp > 6 and not $shield | |
880 | 184 | 26 | 94 | $class eq T('fighter') || $class eq T('elf') and average($dex) |
1507 | 82 | 184 | 36 | average($con) and $best eq "str" |
71 | 123 | 72 | average($int) and good($str, $dex) | |
194 | 26 | 46 | average($int) and good($str, $dex) and d6() > 2 | |
158 | 21 | 41 | average($str, $dex, $con) == 3 and good($str, $dex, $con) | |
179 | 11 | 30 | average($str, $dex, $con) == 3 and good($str, $dex, $con) and d6() > 2 | |
56 | 105 | 29 | average($str, $dex, $con) >= 2 and $best eq 'str' || $best eq 'con' |
line | l | !l | condition |
---|---|---|---|
353 | 9 | 4 | $char->{'charsheet'} || 'Charactersheet.svg' |
450 | 143 | 12 | $char->{$key} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
395 | 0 | 0 | 490 | $tag eq "strong" or $tag eq "b" |
0 | 0 | 490 | $tag eq "em" or $tag eq "i" | |
569 | 0 | 0 | 304 | $class eq T("hireling") or $class eq T("porter") |
580 | 0 | 1 | 304 | $xp or $level > 1 |
1 | 0 | 304 | $xp or $level > 1 or not $class | |
865 | 36 | 0 | 268 | $class eq T("dwarf") or member(T("battle axe"), @property) |
880 | 74 | 46 | 184 | $class eq T('fighter') || $class eq T('elf') |
950 | 0 | 0 | 7 | $class eq T("dwarf") or $class eq T("halfling") |
1053 | 5032 | 0 | 4 | not defined $char->{$key} or $char->{$key} eq "" |
1469 | 0 | 0 | 305 | $class eq T('hireling') || $class eq T('porter') |
1496 | 0 | 0 | 305 | $class eq T("hireling") or $class eq T("porter") |
1507 | 10 | 29 | 95 | $best eq 'str' || $best eq 'con' |
39 | 8 | 143 | average($str, $dex, $con) >= 2 and $best eq 'str' || $best eq 'con' or good($str, $dex, $con) >= 2 | |
1552 | 74 | 36 | 195 | $class eq T("fighter") or $class eq T("dwarf") |
46 | 30 | 119 | $class eq T("elf") or $class eq T("halfling") | |
1566 | 63 | 46 | 196 | $class eq T("magic-user") or $class eq T("elf") |
1573 | 0 | 0 | 305 | $class eq T("hireling") or $class eq T("porter") |
1635 | 0 | 0 | 0 | $char->{'class'} eq T("elf") or $char->{'race'} eq T("elf") |
0 | 0 | 0 | $char->{'class'} eq T("dwarf") or $char->{'race'} eq T("dwarf") | |
1699 | 0 | 35 | 109 | /starting gold:/u or /gold$/u |
1700 | 0 | 39 | 70 | /Startgold:/u or /Gold$/u |