Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GNU's complexity[1] tool calculates something like what you're talking about for procedures in C programs, and calls the result a "complexity score", although I don't think it accounts for variable names, nor magic integers.

[1] - https://www.gnu.org/software/complexity/manual/complexity.ht...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: