class RuboCop::Cop::Performance::Sum

def build_method_message(node, method, init, operation)

def build_method_message(node, method, init, operation)
  good_method = build_good_method(init)
  bad_method = build_method_bad_method(init, method, operation)
  msg = if init.empty? && !array_literal?(node)
          MSG_IF_NO_INIT_VALUE
        else
          MSG
        end
  format(msg, good_method: good_method, bad_method: bad_method)
end