Remix.run Logo
Finding Structurally Duplicate Go Functions with AST Hashing(medium.com)
2 points by alzhi7 10 hours ago | 2 comments
alzhi7 10 hours ago | parent | next [-]

godedup is a small Go CLI tool that finds structurally duplicate functions in Go code. It does not compare raw text. It does not care if variable names changed. It does not care if string literals changed. It looks at the shape of the code.

bediger4000 9 hours ago | parent | prev [-]

Is this similar to Brenda Baker's "dup"?

https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...