Branch Coverage

blib/lib/MetaMap/DataStructures/Token.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
82 284 206 if ($input =~ /'(.*)'/)
94 386 77 if ($text =~ /tag\(([a-z]+)\)/)
100 379 84 if ($text =~ /lexmatch\(\[([^\[\]]+)\]/)
102 2 377 if ($lexMatch =~ /'(.*)'/)
109 0 463 if ($text =~ /features\(\[([^\[\]]+)\]\)/)
116 386 77 if ($text =~ /tokens\(\[([^\[\]]+)\]\)/)
153 0 5805 if ($self->{'text'} ne $other->{'text'} or $self->{'matchedText'} ne $other->{'matchedText'} or $self->{'type'} ne $other->{'type'} or $self->{'posTag'} ne $other->{'posTag'} or $self->{'features'} ne $other->{'features'} or $self->{'numWords'} ne $other->{'numWords'})