Condition Coverage

blib/lib/Math/Symbolic/Custom/Equation.pm
Criterion Covered Total %
condition 37 75 49.3


and 3 conditions

line !l l&&!r l&&r condition
111 15 24 0 ref $proto and not defined $LHS
118 25 0 14 not defined $RHS and ref $LHS eq ""
25 0 14 not defined $RHS and ref $LHS eq "" and $LHS =~ /=/
187 0 0 68 defined $LHS and defined $RHS
222 0 0 33 defined $LHS and defined $RHS
244 0 0 33 defined $LHS_val and defined $RHS_val
265 0 0 0 defined $LHS and defined $RHS
273 0 0 0 defined $new_LHS and defined $new_RHS
294 0 0 0 defined $LHS and defined $RHS
302 0 0 0 defined $new_LHS and defined $new_RHS
316 0 0 0 defined $LHS and defined $RHS
339 0 0 0 defined $new_LHS and defined $new_RHS
467 0 0 0 defined $LHS and defined $RHS
495 0 0 23 defined $LHS and defined $RHS
692 451 62 35 $LHS->to_string ne $node->{'LHS'}->to_string and $RHS->to_string ne $node->{'RHS'}->to_string
719 432 75 41 $LHS->to_string ne $node->{'LHS'}->to_string and $RHS->to_string ne $node->{'RHS'}->to_string
755 125 23 0 $t->op2->term_type == 1 and $t->op2->value == 0
763 112 36 0 $t->op1->term_type == 1 and $t->op1->value == 0
834 145 38 0 $t->op2->term_type == 1 and $t->op2->value == 0
842 138 45 0 $t->op1->term_type == 1 and $t->op1->value == 0

or 3 conditions

line l !l&&r !l&&!r condition
108 24 15 0 ref $proto || $proto
615 1005 259 526 exists $nodes_done{$new_node} or exists $nodes_todo{$new_node}
618 153 41 332 $hash->{$new_node}{'operation'} =~ /Factor/ or $hash->{$new_node}{'operation'} =~ /Collect/
789 1 32 4 $t->op2->to_string eq "0.5" or $t->op2->to_string eq "1 / 2"
868 0 16 9 $t->op2->to_string eq "0.5" or $t->op2->to_string eq "1 / 2"