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

PartyView - List winning constituency candidates #178

Merged
merged 3 commits into from
Mar 24, 2019
Merged

PartyView - List winning constituency candidates #178

merged 3 commits into from
Mar 24, 2019

Conversation

unnawut
Copy link
Contributor

@unnawut unnawut commented Mar 24, 2019

Closes #120

image

}
}

function getWinningConstituencyCandidates(summaryState, partyId) {
Copy link

Choose a reason for hiding this comment

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

Function getWinningConstituencyCandidates has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring.

Copy link
Contributor

@dtinth dtinth left a comment

Choose a reason for hiding this comment

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

Thanks krubb!!!

}
}

function getWinningConstituencyCandidates(summaryState, partyId) {
Copy link

Choose a reason for hiding this comment

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

Function getWinningConstituencyCandidates has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.

@codeclimate
Copy link

codeclimate bot commented Mar 24, 2019

Code Climate has analyzed commit 70b914e and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

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

This pull request will bring the total coverage in the repository to 4.9% (0.1% change).

View more on Code Climate.

@dtinth dtinth merged commit e82eda2 into electinth:master Mar 24, 2019
@unnawut unnawut deleted the 120-party-member-vote-result-binding branch March 24, 2019 09:16
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.

2 participants