dtan4/terraforming

View on GitHub
lib/terraforming/resource/elasti_cache_cluster.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method tfstate has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def tfstate
        cache_clusters.inject({}) do |resources, cache_cluster|
          attributes = {
            "cache_nodes.#" => cache_cluster.cache_nodes.length.to_s,
            "cluster_id" => cache_cluster.cache_cluster_id,
Severity: Minor
Found in lib/terraforming/resource/elasti_cache_cluster.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status