Tracking code patterns through software versions