bionc/bionc_numpy/natural_segment.py

Summary

Maintainability
D
2 days
Test Coverage

File natural_segment.py has 676 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from typing import Union, Tuple, Callable

import numpy as np
from numpy import cos, zeros, sum, dot, transpose
from numpy.linalg import inv
Severity: Major
Found in bionc/bionc_numpy/natural_segment.py - About 1 day to fix

Function with_cartesian_inertial_parameters has 11 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def with_cartesian_inertial_parameters(
Severity: Major
Found in bionc/bionc_numpy/natural_segment.py - About 1 hr to fix

Function __init__ has 11 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(
Severity: Major
Found in bionc/bionc_numpy/natural_segment.py - About 1 hr to fix

Function add_natural_marker_from_segment_coordinates has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def add_natural_marker_from_segment_coordinates(
Severity: Major
Found in bionc/bionc_numpy/natural_segment.py - About 50 mins to fix

Function add_natural_vector_from_segment_coordinates has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def add_natural_vector_from_segment_coordinates(
Severity: Minor
Found in bionc/bionc_numpy/natural_segment.py - About 35 mins to fix

Function inverse_dynamics has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def inverse_dynamics(
Severity: Minor
Found in bionc/bionc_numpy/natural_segment.py - About 35 mins to fix

There are no issues that match your filters.

Category
Status