maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.K. Baltzersen" <>
Subject How to find clone code percentage
Date Sat, 04 Apr 2015 19:01:50 GMT
Dear all,

The Maven plugin pmd can be used with the cpd goal to find clone code.

However, I wish only to find the clone code percentage, i.e., how much of a
project's code is clone code. Alternatively, I can settle for the total
amount of lines and the amount of lines that are clone code (duplicate,
triplicate, etc.). I do not want manually to add up all files. It has to be
summed per project.

Is this possible to do with the pmd plugin? Any other simple ways?

Any help that you could please provide would be greatly appreciated.

J.K. Baltzersen

View this message in context:
Sent from the Maven - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message