This document discusses methods for detecting duplicate code through structural similarities in control statements, emphasizing the importance of code clone detection for software maintainability. It introduces two approaches: one based on the order of control statements and the other on the execution flow of these statements. The study presents metrics and methods to compute similarity between code fragments, addressing various types of code clones to enhance software quality.