lib/Nmap/Scanner/ScanInfo.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/RunStats/Finished.pm ↑ Summary lib/Nmap/Scanner/Service.pm »
1  
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use Class::Generate qw(class);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 class 'Nmap::Scanner::ScanInfo' => {
6 qw(type $
7 protocol $
8 numservices $
9 services $),
10 '&as_xml' => q!
11
12 return qq(<scaninfo type="$type" protocol="$protocol" ) .
13 qq(numservices="$numservices" services="$services"/>\n);
14  
15 !
16 };
17  
18 =pod
19  
20 =head1 DESCRIPTION
21  
22 This class represents Nmap Summary/scan information.
23  
24 =head1 PROPERTIES
25  
26 =head1 DESCRIPTION
27  
28 This class represents Nmap Summary/scan information.
29  
30 =head1 PROPERTIES
31  
32 =head2 type()
33  
34 =head2 protocol()
35  
36 =head2 numservices()
37  
38 =head2 services()
39  
40 =cut
41  
42 3 1;
« lib/Nmap/Scanner/RunStats/Finished.pm ↑ Summary lib/Nmap/Scanner/Service.pm »