Skip to main content

Visualization of Clones

  • Chapter
  • First Online:
Code Clone Analysis

Abstract

Identifying similar code fragments, referred to as code clones, is beneficial in software re-engineering and maintenance. Various visualization techniques have been developed to present cloning information for programmers in a more useful and comprehensible manner. This chapter provides a summary of state of the art in visualizing software clones, along with a classification of visualizations according to the supported user goals, and the relevant information needs to achieve the user goals. Moreover, it further presents an assessment of clone visualizations on the basis of clone relations and clone granularity.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://softwareclones.org/cyclone.php Last accessed January 17, 2021.

References

  1. H.A. Basit, M. Hammad, S. Jarzabek, R. Koschke, What do we need to know about clones? deriving information needs from user goals, in IEEE International Workshop on Software Clones (IWSC) (2015)

    Google Scholar 

  2. H.A. Basit, M. Hammad, R. Koschke, A survey on goal-oriented visualization of clone data, in IEEE Working Conference on Software Visualization (VISSOFT) (2015)

    Google Scholar 

  3. P. Brereton, B. Kitchenham, D. Budgen, M. Turner, M. Khalil, Lessons from applying the systematic literature review process within the software engineering domain. J. Syst. Softw. (JSS) (2007)

    Google Scholar 

  4. S.K. Card, J. Mackinlay, The structure of the information visualization design space, in Proceedings of VIZ’97: Visualization Conference, Information Visualization Symposium and Parallel Rendering Symposium (1997)

    Google Scholar 

  5. J.R. Cordy, Comprehending reality-practical barriers to industrial adoption of software maintenance automation, in IEEE 11th International Workshop on Program Comprehension (2003)

    Google Scholar 

  6. Y. Dang, D. Zhang, S. Ge, R. Huang, C. Chu, T. Xie, Transferring code-clone detection and analysis to practice, in IEEE/ACM 39th International Conference on Software Engineering: Software Engineering in Practice Track (ICSE-SEIP) (2017)

    Google Scholar 

  7. M. Hammad, H.A. Basit, S. Jarzabek, R. Koschke, A systematic mapping study of clone visualization. Comput. Sci. Rev. (2020)

    Google Scholar 

  8. Z.M. Jiang, A.E. Hassan, R.C. Holt, Visualizing clone cohesion and coupling, in IEEE 13th Asia Pacific Software Engineering Conference (APSEC’06) (2006)

    Google Scholar 

  9. J.H. Johnson, Visualizing textual redundancy in legacy source, in Conference of the Centre for Advanced Studies on Collaborative Research (CASCON) (1994)

    Google Scholar 

  10. D. Luciv, D. Koznov, G. Chernishev, H.A. Basit, K. Romanovsky, A. Terekhov, Duplicate finder toolkit, in Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings (2018)

    Google Scholar 

  11. K. Petersen, S. Vakkalanka, L. Kuzniarz, Guidelines for conducting systematic mapping studies in software engineering: an update. Inf. Softw. Technol. (2015)

    Google Scholar 

  12. M. Rieger, S. Ducasse, M. Lanza, Insights into system-wide code duplication, in IEEE 11th Working Conference on Reverse Engineering (2004)

    Google Scholar 

  13. C.K. Roy, J.R. Cordy, A survey on software clone detection research. Technical Report, School of Computing, Queen’s University (2007)

    Google Scholar 

  14. M. Sano, E. Choi, N. Yoshida, Y. Yamanaka, K. Inoue, Supporting clone analysis with tag cloud visualization, in Proceedings of the International Workshop on Innovative Software Development Methodologies and Practices (2014)

    Google Scholar 

  15. B. Shneiderman, The eyes have it: a task by data type taxonomy for information visualizations. The Craft of Information Visualization (Elsevier, 2003)

    Google Scholar 

  16. K. Yoshimura, R. Mibe, Visualizing code clone outbreak: an industrial case study, in IEEE 6th International Workshop on Software Clones (IWSC) (2012)

    Google Scholar 

  17. M.F. Zibran, Analysis and visualization for clone refactoring, in IEEE 9th International Workshop on Software Clones (IWSC) (2015)

    Google Scholar 

  18. https://w3.cs.jmu.edu/bernstdh/web/common/tools/diff.php

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Hammad .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Hammad, M., Abdul Basit, H., Jarzabek, S., Koschke, R. (2021). Visualization of Clones. In: Inoue, K., Roy, C.K. (eds) Code Clone Analysis. Springer, Singapore. https://doi.org/10.1007/978-981-16-1927-4_8

Download citation

  • DOI: https://doi.org/10.1007/978-981-16-1927-4_8

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-16-1926-7

  • Online ISBN: 978-981-16-1927-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics