| Data mining library reuse patterns using generalized association rules |
| Full text |
Pdf
(163 KB)
|
| Source
|
International Conference on Software Engineering
archive
Proceedings of the 22nd international conference on Software engineering
table of contents
Limerick, Ireland
Pages: 167 - 176
Year of Publication: 2000
ISBN:1-58113-206-9
|
|
Author
|
|
Amir Michail
|
Dept. of Computer Science and Engineering, University of Washington, Box 352350, Seattle, WA
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 20, Downloads (12 Months): 102, Citation Count: 20
|
|
|
ABSTRACT
In this paper, we show how data mining can be used to discover library reuse patterns in existing applications. Specifically, we consider the problem of discovering library classes and member functions that are typically reused in combination by application classes. This paper improves upon our earlier research using “association rules” [8] by taking into account the inheritance hierarchy using “generalized association rules”. This turns out to be a non-trivial but worthwhile endeavor.By browsing generalized association rules, a developer can discover patterns in library usage in a way that takes into account inheritance relationships. For example, such a rule might tell us that application classes that inherit from a particular library class often instantiate another class or one of its descendents. We illustrate the approach using our tool, CodeWeb, by demonstrating characteristic ways in which applications reuse classes in the KDE application framework.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
W. W. Cohen. Inductive specification recovery: Understanding software by learning from example behaviors. Automated Software Engineering, 2(2):107-129, 1995.
|
| |
4
|
|
 |
5
|
Michael D. Ernst , Jake Cockrell , William G. Griswold , David Notkin, Dynamically discovering likely program invariants to support program evolution, Proceedings of the 21st international conference on Software engineering, p.213-224, May 16-22, 1999, Los Angeles, California, United States
[doi> 10.1145/302405.302467]
|
| |
6
|
D. Gangopadhyay and S. Mitra. Design by framework completion. Automated Software Engineering, 3:219- 237, 1996.
|
| |
7
|
N. Megiddo and R. Srikant. Discovering predictive assocation rules. In Proceedings of the 4th International Conference on Knowledge Discovery in Databases and Data Mining, 1998.
|
| |
8
|
|
| |
9
|
|
 |
10
|
|
| |
11
|
|
| |
12
|
|
|