Method: SSLyze::XML#total_scan_time

Defined in:
lib/sslyze/xml.rb

#total_scan_timeFloat?

Duration of the scan.

Returns:

  • (Float, nil)


80
81
82
83
84
# File 'lib/sslyze/xml.rb', line 80

def total_scan_time
  @total_scan_time ||= if (attr = @doc.at_xpath('/document/results/@totalScanTime'))
                         attr.value.to_f
                       end
end