%0 Journal Article %J SIGSOFT Softw. Eng. Notes %D 2005 %T Recovering system specific rules from software repositories %A Williams, Chadd C %A Hollingsworth, Jeffrey K %K data warehouse and repository %K debugging aids %K design %K experimentation %K measurement %K performance %X 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. %B SIGSOFT Softw. Eng. Notes %V 30 %P 1 - 5 %8 2005/05// %@ 0163-5948 %G eng %N 4 %R 10.1145/1082983.1083144