--- :saikuro: :methods: - :complexity: 8 :lines: 19 :name: ACH::File#process! - :complexity: 7 :lines: 11 :name: ACH::Formatter#initialize - :complexity: 7 :lines: 26 :name: ACH::File#to_ach - :complexity: 7 :lines: 44 :name: ACH#self.sample_file - :complexity: 7 :lines: 15 :name: ACH::Record::Dynamic#self.method_missing - :complexity: 5 :lines: 8 :name: ACH::Record::Base#self.define_field_methods - :complexity: 4 :lines: 9 :name: ACH::File#transmission_header - :complexity: 4 :lines: 6 :name: ACH::Record::Base#initialize - :complexity: 4 :lines: 8 :name: ACH::Component#fields_for - :complexity: 4 :lines: 8 :name: ACH::Component#initialize - :complexity: 3 :lines: 7 :name: ACH::Component#header - :complexity: 3 :lines: 12 :name: ACH::Component#self.has_many - :complexity: 3 :lines: 4 :name: ACH::Validations#valid_record? - :complexity: 3 :lines: 6 :name: ACH::Component#control - :complexity: 3 :lines: 6 :name: ACH::Component#method_missing - :complexity: 3 :lines: 5 :name: ACH::File#write - :complexity: 3 :lines: 8 :name: ACH::Validations#valid_component? - :complexity: 3 :lines: 5 :name: ACH::Record::Base#to_s! - :complexity: 3 :lines: 4 :name: ACH::Record::Base#self.fields - :complexity: 3 :lines: 9 :name: ACH::File::ClassMethods#transmission_header - :complexity: 3 :lines: 2 :name: ACH::Batch#before_header - :complexity: 2 :lines: 4 :name: ACH::File#each_line - :complexity: 2 :lines: 3 :name: ACH::Record::Base#self.defaults - :complexity: 2 :lines: 13 :name: ACH#self.define_transmission_header_fields - :complexity: 2 :lines: 2 :name: ACH::Formatter#self.method_missing - :complexity: 2 :lines: 4 :name: ACH::File#ach_data - :complexity: 2 :lines: 2 :name: ACH::File#file_entry_addenda_count - :complexity: 2 :lines: 2 :name: ACH::Component#after_initialize - :complexity: 2 :lines: 4 :name: ACH::File#self.read - :complexity: 2 :lines: 6 :name: ACH::Component#self.method_missing - :complexity: 2 :lines: 4 :name: ACH::Validations#valid? - :complexity: 2 :lines: 2 :name: ACH::Batch#fetch_entries - :complexity: 2 :lines: 2 :name: ACH::Batch#amount_sum_for - :complexity: 2 :lines: 2 :name: ACH#self.to_const - :complexity: 2 :lines: 4 :name: ACH::File#to_ach - :complexity: 2 :lines: 2 :name: ACH::Batch#entry_hash - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.defined? - :complexity: 1 :lines: 2 :name: ACH::Batch#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::Batch#entry_addenda_count - :complexity: 1 :lines: 2 :name: ACH::Batch#has_debit? - :complexity: 1 :lines: 2 :name: ACH::Batch#has_credit? - :complexity: 1 :lines: 2 :name: ACH::File#tails_count - :complexity: 1 :lines: 2 :name: ACH::File#tail - :complexity: 1 :lines: 2 :name: ACH::Batch#to_ach - :complexity: 1 :lines: 2 :name: ACH::File#batch_sum_of - :complexity: 1 :lines: 2 :name: ACH::Validations#errors - :complexity: 1 :lines: 2 :name: ACH::File#record_count - :complexity: 1 :lines: 2 :name: ACH::File#to_s! - :complexity: 1 :lines: 2 :name: ACH::File#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::File#total_debit_amount - :complexity: 1 :lines: 2 :name: ACH::File#entry_hash - :complexity: 1 :lines: 2 :name: ACH::Validations#reset_errors! - :complexity: 1 :lines: 2 :name: ACH::File#block_count - :complexity: 1 :lines: 2 :name: ACH::File#batch_count - :complexity: 1 :lines: 2 :name: ACH::Record::Base::EmptyFieldError#initialize - :complexity: 1 :lines: 2 :name: ACH::Record::Base::UnknownFieldError#initialize - :complexity: 1 :lines: 2 :name: ACH::Record::Base#[]= - :complexity: 1 :lines: 2 :name: ACH::Record::Base#defaults - :complexity: 1 :lines: 2 :name: ACH::Record::Base#fields - :complexity: 1 :lines: 4 :name: ACH#self.with_transmission_header - :complexity: 1 :lines: 2 :name: ACH::Batch#total_debit_amount - :complexity: 1 :lines: 3 :name: ACH::Record::Base#self.from_s - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.define - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.format - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.rule_for_field - :complexity: 1 :lines: 2 :name: ACH::File#current_entry - :complexity: 1 :lines: 2 :name: ACH::File#current_batch - :complexity: 1 :lines: 2 :name: ACH::File#initialize_batch! - :complexity: 1 :lines: 2 :name: ACH::File#batches - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.compiled_rules - :complexity: 1 :lines: 2 :name: ACH::File#processed? - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.matcher_for - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::DuplicateFormatError#initialize - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::UndefinedFormatError#initialize - :complexity: 1 :lines: 2 :name: ACH::File#initialize - :complexity: 1 :lines: 2 :name: ACH::Component::NoLinkError#initialize - :complexity: 1 :lines: 2 :name: ACH::Component::UnknownAttributeError#initialize - :complexity: 1 :lines: 2 :name: ACH::File#have_transmission_header? - :complexity: 1 :lines: 2 :name: ACH::File::RedefinedTransmissionHeaderError#initialize - :complexity: 1 :lines: 2 :name: ACH::File::EmptyTransmissionHeaderError#initialize - :complexity: 1 :lines: 2 :name: ACH::Component#build_control - :complexity: 1 :lines: 2 :name: ACH::File::ClassMethods#have_transmission_header? - :complexity: 1 :lines: 2 :name: ACH::Component#build_header - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#debit? - :complexity: 1 :lines: 1 :name: ACH::Component#before_header - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#credit? - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_empty_filename - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_with_data - :complexity: 1 :lines: 3 :name: ACH::Component#self.inherited :classes: - :complexity: 46 :lines: 179 :name: "" - :complexity: 28 :defs: - :complexity: 1 :lines: 3 :name: ACH::Component#self.inherited - :complexity: 2 :lines: 6 :name: ACH::Component#self.method_missing - :complexity: 4 :lines: 8 :name: ACH::Component#initialize - :complexity: 3 :lines: 6 :name: ACH::Component#method_missing - :complexity: 1 :lines: 1 :name: ACH::Component#before_header - :complexity: 3 :lines: 7 :name: ACH::Component#header - :complexity: 1 :lines: 2 :name: ACH::Component#build_header - :complexity: 3 :lines: 6 :name: ACH::Component#control - :complexity: 1 :lines: 2 :name: ACH::Component#build_control - :complexity: 4 :lines: 8 :name: ACH::Component#fields_for - :complexity: 2 :lines: 2 :name: ACH::Component#after_initialize - :complexity: 3 :lines: 12 :name: ACH::Component#self.has_many :lines: 153 :name: ACH::Component - :complexity: 25 :defs: - :complexity: 1 :lines: 2 :name: ACH::File#initialize - :complexity: 7 :lines: 26 :name: ACH::File#to_ach - :complexity: 2 :lines: 4 :name: ACH::File#ach_data - :complexity: 8 :lines: 19 :name: ACH::File#process! - :complexity: 1 :lines: 2 :name: ACH::File#processed? - :complexity: 2 :lines: 4 :name: ACH::File#each_line - :complexity: 1 :lines: 2 :name: ACH::File#batches - :complexity: 1 :lines: 2 :name: ACH::File#initialize_batch! - :complexity: 1 :lines: 2 :name: ACH::File#current_batch - :complexity: 1 :lines: 2 :name: ACH::File#current_entry :lines: 95 :name: ACH::File - :complexity: 21 :defs: - :complexity: 3 :lines: 4 :name: ACH::Record::Base#self.fields - :complexity: 2 :lines: 3 :name: ACH::Record::Base#self.defaults - :complexity: 5 :lines: 8 :name: ACH::Record::Base#self.define_field_methods - :complexity: 1 :lines: 3 :name: ACH::Record::Base#self.from_s - :complexity: 4 :lines: 6 :name: ACH::Record::Base#initialize - :complexity: 3 :lines: 5 :name: ACH::Record::Base#to_s! - :complexity: 1 :lines: 2 :name: ACH::Record::Base#fields - :complexity: 1 :lines: 2 :name: ACH::Record::Base#defaults - :complexity: 1 :lines: 2 :name: ACH::Record::Base#[]= :lines: 72 :name: ACH::Record::Base - :complexity: 20 :lines: 52 :name: "" - :complexity: 18 :lines: 71 :name: "" - :complexity: 18 :lines: 70 :name: "" - :complexity: 17 :defs: - :complexity: 1 :lines: 2 :name: ACH::File#batch_count - :complexity: 1 :lines: 2 :name: ACH::File#block_count - :complexity: 2 :lines: 2 :name: ACH::File#file_entry_addenda_count - :complexity: 1 :lines: 2 :name: ACH::File#entry_hash - :complexity: 1 :lines: 2 :name: ACH::File#total_debit_amount - :complexity: 1 :lines: 2 :name: ACH::File#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::File#to_s! - :complexity: 1 :lines: 2 :name: ACH::File#record_count - :complexity: 3 :lines: 5 :name: ACH::File#write - :complexity: 1 :lines: 2 :name: ACH::File#batch_sum_of - :complexity: 2 :lines: 4 :name: ACH::File#to_ach - :complexity: 1 :lines: 2 :name: ACH::File#tail - :complexity: 1 :lines: 2 :name: ACH::File#tails_count :lines: 76 :name: ACH::File - :complexity: 15 :defs: - :complexity: 1 :lines: 2 :name: ACH::Batch#has_credit? - :complexity: 1 :lines: 2 :name: ACH::Batch#has_debit? - :complexity: 1 :lines: 2 :name: ACH::Batch#entry_addenda_count - :complexity: 2 :lines: 2 :name: ACH::Batch#entry_hash - :complexity: 1 :lines: 2 :name: ACH::Batch#total_debit_amount - :complexity: 1 :lines: 2 :name: ACH::Batch#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::Batch#to_ach - :complexity: 3 :lines: 2 :name: ACH::Batch#before_header - :complexity: 2 :lines: 2 :name: ACH::Batch#amount_sum_for - :complexity: 2 :lines: 2 :name: ACH::Batch#fetch_entries :lines: 55 :name: ACH::Batch - :complexity: 14 :lines: 50 :name: "" - :complexity: 10 :defs: - :complexity: 2 :lines: 4 :name: ACH::Validations#valid? - :complexity: 3 :lines: 8 :name: ACH::Validations#valid_component? - :complexity: 3 :lines: 4 :name: ACH::Validations#valid_record? - :complexity: 1 :lines: 2 :name: ACH::Validations#errors - :complexity: 1 :lines: 2 :name: ACH::Validations#reset_errors! :lines: 33 :name: ACH::Validations - :complexity: 10 :defs: - :complexity: 7 :lines: 44 :name: ACH#self.sample_file - :complexity: 1 :lines: 4 :name: ACH#self.with_transmission_header - :complexity: 2 :lines: 13 :name: ACH#self.define_transmission_header_fields :lines: 68 :name: ACH - :complexity: 8 :defs: - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.defined? - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.define - :complexity: 2 :lines: 2 :name: ACH::Formatter#self.method_missing - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.format - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.rule_for_field - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.compiled_rules - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.matcher_for :lines: 100 :name: ACH::Formatter - :complexity: 7 :defs: - :complexity: 7 :lines: 15 :name: ACH::Record::Dynamic#self.method_missing :lines: 21 :name: ACH::Record::Dynamic - :complexity: 7 :defs: - :complexity: 7 :lines: 11 :name: ACH::Formatter#initialize :lines: 22 :name: ACH::Formatter - :complexity: 6 :lines: 19 :name: "" - :complexity: 5 :defs: - :complexity: 1 :lines: 2 :name: ACH::File#have_transmission_header? - :complexity: 4 :lines: 9 :name: ACH::File#transmission_header :lines: 29 :name: ACH::File - :complexity: 4 :defs: - :complexity: 3 :lines: 9 :name: ACH::File::ClassMethods#transmission_header - :complexity: 1 :lines: 2 :name: ACH::File::ClassMethods#have_transmission_header? :lines: 17 :name: ACH::File::ClassMethods - :complexity: 3 :defs: - :complexity: 2 :lines: 4 :name: ACH::File#self.read :lines: 19 :name: ACH::File - :complexity: 2 :defs: - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#debit? - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#credit? :lines: 28 :name: ACH::Record::Entry - :complexity: 2 :lines: 24 :name: ACH::File - :complexity: 2 :defs: - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_empty_filename - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_with_data :lines: 10 :name: AchFilesExamples - :complexity: 2 :defs: - :complexity: 2 :lines: 2 :name: ACH#self.to_const :lines: 14 :name: ACH - :complexity: 2 :lines: 4 :name: "" - :complexity: 2 :lines: 4 :name: "" - :complexity: 2 :lines: 5 :name: "" - :complexity: 1 :lines: 21 :name: ACH::Batch - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Component::UnknownAttributeError#initialize :lines: 4 :name: ACH::Component::UnknownAttributeError - :complexity: 1 :lines: 4 :name: "" - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Component::NoLinkError#initialize :lines: 4 :name: ACH::Component::NoLinkError - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Record::Base::UnknownFieldError#initialize :lines: 4 :name: ACH::Record::Base::UnknownFieldError - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Record::Base::EmptyFieldError#initialize :lines: 4 :name: ACH::Record::Base::EmptyFieldError - :complexity: 1 :lines: 7 :name: ACH - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::DuplicateFormatError#initialize :lines: 4 :name: ACH::Record::Dynamic::DuplicateFormatError - :complexity: 1 :lines: 2 :name: "" - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::File::EmptyTransmissionHeaderError#initialize :lines: 4 :name: ACH::File::EmptyTransmissionHeaderError - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::File::RedefinedTransmissionHeaderError#initialize :lines: 4 :name: ACH::File::RedefinedTransmissionHeaderError - :complexity: 1 :defs: - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::UndefinedFormatError#initialize :lines: 4 :name: ACH::Record::Dynamic::UndefinedFormatError - :complexity: 0 :lines: 1 :name: "" - :complexity: 0 :lines: 7 :name: ACH - :complexity: 0 :lines: 12 :name: ACH::Constants - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 3 :name: ACH - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 36 :name: ACH - :complexity: 0 :lines: 13 :name: ACH::Record - :complexity: 0 :lines: 26 :name: ACH::Record - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 9 :name: ACH::Record::Addenda - :complexity: 0 :lines: 19 :name: ACH - :complexity: 0 :lines: 14 :name: ACH - :complexity: 0 :lines: 22 :name: ACH - :complexity: 0 :lines: 12 :name: ACH::File - :complexity: 0 :lines: 4 :name: ACH - :complexity: 0 :lines: 6 :name: ACH - :complexity: 0 :lines: 8 :name: ACH::Record - :complexity: 0 :lines: 4 :name: ACH - :complexity: 0 :lines: 5 :name: ACH - :complexity: 0 :lines: 4 :name: ACH - :complexity: 0 :lines: 9 :name: ACH::Batch - :complexity: 0 :lines: 3 :name: ACH - :complexity: 0 :lines: 1 :name: "" - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 17 :name: ACH - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 18 :name: ACH::Record - :complexity: 0 :lines: 16 :name: ACH::Batch - :complexity: 0 :lines: 26 :name: ACH::Record - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 2 :name: ACH - :complexity: 0 :lines: 7 :name: ACH - :complexity: 0 :lines: 19 :name: ACH - :complexity: 0 :lines: 20 :name: ACH - :complexity: 0 :lines: 4 :name: ACH::Record - :complexity: 0 :lines: 12 :name: ACH - :complexity: 0 :lines: 3 :name: ACH::Record::Tail :files: - :filename: spec/file_spec.rb :classes: - :methods: [] :complexity: 46 :lines: 179 :class_name: "" - :filename: lib/ach/component.rb :classes: - :methods: [] :complexity: 0 :lines: 12 :class_name: ACH - :methods: - :complexity: 4 :lines: 8 :name: ACH::Component#fields_for - :complexity: 4 :lines: 8 :name: ACH::Component#initialize - :complexity: 3 :lines: 12 :name: ACH::Component#self.has_many - :complexity: 3 :lines: 7 :name: ACH::Component#header - :complexity: 3 :lines: 6 :name: ACH::Component#control - :complexity: 3 :lines: 6 :name: ACH::Component#method_missing - :complexity: 2 :lines: 2 :name: ACH::Component#after_initialize - :complexity: 2 :lines: 6 :name: ACH::Component#self.method_missing - :complexity: 1 :lines: 2 :name: ACH::Component#build_header - :complexity: 1 :lines: 1 :name: ACH::Component#before_header - :complexity: 1 :lines: 2 :name: ACH::Component#build_control - :complexity: 1 :lines: 3 :name: ACH::Component#self.inherited :complexity: 28 :lines: 153 :class_name: ACH::Component - :methods: - :complexity: 1 :lines: 2 :name: ACH::Component::UnknownAttributeError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Component::UnknownAttributeError - :methods: - :complexity: 1 :lines: 2 :name: ACH::Component::NoLinkError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Component::NoLinkError - :filename: lib/ach/file/reader.rb :classes: - :methods: [] :complexity: 0 :lines: 7 :class_name: ACH - :methods: - :complexity: 8 :lines: 19 :name: ACH::File#process! - :complexity: 7 :lines: 26 :name: ACH::File#to_ach - :complexity: 2 :lines: 4 :name: ACH::File#ach_data - :complexity: 2 :lines: 4 :name: ACH::File#each_line - :complexity: 1 :lines: 2 :name: ACH::File#current_entry - :complexity: 1 :lines: 2 :name: ACH::File#processed? - :complexity: 1 :lines: 2 :name: ACH::File#batches - :complexity: 1 :lines: 2 :name: ACH::File#initialize_batch! - :complexity: 1 :lines: 2 :name: ACH::File#current_batch - :complexity: 1 :lines: 2 :name: ACH::File#initialize :complexity: 25 :lines: 95 :class_name: ACH::File - :filename: lib/ach/record/base.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 26 :class_name: ACH::Record - :methods: - :complexity: 5 :lines: 8 :name: ACH::Record::Base#self.define_field_methods - :complexity: 4 :lines: 6 :name: ACH::Record::Base#initialize - :complexity: 3 :lines: 4 :name: ACH::Record::Base#self.fields - :complexity: 3 :lines: 5 :name: ACH::Record::Base#to_s! - :complexity: 2 :lines: 3 :name: ACH::Record::Base#self.defaults - :complexity: 1 :lines: 3 :name: ACH::Record::Base#self.from_s - :complexity: 1 :lines: 2 :name: ACH::Record::Base#defaults - :complexity: 1 :lines: 2 :name: ACH::Record::Base#fields - :complexity: 1 :lines: 2 :name: ACH::Record::Base#[]= :complexity: 21 :lines: 72 :class_name: ACH::Record::Base - :methods: - :complexity: 1 :lines: 2 :name: ACH::Record::Base::UnknownFieldError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Record::Base::UnknownFieldError - :methods: - :complexity: 1 :lines: 2 :name: ACH::Record::Base::EmptyFieldError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Record::Base::EmptyFieldError - :filename: spec/reader_spec.rb :classes: - :methods: [] :complexity: 20 :lines: 52 :class_name: "" - :filename: spec/record/dynamic_spec.rb :classes: - :methods: [] :complexity: 18 :lines: 71 :class_name: "" - :methods: [] :complexity: 1 :lines: 10 :class_name: ACH - :filename: spec/batch_spec.rb :classes: - :methods: [] :complexity: 18 :lines: 70 :class_name: "" - :filename: lib/ach/file/builder.rb :classes: - :methods: [] :complexity: 0 :lines: 4 :class_name: ACH - :methods: - :complexity: 3 :lines: 5 :name: ACH::File#write - :complexity: 2 :lines: 2 :name: ACH::File#file_entry_addenda_count - :complexity: 2 :lines: 4 :name: ACH::File#to_ach - :complexity: 1 :lines: 2 :name: ACH::File#to_s! - :complexity: 1 :lines: 2 :name: ACH::File#tail - :complexity: 1 :lines: 2 :name: ACH::File#record_count - :complexity: 1 :lines: 2 :name: ACH::File#batch_sum_of - :complexity: 1 :lines: 2 :name: ACH::File#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::File#total_debit_amount - :complexity: 1 :lines: 2 :name: ACH::File#entry_hash - :complexity: 1 :lines: 2 :name: ACH::File#tails_count - :complexity: 1 :lines: 2 :name: ACH::File#block_count - :complexity: 1 :lines: 2 :name: ACH::File#batch_count :complexity: 17 :lines: 76 :class_name: ACH::File - :filename: lib/ach/batch/builder.rb :classes: - :methods: [] :complexity: 0 :lines: 4 :class_name: ACH - :methods: - :complexity: 3 :lines: 2 :name: ACH::Batch#before_header - :complexity: 2 :lines: 2 :name: ACH::Batch#amount_sum_for - :complexity: 2 :lines: 2 :name: ACH::Batch#fetch_entries - :complexity: 2 :lines: 2 :name: ACH::Batch#entry_hash - :complexity: 1 :lines: 2 :name: ACH::Batch#total_credit_amount - :complexity: 1 :lines: 2 :name: ACH::Batch#total_debit_amount - :complexity: 1 :lines: 2 :name: ACH::Batch#to_ach - :complexity: 1 :lines: 2 :name: ACH::Batch#entry_addenda_count - :complexity: 1 :lines: 2 :name: ACH::Batch#has_debit? - :complexity: 1 :lines: 2 :name: ACH::Batch#has_credit? :complexity: 15 :lines: 55 :class_name: ACH::Batch - :filename: spec/record/base_spec.rb :classes: - :methods: [] :complexity: 14 :lines: 50 :class_name: "" - :filename: lib/ach/validations.rb :classes: - :methods: [] :complexity: 0 :lines: 4 :class_name: ACH - :methods: - :complexity: 3 :lines: 4 :name: ACH::Validations#valid_record? - :complexity: 3 :lines: 8 :name: ACH::Validations#valid_component? - :complexity: 2 :lines: 4 :name: ACH::Validations#valid? - :complexity: 1 :lines: 2 :name: ACH::Validations#errors - :complexity: 1 :lines: 2 :name: ACH::Validations#reset_errors! :complexity: 10 :lines: 33 :class_name: ACH::Validations - :filename: spec/support/ach_file_factory.rb :classes: - :methods: [] :complexity: 0 :lines: 1 :class_name: "" - :methods: - :complexity: 7 :lines: 44 :name: ACH#self.sample_file - :complexity: 2 :lines: 13 :name: ACH#self.define_transmission_header_fields - :complexity: 1 :lines: 4 :name: ACH#self.with_transmission_header :complexity: 10 :lines: 68 :class_name: ACH - :filename: lib/ach/formatter.rb :classes: - :methods: [] :complexity: 0 :lines: 19 :class_name: ACH - :methods: - :complexity: 2 :lines: 2 :name: ACH::Formatter#self.method_missing - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.format - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.rule_for_field - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.compiled_rules - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.matcher_for - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.define - :complexity: 1 :lines: 2 :name: ACH::Formatter#self.defined? :complexity: 8 :lines: 100 :class_name: ACH::Formatter - :filename: lib/ach/record/dynamic.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 26 :class_name: ACH::Record - :methods: - :complexity: 7 :lines: 15 :name: ACH::Record::Dynamic#self.method_missing :complexity: 7 :lines: 21 :class_name: ACH::Record::Dynamic - :methods: - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::DuplicateFormatError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Record::Dynamic::DuplicateFormatError - :methods: - :complexity: 1 :lines: 2 :name: ACH::Record::Dynamic::UndefinedFormatError#initialize :complexity: 1 :lines: 4 :class_name: ACH::Record::Dynamic::UndefinedFormatError - :filename: lib/ach/formatter/rule.rb :classes: - :methods: [] :complexity: 0 :lines: 3 :class_name: ACH - :methods: - :complexity: 7 :lines: 11 :name: ACH::Formatter#initialize :complexity: 7 :lines: 22 :class_name: ACH::Formatter - :filename: spec/formatter_spec.rb :classes: - :methods: [] :complexity: 6 :lines: 19 :class_name: "" - :methods: [] :complexity: 0 :lines: 7 :class_name: ACH - :filename: lib/ach/file/transmission_header.rb :classes: - :methods: [] :complexity: 0 :lines: 22 :class_name: ACH - :methods: - :complexity: 4 :lines: 9 :name: ACH::File#transmission_header - :complexity: 1 :lines: 2 :name: ACH::File#have_transmission_header? :complexity: 5 :lines: 29 :class_name: ACH::File - :methods: - :complexity: 1 :lines: 2 :name: ACH::File::RedefinedTransmissionHeaderError#initialize :complexity: 1 :lines: 4 :class_name: ACH::File::RedefinedTransmissionHeaderError - :methods: - :complexity: 1 :lines: 2 :name: ACH::File::EmptyTransmissionHeaderError#initialize :complexity: 1 :lines: 4 :class_name: ACH::File::EmptyTransmissionHeaderError - :methods: - :complexity: 3 :lines: 9 :name: ACH::File::ClassMethods#transmission_header - :complexity: 1 :lines: 2 :name: ACH::File::ClassMethods#have_transmission_header? :complexity: 4 :lines: 17 :class_name: ACH::File::ClassMethods - :filename: lib/ach/file.rb :classes: - :methods: [] :complexity: 0 :lines: 36 :class_name: ACH - :methods: - :complexity: 2 :lines: 4 :name: ACH::File#self.read :complexity: 3 :lines: 19 :class_name: ACH::File - :filename: lib/ach/record/entry.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 18 :class_name: ACH::Record - :methods: - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#credit? - :complexity: 1 :lines: 2 :name: ACH::Record::Entry#debit? :complexity: 2 :lines: 28 :class_name: ACH::Record::Entry - :filename: spec/support/helpers/ach_files_examples.rb :classes: - :methods: [] :complexity: 1 :lines: 4 :class_name: "" - :methods: - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_with_data - :complexity: 1 :lines: 2 :name: AchFilesExamples#well_fargo_empty_filename :complexity: 2 :lines: 10 :class_name: AchFilesExamples - :filename: spec/record/tail_spec.rb :classes: - :methods: [] :complexity: 2 :lines: 4 :class_name: "" - :filename: spec/record/addenda_spec.rb :classes: - :methods: [] :complexity: 2 :lines: 5 :class_name: "" - :filename: spec/record/entry_spec.rb :classes: - :methods: [] :complexity: 2 :lines: 4 :class_name: "" - :filename: lib/ach_builder.rb :classes: - :methods: [] :complexity: 0 :lines: 1 :class_name: "" - :methods: - :complexity: 2 :lines: 2 :name: ACH#self.to_const :complexity: 2 :lines: 14 :class_name: ACH - :filename: lib/ach/file/header.rb :classes: - :methods: [] :complexity: 0 :lines: 20 :class_name: ACH - :methods: [] :complexity: 2 :lines: 24 :class_name: ACH::File - :filename: lib/ach/batch/header.rb :classes: - :methods: [] :complexity: 0 :lines: 19 :class_name: ACH - :methods: [] :complexity: 1 :lines: 21 :class_name: ACH::Batch - :filename: spec/spec_helper.rb :classes: - :methods: [] :complexity: 1 :lines: 2 :class_name: "" - :filename: lib/ach/constants.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 12 :class_name: ACH::Constants - :filename: lib/ach/record/addenda.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 13 :class_name: ACH::Record - :methods: [] :complexity: 0 :lines: 9 :class_name: ACH::Record::Addenda - :filename: lib/ach/file/control.rb :classes: - :methods: [] :complexity: 0 :lines: 14 :class_name: ACH - :methods: [] :complexity: 0 :lines: 12 :class_name: ACH::File - :filename: lib/ach/record.rb :classes: - :methods: [] :complexity: 0 :lines: 6 :class_name: ACH - :methods: [] :complexity: 0 :lines: 8 :class_name: ACH::Record - :filename: lib/ach/batch.rb :classes: - :methods: [] :complexity: 0 :lines: 5 :class_name: ACH - :methods: [] :complexity: 0 :lines: 9 :class_name: ACH::Batch - :filename: lib/ach/version.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :filename: lib/ach/batch/control.rb :classes: - :methods: [] :complexity: 0 :lines: 17 :class_name: ACH - :methods: [] :complexity: 0 :lines: 16 :class_name: ACH::Batch - :filename: lib/ach/record/tail.rb :classes: - :methods: [] :complexity: 0 :lines: 2 :class_name: ACH - :methods: [] :complexity: 0 :lines: 4 :class_name: ACH::Record - :methods: [] :complexity: 0 :lines: 3 :class_name: ACH::Record::Tail :reek: :matches: - :file_path: ./lib/ach/batch.rb :code_smells: [] - :file_path: ./lib/ach/batch/builder.rb :code_smells: - :type: Duplication :message: calls has_debit? twice :method: ACH::Batch::Builder#before_header - :file_path: ./lib/ach/batch/control.rb :code_smells: [] - :file_path: ./lib/ach/batch/header.rb :code_smells: [] - :file_path: ./lib/ach/component.rb :code_smells: - :type: UncommunicativeName :message: has the variable name 'f' :method: ACH::Component#control - :type: Duplication :message: calls attributes 3 times :method: ACH::Component#fields_for - :type: UncommunicativeName :message: has the variable name 'k' :method: ACH::Component#fields_for - :type: UncommunicativeName :message: has the variable name 'v' :method: ACH::Component#fields_for - :type: Duplication :message: calls self.class twice :method: ACH::Component#header - :type: LongMethod :message: has approx 8 statements :method: ACH::Component#self.has_many - :file_path: ./lib/ach/constants.rb :code_smells: [] - :file_path: ./lib/ach/file.rb :code_smells: [] - :file_path: ./lib/ach/file/builder.rb :code_smells: [] - :file_path: ./lib/ach/file/control.rb :code_smells: [] - :file_path: ./lib/ach/file/header.rb :code_smells: [] - :file_path: ./lib/ach/file/reader.rb :code_smells: - :type: LowCohesion :message: refers to line more than self :method: ACH::File::Reader#each_line - :type: Duplication :message: calls current_batch 4 times :method: ACH::File::Reader#process! - :type: LongMethod :message: has approx 8 statements :method: ACH::File::Reader#process! - :type: Duplication :message: calls batch_data[:addendas] twice :method: ACH::File::Reader#to_ach - :type: NestedIterators :message: contains iterators nested 5 deep :method: ACH::File::Reader#to_ach - :type: LongMethod :message: has approx 10 statements :method: ACH::File::Reader#to_ach - :file_path: ./lib/ach/file/transmission_header.rb :code_smells: - :type: Duplication :message: calls self.class twice :method: ACH::File::TransmissionHeader#transmission_header - :type: Duplication :message: calls klass.fields twice :method: ACH::File::TransmissionHeader::ClassMethods#transmission_header - :file_path: ./lib/ach/formatter.rb :code_smells: - :type: UncommunicativeName :message: has the variable name 'f' :method: ACH::Formatter#self.matcher_for - :file_path: ./lib/ach/formatter/rule.rb :code_smells: [] - :file_path: ./lib/ach/record.rb :code_smells: [] - :file_path: ./lib/ach/record/addenda.rb :code_smells: [] - :file_path: ./lib/ach/record/base.rb :code_smells: - :type: Duplication :message: calls self.fields twice :method: ACH::Record::Base#initialize - :type: Duplication :message: calls fields twice :method: ACH::Record::Base#self.from_s - :type: Duplication :message: calls @fields[name] twice :method: ACH::Record::Base#to_s! - :file_path: ./lib/ach/record/dynamic.rb :code_smells: - :type: Duplication :message: calls args.first twice :method: ACH::Record::Dynamic#self.method_missing - :type: LongMethod :message: has approx 9 statements :method: ACH::Record::Dynamic#self.method_missing - :type: IrresponsibleModule :message: has no descriptive comment :method: ACH::Record::Dynamic::DuplicateFormatError - :type: IrresponsibleModule :message: has no descriptive comment :method: ACH::Record::Dynamic::UndefinedFormatError - :file_path: ./lib/ach/record/entry.rb :code_smells: [] - :file_path: ./lib/ach/record/tail.rb :code_smells: [] - :file_path: ./lib/ach/validations.rb :code_smells: - :type: LowCohesion :message: refers to record more than self :method: ACH::Validations#valid_component? - :file_path: ./lib/ach/version.rb :code_smells: [] - :file_path: ./lib/ach_builder.rb :code_smells: [] - :file_path: ./spec/batch_spec.rb :code_smells: [] - :file_path: ./spec/file_spec.rb :code_smells: [] - :file_path: ./spec/formatter_spec.rb :code_smells: [] - :file_path: ./spec/reader_spec.rb :code_smells: [] - :file_path: ./spec/record/addenda_spec.rb :code_smells: [] - :file_path: ./spec/record/base_spec.rb :code_smells: [] - :file_path: ./spec/record/dynamic_spec.rb :code_smells: [] - :file_path: ./spec/record/entry_spec.rb :code_smells: [] - :file_path: ./spec/record/tail_spec.rb :code_smells: [] - :file_path: ./spec/spec_helper.rb :code_smells: [] - :file_path: ./spec/support/ach_file_factory.rb :code_smells: - :type: Duplication :message: calls Time.now twice :method: ACH::FileFactory#self.sample_file - :type: NestedIterators :message: contains iterators nested 2 deep :method: ACH::FileFactory#self.sample_file - :type: NestedIterators :message: contains iterators nested 3 deep :method: ACH::FileFactory#self.sample_file - :type: LongMethod :message: has approx 24 statements :method: ACH::FileFactory#self.sample_file - :file_path: ./spec/support/helpers/ach_files_examples.rb :code_smells: - :type: LowCohesion :message: doesn't depend on instance state :method: AchFilesExamples#well_fargo_empty_filename - :type: LowCohesion :message: doesn't depend on instance state :method: AchFilesExamples#well_fargo_with_data :rcov: lib/ach/version.rb: :percent_run: 100 :methods: {} :lines: - :was_run: true :content: module ACH - :was_run: true :content: " VERSION = \"0.2.0\"" - :was_run: true :content: end :global_percent_run: 88.9 lib/ach_builder.rb: :percent_run: 88 :methods: {} :lines: - :was_run: true :content: require 'active_support/concern' - :was_run: true :content: require 'active_support/dependencies/autoload' - :was_run: true :content: require 'active_support/inflector' - :was_run: true :content: require 'active_support/ordered_hash' - :was_run: true :content: require 'active_support/core_ext/module/delegation' - :was_run: true :content: require 'active_support/core_ext/module/attribute_accessors' - :was_run: true :content: require 'active_support/core_ext/class/attribute' - :was_run: true :content: require "ach/version" - :was_run: true :content: "# Support for building the files necessary for the bulk exchange of debits and" - :was_run: true :content: "# credits with financial institutions via the Automated Clearing House system," - :was_run: true :content: "# governed by NACHA ( http://www.nacha.org/ )." - :was_run: true :content: module ACH - :was_run: true :content: " extend ActiveSupport::Autoload" - :was_run: true :content: " autoload :Constants" - :was_run: true :content: " autoload :Formatter" - :was_run: true :content: " autoload :Validations" - :was_run: true :content: " autoload :Component" - :was_run: true :content: " autoload :Record" - :was_run: true :content: " autoload :Batch" - :was_run: true :content: " autoload :File" - :was_run: true :content: " def self.to_const(name)" - :was_run: false :content: " [self, self::Record].detect{ |mod| mod.const_defined?(name) }.const_get(name)" - :was_run: false :content: " end" - :was_run: false :content: end :flay: :total_score: "638" :matches: - :reason: 1) Similar code found in :iter (mass = 100) :matches: - :line: "43" :name: ./spec/reader_spec.rb - :line: "53" :name: ./spec/reader_spec.rb - :reason: 2) Similar code found in :class (mass = 56) :matches: - :line: "19" :name: ./lib/ach/component.rb - :line: "30" :name: ./lib/ach/component.rb - :line: "32" :name: ./lib/ach/record/base.rb - :line: "40" :name: ./lib/ach/record/base.rb - :reason: 3) IDENTICAL code found in :call (mass*2 = 40) :matches: - :line: "154" :name: ./spec/file_spec.rb - :line: "34" :name: ./spec/support/ach_file_factory.rb - :reason: 4) Similar code found in :call (mass = 30) :matches: - :line: "33" :name: ./lib/ach/batch/header.rb - :line: "34" :name: ./lib/ach/file/header.rb - :reason: 5) Similar code found in :if (mass = 30) :matches: - :line: "79" :name: ./lib/ach/component.rb - :line: "65" :name: ./lib/ach/record/base.rb - :reason: 6) Similar code found in :iter (mass = 30) :matches: - :line: "47" :name: ./spec/record/base_spec.rb - :line: "51" :name: ./spec/record/base_spec.rb - :reason: 7) Similar code found in :defn (mass = 28) :matches: - :line: "3" :name: ./spec/support/helpers/ach_files_examples.rb - :line: "7" :name: ./spec/support/helpers/ach_files_examples.rb - :reason: 8) Similar code found in :iter (mass = 26) :matches: - :line: "125" :name: ./spec/file_spec.rb - :line: "129" :name: ./spec/file_spec.rb - :reason: 9) Similar code found in :iter (mass = 26) :matches: - :line: "15" :name: ./spec/formatter_spec.rb - :line: "17" :name: ./spec/formatter_spec.rb - :reason: 10) Similar code found in :iter (mass = 26) :matches: - :line: "19" :name: ./spec/formatter_spec.rb - :line: "21" :name: ./spec/formatter_spec.rb - :reason: 11) Similar code found in :defn (mass = 24) :matches: - :line: "113" :name: ./lib/ach/component.rb - :line: "125" :name: ./lib/ach/component.rb - :reason: 12) Similar code found in :iter (mass = 24) :matches: - :line: "108" :name: ./lib/ach/component.rb - :line: "72" :name: ./lib/ach/file/transmission_header.rb - :reason: 13) Similar code found in :class (mass = 24) :matches: - :line: "28" :name: ./lib/ach/record/dynamic.rb - :line: "34" :name: ./lib/ach/record/dynamic.rb - :reason: 14) Similar code found in :lasgn (mass = 24) :matches: - :line: "133" :name: ./spec/file_spec.rb - :line: "136" :name: ./spec/file_spec.rb - :reason: 15) Similar code found in :iter (mass = 24) :matches: - :line: "78" :name: ./spec/file_spec.rb - :line: "121" :name: ./spec/file_spec.rb - :reason: 16) Similar code found in :iter (mass = 22) :matches: - :line: "100" :name: ./spec/file_spec.rb - :line: "109" :name: ./spec/file_spec.rb - :reason: 17) Similar code found in :call (mass = 22) :matches: - :line: "5" :name: ./spec/record/addenda_spec.rb - :line: "5" :name: ./spec/record/entry_spec.rb - :reason: 18) Similar code found in :arglist (mass = 22) :matches: - :line: "5" :name: ./spec/spec_helper.rb - :line: "5" :name: ./spec/spec_helper.rb - :reason: 19) Similar code found in :defn (mass = 20) :matches: - :line: "6" :name: ./lib/ach/batch/builder.rb - :line: "11" :name: ./lib/ach/batch/builder.rb - :reason: 20) Similar code found in :lasgn (mass = 20) :matches: - :line: "106" :name: ./lib/ach/component.rb - :line: "69" :name: ./lib/ach/file/transmission_header.rb - :reason: 21) Similar code found in :op_asgn_or (mass = 20) :matches: - :line: "107" :name: ./lib/ach/component.rb - :line: "71" :name: ./lib/ach/file/transmission_header.rb :flog: :average: 10.0644919005389 :method_containers: - :total_score: 77.4555356317418 :methods: main#none: :score: 77.4555356317418 :path: :operators: :+: 3.20000000000001 :branch: 18.4 :World: 1.2 :dirname: 3.60000000000001 :lit_fixnum: 1.0 :ljust_5: 1.8 :include: 2.40000000000001 :configure: 1.1 :ljust_5_transform: 1.8 :each: 1.1 :it: 5.20000000000001 :require: 23.2000000000001 :rjust_6: 1.8 :describe: 9.90000000000002 :rjust_6_spaced: 1.8 :assignment: 2.40000000000001 :[]: 1.3 :expand_path: 2.80000000000001 :==: 5.60000000000001 :should: 6.40000000000001 :highest_score: 77.4555356317418 :path: "" :name: main :average_score: 77.4555356317418 - :total_score: 291.628412059827 :methods: it#should create entry with attributes in hash form: :score: 11.3863953909918 :path: ./spec/batch_spec.rb:13 :operators: :entry: 1.4 :lit_fixnum: 0.800000000000001 :it: 1.3 :be_instance_of: 1.6 :==: 1.4 :amount: 1.8 :should: 3.0 :assignment: 1.4 it#should have 2 ordered fields: :score: 5.80000000000001 :path: ./spec/record/base_spec.rb:13 :operators: :fields: 1.7 :it: 1.3 :==: 1.3 :should: 1.5 it#should raise error when adding addenda records without any entry: :score: 9.24770241735752 :path: ./spec/batch_spec.rb:25 :operators: :expect: 1.6 :branch: 1.6 :raise_error: 1.6 :addenda: 1.7 :to: 1.4 :it: 1.3 :assignment: 1.4 :new: 1.4 it#should overwrite default value: :score: 7.62954782408501 :path: ./spec/record/base_spec.rb:22 :operators: :customer_name: 1.8 :it: 1.3 :==: 1.4 :should: 1.6 :assignment: 1.4 :new: 1.4 it#should raise exception with unfilled value: :score: 9.12414379544736 :path: ./spec/record/base_spec.rb:33 :operators: :branch: 1.5 :raise_error: 1.5 :to_s!: 1.6 :it: 1.3 :should: 1.3 :lambda: 1.5 :new: 1.8 it#should generate 220 service_class_code for header if with credit entry only: :score: 10.7 :path: ./spec/batch_spec.rb:59 :operators: :entry: 1.4 :lit_fixnum: 1.2 :it: 1.3 :service_class_code: 1.8 :==: 1.4 :should: 1.6 :header: 2.0 it#should generate 225 service_class_code for header if with debit entry only: :score: 10.3 :path: ./spec/batch_spec.rb:54 :operators: :entry: 1.4 :lit_fixnum: 0.800000000000001 :it: 1.3 :service_class_code: 1.8 :==: 1.4 :should: 1.6 :header: 2.0 it#should add declared fields to a record: :score: 7.62954782408501 :path: ./spec/record/dynamic_spec.rb:46 :operators: :fields: 1.8 :call: 1.4 :it: 1.3 :==: 1.4 :should: 1.6 :assignment: 1.4 it#should generate formatted string: :score: 14.1693330824002 :path: ./spec/record/base_spec.rb:27 :operators: :+: 1.6 :to_s!: 1.8 :lit_fixnum: 1.4 :ljust: 1.8 :it: 1.3 :rjust: 1.8 :==: 1.4 :should: 1.6 :assignment: 1.4 :new: 1.4 it#should return true for has_credit? if contains credit entry: :score: 8.10000000000001 :path: ./spec/batch_spec.rb:44 :operators: :entry: 1.4 :lit_fixnum: 0.800000000000001 :it: 1.3 :be_true: 1.6 :has_credit?: 1.6 :should: 1.4 it#should have length of 94: :score: 49.6920076571677 :path: ./spec/record/tail_spec.rb:6 :operators: :values: 1.7 :batches: 4.90000000000001 :lit_fixnum: 0.375000000000001 :to_s!: 5.50000000000001 :sample_file: 5.30000000000001 :length: 3.20000000000001 :it: 3.60000000000001 :entries: 2.2 :addendas: 1.9 :size: 1.7 :first: 1.3 :flatten: 1.5 :==: 3.70000000000001 :should: 4.30000000000001 :[]: 6.50000000000001 :assignment: 1.3 :new: 2.0 it#should should not raise error on valid record definition: :score: 7.30000000000002 :path: ./spec/record/dynamic_spec.rb:36 :operators: :expect: 1.5 :raise_error: 1.5 :to_not: 1.3 :it: 1.3 :block_pass: 1.7 it#should create a record with default value: :score: 7.70000000000002 :path: ./spec/record/base_spec.rb:17 :operators: :customer_name: 1.7 :it: 1.3 :==: 1.3 :should: 1.5 :new: 1.9 it#should raise error when declaring unknown field without specifying a format: :score: 9.42443632266676 :path: ./spec/record/dynamic_spec.rb:73 :operators: :expect: 1.5 :branch: 3.10000000000001 :raise_error: 1.5 :to: 1.3 :it: 1.3 :field_four: 1.7 :new: 1.6 it#should raise error when redefining new rule: :score: 11.7307288776103 :path: ./spec/record/dynamic_spec.rb:65 :operators: :expect: 1.6 :branch: 4.60000000000001 :raise_error: 1.6 :record_name: 1.8 :to: 1.4 :each: 1.3 :it: 1.3 :assignment: 1.4 :new: 1.7 it#should generate 200 service_class_code for header if with debit and credit entries: :score: 12.5 :path: ./spec/batch_spec.rb:65 :operators: :entry: 2.8 :lit_fixnum: 1.6 :it: 1.3 :service_class_code: 1.8 :==: 1.4 :should: 1.6 :header: 2.0 it#should have header and control record with length of 94: :score: 21.0867256822865 :path: ./spec/batch_spec.rb:71 :operators: :branch: 1.3 :batches: 2.6 :to_s!: 2.0 :length: 1.8 :each: 1.3 :it: 1.3 :send: 6.6 :==: 1.4 :should: 1.6 :[]: 2.4 :assignment: 1.4 it#should return true for has_debit? if contains debit entry: :score: 7.70000000000001 :path: ./spec/batch_spec.rb:49 :operators: :entry: 1.4 :lit_fixnum: 0.4 :it: 1.3 :be_true: 1.6 :should: 1.4 :has_debit?: 1.6 it#should assign default values to a record: :score: 8.66487160897381 :path: ./spec/record/dynamic_spec.rb:55 :operators: :lit_fixnum: 0.700000000000002 :call: 1.4 :it: 1.3 :defaults: 1.8 :==: 1.4 :should: 1.6 :assignment: 2.80000000000001 it#should append addenda records after entry records: :score: 32.3204656525862 :path: ./spec/batch_spec.rb:34 :operators: :branch: 3.0 :entry: 1.6 :lit_fixnum: 0.850000000000001 :addenda: 1.7 :it: 1.3 :block_pass: 2.2 :times: 3.0 :map: 2.0 :to_proc_normal: 11.0 :to_ach: 2.2 :==: 1.4 :should: 1.6 :[]: 1.8 :assignment: 2.9 :new: 1.4 it#should create entry with attributes in block form: :score: 10.0225059241689 :path: ./spec/batch_spec.rb:20 :operators: :branch: 1.4 :lit_fixnum: 0.825000000000001 :entry: 1.4 :it: 1.3 :==: 1.4 :should: 1.6 :amount: 3.3 :assignment: 1.4 it#should add new rules to a formatter: :score: 8.90000000000002 :path: ./spec/record/dynamic_spec.rb:41 :operators: :call: 1.4 :include: 3.20000000000001 :it: 1.3 :should: 1.4 :keys: 1.6 it#should return false for has_credit? and has_debit? for empty entries: :score: 10.5 :path: ./spec/batch_spec.rb:39 :operators: :be_false: 3.2 :it: 1.3 :has_credit?: 1.6 :should: 2.8 :has_debit?: 1.6 :highest_score: 49.6920076571677 :path: ./spec/record/dynamic_spec.rb :name: it :average_score: 12.6794961765142 - :total_score: 48.6187463844967 :methods: ACH::FileFactory::sample_file: :score: 48.6187463844967 :path: ./spec/support/ach_file_factory.rb:3 :operators: :immediate_dest: 1.4 :remote_id: 1.6 :branch: 8.00000000000003 :immediate_dest_name: 1.4 :starting_single_quote: 1.6 :lit_fixnum: 0.950000000000003 :entry: 1.70000000000001 :desc_date: 1.70000000000001 :batch: 1.5 :immediate_origin: 1.4 :application_id: 1.6 :addenda: 1.70000000000001 :immediate_origin_name: 1.4 :file_type: 1.6 :merge!: 1.2 :effective_date: 1.70000000000001 :strftime: 4.00000000000001 :each: 1.4 :ending_single_quote: 1.6 :request_type: 1.6 :blank: 1.6 :now: 4.40000000000001 :delete: 1.2 :assignment: 7.60000000000003 :origin_dfi_id: 1.70000000000001 :upcase: 1.90000000000001 :batch_id_parameter: 1.6 :transmission_header: 1.4 :new: 2.50000000000001 :highest_score: 48.6187463844967 :path: ./spec/support/ach_file_factory.rb :name: ACH::FileFactory::sample_file :average_score: 48.6187463844967 - :total_score: 44.8044640633052 :methods: context::describe::before#all: :score: 44.8044640633052 :path: ./spec/file_spec.rb:141 :operators: :immediate_dest: 1.8 :branch: 5.00000000000001 :immediate_dest_name: 1.8 :entry: 2.0 :desc_date: 2.0 :batch: 1.8 :immediate_origin: 1.8 :to_s!: 2.0 :immediate_origin_name: 1.8 :effective_date: 2.0 :customer_name: 1.8 :strftime: 4.60000000000001 :with_transmission_header: 1.6 :first: 1.6 :split: 1.8 :before: 3.0 :now: 5.00000000000001 :assignment: 8.00000000000001 :origin_dfi_id: 2.0 :upcase: 2.2 :new: 3.20000000000001 :highest_score: 44.8044640633052 :path: ./spec/file_spec.rb :name: context::describe::before :average_score: 44.8044640633052 - :total_score: 93.5471100307853 :methods: ACH::File::Reader#current_batch: :score: 2.6 :path: ./lib/ach/file/reader.rb:93 :operators: :batches: 1.4 :last: 1.2 ACH::File::Reader#batches: :score: 1.2 :path: ./lib/ach/file/reader.rb:83 :operators: :assignment: 1.2 ACH::File::Reader#ach_data: :score: 3.88973006775535 :path: ./lib/ach/file/reader.rb:42 :operators: :branch: 1.2 :batches: 1.2 :process!: 1.3 :processed?: 1.2 ACH::File::Reader#each_line: :score: 6.83300812234261 :path: ./lib/ach/file/reader.rb:76 :operators: :branch: 1.2 :yield: 1.3 :chomp: 1.3 :each: 1.2 :to_i: 1.3 :[]: 1.5 :assignment: 1.3 ACH::File::Reader#none: :score: 11.0 :path: :operators: :include: 2.2 :private: 8.8 ACH::File::Reader#initialize_batch!: :score: 2.6 :path: ./lib/ach/file/reader.rb:88 :operators: :batches: 1.4 :<<: 1.2 ACH::File::Reader#current_entry: :score: 4.2 :path: ./lib/ach/file/reader.rb:98 :operators: :current_batch: 1.6 :last: 1.2 :[]: 1.4 ACH::File::Reader#process!: :score: 23.68733838995 :path: ./lib/ach/file/reader.rb:49 :operators: :branch: 10.9 :current_batch: 6.9 :current_entry: 1.7 :<<: 3.0 :initialize_batch!: 1.6 :[]: 3.4 :assignment: 11.2 :each_line: 1.2 ACH::File::Reader#initialize: :score: 1.2 :path: ./lib/ach/file/reader.rb:10 :operators: :assignment: 1.2 ACH::File::Reader#to_ach: :score: 36.3370334507373 :path: ./lib/ach/file/reader.rb:14 :operators: :build_control: 3.1 :branch: 9.70000000000001 :build_entry: 1.9 :batch: 1.5 :key?: 1.9 :build_addenda: 2.1 :each: 5.1 :build_header: 3.1 :ach_data: 1.2 :[]: 12.4 :assignment: 10.2 :new: 1.2 :highest_score: 36.3370334507373 :path: ./lib/ach/file/reader.rb :name: ACH::File::Reader :average_score: 9.35471100307853 - :total_score: 116.565960172747 :methods: ACH::File::Builder#batch_count: :score: 2.6 :path: ./lib/ach/file/builder.rb:6 :operators: :batches: 1.4 :length: 1.2 ACH::File::Builder#tails_count: :score: 5.6 :path: ./lib/ach/file/builder.rb:77 :operators: :-: 1.2 :block_count: 1.6 :*: 1.4 :record_count: 1.4 ACH::File::Builder#record_count: :score: 8.25 :path: ./lib/ach/file/builder.rb:44 :operators: :file_entry_addenda_count: 1.4 :+: 2.6 :lit_fixnum: 0.85 :batch_count: 1.8 :*: 1.6 ACH::File::Builder#none: :score: 1.1 :path: :operators: :private: 1.1 ACH::File::Builder#write: :score: 5.87281874401041 :path: ./lib/ach/file/builder.rb:49 :operators: :write: 1.3 :branch: 2.4 :to_s!: 1.5 :valid?: 1.2 :open: 1.2 :assignment: 1.3 ACH::File::Builder#to_ach: :score: 31.6455368101096 :path: ./lib/ach/file/builder.rb:64 :operators: :+: 4.2 :unshift: 1.3 :branch: 1.2 :batches: 2.2 :control: 1.6 :tail: 1.4 :block_pass: 2.2 :flatten: 1.8 :map: 2.0 :to_proc_normal: 11.0 :have_transmission_header?: 1.2 :assignment: 1.2 :transmission_header: 1.5 :header: 1.2 ACH::File::Builder#tail: :score: 4.0 :path: ./lib/ach/file/builder.rb:71 :operators: :tails_count: 1.4 :*: 1.2 :new: 1.4 ACH::File::Builder#entry_hash: :score: 1.2 :path: ./lib/ach/file/builder.rb:23 :operators: :batch_sum_of: 1.2 ACH::File::Builder#total_credit_amount: :score: 1.2 :path: ./lib/ach/file/builder.rb:33 :operators: :batch_sum_of: 1.2 ACH::File::Builder#batch_sum_of: :score: 17.4 :path: ./lib/ach/file/builder.rb:57 :operators: :batches: 1.8 :compact: 1.4 :block_pass: 3.2 :to_proc_normal: 7.0 :map: 1.6 :inject: 2.4 ACH::File::Builder#total_debit_amount: :score: 1.2 :path: ./lib/ach/file/builder.rb:28 :operators: :batch_sum_of: 1.2 ACH::File::Builder#block_count: :score: 6.0 :path: ./lib/ach/file/builder.rb:13 :operators: :/: 1.4 :ceil: 1.2 :to_f: 1.6 :record_count: 1.8 ACH::File::Builder#file_entry_addenda_count: :score: 16.6976046186272 :path: ./lib/ach/file/builder.rb:18 :operators: :branch: 2.7 :batches: 1.7 :block_pass: 1.5 :entry_addenda_count: 1.6 :to_proc_normal: 7.5 :map: 1.5 :assignment: 1.6 :inject: 2.6 ACH::File::Builder#to_s!: :score: 13.8 :path: ./lib/ach/file/builder.rb:39 :operators: :join: 1.2 :block_pass: 1.6 :map: 1.4 :to_proc_normal: 8.0 :to_ach: 1.6 :highest_score: 31.6455368101096 :path: ./lib/ach/file/builder.rb :name: ACH::File::Builder :average_score: 8.32614001233909 - :total_score: 180.103666936506 :methods: context::it#should be modified by calling attribute methods in block: :score: 9.83158176490437 :path: ./spec/file_spec.rb:31 :operators: :branch: 1.5 :company_name: 3.5 :it: 1.4 :==: 1.5 :should: 1.7 :assignment: 1.5 :new: 1.5 context::it#should has correctly detected amount: :score: 8.20000000000002 :path: ./spec/record/base_spec.rb:47 :operators: :fields: 2.0 :it: 1.4 :==: 1.4 :should: 1.6 :[]: 1.8 context::it#should fetch and return header: :score: 11.3 :path: ./spec/file_spec.rb:37 :operators: :immediate_dest: 1.9 :it: 1.4 :be_instance_of: 1.7 :==: 1.5 :should: 3.2 :assignment: 1.5 :header: 1.5 context::it#should have header and control record with length of 94: :score: 17.0241005636128 :path: ./spec/file_spec.rb:84 :operators: :branch: 1.4 :to_s!: 2.1 :length: 1.9 :each: 1.4 :it: 1.4 :send: 6.9 :==: 1.5 :should: 1.7 :assignment: 1.5 context::it#should has correctly detected customer_name: :score: 8.20000000000002 :path: ./spec/record/base_spec.rb:51 :operators: :fields: 2.0 :it: 1.4 :==: 1.4 :should: 1.6 :[]: 1.8 context::it#should return a batch when index is passed: :score: 7.80000000000001 :path: ./spec/file_spec.rb:62 :operators: :batches: 1.8 :it: 1.4 :be_instance_of: 1.6 :should: 1.4 :[]: 1.6 context::it#should correctly assign attributes: :score: 6.20000000000001 :path: ./spec/file_spec.rb:24 :operators: :company_id: 1.8 :it: 1.4 :==: 1.4 :should: 1.6 context::it#should raise exception on unknown attribute assignement: :score: 7.86447709641271 :path: ./spec/file_spec.rb:54 :operators: :branch: 1.6 :raise_error: 1.6 :it: 1.4 :should: 1.4 :lambda: 1.6 :new: 1.7 context::it#should assign attributes to a batch: :score: 13.1855982041013 :path: ./spec/file_spec.rb:74 :operators: :batches: 1.7 :include: 3.4 :it: 1.4 :should: 1.5 :attributes: 3.6 :[]: 1.5 :assignment: 1.5 context::it#should have length devisible by 94 (record size): :score: 12.0 :path: ./spec/file_spec.rb:88 :operators: :gsub: 2.0 :to_s!: 2.2 :%: 1.6 :length: 1.8 :it: 1.4 :be_zero: 1.6 :should: 1.4 context::it#number of records is multiple of 10 (transmission header is ignored): :score: 30.075 :path: ./spec/file_spec.rb:138 :operators: :lit_fixnum: 1.625 :to_s!: 3.4 :sample_file: 1.9 :%: 3.8 :it: 1.4 :-: 2.1 :with_transmission_header: 1.9 :size: 4.4 :split: 3.0 :==: 3.0 :should: 3.4 :assignment: 3.0 context::it#should be able to modify header info in block form: :score: 18.4124957569581 :path: ./spec/file_spec.rb:48 :operators: :immediate_dest: 1.9 :branch: 3.1 :immediate_dest_name: 3.6 :it: 1.4 :==: 3.0 :should: 3.4 :assignment: 3.0 :header: 3.1 :new: 1.5 context::it#should be able to create a batch: :score: 6.00000000000001 :path: ./spec/file_spec.rb:58 :operators: :batches: 1.6 :be_empty: 1.6 :should_not: 1.4 :it: 1.4 context::it#should assign a batch_number to a batch: :score: 17.4104135505163 :path: ./spec/file_spec.rb:69 :operators: :batch_number: 3.8 :batches: 1.7 :batch: 1.5 :lit_fixnum: 0.850000000000001 :it: 1.4 :==: 3.0 :should: 3.4 :[]: 1.5 :assignment: 3.0 context::it#should have correct record count: :score: 6.60000000000001 :path: ./spec/file_spec.rb:78 :operators: :lit_fixnum: 0.4 :it: 1.4 :==: 1.4 :should: 1.6 :record_count: 1.8 :highest_score: 30.075 :path: ./spec/file_spec.rb :name: context::it :average_score: 12.0069111291004 - :total_score: 32.2243234728112 :methods: ACH::Formatter::Rule#none: :score: 2.2 :path: :operators: :delegate: 1.1 :attr_reader: 1.1 ACH::Formatter::Rule#initialize: :score: 30.0243234728112 :path: ./lib/ach/formatter/rule.rb:13 :operators: :-@: 1.6 :branch: 7.9 :to_i: 1.2 :send: 10.5 :to_s: 1.4 :==: 3.7 :[]: 3.9 :assignment: 14.8 :new: 1.2 :match: 1.4 :highest_score: 30.0243234728112 :path: ./lib/ach/formatter/rule.rb :name: ACH::Formatter::Rule :average_score: 16.1121617364056 - :total_score: 80.0780974119463 :methods: context#creating record from string: :score: 1.3 :path: ./spec/record/base_spec.rb:52 :operators: :context: 1.3 context#reading from file: :score: 18.9232661028693 :path: ./spec/reader_spec.rb:33 :operators: :readlines: 2.2 :well_fargo_empty_filename: 1.5 :branch: 5.90000000000001 :each: 1.3 :context: 2.7 :subject: 1.6 :to_ach: 1.8 :before: 1.6 :assignment: 7.80000000000001 :new: 2.0 :well_fargo_with_data: 1.5 context#reading ACH file with batch: :score: 25.5759774984262 :path: ./spec/reader_spec.rb:53 :operators: :readlines: 2.0 :branch: 4.20000000000001 :batches: 2.1 :lit_fixnum: 0.425000000000001 :count: 1.9 :it: 2.80000000000001 :context: 1.3 :be_an: 1.7 :to_ach: 1.6 :before: 1.4 :==: 1.5 :should: 3.20000000000001 :assignment: 3.20000000000001 :header: 1.7 :new: 1.8 :well_fargo_with_data: 1.6 context#reading ACH file without batches: :score: 25.1602861668941 :path: ./spec/reader_spec.rb:43 :operators: :readlines: 2.0 :well_fargo_empty_filename: 1.6 :branch: 4.20000000000001 :batches: 2.1 :count: 1.9 :it: 2.80000000000001 :context: 1.3 :be_an: 1.7 :to_ach: 1.6 :before: 1.4 :==: 1.5 :should: 3.20000000000001 :assignment: 3.20000000000001 :header: 1.7 :new: 1.8 context#reading the ACH file: :score: 7.81856764375676 :path: ./spec/file_spec.rb:181 :operators: :branch: 2.8 :it: 1.4 :context: 1.3 :be_an: 1.7 :subject: 1.4 :should: 1.5 context#building the ACH file: :score: 1.3 :path: ./spec/file_spec.rb:175 :operators: :context: 1.3 :highest_score: 25.5759774984262 :path: ./spec/reader_spec.rb :name: context :average_score: 13.3463495686577 - :total_score: 116.565443812841 :methods: ACH::Component#method_missing: :score: 6.02494813255683 :path: ./lib/ach/component.rb:76 :operators: :branch: 2.5 :empty?: 1.3 :first: 1.4 :assignment: 1.4 :[]: 1.4 :defined?: 1.2 ACH::Component#after_initialize: :score: 7.22011080247388 :path: ./lib/ach/component.rb:139 :operators: :branch: 1.2 :instance_exec: 1.3 :class: 1.6 :each: 1.2 :block_pass: 1.5 :assignment: 1.3 :after_initialize_hooks: 1.4 ACH::Component#build_control: :score: 2.86356421265527 :path: ./lib/ach/component.rb:125 :operators: :class: 1.4 :from_s: 1.2 :assignment: 1.2 ACH::Component#header: :score: 18.6306199574786 :path: ./lib/ach/component.rb:104 :operators: :branch: 2.5 :fields_for: 1.4 :class: 3.0 :before_header: 1.2 :block_pass: 1.6 :tap: 1.2 :merge: 1.2 :assignment: 4.9 :instance_eval: 7.0 :new: 1.2 ACH::Component#build_header: :score: 2.86356421265527 :path: ./lib/ach/component.rb:113 :operators: :class: 1.4 :from_s: 1.2 :assignment: 1.2 ACH::Component#none: :score: 11.2178429299041 :path: :operators: :attr_reader: 1.1 :include: 4.4 :class_attribute: 2.2 :private: 1.1 :assignment: 2.2 :extend: 2.2 ACH::Component#initialize: :score: 21.0325937535055 :path: ./lib/ach/component.rb:66 :operators: :branch: 3.8 :class: 1.6 :each: 1.2 :block_pass: 1.5 :raise: 1.5 :default_attributes: 1.4 :after_initialize: 1.2 :defined?: 1.4 :merge: 1.2 :assignment: 7.7 :instance_eval: 6.5 :new: 1.7 ACH::Component#control: :score: 25.475674672126 :path: ./lib/ach/component.rb:117 :operators: :respond_to?: 1.5 :fields: 1.5 :branch: 4.8 :select: 1.3 :class: 1.3 :zip: 1.9 :flatten: 1.7 :send: 6.6 :map: 2.1 :[]: 3.0 :attributes: 1.7 :assignment: 7.4 :new: 1.3 ACH::Component#fields_for: :score: 21.2365251394855 :path: ./lib/ach/component.rb:129 :operators: :fields: 1.8 :find_all: 1.4 :is_a?: 1.2 :branch: 5.3 :camelize: 1.5 :include?: 1.6 :to_const: 1.3 :flatten: 1.6 :<: 1.2 :[]: 3.0 :attributes: 4.7 :assignment: 7.1 :highest_score: 25.475674672126 :path: ./lib/ach/component.rb :name: ACH::Component :average_score: 12.9517159792046 - :total_score: 116.002728862177 :methods: ACH::Batch::Builder#total_credit_amount: :score: 1.2 :path: ./lib/ach/batch/builder.rb:32 :operators: :amount_sum_for: 1.2 ACH::Batch::Builder#none: :score: 3.3 :path: :operators: :private: 3.3 ACH::Batch::Builder#amount_sum_for: :score: 24.9347147567403 :path: ./lib/ach/batch/builder.rb:48 :operators: :branch: 2.9 :select: 1.9 :compact: 1.5 :to_i: 1.8 :block_pass: 3.6 :entries: 2.1 :to_proc_normal: 7.5 :map: 1.7 :amount: 2.0 :assignment: 1.8 :inject: 2.6 ACH::Batch::Builder#has_debit?: :score: 11.0 :path: ./lib/ach/batch/builder.rb:11 :operators: :block_pass: 1.4 :entries: 1.4 :any?: 1.2 :to_proc_normal: 7.0 ACH::Batch::Builder#entry_hash: :score: 21.8997859578581 :path: ./lib/ach/batch/builder.rb:22 :operators: :routing_number: 2.1 :branch: 1.6 :/: 1.7 :lit_fixnum: 0.475 :compact: 1.4 :block_pass: 1.4 :to_i: 1.9 :entries: 1.8 :to_proc_normal: 7.0 :map: 1.6 :assignment: 1.7 :inject: 2.4 ACH::Batch::Builder#total_debit_amount: :score: 1.2 :path: ./lib/ach/batch/builder.rb:27 :operators: :amount_sum_for: 1.2 ACH::Batch::Builder#entry_addenda_count: :score: 11.0 :path: ./lib/ach/batch/builder.rb:16 :operators: :+: 1.2 :values: 1.8 :addendas: 2.0 :entries: 1.6 :flatten: 1.6 :size: 2.8 ACH::Batch::Builder#fetch_entries: :score: 16.1124175715502 :path: ./lib/ach/batch/builder.rb:55 :operators: :branch: 1.6 :compact: 1.2 :<<: 3.6 :addendas: 2.1 :entries: 1.8 :flatten: 1.4 :[]: 1.9 :assignment: 5.1 :inject: 3.2 ACH::Batch::Builder#to_ach: :score: 7.2 :path: ./lib/ach/batch/builder.rb:37 :operators: :+: 2.6 :fetch_entries: 1.6 :control: 1.4 :header: 1.6 ACH::Batch::Builder#before_header: :score: 7.15581057602841 :path: ./lib/ach/batch/builder.rb:42 :operators: :branch: 3.7 :lit_fixnum: 1.025 :has_credit?: 1.3 :attributes: 1.2 :has_debit?: 2.6 ACH::Batch::Builder#has_credit?: :score: 11.0 :path: ./lib/ach/batch/builder.rb:6 :operators: :block_pass: 1.4 :entries: 1.4 :any?: 1.2 :to_proc_normal: 7.0 :highest_score: 24.9347147567403 :path: ./lib/ach/batch/builder.rb :name: ACH::Batch::Builder :average_score: 10.5457026238343 - :total_score: 23.6038132512525 :methods: ACH::Record::Dynamic::method_missing: :score: 23.6038132512525 :path: ./lib/ach/record/dynamic.rb:40 :operators: :is_a?: 1.2 :branch: 7.50000000000001 :<<: 1.2 :raise: 2.9 :first: 4.2 :define_field_methods: 1.2 :=~: 1.2 :defined?: 1.2 :assignment: 11.5 :define: 1.4 :nil?: 1.4 :new: 3.3 :highest_score: 23.6038132512525 :path: ./lib/ach/record/dynamic.rb :name: ACH::Record::Dynamic::method_missing :average_score: 23.6038132512525 - :total_score: 23.2982831985535 :methods: ACH::Record::Base::define_field_methods: :score: 23.2982831985535 :path: ./lib/ach/record/base.rb:61 :operators: :branch: 4.9 :key?: 1.2 :empty?: 1.3 :define_method: 12.0 :raise: 1.3 :first: 1.4 :name: 1.7 :[]: 1.4 :assignment: 6.6 :new: 1.5 :highest_score: 23.2982831985535 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::define_field_methods :average_score: 23.2982831985535 - :total_score: 79.0106749270183 :methods: context::describe::it#should be eql to source string: :score: 7.20000000000001 :path: ./spec/reader_spec.rb:29 :operators: :read: 1.9 :it: 1.7 :==: 1.7 :should: 1.9 context::describe::it#has specified remote_id: :score: 6.60000000000001 :path: ./spec/file_spec.rb:125 :operators: :it: 1.5 :==: 1.5 :should: 1.7 :[]: 1.9 context::describe::it#should raise error when defining empty transmission header: :score: 10.6892469332503 :path: ./spec/file_spec.rb:105 :operators: :expect: 1.7 :branch: 3.5 :raise_error: 1.7 :to: 1.5 :it: 1.5 :transmission_header: 1.9 :new: 1.8 context::describe::it#has length of 38: :score: 7.02500000000001 :path: ./spec/file_spec.rb:121 :operators: :lit_fixnum: 0.425000000000001 :length: 1.9 :it: 1.5 :==: 1.5 :should: 1.7 context::describe::it#should use default values defined in inherited class: :score: 21.736835096214 :path: ./spec/file_spec.rb:168 :operators: :batches: 2.2 :immediate_dest_name: 2.0 :customer_name: 2.0 :it: 1.5 :entries: 1.8 :first: 3.6 :==: 3.2 :should: 3.6 :assignment: 3.2 :header: 1.6 context::describe::it#has specified application_id: :score: 6.60000000000001 :path: ./spec/file_spec.rb:129 :operators: :it: 1.5 :==: 1.5 :should: 1.7 :[]: 1.9 context::describe::it#have_transmission_header? method should return proper value: :score: 19.159592897554 :path: ./spec/file_spec.rb:117 :operators: :branch: 3.3 :application_id: 1.8 :be_false: 1.8 :it: 1.5 :be_true: 1.8 :have_transmission_header?: 3.6 :should: 3.2 :assignment: 3.2 :transmission_header: 1.7 :new: 3.2 :highest_score: 21.736835096214 :path: ./spec/file_spec.rb :name: context::describe::it :average_score: 11.2872392752883 - :total_score: 26.4494019192598 :methods: before#each: :score: 6.08276253029823 :path: ./spec/record/dynamic_spec.rb:16 :operators: :sample_file: 1.4 :before: 2.6 :assignment: 2.8 :new: 1.4 before#all: :score: 20.3666393889616 :path: ./spec/record/dynamic_spec.rb:4 :operators: :fields: 1.5 :branch: 4.00000000000001 :lit_fixnum: 0.900000000000002 :record_name: 1.6 :record_id: 1.6 :field_one: 1.6 :defaults: 1.5 :field_two: 1.6 :before: 3.90000000000001 :lambda: 1.3 :assignment: 2.60000000000001 :field_three: 1.6 :new: 2.70000000000001 :highest_score: 20.3666393889616 :path: ./spec/record/dynamic_spec.rb :name: before :average_score: 13.2247009596299 - :total_score: 19.0499343830891 :methods: context::before#each: :score: 19.0499343830891 :path: ./spec/record/base_spec.rb:39 :operators: :well_fargo_empty_filename: 1.6 :branch: 1.5 :read: 1.4 :batch: 1.6 :sample_file: 1.5 :from_s: 1.5 :before: 4.20000000000001 :assignment: 11.9 :new: 3.0 :highest_score: 19.0499343830891 :path: ./spec/record/base_spec.rb :name: context::before :average_score: 19.0499343830891 - :total_score: 23.6292325919035 :methods: ACH::File::TransmissionHeader#transmission_header: :score: 18.8292325919035 :path: ./lib/ach/file/transmission_header.rb:66 :operators: :branch: 3.7 :fields_for: 1.4 :class: 3.0 :block_pass: 1.6 :tap: 1.2 :have_transmission_header?: 1.2 :merge: 1.2 :assignment: 4.9 :instance_eval: 7.0 :new: 1.2 ACH::File::TransmissionHeader#have_transmission_header?: :score: 2.6 :path: ./lib/ach/file/transmission_header.rb:60 :operators: :class: 1.4 :have_transmission_header?: 1.2 ACH::File::TransmissionHeader#none: :score: 2.2 :path: :operators: :extend: 2.2 :highest_score: 18.8292325919035 :path: ./lib/ach/file/transmission_header.rb :name: ACH::File::TransmissionHeader :average_score: 7.87641086396783 - :total_score: 49.7579087340149 :methods: ACH::Record::Base#[]=: :score: 1.69705627484772 :path: ./lib/ach/record/base.rb:103 :operators: :fields: 1.2 :assignment: 1.2 ACH::Record::Base#defaults: :score: 2.6 :path: ./lib/ach/record/base.rb:98 :operators: :class: 1.4 :defaults: 1.2 ACH::Record::Base#initialize: :score: 18.7213781543988 :path: ./lib/ach/record/base.rb:77 :operators: :fields: 2.7 :branch: 3.7 :===: 1.3 :call: 1.4 :merge!: 1.2 :each: 1.2 :block_pass: 1.5 :defaults: 1.4 :assignment: 6.40000000000001 :instance_eval: 6.50000000000001 ACH::Record::Base#fields: :score: 1.2 :path: ./lib/ach/record/base.rb:94 :operators: :assignment: 1.2 ACH::Record::Base#to_s!: :score: 16.7394743047684 :path: ./lib/ach/record/base.rb:86 :operators: :fields: 1.6 :branch: 3.0 :class: 1.8 :format: 1.6 :join: 1.2 :raise: 1.7 :map: 1.4 :[]: 3.6 :assignment: 1.5 :new: 1.9 :nil?: 1.6 ACH::Record::Base#none: :score: 8.80000000000001 :path: :operators: :private_class_method: 2.2 :include: 4.4 :private: 2.2 :highest_score: 18.7213781543988 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base :average_score: 8.29298478900248 - :total_score: 17.5482192828788 :methods: ACH::File#none: :score: 17.5482192828788 :path: :operators: :+: 1.4 :branch: 1.3 :batches: 1.8 :lit_fixnum: 0.4 :include: 4.4 :has_many: 1.1 :length: 1.6 :autoload: 5.5 :lambda: 1.3 :highest_score: 17.5482192828788 :path: "" :name: ACH::File :average_score: 17.5482192828788 - :total_score: 17.3695135222608 :methods: ACH::Component::has_many: :score: 17.3695135222608 :path: ./lib/ach/component.rb:160 :operators: :branch: 3.1 :to_sym: 1.2 :camelize: 1.4 :singularize: 1.2 :attr_reader: 1.2 :<<: 1.2 :to_const: 1.2 :instance_variable_set: 1.5 :lambda: 1.4 :after_initialize_hooks: 1.4 :to_s: 1.4 :[]: 2.4 :assignment: 7.2 :highest_score: 17.3695135222608 :path: ./lib/ach/component.rb :name: ACH::Component::has_many :average_score: 17.3695135222608 - :total_score: 29.7568801245017 :methods: context::describe#inherited class: :score: 1.4 :path: ./spec/file_spec.rb:169 :operators: :describe: 1.4 context::describe#file control: :score: 9.86711710683522 :path: ./spec/file_spec.rb:174 :operators: :branch: 3.0 :control: 1.6 :it: 1.5 :describe: 1.4 :be_an: 1.8 :subject: 1.5 :should: 1.6 context::describe#transmission header: :score: 1.4 :path: ./spec/file_spec.rb:130 :operators: :describe: 1.4 context::describe#reverse conversion: :score: 17.0897630176665 :path: ./spec/reader_spec.rb:30 :operators: :gsub!: 3.80000000000001 :branch: 5.10000000000001 :to_s!: 1.9 :be_a: 2.0 :it: 1.7 :describe: 1.6 :subject: 1.7 :before: 1.7 :should: 1.8 :assignment: 1.9 :highest_score: 17.0897630176665 :path: ./spec/file_spec.rb :name: context::describe :average_score: 7.43922003112543 - :total_score: 14.9535948855117 :methods: ACH::File::TransmissionHeader::ClassMethods#transmission_header: :score: 14.9535948855117 :path: ./lib/ach/file/transmission_header.rb:41 :operators: :fields: 3.2 :branch: 3.9 :const_set: 1.3 :empty?: 1.4 :block_pass: 1.5 :raise: 2.8 :have_transmission_header?: 1.3 :assignment: 2.6 :nil?: 1.4 :new: 1.3 :highest_score: 14.9535948855117 :path: ./lib/ach/file/transmission_header.rb :name: ACH::File::TransmissionHeader::ClassMethods :average_score: 14.9535948855117 - :total_score: 14.8485689546165 :methods: ACH::Record::Base::from_s: :score: 14.8485689546165 :path: ./lib/ach/record/base.rb:72 :operators: :fields: 3.4 :zip: 1.8 :flatten: 1.6 :matcher_for: 1.2 :[]: 3.4 :assignment: 1.2 :new: 1.2 :match: 2.2 :highest_score: 14.8485689546165 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::from_s :average_score: 14.8485689546165 - :total_score: 35.2929263016137 :methods: ACH::Validations#valid?: :score: 7.69415362466855 :path: ./lib/ach/validations.rb:5 :operators: :valid_record?: 1.3 :is_a?: 1.2 :branch: 1.2 :empty?: 1.2 :errors: 1.4 :reset_errors!: 1.2 :valid_component?: 1.3 ACH::Validations#valid_component?: :score: 11.6619305863138 :path: ./lib/ach/validations.rb:11 :operators: :branch: 2.5 :lit_fixnum: 0.375 :class: 1.5 :valid?: 1.3 :each: 1.2 :errors: 3.0 :to_ach: 1.4 :assignment: 5.50000000000001 :new: 1.2 ACH::Validations#reset_errors!: :score: 1.69705627484772 :path: ./lib/ach/validations.rb:33 :operators: :assignment: 1.2 :new: 1.2 ACH::Validations#errors: :score: 1.76918060129541 :path: ./lib/ach/validations.rb:29 :operators: :branch: 1.2 :reset_errors!: 1.3 ACH::Validations#valid_record?: :score: 9.17060521448831 :path: ./lib/ach/validations.rb:22 :operators: :fields: 2.9 :branch: 2.5 :class: 1.6 :each: 1.2 :errors: 1.4 :[]: 1.3 :assignment: 2.7 ACH::Validations#none: :score: 3.3 :path: :operators: :private: 3.3 :highest_score: 11.6619305863138 :path: ./lib/ach/validations.rb :name: ACH::Validations :average_score: 5.88215438360229 - :total_score: 11.4247811795237 :methods: ACH::File::Header#none: :score: 11.4247811795237 :path: :operators: :branch: 2.6 :fields: 1.1 :lit_fixnum: 0.325 :strftime: 2.8 :defaults: 1.1 :now: 3.2 :lambda: 2.6 :highest_score: 11.4247811795237 :path: "" :name: ACH::File::Header :average_score: 11.4247811795237 - :total_score: 10.8 :methods: ACH#none: :score: 10.8 :path: :operators: :autoload: 8.40000000000001 :extend: 2.4 :highest_score: 10.8 :path: "" :name: ACH :average_score: 10.8 - :total_score: 7.7 :methods: ACH::Record#none: :score: 7.7 :path: :operators: :autoload: 5.5 :extend: 2.2 :highest_score: 7.7 :path: "" :name: ACH::Record :average_score: 7.7 - :total_score: 7.7 :methods: ACH::Batch#none: :score: 7.7 :path: :operators: :include: 2.2 :has_many: 2.2 :autoload: 3.3 :highest_score: 7.7 :path: "" :name: ACH::Batch :average_score: 7.7 - :total_score: 7.26722092687432 :methods: ACH::Batch::Header#none: :score: 7.26722092687432 :path: :operators: :branch: 1.3 :fields: 1.1 :lit_fixnum: 0.65 :strftime: 1.4 :defaults: 1.1 :now: 1.6 :lambda: 1.3 :highest_score: 7.26722092687432 :path: "" :name: ACH::Batch::Header :average_score: 7.26722092687432 - :total_score: 9.57320050732838 :methods: before::ACH::Formatter#each: :score: 3.22024843762093 :path: :operators: :branch: 1.4 :remove_const: 2.90000000000001 before::ACH::Formatter#all: :score: 6.35295206970745 :path: :operators: :remove_const: 1.6 :dup: 1.4 :assignment: 5.60000000000001 :highest_score: 6.35295206970745 :path: "" :name: before::ACH::Formatter :average_score: 4.78660025366419 - :total_score: 6.15223536610881 :methods: ACH::Formatter::matcher_for: :score: 6.15223536610881 :path: ./lib/ach/formatter.rb:116 :operators: :branch: 1.4 :rule_for_field: 1.7 :length: 1.5 :join: 1.2 :map: 1.4 :assignment: 1.5 :highest_score: 6.15223536610881 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::matcher_for :average_score: 6.15223536610881 - :total_score: 6.00000000000002 :methods: context::itshould be an instance of ACH::Record: :score: 6.00000000000002 :path: ./spec/record/base_spec.rb:43 :operators: :is_a?: 1.6 :it: 1.4 :be_true: 1.6 :should: 1.4 :highest_score: 6.00000000000002 :path: ./spec/record/base_spec.rb :name: context::itshould be an instance of ACH::Record :average_score: 6.00000000000002 - :total_score: 12.125 :methods: ACH::Record::Entry#credit?: :score: 6.0 :path: ./lib/ach/record/entry.rb:44 :operators: :include?: 1.2 :transaction_code: 1.8 :[]: 1.4 :to_s: 1.6 ACH::Record::Entry#none: :score: 4.925 :path: :operators: :fields: 1.1 :lit_fixnum: 0.325 :freeze: 1.1 :defaults: 1.1 :to_a: 1.3 ACH::Record::Entry#debit?: :score: 1.2 :path: ./lib/ach/record/entry.rb:40 :operators: :credit?: 1.2 :highest_score: 6.0 :path: ./lib/ach/record/entry.rb :name: ACH::Record::Entry :average_score: 4.04166666666667 - :total_score: 5.72712842531054 :methods: ACH::Component::inherited: :score: 5.72712842531054 :path: ./lib/ach/component.rb:43 :operators: :dup: 2.4 :default_attributes: 1.4 :after_initialize_hooks: 1.4 :assignment: 2.4 :highest_score: 5.72712842531054 :path: ./lib/ach/component.rb :name: ACH::Component::inherited :average_score: 5.72712842531054 - :total_score: 5.06951674225463 :methods: ACH::Record::Base::fields: :score: 5.06951674225463 :path: ./lib/ach/record/base.rb:49 :operators: :branch: 2.4 :empty?: 1.2 :each: 1.2 :define_field_methods: 1.3 :assignment: 2.5 :highest_score: 5.06951674225463 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::fields :average_score: 5.06951674225463 - :total_score: 5.00000000000001 :methods: context::itshould return instance of the ACH::File: :score: 5.00000000000001 :path: ./spec/reader_spec.rb:16 :operators: :it: 1.6 :be_instance_of: 1.8 :should: 1.6 :highest_score: 5.00000000000001 :path: ./spec/reader_spec.rb :name: context::itshould return instance of the ACH::File :average_score: 5.00000000000001 - :total_score: 4.91629942131275 :methods: ACH::to_const: :score: 4.91629942131275 :path: ./lib/ach_builder.rb:25 :operators: :branch: 1.5 :detect: 1.5 :assignment: 1.6 :const_get: 1.3 :const_defined?: 1.6 :highest_score: 4.91629942131275 :path: ./lib/ach_builder.rb :name: ACH::to_const :average_score: 4.91629942131275 - :total_score: 9.00000000000003 :methods: AchFilesExamples#well_fargo_empty_filename: :score: 4.50000000000001 :path: ./spec/support/helpers/ach_files_examples.rb:3 :operators: :+: 1.5 :dirname: 1.7 :expand_path: 1.3 AchFilesExamples#well_fargo_with_data: :score: 4.50000000000001 :path: ./spec/support/helpers/ach_files_examples.rb:7 :operators: :+: 1.5 :dirname: 1.7 :expand_path: 1.3 :highest_score: 4.50000000000001 :path: ./spec/support/helpers/ach_files_examples.rb :name: AchFilesExamples :average_score: 4.50000000000001 - :total_score: 4.37378554572581 :methods: ACH::File::read: :score: 4.37378554572581 :path: ./lib/ach/file.rb:50 :operators: :branch: 1.2 :to_ach: 1.3 :open: 1.2 :assignment: 1.3 :new: 1.5 :highest_score: 4.37378554572581 :path: ./lib/ach/file.rb :name: ACH::File::read :average_score: 4.37378554572581 - :total_score: 4.3266615305568 :methods: ACH::FileFactory::with_transmission_header: :score: 4.3266615305568 :path: ./spec/support/ach_file_factory.rb:50 :operators: :sample_file: 1.2 :define_transmission_header_fields: 1.2 :merge: 1.2 :assignment: 2.40000000000001 :highest_score: 4.3266615305568 :path: ./spec/support/ach_file_factory.rb :name: ACH::FileFactory::with_transmission_header :average_score: 4.3266615305568 - :total_score: 4.19165838302694 :methods: ACH::Component::method_missing: :score: 4.19165838302694 :path: ./lib/ach/component.rb:58 :operators: :branch: 1.2 :first: 1.3 :default_attributes: 1.3 :assignment: 1.3 :defined?: 1.2 :highest_score: 4.19165838302694 :path: ./lib/ach/component.rb :name: ACH::Component::method_missing :average_score: 4.19165838302694 - :total_score: 3.8 :methods: ACH::Formatter::rule_for_field: :score: 3.8 :path: ./lib/ach/formatter.rb:105 :operators: :compiled_rules: 1.2 :[]: 1.4 :new: 1.2 :highest_score: 3.8 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::rule_for_field :average_score: 3.8 - :total_score: 3.6 :methods: ACH::Record::Base::defaults: :score: 3.6 :path: ./lib/ach/record/base.rb:56 :operators: :branch: 1.2 :freeze: 1.2 :assignment: 2.4 :nil?: 1.2 :highest_score: 3.6 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::defaults :average_score: 3.6 - :total_score: 3.5 :methods: ACH::Record::Tail#none: :score: 3.5 :path: :operators: :fields: 1.1 :defaults: 1.1 :*: 1.3 :highest_score: 3.5 :path: "" :name: ACH::Record::Tail :average_score: 3.5 - :total_score: 3.3 :methods: ACH::Formatter#none: :score: 3.3 :path: :operators: :autoload: 1.1 :extend: 2.2 :highest_score: 3.3 :path: "" :name: ACH::Formatter :average_score: 3.3 - :total_score: 2.77308492477242 :methods: ACH::FileFactory::define_transmission_header_fields: :score: 2.77308492477242 :path: ./spec/support/ach_file_factory.rb:56 :operators: :branch: 1.2 :merge!: 1.3 :defined?: 1.2 :highest_score: 2.77308492477242 :path: ./spec/support/ach_file_factory.rb :name: ACH::FileFactory::define_transmission_header_fields :average_score: 2.77308492477242 - :total_score: 2.77308492477241 :methods: ACH::Formatter::method_missing: :score: 2.77308492477241 :path: ./lib/ach/formatter.rb:94 :operators: :branch: 1.2 :format: 1.3 :defined?: 1.2 :highest_score: 2.77308492477241 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::method_missing :average_score: 2.77308492477241 - :total_score: 2.6 :methods: ACH::Formatter::format: :score: 2.6 :path: ./lib/ach/formatter.rb:99 :operators: :rule_for_field: 1.4 :call: 1.2 :highest_score: 2.6 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::format :average_score: 2.6 - :total_score: 2.525 :methods: ACH::Record::Addenda#none: :score: 2.525 :path: :operators: :fields: 1.1 :lit_fixnum: 0.325 :defaults: 1.1 :highest_score: 2.525 :path: "" :name: ACH::Record::Addenda :average_score: 2.525 - :total_score: 2.475 :methods: ACH::Constants#none: :score: 2.475 :path: :operators: :lit_fixnum: 2.475 :highest_score: 2.475 :path: "" :name: ACH::Constants :average_score: 2.475 - :total_score: 2.2 :methods: ACH::File::Control#none: :score: 2.2 :path: :operators: :fields: 1.1 :defaults: 1.1 :highest_score: 2.2 :path: "" :name: ACH::File::Control :average_score: 2.2 - :total_score: 2.2 :methods: ACH::Batch::Control#none: :score: 2.2 :path: :operators: :fields: 1.1 :defaults: 1.1 :highest_score: 2.2 :path: "" :name: ACH::Batch::Control :average_score: 2.2 - :total_score: 1.4 :methods: after::ACH::Formatter#each: :score: 1.4 :path: :operators: :remove_const: 1.4 :highest_score: 1.4 :path: "" :name: after::ACH::Formatter :average_score: 1.4 - :total_score: 1.3 :methods: after#each: :score: 1.3 :path: ./spec/record/dynamic_spec.rb:27 :operators: :after: 1.3 :highest_score: 1.3 :path: ./spec/record/dynamic_spec.rb :name: after :average_score: 1.3 - :total_score: 1.2 :methods: ACH::Record::Base::EmptyFieldError#initialize: :score: 1.2 :path: ./lib/ach/record/base.rb:41 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::EmptyFieldError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Record::Base::UnknownFieldError#initialize: :score: 1.2 :path: ./lib/ach/record/base.rb:33 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/record/base.rb :name: ACH::Record::Base::UnknownFieldError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Record::Dynamic::DuplicateFormatError#initialize: :score: 1.2 :path: ./lib/ach/record/dynamic.rb:29 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/record/dynamic.rb :name: ACH::Record::Dynamic::DuplicateFormatError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Record::Dynamic::UndefinedFormatError#initialize: :score: 1.2 :path: ./lib/ach/record/dynamic.rb:35 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/record/dynamic.rb :name: ACH::Record::Dynamic::UndefinedFormatError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Formatter::defined?: :score: 1.2 :path: ./lib/ach/formatter.rb:83 :operators: :key?: 1.2 :highest_score: 1.2 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::defined? :average_score: 1.2 - :total_score: 1.2 :methods: ACH::File::TransmissionHeader::EmptyTransmissionHeaderError#initialize: :score: 1.2 :path: ./lib/ach/file/transmission_header.rb:34 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/file/transmission_header.rb :name: ACH::File::TransmissionHeader::EmptyTransmissionHeaderError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Formatter::define: :score: 1.2 :path: ./lib/ach/formatter.rb:88 :operators: :assignment: 1.2 :highest_score: 1.2 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::define :average_score: 1.2 - :total_score: 1.2 :methods: ACH::File::TransmissionHeader::RedefinedTransmissionHeaderError#initialize: :score: 1.2 :path: ./lib/ach/file/transmission_header.rb:27 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/file/transmission_header.rb :name: ACH::File::TransmissionHeader::RedefinedTransmissionHeaderError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Component::UnknownAttributeError#initialize: :score: 1.2 :path: ./lib/ach/component.rb:20 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/component.rb :name: ACH::Component::UnknownAttributeError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Component::NoLinkError#initialize: :score: 1.2 :path: ./lib/ach/component.rb:31 :operators: :super: 1.2 :highest_score: 1.2 :path: ./lib/ach/component.rb :name: ACH::Component::NoLinkError :average_score: 1.2 - :total_score: 1.2 :methods: ACH::Formatter::compiled_rules: :score: 1.2 :path: ./lib/ach/formatter.rb:110 :operators: :assignment: 1.2 :highest_score: 1.2 :path: ./lib/ach/formatter.rb :name: ACH::Formatter::compiled_rules :average_score: 1.2 :total: 1741.15709879323 :hotspots: :methods: - :details: :flog: complexity is 77.5 :location: !ruby/object:MetricFu::Location class_name: main file_path: hash: 2077376252 method_name: main#none simple_method_name: "#none" - :details: :flog: complexity is 49.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/tail_spec.rb:6 hash: 7259691805 method_name: it#should have length of 94 simple_method_name: "#should have length of 94" - :details: :flog: complexity is 44.8 :location: !ruby/object:MetricFu::Location class_name: context::describe::before file_path: ./spec/file_spec.rb:141 hash: -3895795311 method_name: context#describe#before#all simple_method_name: context#describe#before#all - :details: :reek: found 3 code smells :flog: complexity is 36.3 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb hash: -8539258490 method_name: Reader#to_ach simple_method_name: "#to_ach" - :details: :flog: complexity is 32.3 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:34 hash: 3584369940 method_name: it#should append addenda records after entry records simple_method_name: "#should append addenda records after entry records" - :details: :flog: complexity is 30.1 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:138 hash: -1873103345 method_name: context#it#number of records is multiple of 10 (transmission header is ignored) simple_method_name: context#it#number of records is multiple of 10 (transmission header is ignored) - :details: :flog: complexity is 30.0 :location: !ruby/object:MetricFu::Location class_name: Rule file_path: ./lib/ach/formatter/rule.rb:13 hash: 2614965519 method_name: Rule#initialize simple_method_name: "#initialize" - :details: :reek: found 1 code smells :flog: complexity is 25.5 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb hash: -2905176687 method_name: Component#control simple_method_name: "#control" - :details: :flog: complexity is 25.6 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/reader_spec.rb:53 hash: -8557526285 method_name: context#reading ACH file with batch simple_method_name: "#reading ACH file with batch" - :details: :flog: complexity is 25.2 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/reader_spec.rb:43 hash: -7637600858 method_name: context#reading ACH file without batches simple_method_name: "#reading ACH file without batches" - :details: :flog: complexity is 24.9 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb:48 hash: -2889716141 method_name: Builder#amount_sum_for simple_method_name: "#amount_sum_for" - :details: :reek: found 2 code smells :flog: complexity is 23.7 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb hash: 8002487145 method_name: Reader#process! simple_method_name: "#process!" - :details: :reek: found 3 code smells :flog: complexity is 21.2 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb hash: 4020115612 method_name: Component#fields_for simple_method_name: "#fields_for" - :details: :flog: complexity is 21.7 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:168 hash: 2688034247 method_name: context#describe#it#should use default values defined in inherited class simple_method_name: context#describe#it#should use default values defined in inherited class - :details: :flog: complexity is 21.1 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:71 hash: 3730753576 method_name: it#should have header and control record with length of 94 simple_method_name: "#should have header and control record with length of 94" - :details: :flog: complexity is 21.0 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb:66 hash: 6021569422 method_name: Component#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 20.4 :location: !ruby/object:MetricFu::Location class_name: before file_path: ./spec/record/dynamic_spec.rb:4 hash: -6047187069 method_name: before#all simple_method_name: "#all" - :details: :flog: average complexity is 19.4 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:64 hash: 835227743 method_name: Builder#to_ach simple_method_name: "#to_ach" - :details: :reek: found 1 code smells :flog: complexity is 18.7 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb hash: -3743205495 method_name: Base#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 19.2 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:117 hash: -3952569101 method_name: context#describe#it#have_transmission_header? method should return proper value simple_method_name: context#describe#it#have_transmission_header? method should return proper value - :details: :reek: found 1 code smells :flog: complexity is 18.8 :location: !ruby/object:MetricFu::Location class_name: TransmissionHeader file_path: ./lib/ach/file/transmission_header.rb hash: -6370651985 method_name: TransmissionHeader#transmission_header simple_method_name: "#transmission_header" - :details: :flog: complexity is 19.0 :location: !ruby/object:MetricFu::Location class_name: context::before file_path: ./spec/record/base_spec.rb:39 hash: 2435435454 method_name: context#before#each simple_method_name: context#before#each - :details: :flog: complexity is 18.9 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/reader_spec.rb:33 hash: 7099823893 method_name: context#reading from file simple_method_name: "#reading from file" - :details: :reek: found 1 code smells :flog: complexity is 18.6 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb hash: 2689058493 method_name: Component#header simple_method_name: "#header" - :details: :flog: complexity is 18.4 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:48 hash: -3232206747 method_name: context#it#should be able to modify header info in block form simple_method_name: context#it#should be able to modify header info in block form - :details: :flog: complexity is 17.5 :location: !ruby/object:MetricFu::Location class_name: File file_path: hash: -334450501 method_name: File#none simple_method_name: "#none" - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:69 hash: 3610901781 method_name: context#it#should assign a batch_number to a batch simple_method_name: context#it#should assign a batch_number to a batch - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:57 hash: -1300612791 method_name: Builder#batch_sum_of simple_method_name: "#batch_sum_of" - :details: :flog: complexity is 17.1 :location: !ruby/object:MetricFu::Location class_name: context::describe file_path: ./spec/reader_spec.rb:30 hash: -5856377504 method_name: context#describe#reverse conversion simple_method_name: context#describe#reverse conversion - :details: :flog: complexity is 17.0 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:84 hash: 3787472656 method_name: context#it#should have header and control record with length of 94 simple_method_name: context#it#should have header and control record with length of 94 - :details: :reek: found 1 code smells :flog: complexity is 16.7 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb hash: 3917942949 method_name: Base#to_s! simple_method_name: "#to_s!" - :details: :flog: complexity is 16.7 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:18 hash: -162875853 method_name: Builder#file_entry_addenda_count simple_method_name: "#file_entry_addenda_count" - :details: :flog: complexity is 16.1 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb:55 hash: -3812943039 method_name: Builder#fetch_entries simple_method_name: "#fetch_entries" - :details: :reek: found 1 code smells :flog: complexity is 15.0 :location: !ruby/object:MetricFu::Location class_name: ClassMethods file_path: ./lib/ach/file/transmission_header.rb hash: 8241726912 method_name: ClassMethods#transmission_header simple_method_name: "#transmission_header" - :details: :flog: complexity is 14.2 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/base_spec.rb:27 hash: -70421989 method_name: it#should generate formatted string simple_method_name: "#should generate formatted string" - :details: :flog: complexity is 13.8 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:39 hash: -751152547 method_name: Builder#to_s! simple_method_name: "#to_s!" - :details: :flog: complexity is 13.2 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:74 hash: -3570876583 method_name: context#it#should assign attributes to a batch simple_method_name: context#it#should assign attributes to a batch - :details: :flog: complexity is 12.5 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:65 hash: 4207408107 method_name: it#should generate 200 service_class_code for header if with debit and credit entries simple_method_name: "#should generate 200 service_class_code for header if with debit and credit entries" - :details: :reek: found 1 code smells :flog: complexity is 11.7 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb hash: 5177970849 method_name: Validations#valid_component? simple_method_name: "#valid_component?" - :details: :flog: complexity is 12.0 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:88 hash: -2223694138 method_name: context#it#should have length devisible by 94 (record size) simple_method_name: context#it#should have length devisible by 94 (record size) - :details: :flog: complexity is 11.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:65 hash: -445000493 method_name: it#should raise error when redefining new rule simple_method_name: "#should raise error when redefining new rule" - :details: :flog: average complexity is 11.5 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:23 hash: -551252267 method_name: Builder#entry_hash simple_method_name: "#entry_hash" - :details: :flog: complexity is 11.4 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:13 hash: -3421853414 method_name: it#should create entry with attributes in hash form simple_method_name: "#should create entry with attributes in hash form" - :details: :flog: complexity is 11.3 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:37 hash: -2341944995 method_name: context#it#should fetch and return header simple_method_name: context#it#should fetch and return header - :details: :flog: complexity is 11.2 :location: !ruby/object:MetricFu::Location class_name: Component file_path: hash: -2604870840 method_name: Component#none simple_method_name: "#none" - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: hash: -4058899124 method_name: Reader#none simple_method_name: "#none" - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb:6 hash: 3144660282 method_name: Builder#has_credit? simple_method_name: "#has_credit?" - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb:16 hash: -3647638870 method_name: Builder#entry_addenda_count simple_method_name: "#entry_addenda_count" - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb:11 hash: 3816367018 method_name: Builder#has_debit? simple_method_name: "#has_debit?" - :details: :flog: complexity is 10.8 :location: !ruby/object:MetricFu::Location class_name: ACH file_path: hash: 1938396405 method_name: ACH#none simple_method_name: "#none" - :details: :flog: complexity is 10.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:59 hash: 3189369568 method_name: it#should generate 220 service_class_code for header if with credit entry only simple_method_name: "#should generate 220 service_class_code for header if with credit entry only" - :details: :flog: complexity is 10.7 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:105 hash: 2279465067 method_name: context#describe#it#should raise error when defining empty transmission header simple_method_name: context#describe#it#should raise error when defining empty transmission header - :details: :flog: complexity is 10.5 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:39 hash: 3398980387 method_name: it#should return false for has_credit? and has_debit? for empty entries simple_method_name: "#should return false for has_credit? and has_debit? for empty entries" - :details: :flog: complexity is 10.3 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:54 hash: 2221230615 method_name: it#should generate 225 service_class_code for header if with debit entry only simple_method_name: "#should generate 225 service_class_code for header if with debit entry only" - :details: :flog: complexity is 10.0 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:20 hash: -2815978062 method_name: it#should create entry with attributes in block form simple_method_name: "#should create entry with attributes in block form" - :details: :flog: complexity is 9.9 :location: !ruby/object:MetricFu::Location class_name: context::describe file_path: ./spec/file_spec.rb:174 hash: 992587687 method_name: context#describe#file control simple_method_name: context#describe#file control - :details: :flog: complexity is 9.8 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:31 hash: 3477372391 method_name: context#it#should be modified by calling attribute methods in block simple_method_name: context#it#should be modified by calling attribute methods in block - :details: :flog: complexity is 9.4 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:73 hash: -1992751375 method_name: it#should raise error when declaring unknown field without specifying a format simple_method_name: "#should raise error when declaring unknown field without specifying a format" - :details: :flog: average complexity is 9.3 :location: !ruby/object:MetricFu::Location class_name: Header file_path: hash: -713130170 method_name: Header#none simple_method_name: "#none" - :details: :flog: complexity is 9.2 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:25 hash: 2858843551 method_name: it#should raise error when adding addenda records without any entry simple_method_name: "#should raise error when adding addenda records without any entry" - :details: :flog: complexity is 9.2 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb:22 hash: 5074890456 method_name: Validations#valid_record? simple_method_name: "#valid_record?" - :details: :flog: complexity is 9.1 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/base_spec.rb:33 hash: -1903031588 method_name: it#should raise exception with unfilled value simple_method_name: "#should raise exception with unfilled value" - :details: :flog: complexity is 8.9 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:41 hash: 1830697552 method_name: it#should add new rules to a formatter simple_method_name: "#should add new rules to a formatter" - :details: :flog: complexity is 8.8 :location: !ruby/object:MetricFu::Location class_name: Base file_path: hash: -970639980 method_name: Base#none simple_method_name: "#none" - :details: :flog: complexity is 8.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:55 hash: 69707460 method_name: it#should assign default values to a record simple_method_name: "#should assign default values to a record" - :details: :flog: complexity is 8.3 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:44 hash: -1330702860 method_name: Builder#record_count simple_method_name: "#record_count" - :details: :flog: complexity is 8.2 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/record/base_spec.rb:47 hash: 2612425113 method_name: context#it#should has correctly detected amount simple_method_name: context#it#should has correctly detected amount - :details: :flog: complexity is 8.2 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/record/base_spec.rb:51 hash: -3952081910 method_name: context#it#should has correctly detected customer_name simple_method_name: context#it#should has correctly detected customer_name - :details: :flog: complexity is 8.1 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:44 hash: -3344815881 method_name: it#should return true for has_credit? if contains credit entry simple_method_name: "#should return true for has_credit? if contains credit entry" - :details: :flog: complexity is 7.9 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:54 hash: 2324392519 method_name: context#it#should raise exception on unknown attribute assignement simple_method_name: context#it#should raise exception on unknown attribute assignement - :details: :flog: complexity is 7.8 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/file_spec.rb:181 hash: 2581132264 method_name: context#reading the ACH file simple_method_name: "#reading the ACH file" - :details: :flog: complexity is 7.8 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:62 hash: -2413749929 method_name: context#it#should return a batch when index is passed simple_method_name: context#it#should return a batch when index is passed - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/base_spec.rb:17 hash: 854123901 method_name: it#should create a record with default value simple_method_name: "#should create a record with default value" - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:49 hash: 4165947704 method_name: it#should return true for has_debit? if contains debit entry simple_method_name: "#should return true for has_debit? if contains debit entry" - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: Record file_path: hash: -1995658900 method_name: Record#none simple_method_name: "#none" - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: Batch file_path: hash: -3563302357 method_name: Batch#none simple_method_name: "#none" - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb:5 hash: 6831343267 method_name: Validations#valid? simple_method_name: "#valid?" - :details: :flog: complexity is 7.6 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:46 hash: -1563609036 method_name: it#should add declared fields to a record simple_method_name: "#should add declared fields to a record" - :details: :flog: complexity is 7.6 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/base_spec.rb:22 hash: 1288440026 method_name: it#should overwrite default value simple_method_name: "#should overwrite default value" - :details: :reek: found 1 code smells :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb hash: -4988211714 method_name: Builder#before_header simple_method_name: "#before_header" - :details: :flog: complexity is 7.3 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/dynamic_spec.rb:36 hash: 1333317376 method_name: it#should should not raise error on valid record definition simple_method_name: "#should should not raise error on valid record definition" - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb:139 hash: 1398587022 method_name: Component#after_initialize simple_method_name: "#after_initialize" - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/reader_spec.rb:29 hash: 6456294439 method_name: context#describe#it#should be eql to source string simple_method_name: context#describe#it#should be eql to source string - :details: :flog: complexity is 7.0 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:121 hash: -3402194958 method_name: context#describe#it#has length of 38 simple_method_name: context#describe#it#has length of 38 - :details: :reek: found 1 code smells :flog: complexity is 6.8 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb hash: -6559842750 method_name: Reader#each_line simple_method_name: "#each_line" - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:129 hash: 3743196078 method_name: context#describe#it#has specified application_id simple_method_name: context#describe#it#has specified application_id - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/file_spec.rb:125 hash: 2187454057 method_name: context#describe#it#has specified remote_id simple_method_name: context#describe#it#has specified remote_id - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:78 hash: 3100123450 method_name: context#it#should have correct record count simple_method_name: context#it#should have correct record count - :details: :flog: complexity is 6.4 :location: !ruby/object:MetricFu::Location class_name: Formatter file_path: hash: 3517265668 method_name: Formatter#all simple_method_name: "#all" - :details: :flog: complexity is 6.2 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:24 hash: 2677849307 method_name: context#it#should correctly assign attributes simple_method_name: context#it#should correctly assign attributes - :details: :flog: complexity is 6.1 :location: !ruby/object:MetricFu::Location class_name: before file_path: ./spec/record/dynamic_spec.rb:16 hash: 90547336 method_name: before#each simple_method_name: "#each" - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb:76 hash: 5868493338 method_name: Component#method_missing simple_method_name: "#method_missing" - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:58 hash: 4003795619 method_name: context#it#should be able to create a batch simple_method_name: context#it#should be able to create a batch - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: Entry file_path: ./lib/ach/record/entry.rb:44 hash: 1696007475 method_name: Entry#credit? simple_method_name: "#credit?" - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:13 hash: -198540531 method_name: Builder#block_count simple_method_name: "#block_count" - :details: :flog: complexity is 5.9 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:49 hash: 1914230916 method_name: Builder#write simple_method_name: "#write" - :details: :flog: complexity is 5.8 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/record/base_spec.rb:13 hash: 2036016270 method_name: it#should have 2 ordered fields simple_method_name: "#should have 2 ordered fields" - :details: :flog: complexity is 5.6 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:77 hash: -945455636 method_name: Builder#tails_count simple_method_name: "#tails_count" - :details: :reek: found 1 code smells :flog: complexity is 4.5 :location: !ruby/object:MetricFu::Location class_name: AchFilesExamples file_path: ./spec/support/helpers/ach_files_examples.rb hash: -2258413082 method_name: AchFilesExamples#well_fargo_with_data simple_method_name: "#well_fargo_with_data" - :details: :reek: found 1 code smells :flog: complexity is 4.5 :location: !ruby/object:MetricFu::Location class_name: AchFilesExamples file_path: ./spec/support/helpers/ach_files_examples.rb hash: -3288726229 method_name: AchFilesExamples#well_fargo_empty_filename simple_method_name: "#well_fargo_empty_filename" - :details: :flog: complexity is 4.9 :location: !ruby/object:MetricFu::Location class_name: Entry file_path: hash: 3206511670 method_name: Entry#none simple_method_name: "#none" - :details: :flog: complexity is 4.9 :location: !ruby/object:MetricFu::Location class_name: ACH file_path: ./lib/ach_builder.rb:25 hash: 628449461 method_name: ACH#to_const simple_method_name: "#to_const" - :details: :flog: complexity is 4.2 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:98 hash: -5074457965 method_name: Reader#current_entry simple_method_name: "#current_entry" - :details: :flog: complexity is 4.0 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:71 hash: -1899327474 method_name: Builder#tail simple_method_name: "#tail" - :details: :flog: complexity is 3.9 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:42 hash: 6378778220 method_name: Reader#ach_data simple_method_name: "#ach_data" - :details: :flog: complexity is 3.5 :location: !ruby/object:MetricFu::Location class_name: Tail file_path: hash: -3005342107 method_name: Tail#none simple_method_name: "#none" - :details: :flog: complexity is 3.3 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: hash: -4103640171 method_name: Validations#none simple_method_name: "#none" - :details: :flog: complexity is 3.3 :location: !ruby/object:MetricFu::Location class_name: Formatter file_path: hash: 2293952357 method_name: Formatter#none simple_method_name: "#none" - :details: :flog: complexity is 2.9 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb:113 hash: 1091335442 method_name: Component#build_header simple_method_name: "#build_header" - :details: :flog: complexity is 2.9 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb:125 hash: -1558722307 method_name: Component#build_control simple_method_name: "#build_control" - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb:98 hash: -3378041044 method_name: Base#defaults simple_method_name: "#defaults" - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: TransmissionHeader file_path: ./lib/ach/file/transmission_header.rb:60 hash: -4302315011 method_name: TransmissionHeader#have_transmission_header? simple_method_name: "#have_transmission_header?" - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:88 hash: 5796393176 method_name: Reader#initialize_batch! simple_method_name: "#initialize_batch!" - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:6 hash: 7286295970 method_name: Builder#batch_count simple_method_name: "#batch_count" - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:93 hash: 5163125467 method_name: Reader#current_batch simple_method_name: "#current_batch" - :details: :flog: complexity is 2.5 :location: !ruby/object:MetricFu::Location class_name: Addenda file_path: hash: -669856156 method_name: Addenda#none simple_method_name: "#none" - :details: :flog: complexity is 2.5 :location: !ruby/object:MetricFu::Location class_name: Constants file_path: hash: -2908868391 method_name: Constants#none simple_method_name: "#none" - :details: :flog: average complexity is 2.3 :location: !ruby/object:MetricFu::Location class_name: Formatter file_path: hash: 3785853714 method_name: Formatter#each simple_method_name: "#each" - :details: :flog: complexity is 2.2 :location: !ruby/object:MetricFu::Location class_name: TransmissionHeader file_path: hash: -2568790685 method_name: TransmissionHeader#none simple_method_name: "#none" - :details: :flog: average complexity is 2.2 :location: !ruby/object:MetricFu::Location class_name: Control file_path: hash: 1214096286 method_name: Control#none simple_method_name: "#none" - :details: :flog: complexity is 2.2 :location: !ruby/object:MetricFu::Location class_name: Rule file_path: hash: -5212078 method_name: Rule#none simple_method_name: "#none" - :details: :flog: average complexity is 2.2 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: hash: -1924816515 method_name: Builder#none simple_method_name: "#none" - :details: :flog: complexity is 1.8 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb:29 hash: 5342953175 method_name: Validations#errors simple_method_name: "#errors" - :details: :flog: complexity is 1.7 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb:103 hash: -2567015266 method_name: Base#[]= simple_method_name: "#[]=" - :details: :flog: complexity is 1.7 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb:33 hash: -5872865199 method_name: Validations#reset_errors! simple_method_name: "#reset_errors!" - :details: :flog: complexity is 1.4 :location: !ruby/object:MetricFu::Location class_name: context::describe file_path: ./spec/file_spec.rb:169 hash: 1830885766 method_name: context#describe#inherited class simple_method_name: context#describe#inherited class - :details: :flog: complexity is 1.4 :location: !ruby/object:MetricFu::Location class_name: context::describe file_path: ./spec/file_spec.rb:130 hash: -1477858973 method_name: context#describe#transmission header simple_method_name: context#describe#transmission header - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: after file_path: ./spec/record/dynamic_spec.rb:27 hash: -2157834236 method_name: after#each simple_method_name: "#each" - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/record/base_spec.rb:52 hash: -458262868 method_name: context#creating record from string simple_method_name: "#creating record from string" - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/file_spec.rb:175 hash: -3358832625 method_name: context#building the ACH file simple_method_name: "#building the ACH file" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb:94 hash: 3009174832 method_name: Base#fields simple_method_name: "#fields" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Entry file_path: ./lib/ach/record/entry.rb:40 hash: -2094758289 method_name: Entry#debit? simple_method_name: "#debit?" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UnknownFieldError file_path: ./lib/ach/record/base.rb:33 hash: 1524728997 method_name: UnknownFieldError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: EmptyFieldError file_path: ./lib/ach/record/base.rb:41 hash: 2917580173 method_name: EmptyFieldError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: DuplicateFormatError file_path: ./lib/ach/record/dynamic.rb:29 hash: -5666004541 method_name: DuplicateFormatError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UndefinedFormatError file_path: ./lib/ach/record/dynamic.rb:35 hash: -8569074729 method_name: UndefinedFormatError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:83 hash: 5867856570 method_name: Reader#batches simple_method_name: "#batches" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: NoLinkError file_path: ./lib/ach/component.rb:31 hash: -4967830092 method_name: NoLinkError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb:10 hash: 6026044385 method_name: Reader#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: RedefinedTransmissionHeaderError file_path: ./lib/ach/file/transmission_header.rb:27 hash: 4667007744 method_name: RedefinedTransmissionHeaderError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UnknownAttributeError file_path: ./lib/ach/component.rb:20 hash: -6593999440 method_name: UnknownAttributeError#initialize simple_method_name: "#initialize" - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: EmptyTransmissionHeaderError file_path: ./lib/ach/file/transmission_header.rb:34 hash: -6067169084 method_name: EmptyTransmissionHeaderError#initialize simple_method_name: "#initialize" - :details: :flog: average complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:28 hash: 1948873722 method_name: Builder#total_debit_amount simple_method_name: "#total_debit_amount" - :details: :flog: average complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/file/builder.rb:33 hash: 563718967 method_name: Builder#total_credit_amount simple_method_name: "#total_credit_amount" - :details: :reek: found 4 code smells :location: !ruby/object:MetricFu::Location class_name: FileFactory#self file_path: ./spec/support/ach_file_factory.rb hash: -3291067536 method_name: FileFactory#self.sample_file simple_method_name: .sample_file - :details: :reek: found 2 code smells :location: !ruby/object:MetricFu::Location class_name: Dynamic#self file_path: ./lib/ach/record/dynamic.rb hash: 3472285012 method_name: Dynamic#self.method_missing simple_method_name: .method_missing - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Component#self file_path: ./lib/ach/component.rb hash: 3707613411 method_name: Component#self.has_many simple_method_name: .has_many - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Base#self file_path: ./lib/ach/record/base.rb hash: 322845266 method_name: Base#self.from_s simple_method_name: .from_s - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Formatter#self file_path: ./lib/ach/formatter.rb hash: -6035809333 method_name: Formatter#self.matcher_for simple_method_name: .matcher_for :classes: - :details: :flog: complexity is 77.5 :location: !ruby/object:MetricFu::Location class_name: main file_path: hash: -14617435 method_name: - :details: :flog: complexity is 48.6 :location: !ruby/object:MetricFu::Location class_name: sample_file file_path: ./spec/support/ach_file_factory.rb:3 hash: -993179087 method_name: - :details: :flog: complexity is 44.8 :location: !ruby/object:MetricFu::Location class_name: context::describe::before file_path: ./spec/file_spec.rb:141 hash: -2161945967 method_name: - :details: :flog: complexity is 23.3 :location: !ruby/object:MetricFu::Location class_name: define_field_methods file_path: ./lib/ach/record/base.rb:61 hash: 3571335836 method_name: - :details: :flog: complexity is 19.0 :location: !ruby/object:MetricFu::Location class_name: context::before file_path: ./spec/record/base_spec.rb:39 hash: -2194727181 method_name: - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: has_many file_path: ./lib/ach/component.rb:160 hash: -1039790061 method_name: - :details: :flog: average complexity is 16.1 :location: !ruby/object:MetricFu::Location class_name: Rule file_path: hash: 1149476116 method_name: - :details: :reek: found 1 code smells :flog: complexity is 15.0 :location: !ruby/object:MetricFu::Location class_name: ClassMethods file_path: ./lib/ach/file/transmission_header.rb hash: 6937476454 method_name: - :details: :flog: complexity is 14.8 :location: !ruby/object:MetricFu::Location class_name: from_s file_path: ./lib/ach/record/base.rb:72 hash: 2031080660 method_name: - :details: :reek: found 5 code smells :flog: average complexity is 13.0 :location: !ruby/object:MetricFu::Location class_name: Component file_path: ./lib/ach/component.rb hash: -3500258373 method_name: - :details: :flog: average complexity is 13.3 :location: !ruby/object:MetricFu::Location class_name: context file_path: ./spec/record/base_spec.rb:52 hash: 1292451392 method_name: - :details: :flog: average complexity is 13.2 :location: !ruby/object:MetricFu::Location class_name: before file_path: ./spec/record/dynamic_spec.rb:16 hash: 77257760 method_name: - :details: :flog: average complexity is 12.7 :location: !ruby/object:MetricFu::Location class_name: it file_path: ./spec/batch_spec.rb:13 hash: 4043397446 method_name: - :details: :flog: average complexity is 12.0 :location: !ruby/object:MetricFu::Location class_name: context::it file_path: ./spec/file_spec.rb:31 hash: -2730714127 method_name: - :details: :flog: average complexity is 11.3 :location: !ruby/object:MetricFu::Location class_name: context::describe::it file_path: ./spec/reader_spec.rb:29 hash: 7027546810 method_name: - :details: :flog: average complexity is 11.3 :location: !ruby/object:MetricFu::Location class_name: File file_path: hash: -657789211 method_name: - :details: :reek: found 6 code smells :flog: average complexity is 9.4 :location: !ruby/object:MetricFu::Location class_name: Reader file_path: ./lib/ach/file/reader.rb hash: 8400646666 method_name: - :details: :flog: average complexity is 10.2 :location: !ruby/object:MetricFu::Location class_name: method_missing file_path: ./lib/ach/record/dynamic.rb:40 hash: -7614024925 method_name: - :details: :reek: found 1 code smells :flog: average complexity is 9.3 :location: !ruby/object:MetricFu::Location class_name: Builder file_path: ./lib/ach/batch/builder.rb hash: -5837209153 method_name: - :details: :flog: average complexity is 9.3 :location: !ruby/object:MetricFu::Location class_name: Header file_path: hash: -1264485471 method_name: - :details: :reek: found 2 code smells :flog: average complexity is 8.3 :location: !ruby/object:MetricFu::Location class_name: Base file_path: ./lib/ach/record/base.rb hash: -2326021435 method_name: - :details: :reek: found 1 code smells :flog: average complexity is 7.9 :location: !ruby/object:MetricFu::Location class_name: TransmissionHeader file_path: ./lib/ach/file/transmission_header.rb hash: -4683743773 method_name: - :details: :flog: average complexity is 7.9 :location: !ruby/object:MetricFu::Location class_name: ACH file_path: hash: 1116623128 method_name: - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: Batch file_path: hash: 3236423452 method_name: - :details: :flog: average complexity is 7.4 :location: !ruby/object:MetricFu::Location class_name: context::describe file_path: ./spec/file_spec.rb:169 hash: 645752002 method_name: - :details: :flog: average complexity is 6.9 :location: !ruby/object:MetricFu::Location class_name: Record file_path: hash: 958907554 method_name: - :details: :reek: found 1 code smells :flog: average complexity is 5.9 :location: !ruby/object:MetricFu::Location class_name: Validations file_path: ./lib/ach/validations.rb hash: 6386346476 method_name: - :details: :flog: complexity is 6.2 :location: !ruby/object:MetricFu::Location class_name: matcher_for file_path: ./lib/ach/formatter.rb:116 hash: 1106573320 method_name: - :details: :flog: complexity is 5.7 :location: !ruby/object:MetricFu::Location class_name: inherited file_path: ./lib/ach/component.rb:43 hash: -7281036937 method_name: - :details: :reek: found 2 code smells :flog: average complexity is 4.5 :location: !ruby/object:MetricFu::Location class_name: AchFilesExamples file_path: ./spec/support/helpers/ach_files_examples.rb hash: -2891069957 method_name: - :details: :flog: complexity is 5.1 :location: !ruby/object:MetricFu::Location class_name: fields file_path: ./lib/ach/record/base.rb:49 hash: 128343998 method_name: - :details: :flog: complexity is 4.4 :location: !ruby/object:MetricFu::Location class_name: read file_path: ./lib/ach/file.rb:50 hash: 7210025296 method_name: - :details: :flog: complexity is 4.3 :location: !ruby/object:MetricFu::Location class_name: with_transmission_header file_path: ./spec/support/ach_file_factory.rb:50 hash: -2391984851 method_name: - :details: :flog: average complexity is 4.0 :location: !ruby/object:MetricFu::Location class_name: Entry file_path: ./lib/ach/record/entry.rb:44 hash: 1322523154 method_name: - :details: :flog: complexity is 3.8 :location: !ruby/object:MetricFu::Location class_name: rule_for_field file_path: ./lib/ach/formatter.rb:105 hash: 1273685014 method_name: - :details: :flog: complexity is 3.6 :location: !ruby/object:MetricFu::Location class_name: defaults file_path: ./lib/ach/record/base.rb:56 hash: 4056425518 method_name: - :details: :flog: average complexity is 3.6 :location: !ruby/object:MetricFu::Location class_name: Formatter file_path: hash: 2522281896 method_name: - :details: :flog: complexity is 3.5 :location: !ruby/object:MetricFu::Location class_name: Tail file_path: hash: 4028205344 method_name: - :details: :flog: complexity is 2.8 :location: !ruby/object:MetricFu::Location class_name: define_transmission_header_fields file_path: ./spec/support/ach_file_factory.rb:56 hash: -1025268897 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: format file_path: ./lib/ach/formatter.rb:99 hash: -5116319687 method_name: - :details: :flog: complexity is 2.5 :location: !ruby/object:MetricFu::Location class_name: Addenda file_path: hash: 1256626026 method_name: - :details: :flog: complexity is 2.5 :location: !ruby/object:MetricFu::Location class_name: Constants file_path: hash: -3889339853 method_name: - :details: :flog: average complexity is 2.2 :location: !ruby/object:MetricFu::Location class_name: Control file_path: hash: 1373848720 method_name: - :details: :reek: found 1 code smells :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: DuplicateFormatError file_path: ./lib/ach/record/dynamic.rb hash: -3487111473 method_name: - :details: :reek: found 1 code smells :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UndefinedFormatError file_path: ./lib/ach/record/dynamic.rb hash: -705219469 method_name: - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: after file_path: ./spec/record/dynamic_spec.rb:27 hash: -3895489169 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UnknownFieldError file_path: ./lib/ach/record/base.rb:33 hash: -1014311843 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: EmptyFieldError file_path: ./lib/ach/record/base.rb:41 hash: 3026772846 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: define file_path: ./lib/ach/formatter.rb:88 hash: -5016971081 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: compiled_rules file_path: ./lib/ach/formatter.rb:110 hash: 118868688 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: defined? file_path: ./lib/ach/formatter.rb:83 hash: -6062559241 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: EmptyTransmissionHeaderError file_path: ./lib/ach/file/transmission_header.rb:34 hash: 6357711248 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: RedefinedTransmissionHeaderError file_path: ./lib/ach/file/transmission_header.rb:27 hash: -6419645405 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: NoLinkError file_path: ./lib/ach/component.rb:31 hash: 4949546750 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: UnknownAttributeError file_path: ./lib/ach/component.rb:20 hash: 7689357852 method_name: - :details: :reek: found 4 code smells :location: !ruby/object:MetricFu::Location class_name: FileFactory#self file_path: ./spec/support/ach_file_factory.rb hash: -3641429715 method_name: - :details: :reek: found 2 code smells :location: !ruby/object:MetricFu::Location class_name: Dynamic#self file_path: ./lib/ach/record/dynamic.rb hash: 3645697180 method_name: - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Component#self file_path: ./lib/ach/component.rb hash: -3544940505 method_name: - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Formatter#self file_path: ./lib/ach/formatter.rb hash: -4447611735 method_name: - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: Base#self file_path: ./lib/ach/record/base.rb hash: 110162196 method_name: :files: - :details: :flog: complexity is 49.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/tail_spec.rb:6 hash: 8384233172 method_name: - :details: :flog: complexity is 48.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/ach_file_factory.rb:3 hash: 3514566656 method_name: - :details: :flog: complexity is 44.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:141 hash: 2411697468 method_name: - :details: :flog: complexity is 36.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:14 hash: -7612686821 method_name: - :details: :flog: complexity is 32.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:34 hash: 4058112376 method_name: - :details: :flog: complexity is 31.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:64 hash: 818540260 method_name: - :details: :flog: complexity is 30.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:138 hash: 2411426900 method_name: - :details: :flog: complexity is 30.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter/rule.rb:13 hash: -2534549193 method_name: - :details: :flog: complexity is 25.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:53 hash: 6610726320 method_name: - :details: :flog: complexity is 25.5 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:117 hash: 3662509284 method_name: - :details: :flog: complexity is 25.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:43 hash: 6610455732 method_name: - :details: :flog: complexity is 24.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:48 hash: -2369946293 method_name: - :details: :flog: complexity is 23.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:49 hash: -7611875013 method_name: - :details: :flog: complexity is 23.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/dynamic.rb:40 hash: 6746042488 method_name: - :details: :flog: complexity is 23.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:61 hash: 2404527000 method_name: - :details: :flog: complexity is 21.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:22 hash: -2370487509 method_name: - :details: :flog: complexity is 21.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:168 hash: 2412238680 method_name: - :details: :flog: complexity is 21.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:129 hash: 3662779880 method_name: - :details: :flog: complexity is 21.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:71 hash: 4059194724 method_name: - :details: :flog: complexity is 21.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:66 hash: 7076599636 method_name: - :details: :flog: complexity is 20.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:4 hash: -5372084985 method_name: - :details: :flog: complexity is 19.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:117 hash: 2410885664 method_name: - :details: :flog: complexity is 19.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:39 hash: -2033047873 method_name: - :details: :flog: complexity is 18.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:33 hash: 6610185140 method_name: - :details: :flog: complexity is 18.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb:66 hash: -7174639649 method_name: - :details: :flog: complexity is 18.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:77 hash: 2404797628 method_name: - :details: :flog: complexity is 18.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:104 hash: 3662238708 method_name: - :details: :flog: complexity is 18.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:48 hash: 1596459800 method_name: - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:69 hash: 1597000972 method_name: - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:57 hash: 818269676 method_name: - :details: :flog: complexity is 17.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:160 hash: 3663862268 method_name: - :details: :flog: complexity is 17.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:30 hash: 6610185092 method_name: - :details: :flog: complexity is 17.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:84 hash: 1597542168 method_name: - :details: :flog: complexity is 16.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:86 hash: 2405068220 method_name: - :details: :flog: complexity is 16.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:18 hash: 817187320 method_name: - :details: :flog: complexity is 16.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:55 hash: -2369675709 method_name: - :details: :flog: complexity is 15.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb:41 hash: -7175180869 method_name: - :details: :flog: complexity is 14.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:72 hash: 2404797568 method_name: - :details: :flog: complexity is 14.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:27 hash: -2033318513 method_name: - :details: :flog: complexity is 13.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:39 hash: 817728492 method_name: - :details: :flog: complexity is 13.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:74 hash: 1597271580 method_name: - :details: :flog: complexity is 12.5 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:65 hash: 4058924136 method_name: - :details: :flog: complexity is 12.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:88 hash: 1597542152 method_name: - :details: :flog: complexity is 11.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:65 hash: 275597940 method_name: - :details: :flog: complexity is 11.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb:11 hash: -7942118325 method_name: - :details: :flog: complexity is 11.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:13 hash: 4057571188 method_name: - :details: :flog: complexity is 11.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:37 hash: 1596189200 method_name: - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:16 hash: -2370758049 method_name: - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:11 hash: -2370758109 method_name: - :details: :flog: complexity is 11.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:6 hash: -2266517033 method_name: - :details: :flog: complexity is 10.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:59 hash: 4058653596 method_name: - :details: :flog: complexity is 10.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:105 hash: 2410615100 method_name: - :details: :flog: complexity is 10.5 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:39 hash: 4058112404 method_name: - :details: :flog: complexity is 10.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:54 hash: 4058653536 method_name: - :details: :flog: complexity is 10.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:20 hash: 4057841740 method_name: - :details: :flog: complexity is 9.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:174 hash: 2412509268 method_name: - :details: :flog: complexity is 9.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:31 hash: 1596189176 method_name: - :details: :flog: complexity is 9.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:73 hash: 275868492 method_name: - :details: :flog: complexity is 9.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:25 hash: 4057841784 method_name: - :details: :flog: complexity is 9.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb:22 hash: -7941847693 method_name: - :details: :flog: complexity is 9.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:33 hash: -2033047909 method_name: - :details: :flog: complexity is 8.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:41 hash: 275056720 method_name: - :details: :flog: complexity is 8.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:55 hash: 275327304 method_name: - :details: :flog: complexity is 8.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:44 hash: 817999100 method_name: - :details: :flog: complexity is 8.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:47 hash: -2032777289 method_name: - :details: :flog: complexity is 8.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:51 hash: -2032506725 method_name: - :details: :flog: complexity is 8.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:44 hash: 4058382948 method_name: - :details: :flog: complexity is 7.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:54 hash: 1596730388 method_name: - :details: :flog: complexity is 7.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:181 hash: 2412779820 method_name: - :details: :flog: complexity is 7.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:62 hash: 1597000936 method_name: - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:17 hash: -2033589105 method_name: - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/batch_spec.rb:49 hash: 4058382992 method_name: - :details: :flog: complexity is 7.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb:5 hash: -5756258845 method_name: - :details: :flog: complexity is 7.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:46 hash: 275056712 method_name: - :details: :flog: complexity is 7.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:22 hash: -2033318509 method_name: - :details: :flog: complexity is 7.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:36 hash: 274786124 method_name: - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:139 hash: 3663050516 method_name: - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:29 hash: 6609914528 method_name: - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:37 hash: -2370216893 method_name: - :details: :flog: complexity is 7.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:42 hash: -2369946285 method_name: - :details: :flog: complexity is 7.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:121 hash: 2411156276 method_name: - :details: :flog: complexity is 6.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:76 hash: -7611063233 method_name: - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:125 hash: 2411156260 method_name: - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:129 hash: 2411156308 method_name: - :details: :flog: complexity is 6.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:78 hash: 1597271564 method_name: - :details: :flog: complexity is 6.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:24 hash: 1595918560 method_name: - :details: :flog: complexity is 6.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:116 hash: 1582762932 method_name: - :details: :flog: complexity is 6.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:16 hash: 274244932 method_name: - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:76 hash: 7076870224 method_name: - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:43 hash: -2032777337 method_name: - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:58 hash: 1596730372 method_name: - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/entry.rb:44 hash: -3051864653 method_name: - :details: :flog: complexity is 6.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:13 hash: 817187276 method_name: - :details: :flog: complexity is 5.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:49 hash: 817999080 method_name: - :details: :flog: complexity is 5.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:13 hash: -2033589101 method_name: - :details: :flog: complexity is 5.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:43 hash: 7076058424 method_name: - :details: :flog: complexity is 5.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:77 hash: 818810900 method_name: - :details: :flog: complexity is 5.1 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:49 hash: 2403985840 method_name: - :details: :flog: complexity is 5.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb:16 hash: 6609643952 method_name: - :details: :flog: complexity is 4.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach_builder.rb:25 hash: -300834893 method_name: - :details: :flog: complexity is 4.5 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/helpers/ach_files_examples.rb:7 hash: -1910783585 method_name: - :details: :flog: complexity is 4.5 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/helpers/ach_files_examples.rb:3 hash: -1910783633 method_name: - :details: :flog: complexity is 4.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file.rb:50 hash: -6456149945 method_name: - :details: :flog: complexity is 4.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/ach_file_factory.rb:50 hash: 4121083852 method_name: - :details: :flog: complexity is 4.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:98 hash: -7610522065 method_name: - :details: :flog: complexity is 4.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:58 hash: 7076329040 method_name: - :details: :flog: complexity is 4.0 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:71 hash: 818810876 method_name: - :details: :flog: complexity is 3.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:42 hash: -7611875045 method_name: - :details: :flog: complexity is 3.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:105 hash: 1582492300 method_name: - :details: :flog: complexity is 3.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:56 hash: 2404256392 method_name: - :details: :flog: complexity is 2.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:125 hash: 3662779896 method_name: - :details: :flog: complexity is 2.9 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:113 hash: 3662509300 method_name: - :details: :flog: complexity is 2.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/ach_file_factory.rb:56 hash: 4121083876 method_name: - :details: :flog: complexity is 2.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:94 hash: -5386374929 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:98 hash: 2405338784 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:93 hash: -7610522061 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb:60 hash: -7174639685 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:6 hash: -6695450937 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:99 hash: -5386374885 method_name: - :details: :flog: complexity is 2.6 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:88 hash: -7610792669 method_name: - :details: :reek: found 6 code smells :flay: found 6 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb hash: -800765789 method_name: - :details: :flog: complexity is 1.8 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb:29 hash: -7941847657 method_name: - :details: :flog: complexity is 1.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:103 hash: 2258294812 method_name: - :details: :flog: complexity is 1.7 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb:33 hash: -7941577093 method_name: - :details: :flog: complexity is 1.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:169 hash: 2412238660 method_name: - :details: :flog: complexity is 1.4 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:130 hash: 2411426868 method_name: - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/dynamic_spec.rb:27 hash: 274515532 method_name: - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb:52 hash: -2032506745 method_name: - :details: :flog: complexity is 1.3 :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb:175 hash: 2412509264 method_name: - :details: :reek: found 3 code smells :flay: found 2 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb hash: -3930418509 method_name: - :details: :reek: found 2 code smells :flay: found 3 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb hash: 6545771064 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:94 hash: 2405338800 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/dynamic.rb:29 hash: 6745501340 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/dynamic.rb:35 hash: 6745771880 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:41 hash: 2403985808 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/entry.rb:40 hash: -3051864701 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/base.rb:33 hash: 2403715228 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:83 hash: -7610792649 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:33 hash: 817728500 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:20 hash: 7075517196 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:23 hash: 817457864 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:83 hash: -5386645529 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb:34 hash: -7175451485 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/transmission_header.rb:27 hash: -7175722069 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/component.rb:31 hash: 7075787828 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb:10 hash: -7612686865 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/builder.rb:28 hash: 817457892 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:110 hash: 1582762896 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb:88 hash: -5386645485 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:32 hash: -2370216873 method_name: - :details: :flog: complexity is 1.2 :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb:27 hash: -2370487481 method_name: - :details: :reek: found 4 code smells :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/ach_file_factory.rb hash: 552451844 method_name: - :details: :flay: found 5 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/file_spec.rb hash: 4864188844 method_name: - :details: :reek: found 4 code smells :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/record/dynamic.rb hash: 157999964 method_name: - :details: :reek: found 6 code smells :roodi: found 3 design problems :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/reader.rb hash: -6018604189 method_name: - :details: :reek: found 1 code smells :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/builder.rb hash: -5569085737 method_name: - :details: :flay: found 2 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/formatter_spec.rb hash: -2716149217 method_name: - :details: :reek: found 2 code smells :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/support/helpers/ach_files_examples.rb hash: -49269981 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/base_spec.rb hash: -1406538417 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/entry_spec.rb hash: -4684026665 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: Rakefile hash: 3362187608 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/reader_parser_spec.rb hash: -2369915657 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: features/support/env.rb hash: 1255755888 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/batch/builder.rb hash: -2983124965 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/reader.rb hash: 449734876 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/batch_spec.rb hash: -3587793993 method_name: - :details: :churn: detected high level of churn (changed 16 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/formatter.rb hash: 2266326752 method_name: - :details: :churn: detected high level of churn (changed 6 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/control.rb hash: -2275028289 method_name: - :details: :churn: detected high level of churn (changed 6 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/blank_struct.rb hash: -5501114377 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/reader.rb hash: 2675614884 method_name: - :details: :churn: detected high level of churn (changed 19 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach_builder.rb hash: 735617564 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/addenda.rb hash: -7732478129 method_name: - :details: :churn: detected high level of churn (changed 19 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/component.rb hash: 5934817780 method_name: - :details: :churn: detected high level of churn (changed 24 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file.rb hash: 7573282504 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: features/ach_reader.feature hash: -4249503253 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/record/entry.rb hash: -8165940477 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/builder.rb hash: 8388005604 method_name: - :details: :churn: detected high level of churn (changed 7 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/reader_spec.rb hash: -4313509497 method_name: - :details: :churn: detected high level of churn (changed 6 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/batch/header.rb hash: -593273157 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/record/addenda.rb hash: -1577905933 method_name: - :details: :churn: detected high level of churn (changed 5 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/record/dynamic.rb hash: -1187220253 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/support/examples/well_fargo_empty.ach hash: 6254597616 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/reader/parser.rb hash: 2072370752 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/reader/parser.rb hash: -5034754545 method_name: - :details: :churn: detected high level of churn (changed 10 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/record.rb hash: -7863786385 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/addenda_spec.rb hash: 8436868700 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: features/step_definitions/ach_reader_steps.rb hash: -474746789 method_name: - :details: :churn: detected high level of churn (changed 7 times) :location: !ruby/object:MetricFu::Location class_name: file_path: README.md hash: -1784518049 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/builder.rb hash: -3461762985 method_name: - :details: :churn: detected high level of churn (changed 7 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/formatter/rule.rb hash: 6130131540 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: .gitignore hash: 6366673832 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/record/base_spec.rb hash: 1179422388 method_name: - :details: :churn: detected high level of churn (changed 6 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/header.rb hash: -1684748513 method_name: - :details: :churn: detected high level of churn (changed 11 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/batch.rb hash: -7179802129 method_name: - :details: :churn: detected high level of churn (changed 8 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/record/base.rb hash: 4763800564 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/support/helpers/ach_files_examples.rb hash: 5921623300 method_name: - :details: :churn: detected high level of churn (changed 3 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/record_spec.rb hash: -4813239129 method_name: - :details: :churn: detected high level of churn (changed 9 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/file/transmission_header.rb hash: -3164813409 method_name: - :details: :churn: detected high level of churn (changed 7 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/support/ach_file_factory.rb hash: -6563065717 method_name: - :details: :churn: detected high level of churn (changed 6 times) :location: !ruby/object:MetricFu::Location class_name: file_path: lib/ach/batch/control.rb hash: 4070581200 method_name: - :details: :churn: detected high level of churn (changed 12 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/file_spec.rb hash: -666709069 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: spec/builder_spec.rb hash: 8543349076 method_name: - :details: :churn: detected high level of churn (changed 4 times) :location: !ruby/object:MetricFu::Location class_name: file_path: ach_builder.gemspec hash: 4487083796 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/reader_spec.rb hash: -8358046813 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/spec_helper.rb hash: -3061938685 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/file/header.rb hash: 7337772504 method_name: - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/validations.rb hash: -8421824593 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/batch/header.rb hash: 4627263716 method_name: - :details: :flay: found 1 code duplications :location: !ruby/object:MetricFu::Location class_name: file_path: ./spec/record/addenda_spec.rb hash: 2996743608 method_name: - :details: :reek: found 1 code smells :location: !ruby/object:MetricFu::Location class_name: file_path: ./lib/ach/formatter.rb hash: -4469256737 method_name: :roodi: :total: - Found 3 errors. :problems: - :problem: Case statement is missing an else clause. :file: ./lib/ach/file/reader.rb :line: "52" - :problem: Block cyclomatic complexity is 8. It should be 4 or less. :file: ./lib/ach/file/reader.rb :line: "50" - :problem: Method "to_ach" has 25 lines. It should have 20 or less. :file: ./lib/ach/file/reader.rb :line: "14" :churn: :changes: - :times_changed: 24 :file_path: lib/ach/file.rb - :times_changed: 19 :file_path: lib/ach/component.rb - :times_changed: 19 :file_path: lib/ach_builder.rb - :times_changed: 16 :file_path: lib/ach/formatter.rb - :times_changed: 12 :file_path: spec/file_spec.rb - :times_changed: 11 :file_path: lib/ach/batch.rb - :times_changed: 10 :file_path: lib/ach/record.rb - :times_changed: 9 :file_path: lib/ach/file/transmission_header.rb - :times_changed: 8 :file_path: lib/ach/record/base.rb - :times_changed: 7 :file_path: lib/ach/formatter/rule.rb - :times_changed: 7 :file_path: README.md - :times_changed: 7 :file_path: spec/support/ach_file_factory.rb - :times_changed: 7 :file_path: spec/reader_spec.rb - :times_changed: 6 :file_path: lib/ach/file/blank_struct.rb - :times_changed: 6 :file_path: lib/ach/file/control.rb - :times_changed: 6 :file_path: lib/ach/batch/control.rb - :times_changed: 6 :file_path: lib/ach/batch/header.rb - :times_changed: 6 :file_path: lib/ach/file/header.rb - :times_changed: 5 :file_path: lib/ach/reader.rb - :times_changed: 5 :file_path: lib/ach/file/builder.rb - :times_changed: 5 :file_path: lib/ach/file/reader.rb - :times_changed: 5 :file_path: spec/batch_spec.rb - :times_changed: 5 :file_path: lib/ach/record/entry.rb - :times_changed: 5 :file_path: lib/ach/record/dynamic.rb - :times_changed: 4 :file_path: spec/addenda_spec.rb - :times_changed: 4 :file_path: ach_builder.gemspec - :times_changed: 4 :file_path: lib/ach/record/addenda.rb - :times_changed: 4 :file_path: spec/reader_parser_spec.rb - :times_changed: 4 :file_path: features/step_definitions/ach_reader_steps.rb - :times_changed: 4 :file_path: .gitignore - :times_changed: 4 :file_path: spec/record/base_spec.rb - :times_changed: 4 :file_path: lib/ach/builder.rb - :times_changed: 4 :file_path: features/ach_reader.feature - :times_changed: 4 :file_path: lib/ach/reader/parser.rb - :times_changed: 4 :file_path: spec/builder_spec.rb - :times_changed: 4 :file_path: lib/ach/addenda.rb - :times_changed: 3 :file_path: features/support/env.rb - :times_changed: 3 :file_path: lib/ach/batch/builder.rb - :times_changed: 3 :file_path: spec/record_spec.rb - :times_changed: 3 :file_path: Rakefile - :times_changed: 3 :file_path: lib/ach/file/reader/parser.rb - :times_changed: 3 :file_path: spec/support/examples/well_fargo_empty.ach - :times_changed: 3 :file_path: spec/support/helpers/ach_files_examples.rb :changed_classes: - &id001 klass: Base file: lib/ach/record/base.rb :class_churn: - klass: klass: File file: lib/ach/file.rb times_changed: 2 - klass: klass: Header file: lib/ach/batch/header.rb times_changed: 1 - klass: klass: Control file: lib/ach/file/control.rb times_changed: 1 - klass: *id001 times_changed: 1 - klass: klass: TransmissionHeader file: lib/ach/file/transmission_header.rb times_changed: 1 - klass: klass: Entry file: lib/ach/record/entry.rb times_changed: 1 - klass: klass: Header file: lib/ach/file/header.rb times_changed: 1 - klass: klass: Control file: lib/ach/batch/control.rb times_changed: 1 - klass: klass: Addenda file: lib/ach/record/addenda.rb times_changed: 1 :method_churn: - method: klass: "" method: "#tails_count" file: lib/ach/file/builder.rb times_changed: 1 - method: klass: "" method: "#to_s!" file: lib/ach/file/builder.rb times_changed: 1 - method: klass: "" method: "#tail" file: lib/ach/file/builder.rb times_changed: 1 - method: klass: "" method: "#block_count" file: lib/ach/file/builder.rb times_changed: 1 - method: klass: "" method: "#batch_count" file: lib/ach/file/builder.rb times_changed: 1 - method: klass: File method: File#transmission_header file: lib/ach/file.rb times_changed: 1 :changed_methods: [] :changed_files: - lib/ach/record/base.rb