1. Software encoded in one or more computer-readable media and when executed operable to: access a first database of one or more bug entries, wherein each bug entry comprises information characterizing a bug, an associated code component, and a test scripts; and a mapping between the component and one or more scripts that test the code component; for one or more bug entries in the first database, determine if the bug is a new bug; if the bug is not a new bug, determine if the test script is new relative to the bug; and if the bug is a new bug or if the test script is new relative to the bug, access a second database of script-to-component mappings to add a mapping between the test script and the associated code component of a respective bug entry.