Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for browser extension demo #40

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

giordanoluzardo
Copy link

This is a test for demoing the Code Climate Browser Extension on Safari

@@ -53,6 +53,81 @@ def perform
{ status: validation_status, errors: feedback }
end

def test_method
Copy link

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 2 locations. Consider refactoring.

end
end

def test_method_3
Copy link

Choose a reason for hiding this comment

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

Method test_method_3 has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring.

{ status: validation_status, errors: feedback }
end

def test_method_2
Copy link

Choose a reason for hiding this comment

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

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

@codeclimate
Copy link

codeclimate bot commented Jan 18, 2023

Code Climate has analyzed commit 5713e6b and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2
Duplication 2

The test coverage on the diff in this pull request is 8.7% (50% is the threshold).

This pull request will bring the total coverage in the repository to 89.5%.

View more on Code Climate.

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