IDEAS home Printed from https://ideas.repec.org/a/spr/infotm/v23y2022i3d10.1007_s10799-021-00339-3.html
   My bibliography  Save this article

Detecting design patterns: a hybrid approach based on graph matching and static analysis

Author

Listed:
  • Jyoti Singh

    (Banaras Hindu University)

  • Sripriya Roy Chowdhuri

    (Banaras Hindu University)

  • Gosala Bethany

    (Banaras Hindu University)

  • Manjari Gupta

    (Banaras Hindu University)

Abstract

Knowledge and understanding about system design are very important for the development and maintenance of any software system due to certain deadlines and frequent changes in requirements and environment. However, it is a very difficult task to analyse design automatically. Design patterns give standard solutions to common design problems. It is very helpful to find existence of such patterns in the source code. It will reduce effort and time required in understanding and thus in the maintenance activity. In this paper we propose a tool DPDT for detecting design patterns from system software. We use graph matching process to find exact instances of design patterns mapped to system software. In graph matching structural aspects are considered. After that static facts of software systems and design patterns are used to reduce the number of false positives. We evaluate our result on two well-known open source software: JHotDraw and JUnit and compared the result of DPDT with existing tools (Sempatrec, DPF, SSA, DeMIMA, and Depatos) of design patterns detection. It is found that for proxy design patterns our tool out performs the all other tools. Further, for few design patterns it is giving moderate results while other tools did not consider those design patterns.

Suggested Citation

  • Jyoti Singh & Sripriya Roy Chowdhuri & Gosala Bethany & Manjari Gupta, 2022. "Detecting design patterns: a hybrid approach based on graph matching and static analysis," Information Technology and Management, Springer, vol. 23(3), pages 139-150, September.
  • Handle: RePEc:spr:infotm:v:23:y:2022:i:3:d:10.1007_s10799-021-00339-3
    DOI: 10.1007/s10799-021-00339-3
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10799-021-00339-3
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10799-021-00339-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. BLONDEL, Vincent D. & GAJARDO, Anahi & HYEMANS, Maureen & SENELLART, Pierre, 2004. "A measure of similarity between graph vertices: Applications to synonym extraction and web searching," LIDAM Reprints CORE 1798, Université catholique de Louvain, Center for Operations Research and Econometrics (CORE).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Anna Concas & Lothar Reichel & Giuseppe Rodriguez & Yunzi Zhang, 2021. "Iterative Methods for the Computation of the Perron Vector of Adjacency Matrices," Mathematics, MDPI, vol. 9(13), pages 1-16, June.
    2. Michael D. König & Xiaodong Liu & Yves Zenou, 2019. "R&D Networks: Theory, Empirics, and Policy Implications," The Review of Economics and Statistics, MIT Press, vol. 101(3), pages 476-491, July.
    3. F. Aleskerov & N. Meshcheryakova & S. Shvydun, 2016. "Centrality measures in networks based on nodes attributes, long-range interactions and group influence," Papers 1610.05892, arXiv.org.
    4. Stefan Lange & Jonathan F Donges & Jan Volkholz & Jürgen Kurths, 2015. "Local Difference Measures between Complex Networks for Dynamical System Model Evaluation," PLOS ONE, Public Library of Science, vol. 10(4), pages 1-28, April.
    5. Viviana Viña-Cervantes & Michele Coscia & Renaud Lambiotte, 2018. "The struggle for existence in the world market ecosystem," PLOS ONE, Public Library of Science, vol. 13(10), pages 1-20, October.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:infotm:v:23:y:2022:i:3:d:10.1007_s10799-021-00339-3. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.