File plot_json.py
has 318 lines of code (exceeds 250 allowed). Consider refactoring.
Cyclomatic complexity is too high in function plot_json. (7)
def plot_json(results_file, x_axis_key, y_axis_key, z_axis_key, plot_type,
plot_subtitle_keys, plot_options):
"""
Acts as a wrapper method for plotting a set of samples from a \
JSON file. The method ends up calling specific methods for one of the \
Function plot_json
has 7 arguments (exceeds 4 allowed). Consider refactoring.
def plot_json(results_file, x_axis_key, y_axis_key, z_axis_key, plot_type,
Function multiplot_scatter_json
has 6 arguments (exceeds 4 allowed). Consider refactoring.
def multiplot_scatter_json(results_file, x_axis_key, y_axis_key, z_axis_key,
Function multiplot_errorbar_json
has 6 arguments (exceeds 4 allowed). Consider refactoring.
def multiplot_errorbar_json(results_file, x_axis_key, y_axis_key, z_axis_key,
Function plot_errorbar_json
has 5 arguments (exceeds 4 allowed). Consider refactoring.
def plot_errorbar_json(results_file, x_axis_key, y_axis_key,
Function plot_scatter_json
has 5 arguments (exceeds 4 allowed). Consider refactoring.
def plot_scatter_json(results_file, x_axis_key, y_axis_key, plot_subtitle_keys,
Function plot_json
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
def plot_json(results_file, x_axis_key, y_axis_key, z_axis_key, plot_type,
plot_subtitle_keys, plot_options):
"""
Acts as a wrapper method for plotting a set of samples from a \
JSON file. The method ends up calling specific methods for one of the \
Function plot_scatter_json
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
def plot_scatter_json(results_file, x_axis_key, y_axis_key, plot_subtitle_keys,
plot_options):
"""
Draw a single scatter-plot over a set of samples from a JSON file. \
For each different x value, the function plots a point for every \
Similar blocks of code found in 2 locations. Consider refactoring.
def multiplot_errorbar_json(results_file, x_axis_key, y_axis_key, z_axis_key,
plot_subtitle_keys, plot_options):
"""
Draw multiple collection of errorbars over a set of samples from a \
JSON file. \
Similar blocks of code found in 2 locations. Consider refactoring.
def multiplot_scatter_json(results_file, x_axis_key, y_axis_key, z_axis_key,
plot_subtitle_keys, plot_options):
"""
Draw multiple scatter-plots over a set of samples from a JSON file. \
Each scatter-plot is determined by a specific value of the z_axis_key \
There are no issues that match your filters.