IDEAS home Printed from https://ideas.repec.org/a/wsi/acsxxx/v17y2014i07n08ns0219525914500064.html
   My bibliography  Save this article

Recode: Software Package Refactoring Via Community Detection In Bipartite Software Networks

Author

Listed:
  • WEIFENG PAN

    (School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, Zhejiang 310018, China)

  • BING LI

    (State Key Laboratory of Software Engineering, Wuhan University, Wuhan, Hubei 430072, China)

  • BO JIANG

    (School of Computer Science and Information Engineering, Zhejiang Gongshang University, Hangzhou, Zhejiang 310018, China)

  • KUN LIU

    (Department of Information Management, Hubei University of Economics, Wuhan, Hubei 430072, China)

Abstract

It is an intrinsic property of real-world software to evolve, which is usually accompanied by the increase of software complexity and deterioration of software quality. So successful software has to be reconditioned from time to time. Though many refactoring approaches have been proposed, only a few of them are performed at the package level. In this paper, we present a novel approach to refactor the package structure of object-oriented (OO) software. It uses weighted bipartite software networks to represent classes, packages, and their dependencies; it proposes a guidance community detection algorithm (GUIDA) to obtain the optimized package structure; and it finally provides a list of classes as refactoring candidates by comparing the optimized package structure with the real package structure. Through a set of experiments we have shown that the proposed approach is able to identify a majority of classes that experts recognize as refactoring candidates, and the benefits of our approach are illustrated in comparison with other two approaches.

Suggested Citation

  • Weifeng Pan & Bing Li & Bo Jiang & Kun Liu, 2014. "Recode: Software Package Refactoring Via Community Detection In Bipartite Software Networks," Advances in Complex Systems (ACS), World Scientific Publishing Co. Pte. Ltd., vol. 17(07n08), pages 1-27.
  • Handle: RePEc:wsi:acsxxx:v:17:y:2014:i:07n08:n:s0219525914500064
    DOI: 10.1142/S0219525914500064
    as

    Download full text from publisher

    File URL: http://www.worldscientific.com/doi/abs/10.1142/S0219525914500064
    Download Restriction: Access to full text is restricted to subscribers

    File URL: https://libkey.io/10.1142/S0219525914500064?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.

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Weifeng Pan & Haibo Jiang & Hua Ming & Chunlai Chai & Bi Chen & Hao Li, 2019. "Characterizing Software Stability via Change Propagation Simulation," Complexity, Hindawi, vol. 2019, pages 1-17, August.

    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:wsi:acsxxx:v:17:y:2014:i:07n08:n:s0219525914500064. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Tai Tone Lim (email available below). General contact details of provider: http://www.worldscinet.com/acs/acs.shtml .

    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.