Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6560573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:28:39+00:00 2026-05-25T13:28:39+00:00

We inherited some leagcy code that has a whole lot of code copy/pasted across

  • 0

We inherited some leagcy code that has a whole lot of code copy/pasted across projects. Is there a way to find these? PMD can do a single project

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:28:40+00:00Added an answer on May 25, 2026 at 1:28 pm

    Summary

    There is also CloneDetective, Simian and Simscan. This paper from the International Conference on Software Engineering 2009 compares them, and PMD’s CPD.

    In detail

    One tool that can handle several languages is CloneDetective (based on ConQuat, Continuous Quality Assessment Toolkit): ABAP, ADA, Java, C#, C/C++, Visual Basic, Cobol, PL1.

    Another tool is Simian, the Similarity Analyser, which identifies duplication in Java, C#, C, C++, COBOL, Ruby, JSP, ASP, HTML, XML, Visual Basic, Groovy source code and even plain text files. It runs on JVM and .NET.

    Actually, if you look at .NET, there are a lot of copy paste detection tools…

    SimScan, the SimilarityScanner is an Eclipse/IDEA/JBUILDER plugin that finds duplicated or similar fragments of code in large Java source code bases. I don’t know it, and have no idea what “similar fragments” means. It sounds like it might also just look isolatedly in single projects, but the IntelliJ-Screenshots look nifty.

    This paper from the International Conference on Software Engineering 2009 compares CloneDetective, PMD’s CPD, Simian and Simscan.

    Just as PMD’s copy & paste finder is actually called CPD for “copy paste detector”, using that term as the terminus technicus for googling helps. Another term often used is “clone detection”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've inherited some windows-mobile code that I've been bringing up-to-date. I've come across a
I inherited some code that has two non-UI threads that update various WinForm controls.
I just inherited some code that has this construct: <target name=foo depends=-read.SOME.STRING, bar1, bar2>
I've inherited some code on a system that I didn't setup, and I'm running
I recently inherited a dinosaur Classic ASP site that has some fresh blood pumped
I have inherited some code that uses the ref keyword extensively and unnecessarily. The
I've profiled some legacy code I've inherited with cProfile. There were a bunch of
I inherited some partially complete sql code that I can't get to work. it
I inherited some code that was recently attacked where the attacker sent repeated remote
I inherited some code that was recently attacked by repeated remote form submissions. Initially

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.