TY - JOUR T1 - Recovering system specific rules from software repositories JF - SIGSOFT Softw. Eng. Notes Y1 - 2005 A1 - Williams, Chadd C A1 - Hollingsworth, Jeffrey K KW - data warehouse and repository KW - debugging aids KW - design KW - experimentation KW - measurement KW - performance AB - One of the most successful applications of static analysis based bug finding tools is to search the source code for violations of system-specific rules. These rules may describe how functions interact in the code, how data is to be validated or how an API is to be used. To apply these tools, the developer must encode a rule that must be followed in the source code. The difficulty is that many of these system-specific rules are undocumented and "grow" over time as the source code changes. Most research in this area relies on expert programmers to document these little-known rules. In this paper we discuss a method to automatically recover a subset of these rules, function usage patterns, by mining the software repository. We present a preliminary study that applies our work to a large open source software project. VL - 30 SN - 0163-5948 CP - 4 M3 - 10.1145/1082983.1083144 ER -