Women in Technology

Hear us Roar



Article:
  Detecting Duplicate Code with PMD's CPD
Subject:   PMD 1.05 - Much Faster
Date:   2003-06-18 15:24:46
From:   anonymous2
I just ran the latest CPD [ PMD 1.05 ]


It is considerably much faster than previous version. I just ran the test in JDK src files and it ran in 1 min 39 seconds.


However, I noticed that it eats up a lot memory. Initially, I had java's maximum memory to "254MB" but I would run out memroy. So I had to up the java's maximum memory to 512 MB.

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • PMD 1.05 - Much Faster
    2003-06-18 16:49:17  anonymous2 [View]

    > It is considerably much faster

    Yup, props to Brian Ewins for his rewrite.

    > it eats up a lot memory.

    True. One way to reduce the memory usage would be to avoid holding all the source files in memory... I just don't think anyone's gotten around to working on that, though...

    Tom