The document discusses the detection and refactoring of a newly defined bad smell in object-oriented programming called 'functional over-related classes' (FRC), which occurs when classes that are not in the same inheritance hierarchy share dependencies between their entities. It highlights the difficulties caused by such bad smells in program comprehension, maintenance, and extension, and proposes a systematic approach for detection and refactoring, including the formulation of dependency relationships and specific algorithms. Experimental results indicate that existing detection methods fail to identify this new bad smell, while the proposed method effectively improves program quality through appropriate refactoring suggestions.