Cyclomatic Complexity in C#

(blog.ndepend.com)

12 points | by gone35 2 days ago

2 comments

  • runningmike 33 minutes ago
    From a security perspective cc is highly relevant. I use it to get a solid rating of the security aspects of Python code. I use [1] which is solid and proven.

    [1] https://nocomplexity.com/documents/codeaudit/complexitycheck...

    • thomasmg 25 minutes ago
      Is there research that show if and how much a low complexity improves security?
  • woggy 37 minutes ago
    Anyone using tools like ndepend or others to help guide agents in refactors?

    Personally I have a some tools that build dependency graphs (C# and Python) and store the results in a local database. Agents seem quite good at poking at this and coming up with refactor ideas. Graph analysis tools are useful here, simple application will detect cyclical dependencies, but I encourage the agents to use more complex tools like clustering to poke at the data.