The present invention concerns a method for analyzing a legacy system (20) based on at least one trail (100, 101), wherein the at least one trail (100, 101) comprises a plurality of instances (110) of screens of the legacy system (20) and wherein the method comprises the following steps: a. calculating a plurality of pair-wise distance measures of the plurality of screen instances (110) in the at least one trail (100, 101), wherein the pair-wise distance measures indicate a similarity of the respective pair of screen instances (110) that indicates that the pair may originate from the same screen of the legacy system (20); and b. applying at least one cluster analysis algorithm on the plurality of pair-wise distance measures to group the screen instances (110) into at least one screen group (200) and building a map (250) of the legacy system (20) based on the at least one screen group (200).
展开▼