class

Mrcv::Search::SearchResult

Inherits Reference < Object

Encapsulates the complete empirical result of testing a project target against compiler releases.

Constructors

new(target : Core::ProjectTarget, mode : Core::ExecutionMode, floor_version : Core::Version | Nil, ranges : Array(MatrixRange), matrix : Hash(Core::Version, Core::ExecutionResult), failing_versions : Array(Core::Version), duration_ms : Int64, contiguity_score : Int32, sweep_performed : Bool = false)
Source

Instance methods

all_passed?

Returns true if all evaluated versions in the matrix passed successfully.

Source
contiguity_score
Source
contiguous?

Returns true if the evaluated compiler range is unbroken without failing gaps.

Source
duration

Returns duration as a Time::Span object.

Source
duration_ms
Source
failed_count

Total count of failing compiler versions.

Source
failing_versions
Source
floor_version
Source
has_floor?

Returns true if a minimum compiler floor version was identified.

Source
matrix
Source
mode
Source
passed_count

Total count of passing compiler versions.

Source
passed_versions

Returns all passing versions in ascending sorted order.

Source
ranges
Source
result_for(version : Core::Version) : Core::ExecutionResult | Nil

Retrieves the ExecutionResult for a specific compiler version, if tested.

Source
sweep_performed?
Source
target
Source
tested_count

Total count of unique compiler versions evaluated.

Source
tested_versions

Returns all tested versions in ascending sorted order.

Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source