Combining Network Analysis with Structural Matching for Design Pattern Detection.

Weichao Liu,Cheng Zhang,Futian Wang,Yun Yang
DOI: https://doi.org/10.1145/3383219.3383226
2020-01-01
Abstract:Context: Design pattern detection is a very important research on software reuse, which can greatly help software maintenance and reconstruction. At present, many researchers have invested in this work and proposed a variety of methods for detection. Method: This paper extends the graph matching technology based on the past and proposes a new method that combines network analysis and structural matching for detection. First, we use network level analysis to obtain important nodes, then use the neighborhood path matching algorithm to match the pattern instance. Result: We describe the detection of five patterns on four open source systems, then analyze and compare with the other three methods, for achieving high precision and recall, which demonstrates that our method is effective. Conclusion: Using combining network analysis with structural matching can well detect these pattern instances, and these instances are also especially important for future software refactoring.
What problem does this paper attempt to address?