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_name ⇒ String (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)

#extension ⇒ String (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_output ⇒ String (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)

#results ⇒ Array<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_name ⇒ String (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_type ⇒ String (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)