Hacker News new | ask | show | jobs
by ahmetson 28 days ago
For false positives, how about generating the test units and run it in isolation? All major languages have the interpreters or embedded languages to execute function only.
1 comments

Do you mean to verify if similar code units produce the same result?

The goal of the tool is to also detect code that is similar and behaves differently. There are not ideal duplicates, but still a code that can be refactored, abstracted, or fixed (because the variance may be the result of bug).