Branch Coverage

lib/Pod/Definitions/Heuristic.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
29 0 0 if defined $new
62 1 13 if ($original =~ /^(?:(?:what|do|does|a|an|the)\s+)+((?:error|message)\s+)"?(.*)\z/iu)
74 4 9 if ($original =~ /^((?:(?:who|what|when|where|which|why|how|is|are|did|a|an|the|do|does|don't|doesn't|can|not|I|my|need|to|about|there|much|many)\s+|go\s+for|error\s+"\.*|message\s+"\.*)+)(.*)$/iu)
83 1 8 if ($original =~ /^(\w+ing(?:\s+and\s+\w+ing)?)\s+(a|an|the|some|any|all|to|from|your)?\b\s*(.*)$/u)
90 0 8 if ($original =~ /^[\$\@]\w+\s*=\s*(?:\$\w+\s*->\s*)?(\w+)/u)
94 0 8 if ($original =~ /^\$?\w+\s*->\s*(\w+)/u)
98 0 8 if ($original =~ /^\w+(?:::\w+)+\s*->\s*(\w+)/u)
102 1 7 if ($original =~ /^(\w+)\s*\(\s*[\$\@%]\w+/u)
106 0 7 if ($original =~ /^\([\$\@%][^)]+\)\s*=\s*(?:\$\w+\s*->\s*)?(\w+)/u)
110 0 7 if ($original =~ /^((?:\w|_)+)\s+(?:(?:BLOCK|EXPR|LIST|COUNT|ARRAY\d*|VALUE|STRING|ITEM|\.+)\s*)+/u)