id: 1 unit: create_products file: lib/tasks/db/prime.rake start line: 22 end line: 48 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 2 unit: call file: lib/opbeans_shuffle.rb start line: 10 end line: 37 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: create_customers file: lib/tasks/db/prime.rake start line: 49 end line: 71 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 4 unit: change file: db/migrate/20171227114202_create_products.rb start line: 1 end line: 16 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: change file: db/migrate/20171227114314_create_customers.rb start line: 1 end line: 14 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: create file: app/controllers/api/orders_controller.rb start line: 6 end line: 20 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: inject_rum_config file: app/controllers/application_controller.rb start line: 23 end line: 33 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 8 unit: rum_config file: app/controllers/application_controller.rb start line: 34 end line: 44 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 9 unit: create_random_orders file: lib/tasks/db/prime.rake start line: 72 end line: 82 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: index file: app/controllers/api/customers_controller.rb start line: 2 end line: 12 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 11 unit: change file: db/migrate/20171227114356_create_order_lines.rb start line: 1 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: index file: app/controllers/api/stats_controller.rb start line: 2 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: log file: app/controllers/errors_controller.rb start line: 1 end line: 10 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 14 unit: change file: db/migrate/20171227104233_create_product_kinds.rb start line: 1 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: coffee_time file: app/controllers/coffee_controller.rb start line: 1 end line: 8 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: index file: app/controllers/application_controller.rb start line: 13 end line: 20 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: create_product_kinds file: lib/tasks/db/prime.rake start line: 14 end line: 21 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: change file: db/migrate/20171227114338_create_orders.rb start line: 1 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: up file: db/migrate/20191204104402_add_foreign_key_constraint_to_active_storage_attachments_for_blob_id.active_storage.rb start line: 2 end line: 9 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 20 unit: initialize file: lib/opbeans_shuffle.rb start line: 3 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 21 unit: as_json file: app/models/product.rb start line: 10 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: as_json file: app/models/order.rb start line: 7 end line: 12 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: index file: app/controllers/api/products_controller.rb start line: 2 end line: 6 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 24 unit: show file: app/controllers/api/products_controller.rb start line: 7 end line: 11 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: top file: app/controllers/api/products_controller.rb start line: 12 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: message file: app/controllers/errors_controller.rb start line: 11 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: type_name file: app/models/product.rb start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: customer_name file: app/models/order.rb start line: 3 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: show file: app/controllers/api/customers_controller.rb start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 30 unit: index file: app/controllers/api/orders_controller.rb start line: 2 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 31 unit: show file: app/controllers/api/orders_controller.rb start line: 21 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: index file: app/controllers/api/types_controller.rb start line: 2 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 33 unit: show file: app/controllers/api/types_controller.rb start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: throw_error file: app/controllers/errors_controller.rb start line: 16 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0