lib/Nmap/Scanner/ExtraPorts.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Nmap/Scanner/Distance.pm ↑ Summary lib/Nmap/Scanner/Host.pm »
1  
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 3 ▶use Class::Generate qw(class);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 class 'Nmap::Scanner::ExtraPorts' => {
7 qw(state $ count $),
8 '&as_xml' => q!qq(<extraports state="$self->{state}" ) .
9 qq(count="$self->{count}"/>);!
10  
11 };
12  
13 =pod
14  
15 =head1 DESCRIPTION
16  
17 This class holds information on ports found to be not
18 open on a host.
19  
20 =head2 state()
21  
22 State of the non-open ports: 'closed' or 'filtered.'
23  
24 =head2 count()
25  
26 Number of non-open ports found.
27  
28 =cut
29  
30 3 1;
« lib/Nmap/Scanner/Distance.pm ↑ Summary lib/Nmap/Scanner/Host.pm »