lib/Nmap/Scanner/Address.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Nmap/Scanner.pm ↑ Summary lib/Nmap/Scanner/Distance.pm »
1 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use Class::Generate qw(class);
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 3 class 'Nmap::Scanner::Address' => {
5 qw(addr $
6 addrtype $
7 vendor $),
8 '&as_xml' => q!return qq(<address addr="$addr" ) .
9 qq(addrtype="$addrtype" ) .
10 qq(vendor="$vendor"/>);!
11 };
12  
13 =pod
14  
15 =head1 DESCRIPTION
16  
17 This class represents an host address as represented by the scanning output from
18 nmap.
19  
20 =head2 addr()
21  
22 =head2 addrtype()
23  
24 =head2 vendor()
25  
26 =cut
« lib/Nmap/Scanner.pm ↑ Summary lib/Nmap/Scanner/Distance.pm »