ulikoehler/UliEngineering

View on GitHub
UliEngineering/Electronics/Microstrip.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function differential_microstrip_impedance has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def differential_microstrip_impedance(w, d, h=DielectricHeight.L4_1p6mm, t="35 μm", e_r=RelativePermittivity.FR4) -> Unit("Ω"):
    """
    Compute the impedance of a differential (edge-coupled)
    outer-layer microstrip using its width, height, the distance
    between the edges of the microstrips,
Severity: Minor
Found in UliEngineering/Electronics/Microstrip.py - About 1 hr to fix

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

    def differential_microstrip_impedance(w, d, h=DielectricHeight.L4_1p6mm, t="35 μm", e_r=RelativePermittivity.FR4) -> Unit("Ω"):
    Severity: Minor
    Found in UliEngineering/Electronics/Microstrip.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status