| blib/lib/ThreatNet/Topic.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 11 | 14 | 78.5 | 
| line | true | false | branch | 
|---|---|---|---|
| 62 | 0 | 12 | ref $_[0] ? : | 
| 63 | 12 | 0 | defined $_[0] ? : | 
| 72 | 3 | 9 | unless $$self{'config'} =~ s/^(\S+)\s*// | 
| 73 | 0 | 9 | unless $$self{'URI'} = 'URI'->new("$1") | 
| 76 | 5 | 4 | unless $$self{'URI'}->scheme and $$self{'URI'}->scheme eq 'threatnet' | 
| 77 | 1 | 3 | unless $$self{'URI'}->authority and $$self{'URI'}->authority | 
| 78 | 1 | 2 | unless $$self{'URI'}->path and $$self{'URI'}->path |