clone detection and frequent subtree mining. We apply both approaches to a mediumsized
Java case and compare qualitatively and quantitatively their results in terms of what types of
code fragments are detected, as well as their size, relevance, coverage, and level of detail.
We conclude that both approaches are complementary, while existing overlap may be used
for cross-validation of the approaches.