Mining control patterns from Java']Java program corpora

被引:0
作者
Chen, DJ [1 ]
Hwang, CC
Huang, SK
Chen, DTK
机构
[1] Natl Chiao Tung Univ, Dept Comp Sci & Informat Engn, Hsinchu 300, Taiwan
[2] Fordham Univ, Dept Comp & Informat Sci, Bronx, NY USA
[3] Acad Sinica, Inst Informat Sci, Taipei 115, Taiwan
关键词
OOP; control patterns; data mining; !text type='Java']Java[!/text] VM; code patterns; benchmark design; program optimization; static and dynamic analysis;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Java programming, based on the Object-Oriented (OO) paradigm, has played a major role in program design and implementation due to the fact that it is extensible, maintainable, and reusable in software system construction. Experiences with using Java programming have indicated that there also exist disadvantages with respect to its execution inefficiency and complicated runtime behaviors. Code-patterns are statically recurring structures specifically related to a programming language. They can be used in parallel to help programmer design software systems to solve particular problems. In opposition to the role of code-patterns in assisting compilation, control-pattems are dynamically recurring structures invoked during program execution time. They can be used to understand the run-time behaviors of OO-programs with respect to the underlying architecture, such as Java-VM. A control pattern describes the model of control transfer among objects during OO program execution. In this paper, several control patterns are proposed and discussed. We have analyzed and collected several control patterns from several Java program corpora. The experimental results show that control patterns do exist and provide information for quantitative analysis. Simple patterns, compound patterns, and complex patterns have different ratios depending on their source programs. Collected control patterns can be used to provide guidelines for Java programmers so that they can write more effective Java programs.
引用
收藏
页码:57 / 83
页数:27
相关论文
共 16 条
[1]  
Anderberg M.R., 1973, Probability and Mathematical Statistics
[2]  
[Anonymous], 2000, UNIFIED MODELING LAN, DOI DOI 10.1007/3-540-40011-7_10
[3]  
BOOCH G, 1994, OBJECT ORIENTED ANAL
[4]   Optimization of object-oriented programs using static class hierarchy analysis [J].
Dean, J ;
Grove, D ;
Chambers, C .
ECOOP '95 - OBJECT-ORIENTED PROGRAMMING, 1995, 952 :77-101
[5]  
DONGARRA J, 2002, LINPACKJAVA
[6]  
HUANG SK, 1996, THESIS NATL CHIAO TU
[7]  
Hwang CC, 2001, SECOND ASIA-PACIFIC CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, P81, DOI 10.1109/APAQS.2001.990005
[8]  
Hwang CC, 2001, JOOP, V14, P26
[9]  
HWANG CC, 2002, THESIS NATL CHIAO TU
[10]   Methylated mono- and di(ethylene glycol)-functionalized β-sheet forming polypeptides [J].
Hwang, JY ;
Deming, TJ .
BIOMACROMOLECULES, 2001, 2 (01) :17-21