blib/lib/Math/Symbolic/Custom/LaTeXDumper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 52 | 44.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 2 | 0 | 0 | exists $config{'variable_mappings'} and ref $config{'variable_mappings'} eq 'HASH' |
255 | 0 | 1 | 0 | not $config{'no_sqrt'} and length $_[1] > 2 |
1 | 0 | 0 | not $config{'no_sqrt'} and length $_[1] > 2 and not $_[1] =~ /\{|\}|\^|_|\-|\\|[A-DF-Za-df-z]/ | |
1 | 0 | 0 | not $config{'no_sqrt'} and length $_[1] > 2 and not $_[1] =~ /\{|\}|\^|_|\-|\\|[A-DF-Za-df-z]/ and $_[1] - 0.5 < 1e-28 | |
324 | 5 | 4 | 0 | $_[0]->term_type == 0 and $_[0]->type == 3 |
376 | 4 | 0 | 0 | $type == 3 and not $config{'no_fractions'} |
379 | 7 | 0 | 0 | $$precs[$i] == $prec and $prec == 50 |
4 | 3 | 0 | $i == 1 and $type == 2 || $type == 0 || $type == 1 | |
2 | 0 | 0 | $obj->term_type == 1 and $obj->value < 0 | |
1 | 2 | 0 | $i == 1 and $type == 2 || $type == 0 || $type == 1 and ($obj->term_type == 1 and $obj->value < 0) | |
4 | 2 | 1 | $obj->term_type == 0 and $obj->type == 4 |
line | l | !l | condition |
---|---|---|---|
323 | 0 | 9 | $_[0]{'__fract_depth'} || 0 |
390 | 0 | 4 | $$self{'__fract_depth'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
233 | 0 | 0 | 0 | not $config{'max_fractions'} or $config{'max_fractions'} > $_[2] |
379 | 0 | 0 | 7 | $$precs[$i] < $prec or $$precs[$i] == $prec and $prec == 50 |
2 | 0 | 1 | $type == 2 || $type == 0 || $type == 1 | |
0 | 0 | 7 | $i == 1 and $type == 2 || $type == 0 || $type == 1 and ($obj->term_type == 1 and $obj->value < 0) or $obj->term_type == 0 and $obj->type == 4 | |
0 | 0 | 7 | $$precs[$i] < $prec or $$precs[$i] == $prec and $prec == 50 or ($i == 1 and $type == 2 || $type == 0 || $type == 1 and ($obj->term_type == 1 and $obj->value < 0) or $obj->term_type == 0 and $obj->type == 4) |