Development nature matters: An empirical study of code clones in JavaScript applications

Cited 16 time in webofscience Cited 15 time in scopus
  • Hit : 622
  • Download : 0
DC FieldValueLanguage
dc.contributor.authorCheung, Wai Tingko
dc.contributor.authorRyu, Sukyoungko
dc.contributor.authorKim, Sunghunko
dc.date.accessioned2016-07-04T03:11:29Z-
dc.date.available2016-07-04T03:11:29Z-
dc.date.created2016-05-10-
dc.date.created2016-05-10-
dc.date.issued2016-04-
dc.identifier.citationEMPIRICAL SOFTWARE ENGINEERING, v.21, no.2, pp.517 - 564-
dc.identifier.issn1382-3256-
dc.identifier.urihttp://hdl.handle.net/10203/209021-
dc.description.abstractCode cloning is one of the active research areas in the software engineering community. Specifically, researchers have conducted numerous empirical studies on code cloning and reported that 7 % to 23 % of the code in a typical software system has been cloned. However, there was less awareness of code clones in dynamically-typed languages and most studies are limited to statically-typed languages such as Java, C, and C++. In addition, most previous studies did not consider different application domains such as standalone projects or web applications. As a result, very little is known about clones in dynamically-typed languages, such as JavaScript, in different application domains. In this paper, we report a large-scale clone detection experiment in a dynamically-typed programming language, JavaScript, for different application domains: web pages and standalone projects. Our experimental results showed that unlike JavaScript standalone projects, JavaScript web applications have 95 % of inter-file clones and 91-97 % of widely scattered clones. We observed that web application developers created clones intentionally and such clones may not be as risky as claimed in previous studies. Understanding the risks of cloning in web applications requires further studies, as cloning may be due to either good or bad intentions. Also, we identified unique development practices such as including browser-dependent or device-specific code in code clones of JavaScript web applications. This indicates that features of programming languages and technologies affect how developers duplicate code-
dc.languageEnglish-
dc.publisherSPRINGER-
dc.subjectOPEN SOURCE SOFTWARE-
dc.subjectSYNTAX SUFFIX TREES-
dc.subjectWEB APPLICATIONS-
dc.subjectDETECTION TOOLS-
dc.subjectLINUX KERNEL-
dc.subjectEVOLUTION-
dc.subjectPAGES-
dc.subjectPATTERNS-
dc.subjectCLONING-
dc.subjectSYSTEM-
dc.titleDevelopment nature matters: An empirical study of code clones in JavaScript applications-
dc.typeArticle-
dc.identifier.wosid000373349700008-
dc.identifier.scopusid2-s2.0-84925437225-
dc.type.rimsART-
dc.citation.volume21-
dc.citation.issue2-
dc.citation.beginningpage517-
dc.citation.endingpage564-
dc.citation.publicationnameEMPIRICAL SOFTWARE ENGINEERING-
dc.identifier.doi10.1007/s10664-015-9368-6-
dc.contributor.localauthorRyu, Sukyoung-
dc.contributor.nonIdAuthorKim, Sunghun-
dc.type.journalArticleArticle-
dc.subject.keywordAuthorJavaScript-
dc.subject.keywordAuthorCode clones-
dc.subject.keywordAuthorWeb applications-
dc.subject.keywordAuthorClone properties-
dc.subject.keywordAuthorSoftware metrics-
dc.subject.keywordAuthorCloning patterns-
dc.subject.keywordPlusOPEN SOURCE SOFTWARE-
dc.subject.keywordPlusSYNTAX SUFFIX TREES-
dc.subject.keywordPlusWEB APPLICATIONS-
dc.subject.keywordPlusDETECTION TOOLS-
dc.subject.keywordPlusLINUX KERNEL-
dc.subject.keywordPlusEVOLUTION-
dc.subject.keywordPlusPAGES-
dc.subject.keywordPlusPATTERNS-
dc.subject.keywordPlusBEHAVIOR-
dc.subject.keywordPlusCLONING-
Appears in Collection
CS-Journal Papers(저널논문)
Files in This Item
There are no files associated with this item.
This item is cited by other documents in WoS
⊙ Detail Information in WoSⓡ Click to see webofscience_button
⊙ Cited 16 items in WoS Click to see citing articles in records_button

qr_code

  • mendeley

    citeulike


rss_1.0 rss_2.0 atom_1.0