• DocumentCode
    660581
  • Title

    Towards contextual and on-demand code clone management by continuous monitoring

  • Author

    Gang Zhang ; Xin Peng ; Zhenchang Xing ; Shihai Jiang ; Hai Wang ; Wenyun Zhao

  • Author_Institution
    Sch. of Comput. Sci., Fudan Univ., Shanghai, China
  • fYear
    2013
  • fDate
    11-15 Nov. 2013
  • Firstpage
    497
  • Lastpage
    507
  • Abstract
    Effective clone management is essential for developers to recognize the introduction and evolution of code clones, to judge their impact on software quality, and to take appropriate measures if required. Our previous study shows that cloning practice is not simply a technical issue. It must be interpreted and considered in a larger context from technical, personal, and organizational perspectives. In this paper, we propose a contextual and on-demand code clone management approach called CCEvents (Code Cloning Events). Our approach provides timely notification about relevant code cloning events for different stakeholders through continuous monitoring of code repositories. It supports on-demand customization of clone monitoring strategies in specific technical, personal, and organizational contexts using a domain-specific language. We implemented the proposed approach and conducted an empirical study with an industrial project. The results confirm the requirements for contextual and on-demand code clone management and show the effectiveness of CCEvents in providing timely code cloning notifications and in helping to achieve effective clone management.
  • Keywords
    software quality; source code (software); CCEvents; clone monitoring strategies; code cloning events; code cloning notifications; code repositories continuous monitoring; contextual and on-demand code clone management approach; continuous monitoring; domain-specific language; organizational contexts; software quality; Cloning; Context; Detectors; Monitoring; Navigation; Organizations; Outsourcing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
  • Conference_Location
    Silicon Valley, CA
  • Type

    conf

  • DOI
    10.1109/ASE.2013.6693107
  • Filename
    6693107