smugglys/translatomatic

View on GitHub
lib/translatomatic/resource_file/properties.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method Translatomatic::ResourceFile::Properties#render_element (24.2)
Open

      def render_element(element)
        if element.is_a? Comment
          return '' if element.text.nil?
          comments = element.text.split(/[\r\n]+/)
          comments.collect do |comment|

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