Showing 2,238 of 2,238 total issues
Function best_avg_recency_weight
has 7 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def best_avg_recency_weight(
Function plot_jaccard_preds
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def plot_jaccard_preds(self,
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(
Function _plot_preds_compare_rank
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def _plot_preds_compare_rank(self,
Function _outer_join_query
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def _outer_join_query(
Function create_entity_date_df
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def create_entity_date_df(
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(
Function retrieve_existing_model_random_seeds
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def retrieve_existing_model_random_seeds(
Function plot_score_distribution_thresh
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def plot_score_distribution_thresh(self,
Function cluster_correlation_features
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def cluster_correlation_features(self,
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(self, column, coltype, value, column_base_for_impflag=None, null_cat_pattern=None, **kwargs):
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def __init__(
Function add_rule_best_average_two_metrics
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def add_rule_best_average_two_metrics(
Function plot
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def plot(
Function most_frequent_best_dist
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def most_frequent_best_dist(
Function best_avg_var_penalized
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def best_avg_var_penalized(df, train_end_time, metric, parameter, stdev_penalty, n=1):
Function plot
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def plot(
Function validate
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def validate(self):
"""Validate the object's configuration
"""
if not isinstance(self.definition, dict):
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"