Measuring the Impact of Code Dependencies on Software Architecture Recovery Techniques
dc.contributor.author | Lutellier, Thibaud | |
dc.date.accessioned | 2015-08-21T14:39:49Z | |
dc.date.available | 2015-08-21T14:39:49Z | |
dc.date.issued | 2015-08-21 | |
dc.date.submitted | 2015-08-20 | |
dc.description.abstract | Many techniques have been proposed to automatically recover software architectures from software implementations. A thorough comparison among the recovery techniques is needed to understand their effectiveness and applicability. This study improves on previous studies in two ways. First, we study the impact of leveraging more accurate symbol dependencies on the accuracy of architecture recovery techniques. In addition, we evaluate other factors of the input dependencies such as the level of granularity, the impact of virtual call resolution, global variable usage and whether using direct dependencies provides better results than using transitive dependencies. Previous studies have not extensively studied how the quality of the input might affect the quality of the output for architecture recovery techniques. Second, we study a system (Chromium) that is substantially larger (10 million lines of code) than those included in previous studies. Obtaining the ground-truth architecture of Chromium involved two years of collaboration with its developers. As part of this work we developed a new submodule-based technique to recover preliminary versions of ground-truth architectures. The other systems that we study have been examined previously. In some cases, we have updated the ground-truth architectures to newer versions, and in other cases we have corrected newly discovered inconsistencies. Our evaluation of nine variants of six state-of-the-art architecture recovery techniques on 8 types of dependencies shows that symbol dependencies generally produce architectures with higher accuracies than include dependencies. We also observed that using a higher level of granularity (i.e., module level) and direct dependencies helps generating better architectures. Despite this improvement, the overall accuracy is low for all recovery techniques. The results suggest that (1) in addition to architecture recovery techniques, the type of dependencies used as their inputs is another factor to consider for high recovery accuracy, and (2) more accurate recovery techniques are needed. Our results show that some of the studied architecture recovery techniques (ACDC, Bunch-SAHC, WCA and ARC) scale to the 10M lines-of-code range (the size of Chromium), whereas others do not. | en |
dc.identifier.uri | http://hdl.handle.net/10012/9554 | |
dc.language.iso | en | en |
dc.pending | false | |
dc.publisher | University of Waterloo | |
dc.subject | Software architecture | en |
dc.subject | Empirical software engineering | en |
dc.subject | Maintenance and evolution | en |
dc.subject.program | Electrical and Computer Engineering | en |
dc.title | Measuring the Impact of Code Dependencies on Software Architecture Recovery Techniques | en |
dc.type | Master Thesis | en |
uws-etd.degree | Master of Applied Science | en |
uws-etd.degree.department | Electrical and Computer Engineering | en |
uws.peerReviewStatus | Unreviewed | en |
uws.scholarLevel | Graduate | en |
uws.typeOfResource | Text | en |