Skip to content

This repository contains the SZZ algorithm implementation

Notifications You must be signed in to change notification settings

intelligentagents/old-szz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

szz

SZZ is an algorithm to locate fix-inducing changes. Fix inducing-changes is a change that later gets undone by a fix.

Steps in the szz algorithm

Supose that r1 is a revision to fix a bug, and r2 is a revision before r1.

  • Use a diff command between r1 and r2 to locating the lines l touched by a bug.
  • Use a anotate command in r1 to check the most recent version that touch each line in l.
  • Investigate suspect revisions, to remove those that not contribute to the failure.