blib/lib/Net/DRI/Protocol/RRP/Core/Host.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 35 | 5.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
82 | 0 | 3 | 0 | defined $hostname and ref $hostname |
83 | 0 | 0 | 3 | defined $hostname and $hostname |
176 | 0 | 0 | 0 | defined $hostname and $hostname |
178 | 0 | 0 | 0 | defined $nsadd and ref $nsadd |
0 | 0 | 0 | defined $nsadd and ref $nsadd and $nsadd->can('get_names') | |
179 | 0 | 0 | 0 | defined $nsdel and ref $nsdel |
0 | 0 | 0 | defined $nsdel and ref $nsdel and $nsdel->can('get_names') | |
186 | 0 | 0 | 0 | defined $newname and $newname |
194 | 0 | 0 | 0 | defined $ns and ref $ns |
line | l | !l | condition |
---|---|---|---|
193 | 0 | 0 | $extra ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
164 | 0 | 0 | 0 | grep {not /^(?:ip|name)$/;} $todo->types or grep {not /^(?:add|del)$/;} $todo->types('ip') |
0 | 0 | 0 | grep {not /^(?:ip|name)$/;} $todo->types or grep {not /^(?:add|del)$/;} $todo->types('ip') or grep {not /^(?:set)$/;} $todo->types('name') |