Finding Structurally Duplicate Go Functions with AST Hashing(medium.com)
medium.com
Finding Structurally Duplicate Go Functions with AST Hashing
https://medium.com/@mailbox.sq7/finding-structurally-duplicate-go-functions-with-ast-hashing-529ee227f26e
2 comments
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.
https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...