[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1808901.1808904acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Are scripting languages really different?

Published: 08 May 2010 Publication History

Abstract

Scripting languages such as Python, Perl, Ruby and PHP are increasingly important in new software systems as web technology becomes a dominant force. These languages are often spoken of as having different properties, in particular with respect to cloning, and the question arises whether the observations made based on traditional languages also apply to them. In this paper we present a first experiment in measuring the cloning properties of open source software systems written in the Python scripting language using the NiCad clone detector. We compare our results for Python with previous observations of C, C#, and Java, and discover that perhaps scripting languages are not so different after all.

References

[1]
R. Al-Ekram, C. Kapser and M. Godfrey. Cloning by Accident: An Empirical Study of Source Code Cloning Across Software Systems. In ISESE, pp. 376--385, 2005.
[2]
G. Antoniol, U. Villano, E. Merlo and M. D. Penta. Analyzing Cloning Evolution in the Linux Kernel. Information and Software Technology, 44 (13):755--765, 2002.
[3]
L. Aversano, L. Cerulo, and Massimiliano Di Penta. How Clones are Maintained: An Empirical Study. In CSMR, pp. 81--90, 2007.
[4]
S. Bellon. Detection of Software Clones: Tool Comparison Experiment: http://www.bauhaus-stuttgart.de/clones/ (December 2007).
[5]
S. Bellon, R. Koschke, G. Antoniol, J. Krinke and E. Merlo. Comparison and Evaluation of Clone Detection Tools. IEEE Transactions on Software Engineering, 33(9):577--591, 2007.
[6]
P. Bulychev and M. Minea. An Evaluation of Duplicate Code Detection using Anti-unification. In IWSC, pp. 22--27, 2009.
[7]
E. Juergens, F. Deissenboeck, B. Hummel and S. Wagner. Do Code Clones Matter? In ICSE, pp. 485--495, 2009.
[8]
C. Kapser and M. W. Godfrey. "Cloning Considered Harmful" Considered Harmful: Patterns of Cloning in Software. Empirical Software Engineering, 13(6):645--692 (2008).
[9]
C. Kapser and M. Godfrey. Toward a Taxonomy of Clones in Source Code: A Case Study. In ELISA, pp. 67--78, 2003.
[10]
M. Kim, V. Sazawal, D. Notkin and G. Murphy. An Empirical Study of Code Clone Genealogies. In FSE, pp. 187--196, 2005.
[11]
J. Krinke. A Study of Consistent and Inconsistent Changes to Code Clones. In WCRE, pp. 170--178, 2007.
[12]
Open Source Software in Python. http://pythonsource.com/ (Jan 2010)
[13]
D. C. Rajapakse and S. Jarzabek. An Investigation of Cloning in Web Applications. In WWW, pp. 924--925, 2005.
[14]
M. Rieger, S. Ducasse and M. Lanza. Insights into System--Wide Code Duplication. In WCRE, pp. 100--109, 2004.
[15]
C. K. Roy. Detection and Analysis of Near-miss Software Clones. Ph.D. Thesis, Queen's University, Kingston, Canada, 263 pp., 2009.
[16]
C. K. Roy and J. R. Cordy. Near-miss Function Clones in Open Source Software: An Empirical Study. Journal of Software Maintenance and Evolution, 25 pp. (online October 2009, in press)
[17]
C. K. Roy and J. R. Cordy. IWSC'10 Clone Results: http://www.cs.queensu.ca/home/stl/download/NICADOutput/.
[18]
C. K. Roy and J. R. Cordy. An Empirical Study of Function Clones in Open Source Software Systems. In WCRE, pp. 81--90, 2008.
[19]
C. K. Roy and J. R. Cordy. NiCad: Accurate Detection of Near-Miss Intentional Clones Using Flexible Pretty-Printing and Code Normalization. In ICPC, pp. 172--181, 2008.
[20]
C. K. Roy, J. R. Cordy and R. Koschke. Comparison and Evaluation of Clone Detection Techniques and Tools: A Qualitative Approach. Science of Computer Programming, 74(7):470--495, 2009.
[21]
C. K. Roy and J. R. Cordy. A Survey on Software Clone Detection Research. Queen's School of Computing TR 2007--541, 115 pp., 2007.
[22]
C. K. Roy and J. R. Cordy. A Mutation/Injection-based Automatic Framework for Evaluating Clone Detection Tools. In Mutation'09, pp. 157--166, 2009.
[23]
S. Uchida, A. Monden, N. Ohsugi and T. Kamiya. Software Analysis by Code Clones in Open Source Software. Journal of Computer Information Systems, XLV(3):1--11, 2005.
[24]
Y. Ueda, T. Kamiya, S. Kusumoto, and K. Inoue. Gemini: Maintenance Support Environment Based on Code Clone Analysis. In METRICS, pp. 67--76, 2002.

Cited By

View all
  • (2024)OSCH: A Clone Hunter for Open Source Community2024 IEEE 15th International Conference on Software Engineering and Service Science (ICSESS)10.1109/ICSESS62520.2024.10719044(44-50)Online publication date: 13-Sep-2024
  • (2018)Adventures in NICADProceedings of the 26th Conference on Program Comprehension10.1145/3196321.3196325(19-19)Online publication date: 28-May-2018
  • (2018)Benchmarks for software clone detection: A ten-year retrospective2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER.2018.8330194(26-37)Online publication date: Mar-2018
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
IWSC '10: Proceedings of the 4th International Workshop on Software Clones
May 2010
105 pages
ISBN:9781605589800
DOI:10.1145/1808901
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 08 May 2010

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Python
  2. code clones
  3. empirical study
  4. scripting languages

Qualifiers

  • Research-article

Conference

ICSE '10
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)24
  • Downloads (Last 6 weeks)1
Reflects downloads up to 15 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)OSCH: A Clone Hunter for Open Source Community2024 IEEE 15th International Conference on Software Engineering and Service Science (ICSESS)10.1109/ICSESS62520.2024.10719044(44-50)Online publication date: 13-Sep-2024
  • (2018)Adventures in NICADProceedings of the 26th Conference on Program Comprehension10.1145/3196321.3196325(19-19)Online publication date: 28-May-2018
  • (2018)Benchmarks for software clone detection: A ten-year retrospective2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER.2018.8330194(26-37)Online publication date: Mar-2018
  • (2018)Generated code in studies on clone rates2018 IEEE 12th International Workshop on Software Clones (IWSC)10.1109/IWSC.2018.8327314(16-22)Online publication date: Mar-2018
  • (2016)Software-Clone Rates in Open-Source Programs Written in C or C++2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER)10.1109/SANER.2016.28(1-7)Online publication date: Mar-2016
  • (2016)Development nature mattersEmpirical Software Engineering10.1007/s10664-015-9368-621:2(517-564)Online publication date: 1-Apr-2016
  • (2014)Tuning research tools for scalability and performanceScience of Computer Programming10.1016/j.scico.2011.11.00279(158-171)Online publication date: 1-Jan-2014
  • (2013)Using heuristics to estimate an appropriate number of latent topics in source code analysisScience of Computer Programming10.1016/j.scico.2013.03.01578:9(1663-1678)Online publication date: Sep-2013
  • (2013)Software clone detection: A systematic reviewInformation and Software Technology10.1016/j.infsof.2013.01.00855:7(1165-1199)Online publication date: Jul-2013
  • (2012)Using Topic Models to Support Software MaintenanceProceedings of the 2012 16th European Conference on Software Maintenance and Reengineering10.1109/CSMR.2012.51(403-408)Online publication date: 27-Mar-2012
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media