‹ BackHN Continuity

Thread

Cyclomatic Complexity in C#

87 points · 29 comments · gone35

  1. woggy · · focus · HN ↗
    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.

    1. cryptolobster · · focus · HN ↗
      I've been feeding agents dependency graphs plus CC and coverage data from a local store, and it works well for spotting cyclical deps and high-CC hotspots
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.