Sha256: 09d0049a7cb3ff8946b93811963b2e423cd811e8e800ae70f96fc9d9b6c60f1a
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true require 'json' module RubyCritic module Turbulence def self.data(analysed_modules) analysed_modules.map do |analysed_module| { name: analysed_module.name, x: analysed_module.churn, y: analysed_module.complexity, rating: analysed_module.rating } end.to_json end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubycritic-3.1.1 | lib/rubycritic/generators/html/turbulence.rb |
rubycritic-3.1.0 | lib/rubycritic/generators/html/turbulence.rb |