lib/Nmap/Scanner/Distance.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/Address.pm ↑ Summary lib/Nmap/Scanner/ExtraPorts.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::Distance' => {
6 qw(value $),
7 '&as_xml' => q!
8
9 return qq(<distance value="$value"/>);
10  
11 !
12 };
13  
14 =pod
15  
16 =head1 DESCRIPTION
17  
18 This class represents the hop distance nmap estimates this host is from
19 the host running the scan.
20  
21 =head1 PROPERTIES
22  
23 =head2 value()
24  
25 =cut
26  
27 3 1;
« lib/Nmap/Scanner/Address.pm ↑ Summary lib/Nmap/Scanner/ExtraPorts.pm »