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
Fb search by keywords #160
Conversation
* @param cat the category for which want to search the keywords | ||
* @return boolean user has or not | ||
*/ | ||
private boolean userContainsKeywords(User u, ArrayList<String> kw, Categories cat){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method userContainsKeywords
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
@@ -50,7 +50,8 @@ public int getItemCount() { | |||
return capabilities_.length; | |||
} | |||
|
|||
private void addKeyWordsListener(EditText edittext, Categories capability){ | |||
private void addKeyWordsListener(EditText edittext, Categories capability, CategoriesViewHolder holder){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
|
||
} | ||
|
||
private void addKeyWordsListener(EditText edittext, Categories capability){ | ||
private void addKeyWordsListener(EditText edittext, Categories capability, CategoriesViewHolder holder){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit ea3e8cc and detected 5 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 72.0% (80% is the threshold). This pull request will bring the total coverage in the repository to 84.3% (-0.6% change). View more on Code Climate. |
No description provided.