Sha256: 6f1b1e2ecc6ba20c09b7f053f3486fae396283408a8b3277d7c567070a368170
Contents?: true
Size: 793 Bytes
Versions: 5
Compression:
Stored size: 793 Bytes
Contents
=begin Copyright 2010-2022 Ecsypno <http://www.ecsypno.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