| ▲ | runningmike 2 days ago | |||||||||||||||||||||||||
To do a Simple Cyclomatic Complexity check, operating on the principle that secure systems are simple systems, you can use https://github.com/nocomplexity/codeaudit or try the wasm version on https://nocomplexity.com/codeauditapp/dashboardapp.html Complexity directly impacts security. Simple systems are: Maintainable: Easier to change and manage. Reliable: Less prone to logic errors. Testable: Easier to validate and test. | ||||||||||||||||||||||||||
| ▲ | RaftPeople 2 days ago | parent | next [-] | |||||||||||||||||||||||||
There was a study I read recently that analyzed the different complexity metrics and tested whether they relate to developers ability to understand the code. Most of them, especially Cyclomatic, did not align very well with the ability to understand, there was only one of the standard ones (can't remember which one) that kind of got close. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | kuzivaai 2 days ago | parent | prev [-] | |||||||||||||||||||||||||
appreciate this! | ||||||||||||||||||||||||||