Sha256: c6f2237b08e397b06824468f5449aba045aa227732f0e707499409e22e9eb493

Contents?: true

Size: 874 Bytes

Versions: 5

Compression:

Stored size: 874 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

# 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

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 components/reporters/plugin_formatters/xml/healthmap.rb
arachni-1.6.1.2 components/reporters/plugin_formatters/xml/healthmap.rb
arachni-1.6.1.1 components/reporters/plugin_formatters/xml/healthmap.rb
arachni-1.6.1 components/reporters/plugin_formatters/xml/healthmap.rb
arachni-1.6.0 components/reporters/plugin_formatters/xml/healthmap.rb