Showing 147 of 149 total issues
Function add_natural_vector_from_segment_coordinates
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_natural_vector_from_segment_coordinates(
- Create a ticketCreate a ticket
Function compute_transformation_matrix
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compute_transformation_matrix(
- Create a ticketCreate a ticket
Function RK4
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def RK4(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function inverse_dynamics
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def inverse_dynamics(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function drop_the_box
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def drop_the_box(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function forward_integration
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def forward_integration(
- Create a ticketCreate a ticket
Function forward_integration
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def forward_integration(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function from_cartesian_inertial_parameters
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def from_cartesian_inertial_parameters(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function forward_dynamics
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def forward_dynamics(
- Create a ticketCreate a ticket
Function compute_transformation_matrix
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compute_transformation_matrix(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function drop_the_pendulum
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def drop_the_pendulum(
- Create a ticketCreate a ticket
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
- Create a ticketCreate a ticket
Function compute_transformation_matrix
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def compute_transformation_matrix(
matrix_type: TransformationMatrixType, length: float, alpha: float, beta: float, gamma: float
):
"""
Create a transformation matrix from a TransformationMatrixType
- 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"