Skip to content

Conversation

michelson
Copy link
Member

Screen.Cast.2021-10-08.at.2.14.10.PM.mp4

definitions
end

def self.search_order(kind:, ctx:)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method search_order has 136 lines of code (exceeds 50 allowed). Consider refactoring.

]
end

def self.product_search_definitions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.


# Configure flow webhook URL (optional)
# Sent when a teammate wants to use your app, so that you can show them configuration options before it’s inserted. Leaving this option blank will skip configuration.
def self.configure_hook(kind:, ctx:)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method configure_hook has 84 lines of code (exceeds 50 allowed). Consider refactoring.


def self.sheet_view(params); end

def self.order_search_definitions

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 3 locations. Consider refactoring.


# Configure flow webhook URL (optional)
# Sent when a teammate wants to use your app, so that you can show them configuration options before it’s inserted. Leaving this option blank will skip configuration.
def self.configure_hook(kind:, ctx:)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method configure_hook has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit b21d8f2 and detected 9 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 4
Duplication 5

View more on Code Climate.

@michelson michelson force-pushed the bootic-integration branch from 10feb40 to b21d8f2 Compare April 12, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant