line |
true |
false |
branch |
64
|
0 |
0 |
unless (defined $class) |
93
|
0 |
0 |
unless ($self) |
101
|
0 |
0 |
unless ($namefile) |
110
|
0 |
0 |
if (open FILE, $namefile) { } |
120
|
0 |
0 |
if ($file eq '') |
141
|
0 |
0 |
unless ($self) |
148
|
0 |
0 |
if (not $string or $string eq '') |
154
|
0 |
0 |
if ($string =~ /script\_id\(([^\)]*)\);/) { } |
|
0 |
0 |
elsif ($string =~ /plug\_set\_id\(([^\,]*),([^\)]*)\)/) { } |
157
|
0 |
0 |
if (not $id or $id eq '') |
166
|
0 |
0 |
if (not $id or $id eq '') |
193
|
0 |
0 |
unless ($self) |
199
|
0 |
0 |
if (@_) { } |
202
|
0 |
0 |
if (exists $$self{'PLUGIN_ID'} and $$self{'PLUGIN_ID'} ne '') { } |
221
|
0 |
0 |
unless ($self) |
227
|
0 |
0 |
if (@_) { } |
232
|
0 |
0 |
if (exists $$self{'FILENAME'} and $$self{'FILENAME'} ne '') { } |
251
|
0 |
0 |
unless ($self) |
258
|
0 |
0 |
if (not $file or $file eq '') |
263
|
0 |
0 |
if ($file =~ /script\_cve\_id\(\"([^\)]*)\"\)/o) { } |
266
|
0 |
0 |
if (my $cve or $cve eq '') |
289
|
0 |
0 |
unless ($self) |
296
|
0 |
0 |
if (not $file or $file eq '') |
301
|
0 |
0 |
if ($file =~ /script\_bugtraq\_id\(([^\)]*)\)/o) { } |
304
|
0 |
0 |
if (not $bid or $bid eq '') |
327
|
0 |
0 |
unless ($self) |
334
|
0 |
0 |
if (not $file or $file eq '') |
339
|
0 |
0 |
if ($file =~ /script\_version\s*\(\s*(\"|\')([^\1\)]*)\1\s*\)\s*\;/mo) { } |
342
|
0 |
0 |
if (not $version or $version eq '') |
364
|
0 |
0 |
unless ($self) |
371
|
0 |
0 |
if (not $file or $file eq '') |
376
|
0 |
0 |
if ($file =~ /name\[\"english\"\]\s*\=\s*\"([^\"]*)\"\s*\;/mo) { } |
|
0 |
0 |
elsif ($file =~ /script\_name\s*\(.*english\:\s*\"([^\"]*)\"\s*,?/mo) { } |
379
|
0 |
0 |
if (not $name or $name eq '') |
387
|
0 |
0 |
if (not $name or $name eq '') |
409
|
0 |
0 |
unless ($self) |
416
|
0 |
0 |
if (not $file or $file eq '') |
421
|
0 |
0 |
if ($file =~ /summary\[\"english\"\]\s*\=\s*\"([^\"]*)\"\s*\;/mo) { } |
|
0 |
0 |
elsif ($file =~ /script\_summary\s*\(.*english\:\s*\"([^\"]*)\"\s*,?/mo) { } |
423
|
0 |
0 |
if (not $summary or $summary eq '') |
430
|
0 |
0 |
if (not $summary or $summary eq '') |
453
|
0 |
0 |
unless ($self) |
460
|
0 |
0 |
if (not $file or $file eq '') |
466
|
0 |
0 |
if ($file =~ /desc\[\"english\"\]\s*\=\s*\'\s*([^\']*)\'\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\[\"english\"\]\s*\=\s*\"\s*([^\"]*)\"\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\[\"english\"\]\s*\=\s*string\s*\(\s*\"\s*([^\)]*)\"\s*\)\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\[\"english\"\]\s*\=\s*string\s*\(\s*\"\s*([^\)]*)\"\s*\)\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\s*\=\s*string\s*\(\s*\"\s*([^\)]*)\"\s*\)\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\s*\=\s*string\s*\(\s*\'\s*([^\)]*)\'\s*\)\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\s*\=\s*\"\s*([^\"]*)\"\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /desc\s*\=\s*\'\s*([^\']*)\'\s*\;/so) { } |
|
0 |
0 |
elsif ($file =~ /script\_description\s*\(.*english\:\s*string\s*\(\s*\"\s*([^\"\)]*)\"\s*\),?/so) { } |
|
0 |
0 |
elsif ($file =~ /script\_description\s*\(.*english\:\s*string\s*\(\s*\'\s*([^\'\)]*)\'\s*\),?/so) { } |
|
0 |
0 |
elsif ($file =~ /script\_description\s*\(\s*english\:\s*[^\"]*\"\s*([^\"\)]*)\"\s*,?/osx) { } |
|
0 |
0 |
elsif ($file =~ /script\_description\s*\(\s*english\:\s*[^\']*\'\s*([^\'\)]*)\'\s*,?/osx) { } |
496
|
0 |
0 |
if ($desc eq '') |
501
|
0 |
0 |
if ($desc =~ /\bSolutions?\s*:\s*/iso) |
504
|
0 |
0 |
if ($desc =~ /\bSee also\s*:\s*/iso) |
507
|
0 |
0 |
if ($desc =~ /\bRisk Factor\s*:\s*/iso) { } |
|
0 |
0 |
elsif ($desc =~ /\bRisk\s*:\s*/iso) { } |
532
|
0 |
0 |
unless ($self) |
539
|
0 |
0 |
if (not $file or $file eq '') |
545
|
0 |
0 |
if ($file =~ /\bSolutions?\s*:\s*([^\"]*)\"\s*\)?\s*\;/iso) { } |
|
0 |
0 |
elsif ($file =~ /\bSolutions?\s*:\s*([^\']*)\'\s*\)?\s*\;/iso) { } |
555
|
0 |
0 |
if ($sol eq '') |
560
|
0 |
0 |
if ($sol =~ /\bSee also\s*:\s*/iso) |
563
|
0 |
0 |
if ($sol =~ /\bRisk Factor\s*:\s*/iso) { } |
|
0 |
0 |
elsif ($sol =~ /\bRisk\s*:\s*/iso) { } |
588
|
0 |
0 |
unless ($self) |
595
|
0 |
0 |
if (not $file or $file eq '') |
601
|
0 |
0 |
if ($file =~ /\bRisk Factor\s*:\s*(critical|high|serious|medium|low|none)/imo) { } |
|
0 |
0 |
elsif ($file =~ /\bRisk\s*:\s*(critical|high|serious|medium|low|none)/imo) { } |
612
|
0 |
0 |
if ($risk eq '') |
631
|
0 |
0 |
unless ($self) |
638
|
0 |
0 |
if (not $file or $file eq '') |
644
|
0 |
0 |
if ($file =~ /family\[\"english\"\]\s*\=\s*\"([^\"]*)\"\s*\;/mo) { } |
|
0 |
0 |
elsif ($file =~ /script\_family\s*\(.*english\:\s*\"([^\"]*)\"\s*,?/mo) { } |
654
|
0 |
0 |
if ($family eq '') |
680
|
0 |
0 |
unless ($self) |
687
|
0 |
0 |
if (not $file or $file eq '') |
692
|
0 |
0 |
if ($file =~ /script\_category\s*\((ACT\_(INIT|SCANNER|SETTINGS|GATHER\_INFO|ATTACK|MIXED\_ATTACK|DESTRUCTIVE\_ATTACK|DENIAL|KILL\_HOST))\)/mo) { } |
694
|
0 |
0 |
if (not $categ or $categ eq '') |
716
|
0 |
0 |
unless ($self) |
723
|
0 |
0 |
if (not $file or $file eq '') |
728
|
0 |
0 |
if ($file =~ /script\_copyright\s*\([^\"]*\"([^\"]*)\"/mo) { } |
730
|
0 |
0 |
if (not $cright or $cright eq '') |
743
|
0 |
0 |
unless ($self) |
749
|
0 |
0 |
if (@_) { } |
752
|
0 |
0 |
if (exists $$self{'NASL'} and $$self{'NASL'} != 0) { } |
771
|
0 |
0 |
unless ($self) |
778
|
0 |
0 |
if (not $file or $file eq '') |
783
|
0 |
0 |
if ($file =~ /register\_service/mo) |
802
|
0 |
0 |
unless ($self) |
809
|
0 |
0 |
if (not $file or $file eq '') |
814
|
0 |
0 |
if ($self->register_service) |
816
|
0 |
0 |
if (not $1 or $1 eq '') |
855
|
0 |
0 |
unless (defined $self) |
859
|
0 |
0 |
if (@_) { } |
862
|
0 |
0 |
if (exists $$self{'ERROR'} and $$self{'ERROR'} ne '') { } |
872
|
0 |
0 |
unless (defined $self) |
876
|
0 |
0 |
if (@_) { } |
879
|
0 |
0 |
if (exists $$self{'RAWERROR'} and $$self{'RAWERROR'} ne '') { } |
889
|
0 |
0 |
unless (defined $self) |
900
|
0 |
0 |
unless (defined $self) |
912
|
0 |
0 |
unless (defined $self) |