Open cmagnobarbosa opened 3 years ago
Today the topology NApp has a code quality below 7 (Scrutinizer 6.8) and some methods have McCabe complexity above 10, to improve maintenance it is necessary to change this.
topology
McCabe's complexity above 8 (obtained using https://github.com/PyCQA/mccabe):
144:4: 'Main._restore_switch' 13 339:4: 'Main.enable_interface' 9 369:4: 'Main.disable_interface' 9 834:4: 'Main.update_instance_metadata' 8
Suggested changes:
_restore_switch
References:
Today the
topology
NApp has a code quality below 7 (Scrutinizer 6.8) and some methods have McCabe complexity above 10, to improve maintenance it is necessary to change this.McCabe's complexity above 8 (obtained using https://github.com/PyCQA/mccabe):
Suggested changes:
_restore_switch
methodReferences: