• DocumentCode
    3310467
  • Title

    Experiment on the automatic detection of function clones in a software system using metrics

  • Author

    Mayrand, Jean ; Leblanc, Claude ; Merlo, Ettore M.

  • Author_Institution
    Telsoft Ventures Inc., Montreal, Que., Canada
  • fYear
    1996
  • fDate
    4-8 Nov 1996
  • Firstpage
    244
  • Lastpage
    253
  • Abstract
    This paper presents a technique to automatically identify duplicate and near duplicate functions in a large software system. The identification technique is based on metrics extracted from the source code using the tool DatrixTM. This clone identification technique uses 21 function metrics grouped into four points of comparison. Each point of comparison is used to compare functions and determine their cloning level. An ordinal scale of eight cloning levels is defined. The levels range from an exact copy to distinct functions. The metrics, the thresholds and the process used are fully described. The results of applying the clone detection technique to two telecommunication monitoring systems totaling one million lines of source code are provided as examples. The information provided by this study is useful in monitoring the maintainability of large software systems
  • Keywords
    computerised monitoring; software maintenance; software metrics; software tools; telecommunication computing; telecommunication network management; Datrix tool; clone identification technique; cloning level; duplicate function identification; function clone detection; large software system; software maintainability; software metrics; source code; telecommunication monitoring systems; thresholds; Software metrics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance 1996, Proceedings., International Conference on
  • Conference_Location
    Monterey, CA
  • ISSN
    1063-6773
  • Print_ISBN
    0-8186-7677-9
  • Type

    conf

  • DOI
    10.1109/ICSM.1996.565012
  • Filename
    565012