Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: how to get rid of cut-and-paste sins?

by moritz (Cardinal)
on Feb 08, 2008 at 22:28 UTC ( #667089=note: print w/ replies, xml ) Need Help??


in reply to how to get rid of cut-and-paste sins?

To put your question in different terms: How do I detect plagiarism, even if it's done by me? ;-)

There's a paper on that topic here, it's about a program called moss.

There are other code similarity analyzers out there, it's surely worth a look.

If you want to detect blatant copy & paste a simple similarity search should be enough, for anything more elaborate you need a parse tree or an AST on which you can perform similarity checks.

There's much research done on that topic, you should fine some useful papers and implementations with your favorite search engine ;-)

Comment on Re: how to get rid of cut-and-paste sins?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2016-04-29 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.