lib/translatomatic/tmx/document.rb
Complex method Translatomatic::TMX::Document::units_from_texts (23.0) Open
Open
def units_from_texts(texts)
# group texts by from_text_id
texts_by_from_id = {}
texts.each do |text|
id = text.from_text_id || text.id
- Read upRead up
- Exclude checks
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