Is it duplicated code?

Hello everyone…

If I found the same class in two different repositories of the same project, is it considered FIN.H.0072. Duplicated Code?

It depends, the classes can be named equal but they could have different methods and variables, if it is the case then it is not considered FIN.H.0072. Duplicated Code.

The name, the methods and variables are exactly the same. But they belong to a different repository.

It depends, because you need to check if those two repositories communicates with one and another, they could be two different projects but because of simplicity they copy the class. It’s not like on the same project they are duplicating code, they are on different repositories.