lib/Nmap/Scanner/RunStats/Finished.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.pm ↑ Summary lib/Nmap/Scanner/ScanInfo.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::RunStats::Finished' => {
7 qw(time $
8 timestr $),
9 '&as_xml' => q!qq(<finished time="$self->{time}" ) .
10 qq(timestr="$self->{timestr}"/>)!
11 };
12  
13 3 1;
14  
15 =pod
16  
17 =head1 DESCRIPTION
18  
19 This class represents Nmap scan time finishing information
20  
21 =head1 PROPERTIES
22  
23 =head2 time() - when scan finished, in seconds since the epoch
24  
25 =head2 timestr() - ctime representation of finish time
26  
27 =cut
« lib/Nmap/Scanner/RunStats.pm ↑ Summary lib/Nmap/Scanner/ScanInfo.pm »