Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/94337
PIRA download icon_1.1View/Download Full Text
DC FieldValueLanguage
dc.contributorDepartment of Computingen_US
dc.creatorChen, Zen_US
dc.creatorJiang, Ren_US
dc.creatorZhang, Zen_US
dc.creatorPei, Yen_US
dc.creatorPan, Men_US
dc.creatorZhang, Ten_US
dc.creatorLi, Xen_US
dc.date.accessioned2022-08-11T02:02:42Z-
dc.date.available2022-08-11T02:02:42Z-
dc.identifier.issn0164-1212en_US
dc.identifier.urihttp://hdl.handle.net/10397/94337-
dc.language.isoenen_US
dc.publisherElsevieren_US
dc.rights© 2020 Elsevier Inc. All rights reserved.en_US
dc.rights© 2020. This manuscript version is made available under the CC-BY-NC-ND 4.0 license https://creativecommons.org/licenses/by-nc-nd/4.0/en_US
dc.rightsThe following publication Chen, Z., Jiang, R., Zhang, Z., Pei, Y., Pan, M., Zhang, T., & Li, X. (2020). Enhancing example-based code search with functional semantics. Journal of Systems and Software, 165, 110568 is available at https://doi.org/10.1016/j.jss.2020.110568en_US
dc.subjectSemantics-based code searchen_US
dc.subjectSMT solveren_US
dc.subjectSymbolic analysisen_US
dc.titleEnhancing example-based code search with functional semanticsen_US
dc.typeJournal/Magazine Articleen_US
dc.identifier.volume165en_US
dc.identifier.doi10.1016/j.jss.2020.110568en_US
dcterms.abstractAs the quality and quantity of open source code increase, effective and efficient search for code implementing certain semantics, or semantics-based code search, has become an emerging need for software developers to retrieve and reuse existing source code. Previous techniques in semantics-based code search encode the semantics of loop-free Java code snippets as constraints and utilize an SMT solver to find encoded snippets that match an input/output (IO) query. We present in this article the Quebio approach to semantics-based search for Java methods. Quebio advances the state-of-the-art by supporting important language features like invocation to library APIs and enabling the search to handle more data types like array/List, Set, and Map. Compared with existing approaches, Quebio also integrates a customized keyword-based search that uses as the input a textual, behavioral summary of the desired methods to quickly prune the methods to be checked against the IO examples. To evaluate the effectiveness and efficiency of Quebio, we constructed a repository of 14,792 methods from 723 open source Java projects hosted on GitHub and applied the approach to resolve 47 queries extracted from StackOverflow. Quebio was able to find methods correctly implementing the specified IO behaviors for 43 of the queries, significantly outperforming the existing semantics-based code search techniques. The average search time with Quebio was 213.2 seconds for each query.en_US
dcterms.accessRightsopen accessen_US
dcterms.bibliographicCitationJournal of systems and software, July 2020, v. 165, 110568en_US
dcterms.isPartOfJournal of systems and softwareen_US
dcterms.issued2020-07-
dc.identifier.scopus2-s2.0-85081654312-
dc.identifier.artn110568en_US
dc.description.validate202208 bckwen_US
dc.description.oaAccepted Manuscripten_US
dc.identifier.FolderNumbera1666-
dc.identifier.SubFormID45768-
dc.description.fundingSourceRGCen_US
dc.description.fundingSourceOthersen_US
dc.description.fundingTextNational Natural Science Foundation of Chinaen_US
dc.description.pubStatusPublisheden_US
dc.description.oaCategoryGreen (AAM)en_US
Appears in Collections:Journal/Magazine Article
Files in This Item:
File Description SizeFormat 
Chen_Enhancing_Example-based_Code.pdfPre-Published version1.35 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show simple item record

Page views

70
Last Week
1
Last month
Citations as of May 12, 2024

Downloads

87
Citations as of May 12, 2024

SCOPUSTM   
Citations

5
Citations as of May 17, 2024

WEB OF SCIENCETM
Citations

5
Citations as of May 9, 2024

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.