id: 1 unit: self.search file: elasticsearch-rails/lib/rails/templates/searchable.rb start line: 88 end line: 222 size: 115 LOC McCabe index: 14 number of parameters: 2 id: 2 unit: self.search file: elasticsearch-rails/lib/rails/templates/searchable.dsl.rb start line: 89 end line: 232 size: 97 LOC McCabe index: 22 number of parameters: 2 id: 3 unit: importing_mixin file: elasticsearch-model/spec/elasticsearch/model/importing_spec.rb start line: 34 end line: 77 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 4 unit: from_class file: elasticsearch-model/lib/elasticsearch/model/adapter.rb start line: 43 end line: 157 size: 36 LOC McCabe index: 4 number of parameters: 1 id: 5 unit: import file: elasticsearch-model/lib/elasticsearch/model/importing.rb start line: 135 end line: 176 size: 35 LOC McCabe index: 12 number of parameters: 2 id: 6 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 52 end line: 94 size: 29 LOC McCabe index: 10 number of parameters: 1 id: 7 unit: records file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 35 end line: 62 size: 21 LOC McCabe index: 8 number of parameters: 0 id: 8 unit: mapping file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 144 end line: 211 size: 21 LOC McCabe index: 8 number of parameters: 2 id: 9 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 27 end line: 59 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 10 unit: self.search file: elasticsearch-rails/lib/rails/templates/02-pretty.rb start line: 86 end line: 106 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/searching.rb start line: 34 end line: 60 size: 18 LOC McCabe index: 6 number of parameters: 3 id: 12 unit: callbacks_mixin file: elasticsearch-model/spec/elasticsearch/model/callbacks_spec.rb start line: 29 end line: 50 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: create_index! file: elasticsearch-model/spec/support/app/parent_and_child_searchable.rb start line: 21 end line: 40 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 14 unit: indexes file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 60 end line: 83 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 15 unit: update_document file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 413 end line: 432 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 16 unit: test_mongoid? file: elasticsearch-model/spec/spec_helper.rb start line: 154 end line: 170 size: 16 LOC McCabe index: 7 number of parameters: 0 id: 17 unit: records_mixin file: elasticsearch-model/spec/elasticsearch/model/response/records_spec.rb start line: 116 end line: 134 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: connect_mongoid file: elasticsearch-model/spec/spec_helper.rb start line: 174 end line: 191 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: create_index! file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 231 end line: 249 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 20 unit: self.included file: elasticsearch-model/lib/elasticsearch/model.rb start line: 106 end line: 125 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: update file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/store.rb start line: 62 end line: 77 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 22 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 321 end line: 345 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: clear_indices file: elasticsearch-model/spec/spec_helper.rb start line: 79 end line: 92 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: delete_index! file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 276 end line: 290 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 25 unit: refresh_index! file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 303 end line: 317 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 26 unit: count file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/search.rb start line: 97 end line: 112 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 27 unit: perform file: elasticsearch-rails/lib/rails/templates/indexer.rb start line: 30 end line: 43 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 28 unit: __find_in_batches file: elasticsearch-model/lib/elasticsearch/model/adapters/mongoid.rb start line: 82 end line: 95 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: __find_in_batches file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 91 end line: 105 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 30 unit: method_missing file: elasticsearch-model/lib/elasticsearch/model/response/result.rb start line: 44 end line: 56 size: 12 LOC McCabe index: 7 number of parameters: 2 id: 31 unit: search file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/search.rb start line: 61 end line: 74 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: index file: elasticsearch-rails/lib/rails/templates/03-expert.rb start line: 229 end line: 240 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 33 unit: __records_for_klass file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 68 end line: 80 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 34 unit: __type_for_hit file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 106 end line: 119 size: 11 LOC McCabe index: 9 number of parameters: 1 id: 35 unit: __redefine_enumerable_methods file: elasticsearch-model/lib/elasticsearch/model/response/aggregations.rb start line: 39 end line: 50 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: drop_all_tables! file: elasticsearch-model/spec/spec_helper.rb start line: 109 end line: 119 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 37 unit: index_name name=nil, &block file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 42 end line: 53 size: 10 LOC McCabe index: 6 number of parameters: 0 id: 38 unit: index_name name=nil, &block file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 80 end line: 91 size: 10 LOC McCabe index: 6 number of parameters: 0 id: 39 unit: limit file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 84 end line: 95 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: find file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/find.rb start line: 40 end line: 51 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: as_indexed_json file: elasticsearch-model/spec/support/app/searchable.rb start line: 50 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: delete_all_indices! file: elasticsearch-model/spec/spec_helper.rb start line: 125 end line: 134 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 43 unit: records file: elasticsearch-model/lib/elasticsearch/model/adapters/mongoid.rb start line: 37 end line: 48 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: __ids_by_type file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 89 end line: 99 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: offset file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 98 end line: 107 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: __extract_id_from_document file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/serialize.rb start line: 93 end line: 102 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: delete file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/store.rb start line: 90 end line: 99 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 48 unit: search file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 41 end line: 50 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: self.included file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/publishers.rb start line: 29 end line: 37 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: execute_with_instrumentation! file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/publishers.rb start line: 40 end line: 48 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: as_indexed_json file: elasticsearch-rails/lib/rails/templates/searchable.rb start line: 74 end line: 82 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: as_indexed_json file: elasticsearch-rails/lib/rails/templates/searchable.dsl.rb start line: 74 end line: 82 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: __records_by_type file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 54 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: limit_value file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 62 end line: 70 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: offset_value file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 73 end line: 81 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: paginate file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 53 end line: 62 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 57 unit: save file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/store.rb start line: 36 end line: 44 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: cleanup_view_runtime file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/controller_runtime.rb start line: 34 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 76 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: records file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 33 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: index_document file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 360 end line: 368 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 37 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 63 unit: per_page file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 85 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: total file: elasticsearch-model/lib/elasticsearch/model/response/base.rb start line: 49 end line: 56 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: __find_one file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/find.rb start line: 83 end line: 90 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 66 unit: __find_many file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/find.rb start line: 93 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 67 unit: total file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 68 end line: 75 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 68 unit: mapping file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 164 end line: 171 size: 7 LOC McCabe index: 6 number of parameters: 1 id: 69 unit: as_indexed_json file: elasticsearch-model/spec/support/app/article.rb start line: 30 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: as_indexed_json file: elasticsearch-model/spec/support/app/article_no_type.rb start line: 30 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/importing.rb start line: 33 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: update_document_attributes file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 447 end line: 454 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 29 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: remove_classes file: elasticsearch-rails/spec/spec_helper.rb start line: 60 end line: 65 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: log_process_action file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/controller_runtime.rb start line: 48 end line: 53 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: randomize_id file: elasticsearch-model/spec/support/app/answer.rb start line: 28 end line: 33 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 77 unit: remove_classes file: elasticsearch-model/spec/spec_helper.rb start line: 142 end line: 147 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/adapters/mongoid.rb start line: 69 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: delete_document file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 382 end line: 388 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: inspect_with_rescue file: elasticsearch-model/lib/elasticsearch/model/ext/active_record.rb start line: 22 end line: 27 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 81 unit: respond_to_missing? file: elasticsearch-model/lib/elasticsearch/model/response/result.rb start line: 59 end line: 64 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 82 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response/base.rb start line: 29 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 83 unit: self.ruby2_keywords file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 113 end line: 121 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 84 unit: search file: elasticsearch-model/lib/elasticsearch/model.rb start line: 171 end line: 176 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 85 unit: initialize file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 52 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 86 unit: results file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 103 end line: 108 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: create file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 67 end line: 72 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 88 unit: client file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 115 end line: 120 size: 5 LOC McCabe index: 4 number of parameters: 0 id: 89 unit: index_name file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 129 end line: 134 size: 5 LOC McCabe index: 4 number of parameters: 0 id: 90 unit: self.reset_runtime file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 34 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: new_color_syntax? file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 57 end line: 62 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 92 unit: append_info_to_payload file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/controller_runtime.rb start line: 42 end line: 46 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: search file: elasticsearch-rails/lib/rails/templates/01-basic.rb start line: 226 end line: 231 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: as_indexed_json file: elasticsearch-model/spec/support/app/question.rb start line: 33 end line: 38 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: as_indexed_json file: elasticsearch-model/spec/support/app/answer.rb start line: 39 end line: 44 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 35 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 97 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 68 end line: 72 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 55 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: index_exists? file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 260 end line: 265 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: search file: elasticsearch-model/lib/elasticsearch/model/searching.rb start line: 114 end line: 119 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: initialize_dup file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 99 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: self.included file: elasticsearch-model/lib/elasticsearch/model/callbacks.rb start line: 44 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: exists? file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/find.rb start line: 64 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: self.included file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 25 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: self.runtime= file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 26 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: self.runtime file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 30 end line: 33 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 107 unit: color_option file: elasticsearch-rails/lib/elasticsearch/rails/instrumentation/log_subscriber.rb start line: 53 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: full_name file: elasticsearch-rails/lib/rails/templates/03-expert.rb start line: 127 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: self.foo file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: bar file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 28 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: keyword_method file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 32 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: as_json file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 36 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: self.before_save file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 42 end line: 45 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 114 unit: changes_to_save file: elasticsearch-model/spec/elasticsearch/model/proxy_spec.rb start line: 46 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: find_in_batches file: elasticsearch-model/spec/elasticsearch/model/adapters/mongoid_spec.rb start line: 194 end line: 197 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: update_batch file: elasticsearch-model/spec/elasticsearch/model/adapters/mongoid_spec.rb start line: 198 end line: 201 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: find_in_batches file: elasticsearch-model/spec/elasticsearch/model/adapters/mongoid_spec.rb start line: 215 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 118 unit: update_batch file: elasticsearch-model/spec/elasticsearch/model/adapters/mongoid_spec.rb start line: 219 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: self.find file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 26 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: initialize file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 32 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: self.find file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: initialize file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 49 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: self.find file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 60 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: initialize file: elasticsearch-model/spec/elasticsearch/model/adapters/multiple_spec.rb start line: 66 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: find_in_batches file: elasticsearch-model/spec/elasticsearch/model/adapters/active_record_spec.rb start line: 166 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: update_batch file: elasticsearch-model/spec/elasticsearch/model/adapters/active_record_spec.rb start line: 170 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: find_in_batches file: elasticsearch-model/spec/elasticsearch/model/adapters/active_record_spec.rb start line: 187 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: update_batch file: elasticsearch-model/spec/elasticsearch/model/adapters/active_record_spec.rb start line: 191 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: self.foo file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 26 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: self.before_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 248 end line: 251 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 131 unit: changes_to_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 252 end line: 255 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: self.before_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 261 end line: 264 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: changes_to_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 265 end line: 268 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: self.before_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 274 end line: 277 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 135 unit: changes_to_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 278 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: as_indexed_json file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 282 end line: 285 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: self.before_save file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 291 end line: 294 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: changes file: elasticsearch-model/spec/elasticsearch/model/indexing_spec.rb start line: 295 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: self.search file: elasticsearch-model/spec/elasticsearch/model/module_spec.rb start line: 44 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 140 unit: self.per_page file: elasticsearch-model/spec/elasticsearch/model/response/pagination/will_paginate_spec.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: self.find file: elasticsearch-model/spec/elasticsearch/model/response/records_spec.rb start line: 34 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: records file: elasticsearch-model/spec/elasticsearch/model/response/records_spec.rb start line: 111 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: as_json file: elasticsearch-model/spec/elasticsearch/model/serializing_spec.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: __find_in_batches file: elasticsearch-model/spec/elasticsearch/model/importing_spec.rb start line: 26 end line: 29 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 145 unit: full_name file: elasticsearch-model/spec/support/app/author.rb start line: 22 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: as_indexed_json file: elasticsearch-model/spec/support/app/image.rb start line: 32 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: as_indexed_json file: elasticsearch-model/spec/support/app/mongoid_article.rb start line: 34 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: as_indexed_json file: elasticsearch-model/spec/support/app/article_with_custom_serialization.rb start line: 25 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: self.counter= file: elasticsearch-model/spec/support/app/article_with_dynamic_index_name.rb start line: 21 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: self.counter file: elasticsearch-model/spec/support/app/article_with_dynamic_index_name.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 151 unit: clear_tables file: elasticsearch-model/spec/spec_helper.rb start line: 100 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: response file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 44 end line: 47 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 153 unit: results file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 52 end line: 55 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 154 unit: records file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 60 end line: 63 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: took file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 66 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: timed_out file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 72 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: shards file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 78 end line: 81 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: aggregations file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 84 end line: 87 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 159 unit: suggestions file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 90 end line: 93 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 160 unit: raw_response file: elasticsearch-model/lib/elasticsearch/model/response.rb start line: 94 end line: 97 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 161 unit: __transform file: elasticsearch-model/lib/elasticsearch/model/adapters/mongoid.rb start line: 96 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: options file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 29 end line: 32 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 163 unit: load file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 65 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 164 unit: __transform file: elasticsearch-model/lib/elasticsearch/model/adapters/active_record.rb start line: 106 end line: 109 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: __no_type? file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 120 end line: 123 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: __adapter_for_klass file: elasticsearch-model/lib/elasticsearch/model/adapters/multiple.rb start line: 128 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 167 unit: records file: elasticsearch-model/lib/elasticsearch/model/adapters/default.rb start line: 30 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 168 unit: __find_in_batches file: elasticsearch-model/lib/elasticsearch/model/adapters/default.rb start line: 49 end line: 52 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 169 unit: __transform file: elasticsearch-model/lib/elasticsearch/model/adapters/default.rb start line: 55 end line: 58 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 170 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 22 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: self.__instance file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 30 end line: 33 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 172 unit: self.add file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 36 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: self.all file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 42 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: add file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 48 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: models file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 54 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: index_name file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 77 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: client file: elasticsearch-model/lib/elasticsearch/model/multimodel.rb start line: 85 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: __batch_to_bulk file: elasticsearch-model/lib/elasticsearch/model/importing.rb start line: 177 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 35 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: to_hash file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 39 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: as_json file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: to_hash file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 84 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: as_json file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 88 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: load_settings_from_io file: elasticsearch-model/lib/elasticsearch/model/indexing.rb start line: 212 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: execute! file: elasticsearch-model/lib/elasticsearch/model/searching.rb start line: 65 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: as_indexed_json file: elasticsearch-model/lib/elasticsearch/model/serializing.rb start line: 42 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: index_name= file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 57 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: implicit file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 63 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: default_index_name file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 67 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: index_name= file: elasticsearch-model/lib/elasticsearch/model/naming.rb start line: 95 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: ids file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 51 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 192 unit: results file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 57 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: each_with_hit file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 63 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: map_with_hit file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 69 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: method_missing file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 75 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 196 unit: respond_to? file: elasticsearch-model/lib/elasticsearch/model/response/records.rb start line: 81 end line: 84 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 197 unit: total_count file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 110 end line: 113 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: __default_per_page file: elasticsearch-model/lib/elasticsearch/model/response/pagination/kaminari.rb start line: 118 end line: 121 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 199 unit: offset file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 39 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 200 unit: length file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: current_page file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 65 end line: 68 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 202 unit: page file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 75 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: total_entries file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 95 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 204 unit: __default_per_page file: elasticsearch-model/lib/elasticsearch/model/response/pagination/will_paginate.rb start line: 103 end line: 106 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 205 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response/result.rb start line: 32 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: id file: elasticsearch-model/lib/elasticsearch/model/response/result.rb start line: 38 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: as_json file: elasticsearch-model/lib/elasticsearch/model/response/result.rb start line: 65 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response/aggregations.rb start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/response/results.rb start line: 33 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 210 unit: results file: elasticsearch-model/lib/elasticsearch/model/response/results.rb start line: 39 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: terms file: elasticsearch-model/lib/elasticsearch/model/response/suggestions.rb start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: results file: elasticsearch-model/lib/elasticsearch/model/response/base.rb start line: 37 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: records file: elasticsearch-model/lib/elasticsearch/model/response/base.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: max_score file: elasticsearch-model/lib/elasticsearch/model/response/base.rb start line: 59 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 215 unit: initialize file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 109 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: respond_to_missing? file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 124 end line: 127 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 217 unit: inspect file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 128 end line: 131 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: klass file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 157 end line: 160 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 219 unit: class file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 161 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: as_json file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 168 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: as_indexed_json file: elasticsearch-model/lib/elasticsearch/model/proxy.rb start line: 172 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: client client=nil file: elasticsearch-model/lib/elasticsearch/model/client.rb start line: 30 end line: 33 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 223 unit: client= file: elasticsearch-model/lib/elasticsearch/model/client.rb start line: 41 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: client file: elasticsearch-model/lib/elasticsearch/model/client.rb start line: 55 end line: 58 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 225 unit: client= file: elasticsearch-model/lib/elasticsearch/model/client.rb start line: 66 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: client file: elasticsearch-model/lib/elasticsearch/model.rb start line: 134 end line: 137 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 227 unit: client= file: elasticsearch-model/lib/elasticsearch/model.rb start line: 148 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: settings file: elasticsearch-model/lib/elasticsearch/model.rb start line: 179 end line: 182 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 229 unit: serialize file: elasticsearch-persistence/spec/repository/store_spec.rb start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: to_hash file: elasticsearch-persistence/spec/repository/store_spec.rb start line: 74 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 231 unit: to_hash file: elasticsearch-persistence/spec/repository/store_spec.rb start line: 249 end line: 252 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: deserialize file: elasticsearch-persistence/spec/repository/response/results_spec.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: to_hash file: elasticsearch-persistence/spec/repository/serialize_spec.rb start line: 29 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: server_version file: elasticsearch-persistence/spec/spec_helper.rb start line: 57 end line: 60 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: serialize file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/serialize.rb start line: 35 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: deserialize file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/serialize.rb start line: 50 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: __get_id_from_document file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/serialize.rb start line: 76 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: method_missing file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 58 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 239 unit: respond_to? file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 62 end line: 65 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 240 unit: max_score file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 78 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 241 unit: each_with_hit file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 84 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 242 unit: map_with_hit file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 90 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: response file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/response/results.rb start line: 120 end line: 123 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 244 unit: index_name file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 245 unit: klass file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 55 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: client file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 67 end line: 70 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 247 unit: create_index! file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 71 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: delete_index! file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 75 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 249 unit: refresh_index! file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 79 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: index_exists? file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 83 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: __raise_not_implemented_error file: elasticsearch-persistence/lib/elasticsearch/persistence/repository/dsl.rb start line: 89 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: self.included file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 37 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: initialize file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 103 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: klass file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 143 end line: 146 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 255 unit: settings file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 190 end line: 193 size: 3 LOC McCabe index: 5 number of parameters: 1 id: 256 unit: index_exists? file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 202 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: inspect file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 214 end line: 217 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: __get_class_value file: elasticsearch-persistence/lib/elasticsearch/persistence/repository.rb start line: 220 end line: 223 size: 3 LOC McCabe index: 2 number of parameters: 1