Class: CleoQualityReview::Checks::CheckOutput

Inherits:
Struct
  • Object
show all
Defined in:
lib/cleo_quality_review/checks/quality_check.rb

Overview

Value object containing check output and parsed results

Instance Attribute Summary collapse

Instance Attribute Details

#check_nameString (readonly)

Returns identifier for the check.

Returns:

  • (String)

    identifier for the check



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)

#extensionString (readonly)

Returns file extension for the raw output.

Returns:

  • (String)

    file extension for the raw output



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)

#raw_outputString (readonly)

Returns raw tool output.

Returns:

  • (String)

    raw tool output



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)

#resultsArray<Result> (readonly)

Returns parsed findings.

Returns:

  • (Array<Result>)

    parsed findings



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)

#tool_nameString (readonly)

Returns name of the concrete tool.

Returns:

  • (String)

    name of the concrete tool



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)

#tool_typeString (readonly)

Returns category for this tool’s findings.

Returns:

  • (String)

    category for this tool’s findings



141
# File 'lib/cleo_quality_review/checks/quality_check.rb', line 141

CheckOutput = Struct.new(:check_name, :tool_name, :tool_type, :extension, :raw_output, :results, keyword_init: true)