Sha256: 3ac5533828c41359a0dd9168edbd5b68d0e4108013eb5b610b38b257c1f8e97c
Contents?: true
Size: 889 Bytes
Versions: 7
Compression:
Stored size: 889 Bytes
Contents
=begin Copyright 2010-2014 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 # XML formatter for the results of the HealthMap plugin # # @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> class PluginFormatters::HealthMap < Arachni::Plugin::Formatter def run( xml ) xml.map { results['map'].each do |i| xml.send( i.keys[0], i.values[0] ) end } xml.total results['total'] xml.with_issues results['with_issues'] xml.without_issues results['without_issues'] xml.issue_percentage results['issue_percentage'] end end end
Version data entries
7 entries across 7 versions & 1 rubygems