openfoodfoundation/openfoodnetwork

View on GitHub
Branch: master(View all)
NameLines of codeMaintainabilityTest coverage
lib/open_food_network/scope_variants_for_search.rb74
lib/open_food_network/spree_api_key_loader.rb15
lib/open_food_network/tag_rule_applicator.rb49
lib/reporting/errors.rb24
lib/reporting/frontend_data.rb46
lib/reporting/line_items.rb42
lib/reporting/queries/joins.rb35
lib/reporting/queries/query_builder.rb74
lib/reporting/queries/query_interface.rb94
lib/reporting/queries/tables.rb36
lib/reporting/report_headers_builder.rb49
lib/reporting/report_loader.rb22
lib/reporting/report_query_template.rb39
lib/reporting/report_renderer.rb80
lib/reporting/report_row_builder.rb102
lib/reporting/report_rows_builder.rb83
lib/reporting/report_ruler.rb46
lib/reporting/report_template.rb67
lib/reporting/reports/bulk_coop/allocation.rb43
lib/reporting/reports/bulk_coop/base.rb103
lib/reporting/reports/bulk_coop/customer_payments.rb36
lib/reporting/reports/bulk_coop/packing_sheets.rb25
lib/reporting/reports/bulk_coop/supplier_report.rb47
lib/reporting/reports/customers/base.rb72
lib/reporting/reports/enterprise_fee_summary/authorizer.rb23
lib/reporting/reports/enterprise_fee_summary/data_representations/coordinator_fee.rb21
lib/reporting/reports/enterprise_fee_summary/data_representations/exchange_order_fee.rb18
lib/reporting/reports/enterprise_fee_summary/data_representations/incoming_exchange_line_item_fee.rb17
lib/reporting/reports/enterprise_fee_summary/data_representations/outgoing_exchange_line_item_fee.rb17
lib/reporting/reports/enterprise_fee_summary/data_representations/payment_method_fee.rb27
lib/reporting/reports/enterprise_fee_summary/data_representations/shipping_method_fee.rb29
lib/reporting/reports/enterprise_fee_summary/data_representations/using_enterprise_fee.rb27
lib/reporting/reports/enterprise_fee_summary/data_representations/with_i18n.rb14
lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_order.rb260
lib/reporting/reports/enterprise_fee_summary/enterprise_fees_with_tax_report_by_producer.rb363
lib/reporting/reports/enterprise_fee_summary/fee_summary.rb62
lib/reporting/reports/enterprise_fee_summary/parameter_not_allowed_error.rb7
lib/reporting/reports/enterprise_fee_summary/parameters.rb42
lib/reporting/reports/enterprise_fee_summary/permissions.rb41
lib/reporting/reports/enterprise_fee_summary/report_data/enterprise_fee_type_total.rb28
lib/reporting/reports/enterprise_fee_summary/reports/authorizer.rb26
lib/reporting/reports/enterprise_fee_summary/reports/parameters/base.rb32
lib/reporting/reports/enterprise_fee_summary/reports/report_data/base.rb17
lib/reporting/reports/enterprise_fee_summary/scope.rb329
lib/reporting/reports/enterprise_fee_summary/summarizer.rb57
lib/reporting/reports/list.rb105
lib/reporting/reports/order_cycle_management/base.rb68
lib/reporting/reports/order_cycle_management/delivery.rb30
lib/reporting/reports/order_cycle_management/payment_methods.rb22
lib/reporting/reports/orders_and_distributors/base.rb49