driver / standard (pull_request) Successful in 16s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 52s
driver / test (3.12) (pull_request) Successful in 55s
driver / test (3.13) (pull_request) Successful in 45s
driver / lowest (pull_request) Successful in 25s
driver / build (pull_request) Successful in 26s
driver / security (pull_request) Successful in 58s
CI / driver (pull_request) Successful in 2m22s
driver / publish (pull_request) Skipped
The checks against line breaks and double quotes made the driver module 27 lines longer than the quality ratchet allows (2014, recorded 1987) and set_interface 53 lines long (limit 50). The checks move to cli_values.py (check_cli_values); the uptime parser, a pure parser without the driver, moves to parsers.py as parse_uptime_seconds and reads its four units in one loop; set_vlan and set_interface say in one docstring line what they refuse. Behaviour is unchanged; the uptime test gains a string without days and an empty one. The baseline is lowered to what is measured now (1971).
34 lines
1.9 KiB
JSON
34 lines
1.9 KiB
JSON
{
|
|
"coverage_floor": 36.0,
|
|
"function_complexity": {
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver._add_lag_info": 16,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver._get_lldp_table": 17,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver._parse_lldp_detail": 13,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_mac_address_table": 11,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_poe_status": 12,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_route_to": 14,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.set_interface": 18,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.traceroute": 12
|
|
},
|
|
"function_lines": {
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver._get_lldp_table": 60,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver._parse_interfaces": 70,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.delete_vlan": 56,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_arp_table": 55,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_facts": 51,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_interfaces_counters": 69,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_mac_address_table": 60,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_route_to": 68,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.get_vlans_detail": 52,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.ping": 62,
|
|
"napalm_tplink_jetstream/tplink_jetstream.py::TPLinkJetstreamDriver.traceroute": 55
|
|
},
|
|
"mypy_relaxed": [
|
|
"napalm_tplink_jetstream.tplink_jetstream"
|
|
],
|
|
"python_file_lines": {
|
|
"napalm_tplink_jetstream/tplink_jetstream.py": 1971
|
|
},
|
|
"untyped_public": []
|
|
}
|