DocumentCode
2661522
Title
How multiple-dependency structure of classes affects their functions a statistical perspective
Author
Ma, Yutao ; He, Keqing ; Li, Bing ; Zhou, Xiaoyan
Author_Institution
State Key Lab. of Software Eng., Wuhan Univ., Wuhan, China
Volume
2
fYear
2010
fDate
3-5 Oct. 2010
Abstract
Networks have been considered an effective tool to describe the topological structure of software. Recently, many object-oriented software systems were found to share global network features such as scale free and small world. In this paper, we defined a special structural feature of individual class to investigate the relationship between external structure and internal function. The metric (m) takes in-degree and reachable set of nodes in class-level dependency graphs derived from source code into consideration. Experimental results show that (1) the distribution of frequency-of-occurrence of m roughly follows a power-law distribution, and (2) there is a weak but distinct positive correlation between m and either WMC or LCOM, and classes with complex multiple-dependency structure have on average more complicated functions (and less cohesion) than other classes within specific groups classified by m. Thus, the metric could be a useful complementary measure for traditional OO metrics to analyze the complexity, stability and maintainability of classes.
Keywords
graph theory; object-oriented programming; statistical analysis; class-level dependency graphs; classes; complex multiple-dependency structure; global network features; object-oriented software systems; power-law distribution; reachable set; scale free; small world; source code; statistical perspective; topological structure; Complexity theory; Correlation; Couplings; Java; Measurement; Software systems; correlation; dependency graph; objectoriented; program analysis; software metric;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Technology and Engineering (ICSTE), 2010 2nd International Conference on
Conference_Location
San Juan, PR
Print_ISBN
978-1-4244-8667-0
Electronic_ISBN
978-1-4244-8666-3
Type
conf
DOI
10.1109/ICSTE.2010.5608763
Filename
5608763
Link To Document