Showing 147 of 149 total issues
Function from_joint_generalized_forces
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
def from_joint_generalized_forces(
- Create a ticketCreate a ticket
Function __init__
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
def __init__(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function __init__
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
def __init__(
self,
name: str,
parent: NaturalSegment,
child: NaturalSegment,
- Read upRead up
- Create a ticketCreate a ticket
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"
Further reading
Function from_data
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def from_data(
- Create a ticketCreate a ticket
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def __init__(
- Create a ticketCreate a ticket
Function from_components
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
def from_components(cls, x: np.ndarray, y: np.ndarray, z: np.ndarray, t: np.ndarray):
"""
Constructor of the class from the components of the homogenous transform
Parameters
- Read upRead up
- Create a ticketCreate a ticket
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"
Further reading
Function from_data
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def from_data(
- Create a ticketCreate a ticket
Function _solve_nlp
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def _solve_nlp(method: str, nlp: dict, Q_init: np.ndarray, lbg: np.ndarray, ubg: np.ndarray, options: dict):
- Create a ticketCreate a ticket
Function add_natural_marker_from_segment_coordinates
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def add_natural_marker_from_segment_coordinates(
- Create a ticketCreate a ticket
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def __init__(
- Create a ticketCreate a ticket
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def __init__(
- Create a ticketCreate a ticket
Function vector_projection_in_non_orthogonal_basis
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
def vector_projection_in_non_orthogonal_basis(
vector: np.ndarray, e1: np.ndarray, e2: np.ndarray, e3: np.ndarray
) -> np.ndarray:
"""
This function converts a vector expressed in the global coordinate system
- Read upRead up
- Create a ticketCreate a ticket
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"
Further reading
Function _compute_confidence_value_for_one_heatmap
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
def _compute_confidence_value_for_one_heatmap(
- Create a ticketCreate a ticket
Function _initialize_attributes
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
def _initialize_attributes(
- Create a ticketCreate a ticket
Function from_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
def from_data(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function from_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
def from_data(
- Create a ticketCreate a ticket