models.py had grown past its recorded size with the live patches; KernelFactsDict moves to kernel_models, re-exported by models, and the record shrinks to what is left (1336). The root read of Canonical's status returns on a refusal instead of passing (bandit B110).
38 lines
1.8 KiB
JSON
38 lines
1.8 KiB
JSON
{
|
|
"coverage_floor": 95.0,
|
|
"function_complexity": {
|
|
"napalm_device_types/_ucd_metrics.py::build_if_metrics": 20,
|
|
"napalm_device_types/_ucd_metrics.py::collect_ucd_metrics": 17,
|
|
"napalm_device_types/host_firewall.py::_iptables_rule": 11,
|
|
"napalm_device_types/host_firewall.py::_module_match": 13,
|
|
"napalm_device_types/host_firewall.py::_module_options": 14,
|
|
"napalm_device_types/host_firewall.py::_nft_field": 15,
|
|
"napalm_device_types/host_firewall.py::_nft_match": 12,
|
|
"napalm_device_types/host_firewall.py::_nft_rule": 16,
|
|
"napalm_device_types/host_firewall.py::_parse_nft": 14,
|
|
"napalm_device_types/host_firewall.py::rule_text": 14,
|
|
"napalm_device_types/host_status.py::_reboot": 12,
|
|
"napalm_device_types/lag.py::add_lag_interfaces": 11,
|
|
"napalm_device_types/listening.py::parse_listening_sockets": 13,
|
|
"napalm_device_types/service_clusters.py::_patroni": 11,
|
|
"napalm_device_types/ssh_server.py::plan_ssh_hardening": 38,
|
|
"napalm_device_types/virtual_ips.py::_keepalived": 12
|
|
},
|
|
"function_lines": {
|
|
"napalm_device_types/_ucd_metrics.py::collect_ucd_metrics": 119,
|
|
"napalm_device_types/dhcp.py::DhcpServerMixin.diff_dhcp_subnets": 60,
|
|
"napalm_device_types/firewall_rules.py::FirewallRuleMixin.diff_firewall_rules": 56,
|
|
"napalm_device_types/hypervisor.py::HypervisorDriver.create_vm_from_cloud_init": 84,
|
|
"napalm_device_types/hypervisor.py::HypervisorDriver.get_vm_config": 77,
|
|
"napalm_device_types/ssh_server.py::plan_ssh_hardening": 60,
|
|
"napalm_device_types/storage.py::StorageDriver.get_volumes": 52,
|
|
"napalm_device_types/switch.py::SwitchDriver.get_dot1x_ports": 51,
|
|
"napalm_device_types/switch.py::SwitchDriver.get_poe_status": 63
|
|
},
|
|
"mypy_relaxed": [],
|
|
"python_file_lines": {
|
|
"napalm_device_types/models.py": 1336
|
|
},
|
|
"untyped_public": []
|
|
}
|