%  abstract.tex

\section*{Abstract}
Clone support can improve the quality and maintainability of software projects.
Although significant research has focused on locating code clones, less work has
addressed tracking ``copy and paste'' operations, even though these operations are
a primary source of clone formation.

This thesis presents CSeR, a code editor that records clones created through
copy-and-paste operations and tracks the changes made to a new clone. CSeR
visualizes those changes with distinct colors so that programmers can understand
how two related pieces of code have diverged.

CSeR computes changes incrementally by comparing the Abstract Syntax Trees
(ASTs) of a pair of clones as edits are made. This incremental, AST-based
approach makes CSeR more precise than tools that compare files only after the
fact.

An empirical study was conducted using 37 test cases collected from industrial
and research projects to evaluate the robustness and usefulness of the tool. In
total, CSeR identified 533 changes, which were categorized into 20 different
types. A comparative study with related tools demonstrates the distinctive
features of CSeR. Finally, this thesis discusses potential extensions that could
broaden the scope of CSeR in future work.
