Method: Utils::XCCDFScore#flat_unweighted_score

Defined in:
lib/utilities/xccdf/xccdf_score.rb

#flat_unweighted_scoreObject

urn:xccdf:scoring:flat-unweighted

Returns:

  • ScoreType



26
27
28
29
# File 'lib/utilities/xccdf/xccdf_score.rb', line 26

def flat_unweighted_score
  results = score_benchmark_with_weights(false)
  HappyMapperTools::Benchmark::ScoreType.new('urn:xccdf:scoring:flat-unweighted', results[:max], results[:score])
end