Is there any program which can find duplicated code in a base method and overridden methods in inherited classes?
I have a base class for 20 classes that has about 30 virtual methods (I didn't write this code). I found one method that has almost the same code in all overrides. I think this same situation is occurring in other methods.
How can I find duplicated code blocks so that I can refactor it?