Release 0.28.0 #2092
Merged
Release 0.28.0 #2092
Codacy Production / Codacy Static Code Analysis
succeeded
Jun 13, 2024 in 0s
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Complexity increasing per file
==============================
- client/internal/routemanager/systemops/systemops_unix.go 6
- client/internal/routemanager/systemops/routeflags_freebsd.go 3
- client/internal/routemanager/systemops/routeflags_bsd.go 3
- client/system/osrelease_unix.go 7
- client/internal/routemanager/sysctl/sysctl_linux.go 9
- client/internal/routemanager/systemops/systemops_generic.go 12
- client/internal/routemanager/systemops/systemops_generic_test.go 12
- client/internal/routemanager/systemops/systemops_mobile.go 1
- client/internal/routemanager/util/ip.go 4
- client/internal/routemanager/systemops/systemops_bsd_test.go 3
- client/internal/routemanager/static/route.go 4
- client/internal/routemanager/systemops/systemops_linux.go 9
- management/domain/domain.go 2
- client/internal/routemanager/systemops/systemops_windows.go 6
- client/errors/errors.go 3
- client/internal/routemanager/systemops/systemops_linux_test.go 14
- management/domain/list.go 3
- client/internal/routemanager/refcounter/refcounter.go 4
- client/internal/routemanager/systemops/systemops_darwin_test.go 5
- client/internal/routemanager/dynamic/route.go 7
- client/internal/routemanager/systemops/systemops_unix_test.go 7
- client/internal/routemanager/systemops/systemops_bsd.go 10
- client/internal/routemanager/systemops/systemops_nonlinux.go 1
- client/internal/routemanager/systemops/systemops.go 1
- client/internal/routemanager/systemops/systemops_windows_test.go 8
- client/server/route.go 3
- client/ui/route.go 2
- client/system/process.go 5
- iface/tun_kernel_unix.go 6
- iface/wg_configurer_kernel_unix.go 7
- iface/tun_usp_unix.go 4
- client/internal/dns/systemd_freebsd.go 1
- client/internal/dns/network_manager_unix.go 13
- client/internal/dns/resolvconf_unix.go 5
- client/internal/dns/dbus_unix.go 3
- client/internal/dns/host_unix.go 17
- client/internal/dns/file_parser_unix.go 16
- client/internal/dns/file_unix.go 8
- client/internal/dns/server_unix.go 1
- client/internal/dns/file_repair_unix.go 11
- client/internal/dns/file_unix_test.go 4
- client/internal/dns/unclean_shutdown_unix.go 9
- client/internal/dns/file_parser_unix_test.go 7
- client/internal/dns/file_repair_unix_test.go 5
- version/url_freebsd.go 1
- iface/freebsd/iface.go 13
- iface/freebsd/link.go 5
- iface/freebsd/iface_internal_test.go 3
- management/server/posture/process.go 6
- management/server/posture/process_test.go 3
- iface/module_freebsd.go 1
- client/ssh/window_freebsd.go 1
- iface/tun_link_freebsd.go 4
- management/server/posture/os_version.go 10
- iface/tun_link_linux.go 8
- management/server/http/routes_handler_test.go 1
- management/server/route_test.go 2
- client/internal/routemanager/manager.go 1
- route/route.go 2
- management/server/route.go 4
- client/internal/config.go 3
- client/cmd/up.go 1
- management/proto/management.pb.go 9
- client/proto/daemon.pb.go 3
- client/server/server.go 1
- iface/iface_unix.go 5
Complexity decreasing per file
==============================
+ client/internal/routeselector/routeselector.go -1
+ management/server/http/posture_checks_handler.go -30
+ management/server/posture/checks.go -3
+ management/server/peer/peer.go -1
+ management/server/http/routes_handler.go -1
+ iface/address.go -1
+ management/client/grpc.go -5
+ management/server/grpcserver.go -4
+ client/system/info_linux.go -4
Clones added
============
- client/internal/routemanager/systemops/systemops_unix.go 2
- client/internal/routemanager/systemops/systemops_generic.go 6
- client/internal/routemanager/systemops/systemops_generic_test.go 11
- client/internal/routemanager/systemops/systemops_linux.go 5
- client/internal/routemanager/systemops/systemops_windows.go 3
- client/internal/routemanager/systemops/systemops_darwin_test.go 2
- client/internal/routemanager/dynamic/route.go 2
- client/internal/routemanager/systemops/systemops_unix_test.go 1
- client/internal/routemanager/systemops/systemops_bsd.go 1
- client/internal/routemanager/systemops/systemops_windows_test.go 1
- iface/wg_configurer_kernel_unix.go 4
- iface/tun_usp_unix.go 7
- client/internal/dns/network_manager_unix.go 6
- client/internal/dns/file_parser_unix_test.go 1
- client/internal/dns/file_repair_unix_test.go 3
- management/server/posture/process_test.go 19
- management/server/posture/network_test.go 4
- management/server/posture/geo_location_test.go 4
- management/server/posture/os_version_test.go 4
- management/server/posture/nb_version_test.go 1
- management/server/posture/checks_test.go 3
- management/server/http/routes_handler_test.go 6
- management/server/http/routes_handler.go 4
- client/internal/routemanager/client.go 2
- management/server/route_test.go 19
- management/proto/management.pb.go 6
- management/proto/management_grpc.pb.go 2
- client/proto/daemon.pb.go 1
- iface/iface_unix.go 2
Clones removed
==============
+ management/server/http/posture_checks_handler_test.go -7
+ iface/wg_configurer_usp.go -1
+ client/internal/dns/wgiface.go -1
+ route/route.go -1
+ client/system/info_linux.go -2
See the complete overview on Codacy
Loading