blib/lib/Lingua/Word/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 20 | 40.0 |
line | true | false | branch |
---|---|---|---|
56 | 1 | 1 | if ($self->{'file'} and -e $self->{'file'}) { } |
0 | 1 | elsif ($self->{'dbname'}) { } | |
70 | 0 | 1 | unless $fh->open("< $self->{'file'}") |
88 | 0 | 0 | unless my $dbh = 'DBI'->connect($dsn, $self->{'dbuser'}, $self->{'dbpass'}, {'RaiseError', 1, 'AutoCommit', 1}) |
94 | 0 | 0 | unless $sth->execute |
100 | 0 | 0 | if $DBI::errstr |
102 | 0 | 0 | unless $sth->finish |
104 | 0 | 0 | unless $dbh->disconnect |
243 | 1209 | 1368 | $chunk =~ /0/ ? : |
244 | 1209 | 1368 | $chunk =~ /0/ ? : |