Discussions » Greasy Fork Feedback

Duplicate checks

§
Posted: 2016-10-08

Duplicate checks

The site has a feature that will check for duplicated portions of code. It uses http://pmd.sourceforge.net/pmd-4.3.0/cpd.html . Since March, it hasn't worked because the increasing number of scripts makes CPD use too much memory.

I'm wondering if anyone knows of free software that could accomplish this task.

wOxxOmMod
§
Posted: 2016-10-08

http://softwarerecs.stackexchange.com/ seems a good/better place to post the question.

§
Posted: 2016-10-08

Try to update to the current version, that is now 5.5.1. And if you continue with problems, you should send your issues to the original PMD sites: https://github.com/adangel/pmd https://sourceforge.net/p/pmd/bugs/

§
Posted: 2016-10-09

http://softwarerecs.stackexchange.com/ seems a good/better place to post the question.

Figured I'd try here first, as the people around here are more invested in a solution.

Try to update to the current version, that is now 5.5.1.

And if you continue with problems, you should send your issues to the original PMD sites

It was an upgrade that originally caused the problem. I don't think it worked after that, despite what they said. It was always a pretty memory-intensive process.

I'm trying out Simian, which seems pretty reasonable on memory consumption.

§
Posted: 2016-10-10

I must confess that "Simian" was to be my first answer, but I changed my mind by two reasons:

  1. Note that "Simian" is not free (499 USD commercial license, with 15-day-trial).
  2. And then I saw that you used an outdated version of "PMD" (BSD license).

I didnt know that you already sent the bug to "PMD". Wow, two years ago. Sorry for that. Maybe you can refresh the issue to the author.

Finally, you can try "jsinspect" as third option. I dont know performance or memory usage, but this is specific for JS language ("PMD" is more generic). And with MIT License.

§
Posted: 2016-10-10

Simian is free for open source software.

I tried jsinspect too, it also ran out of memory. So I'm running with Simian for now.

Post reply

Sign in to post a reply.