3 ms·
Finding Structurally Duplicate Go Functions with AST Hashing
- alzhi7 5mo agogodedup 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 5mo agoIs this similar to Brenda Baker's "dup"? https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_files/baker-wcre95.pdf https://www.cs.ucdavis.edu/~devanbu/teaching/289/Schedule_fi...