Sha256: da6a3a489fc782cd7d6408887d6e2846dcc6ad45d35a327b03931b7147295b62
Contents?: true
Size: 808 Bytes
Versions: 5
Compression:
Stored size: 808 Bytes
Contents
=begin Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com> This file is part of the Arachni Framework project and is subject to redistribution and commercial restrictions. Please see the Arachni Framework web site for more information on licensing and terms of use. =end class Arachni::Reporters::XML # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::Metrics < Arachni::Plugin::Formatter def run( xml ) results.each do |category, data| xml.send( category ) { data.each do |k, v| if category == 'platforms' v = v.join( ',' ) end xml.send k, v end } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems