adbpy/transports

View on GitHub
adbts/usb/synchronous.py

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 2 total issues

Cyclomatic complexity is too high in function open. (8)
Wontfix

@libusb.reraise_libusb_errors
def open(serial: libusb.SerialNumber = None, # pylint: disable=redefined-builtin
vid: libusb.VendorId = None,
pid: libusb.ProductId = None) -> transport.TransportOpenResult:
"""
Severity: Minor
Found in adbts/usb/synchronous.py by radon

Function __init__ has 9 arguments (exceeds 4 allowed). Consider refactoring.
Wontfix

def __init__(self,
Severity: Major
Found in adbts/usb/synchronous.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status