smugglys/translatomatic

View on GitHub
lib/translatomatic/translator.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method Translatomatic::Translator#combine_parent_substrings (21.1)
Open

    def combine_parent_substrings(tr_collection, parent, to_locale)
      # get a list of substring translations for this parent string
      list = tr_collection.sentences(parent, to_locale)
      # skip if we have no substrings for this string
      return if list.blank?
Severity: Minor
Found in lib/translatomatic/translator.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status