Is there a way to say to CPD to suppress warnings of specific duplicated code?
It would be useful if we know that specific duplicated code is not correctable
and we do not want correct it.
Something similar to \NOPMD ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the CPD documentation page is rather up to date, so if you find
nothing about there you may be stuck. However, if you can afford the time, I
don't fill this will be such a difficult task to implement.... At least on the
file level (like ignore this file ).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a way to say to CPD to suppress warnings of specific duplicated code?
It would be useful if we know that specific duplicated code is not correctable
and we do not want correct it.
Something similar to \NOPMD ?
I think that this means that there is no such functionality :(
I think the CPD documentation page is rather up to date, so if you find
nothing about there you may be stuck. However, if you can afford the time, I
don't fill this will be such a difficult task to implement.... At least on the
file level (like ignore this file ).