The paper discusses the importance of flattening Java classes to assess their quality by considering inherited members, which aids in improving modularity and code maintainability. It outlines how to perform class flattening and when it should be applied, highlighting the impact of class inheritance on internal and external quality attributes. The findings emphasize that analyzing subclasses without flattening may lead to inaccurate quality assessments, particularly in contexts such as refactoring, adaptability, and reusability.