sharetribe/sharetribe

View on GitHub
app/services/custom_landing_page/caching.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method write_cache_meta! has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def write_cache_meta!(community_id, version, locale, cache_meta, cache_time, cta, script_digest)
Severity: Major
Found in app/services/custom_landing_page/caching.rb - About 50 mins to fix

    Method cache_content! has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def cache_content!(community_id, version, locale, content, cache_time, cta, script_digest)
    Severity: Major
    Found in app/services/custom_landing_page/caching.rb - About 50 mins to fix

      Method fetch_cache_meta has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def fetch_cache_meta(community_id, version, locale, cta, script_digest)
      Severity: Minor
      Found in app/services/custom_landing_page/caching.rb - About 35 mins to fix

        Method write_cached_content! has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def write_cached_content!(community_id, version, content, digest, cache_time)
        Severity: Minor
        Found in app/services/custom_landing_page/caching.rb - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status