Skip to content

PC-24: Quotes model and QuoteItems model integration #375

PC-24: Quotes model and QuoteItems model integration

PC-24: Quotes model and QuoteItems model integration #375

Triggered via pull request April 28, 2025 15:10
@AndrewRiabetsAndrewRiabets
synchronize #39
PC-24
Status Failure
Total duration 27s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: app/admin/quotes.rb#L155
Metrics/CyclomaticComplexity: Cyclomatic complexity for `create` is too high. [8/7]
lint: app/models/quote_item.rb#L17
Metrics/AbcSize: Assignment Branch Condition size for compile_pricing_parameters is too high. [<8, 14, 6> 17.2/17]
lint: app/models/quote_item.rb#L17
Metrics/MethodLength: Method has too many lines. [11/10]
lint: app/models/quote_item.rb#L36
Metrics/AbcSize: Assignment Branch Condition size for calculate_price_from_formula is too high. [<5, 28, 2> 28.51/17]
lint: app/models/quote_item.rb#L36
Metrics/MethodLength: Method has too many lines. [12/10]
lint: app/models/quote_item.rb#L41
Layout/LineLength: Line is too long. [134/120]
lint: app/models/quote_item.rb#L55
Metrics/AbcSize: Assignment Branch Condition size for restore_temp_fields is too high. [<6, 33, 10> 35/17]
lint: app/models/quote_item.rb#L55
Metrics/CyclomaticComplexity: Cyclomatic complexity for `restore_temp_fields` is too high. [11/7]
lint: app/models/quote_item.rb#L55
Metrics/MethodLength: Method has too many lines. [13/10]
lint: app/models/quote_item.rb#L55
Metrics/PerceivedComplexity: Perceived complexity for `restore_temp_fields` is too high. [12/8]