Abstract: A method for identifying critical parts in software code comprised in a number of software code files. The method comprises fetching at least two revisions of the software code, wherein the at least two revisions includes a first revision and a second revision, and the second revision being a latter revision. The method further comprises comparing the second revision to the first revision in order to identify at least a first and a second segment of software code in the second revision that have been changed, fetching at least a first and second timestamp correlated with the change of the at least first and second segment of software code respectively, and determining a time difference between the change of the at least first and second segment of software code based on the at least first and second timestamp. If the time difference is within a predetermined range, the method includes assigning a temporal coupling between the at least first and second segment of software code.