NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Cyclomatic Complexity in C# (blog.ndepend.com)
woggy 52 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.

runningmike 48 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 40 minutes ago [-]
Is there research that show if and how much a low complexity improves security?
ozim 36 seconds ago [-]
Weird question to ask, that is pretty obvious.

Worst things happen always when 2 or more systems are combined because each system might be simple on its own, yet a combination is always much more complex.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 22:27:08 GMT+0000 (Coordinated Universal Time) with Vercel.