Branch Coverage

blib/lib/NNexus/DB/API.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
35 0 8 unless $url and $domain
47 9 2 if ($url) { }
2 0 elsif ($objectid) { }
65 2 5 if ($concept and not $firstword)
70 2 5 if ($firstword and $category and $scheme and $objectid) { }
5 0 elsif ($objectid) { }
81 10 0 $$row{'tailwords'} ? :
92 2 0 if ($concept and not $firstword)
95 0 2 unless $firstword and $category and $objectid
107 0 15 unless $firstword || $concept and $category and $objectid and $link and $domain
108 12 3 unless $scheme
109 15 0 unless ($firstword)
113 0 15 unless ($firstword)
130 0 134 if ($domain and $domain ne 'all') { }
143 170 6 $row{'tailwords'} ? :
155 0 0 unless $objectid
165 0 3 unless $objectid and $conceptid
176 14 0 if ($conceptid) { }
0 0 elsif ($objectid) { }
207 0 23 if ($dbms eq 'mysql') { }
23 0 elsif ($dbms eq 'SQLite') { }