{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,4,21]],"date-time":"2026-04-21T15:33:05Z","timestamp":1776785585961,"version":"3.51.2"},"reference-count":48,"publisher":"Institute of Electrical and Electronics Engineers (IEEE)","issue":"11","license":[{"start":{"date-parts":[[2024,11,1]],"date-time":"2024-11-01T00:00:00Z","timestamp":1730419200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/ieeexplore.ieee.org\/Xplorehelp\/downloads\/license-information\/IEEE.html"},{"start":{"date-parts":[[2024,11,1]],"date-time":"2024-11-01T00:00:00Z","timestamp":1730419200000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-029"},{"start":{"date-parts":[[2024,11,1]],"date-time":"2024-11-01T00:00:00Z","timestamp":1730419200000},"content-version":"stm-asf","delay-in-days":0,"URL":"https:\/\/doi.org\/10.15223\/policy-037"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62302515"],"award-info":[{"award-number":["62302515"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"National University of Defense Technology Research Project","award":["ZK21-13"],"award-info":[{"award-number":["ZK21-13"]}]},{"name":"National Key Laboratory Foundation for Parallel and Distributed Computing","award":["WDZC20235250105"],"award-info":[{"award-number":["WDZC20235250105"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["IIEEE Trans. Software Eng."],"published-print":{"date-parts":[[2024,11]]},"DOI":"10.1109\/tse.2024.3395519","type":"journal-article","created":{"date-parts":[[2024,4,30]],"date-time":"2024-04-30T19:11:53Z","timestamp":1714504313000},"page":"2712-2731","source":"Crossref","is-referenced-by-count":7,"title":["How Do Developers Adapt Code Snippets to Their Contexts? An Empirical Study of Context-Based Code Snippet Adaptations"],"prefix":"10.1109","volume":"50","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7241-9730","authenticated-orcid":false,"given":"Tanghaoran","family":"Zhang","sequence":"first","affiliation":[{"name":"Key Laboratory of Software Engineering for Complex Systems, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3520-5829","authenticated-orcid":false,"given":"Yao","family":"Lu","sequence":"additional","affiliation":[{"name":"Key Laboratory of Software Engineering for Complex Systems, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9865-2212","authenticated-orcid":false,"given":"Yue","family":"Yu","sequence":"additional","affiliation":[{"name":"Key Laboratory of Parallel and Distributed Computing, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6003-5748","authenticated-orcid":false,"given":"Xinjun","family":"Mao","sequence":"additional","affiliation":[{"name":"Key Laboratory of Software Engineering for Complex Systems, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3111-1534","authenticated-orcid":false,"given":"Yang","family":"Zhang","sequence":"additional","affiliation":[{"name":"Key Laboratory of Parallel and Distributed Computing, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-0061-9457","authenticated-orcid":false,"given":"Yuxin","family":"Zhao","sequence":"additional","affiliation":[{"name":"Key Laboratory of Software Engineering for Complex Systems, National University of Defense Technology, Changsha, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"263","reference":[{"key":"ref1","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2017.13"},{"key":"ref2","doi-asserted-by":"publisher","DOI":"10.1109\/ASWEC.2018.00027"},{"key":"ref3","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-018-9650-5"},{"key":"ref4","first-page":"283","article-title":"Studying the change histories of Stack Overflow and GitHub Snippets","volume-title":"in Proc. IEEE\/ACM 18th Int. Conf. Mining Softw. Repositories (MSR)","author":"Manes","year":"2021"},{"key":"ref5","doi-asserted-by":"publisher","DOI":"10.1145\/3524610.3527923"},{"key":"ref6","first-page":"1","article-title":"PCR-chain: Partial code reuse assisted by hierarchical chaining of prompts on frozen copilot","volume-title":"in Proc. IEEE\/ACM 45th Int. Conf. Softw. Eng.: Companion Proc. (ICSE-Companion)","author":"Huang","year":"2023"},{"key":"ref7","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2009.147"},{"key":"ref8","doi-asserted-by":"publisher","DOI":"10.1145\/2901739.2901767"},{"key":"ref9","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09771-0"},{"key":"ref10","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3248113"},{"key":"ref11","doi-asserted-by":"publisher","DOI":"10.1109\/icse.2019.00046"},{"key":"ref12","doi-asserted-by":"publisher","DOI":"10.1145\/3377929.3398087"},{"key":"ref13","doi-asserted-by":"publisher","DOI":"10.1145\/2642937.2642982"},{"key":"ref14","doi-asserted-by":"publisher","DOI":"10.1191\/1478088706qp063oa"},{"key":"ref15","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931058"},{"key":"ref16","first-page":"542","article-title":"APIzation: Generating reusable APIs from StackOverflow code Snippets","volume-title":"in Proc. 36th IEEE\/ACM Int. Conf. Automated Softw. Eng. (ASE)","author":"Terragni","year":"2021"},{"key":"ref17","first-page":"291","article-title":"Some from here, some from there: Cross-project code reuse in GitHub","volume-title":"in Proc. IEEE\/ACM 14th Int. Conf. Mining Softw. Repositories (MSR)","author":"Gharehyazie","year":"2017"},{"key":"ref18","first-page":"157","article-title":"Investigating context adaptation bugs in code clones","volume-title":"in Proc. IEEE Int. Conf. Softw. Maintenance Evol. (ICSME)","author":"Mondal","year":"2019"},{"key":"ref19","first-page":"22","article-title":"On the nature of code cloning in open-source Java projects","volume-title":"in Proc. IEEE 15th Int. Workshop Softw. Clones (IWSC)","author":"Golubev","year":"2021"},{"key":"ref20","doi-asserted-by":"publisher","DOI":"10.1145\/3691621.3694945"},{"key":"ref21","doi-asserted-by":"crossref","first-page":"319","DOI":"10.1145\/3196398.3196430","article-title":"SOTorrent: Reconstructing and analyzing the evolution of Stack Overflow posts","volume-title":"Proc. IEEE\/ACM 15th Int. Conf. Mining Softw. Repositories (MSR)","author":"Baltes","year":"2018"},{"key":"ref22","doi-asserted-by":"publisher","DOI":"10.1109\/ieeestd.1990.101064"},{"key":"ref23","first-page":"492","article-title":"The dimensions of maintenance","volume-title":"Proc. 2nd Int. Conf. Softw. Eng., (ICSE \u201976)","author":"Swanson","year":"1976"},{"key":"ref24","doi-asserted-by":"publisher","DOI":"10.1002\/smr.220"},{"key":"ref25","doi-asserted-by":"publisher","DOI":"10.1177\/001316446002000104"},{"key":"ref26","doi-asserted-by":"publisher","DOI":"10.1214\/aoms\/1177730491"},{"key":"ref27","doi-asserted-by":"publisher","DOI":"10.1111\/opo.12131"},{"key":"ref28","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2021.3130088"},{"key":"ref29","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2013.6624012"},{"key":"ref30","doi-asserted-by":"publisher","DOI":"10.1145\/2568225.2568313"},{"key":"ref31","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-022-10235-1"},{"key":"ref32","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-018-9634-5"},{"key":"ref33","first-page":"148","article-title":"On code reuse from StackOverflow: An exploratory study on Android apps","volume-title":"Inf. Softw. Technol.","volume":"88","author":"Abdalkareem","year":"2017"},{"key":"ref34","first-page":"250","article-title":"Impact of stack overflow code snippets on software cohesion: A preliminary study","volume-title":"in Proc. IEEE\/ACM 16th Int. Conf. Mining Softw. Repositories (MSR)","author":"Ahmad","year":"2019"},{"key":"ref35","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180260"},{"key":"ref36","first-page":"195","article-title":"Mining rule violations in JavaScript code snippets","volume-title":"in Proc. IEEE\/ACM 16th Int. Conf. Mining Softw. Repositories (MSR)","author":"Campos","year":"2019"},{"key":"ref37","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2019.2900307"},{"key":"ref38","first-page":"283","article-title":"Stack Overflow: A code laundering platform?","volume-title":"in IEEE 24th Int. Conf. Softw. Anal., Evol. Reeng. (SANER)","author":"An","year":"2017"},{"key":"ref39","doi-asserted-by":"publisher","DOI":"10.1145\/1753326.1753402"},{"key":"ref40","first-page":"1295","article-title":"Seahawk: Stack Overflow in the IDE","volume-title":"in Proc. 35th Int. Conf. Softw. Eng. (ICSE)","author":"Ponzanelli","year":"2013"},{"key":"ref41","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9397-1"},{"key":"ref42","first-page":"349","article-title":"RACK: Automatic API recommendation using crowdsourced knowledge","volume-title":"in Proc. IEEE 23rd Int. Conf. Softw. Anal., Evol., Reeng. (SANER)","author":"Rahman","year":"2016"},{"key":"ref43","first-page":"628","article-title":"NLP2Code: Code snippet content assist via natural language tasks","volume-title":"in Proc. IEEE Int. Conf. Softw. Maintenance Evol. (ICSME)","author":"Campbell","year":"2017"},{"key":"ref44","doi-asserted-by":"crossref","DOI":"10.1016\/j.infsof.2020.106367","article-title":"PostFinder: Mining Stack Overflow posts to support software developers","volume":"127","author":"Rubei","year":"2020","journal-title":"Inf. Softw. Technol."},{"key":"ref45","doi-asserted-by":"publisher","DOI":"10.1145\/3447571"},{"key":"ref46","first-page":"933","article-title":"Jigsaw: A tool for the small-scale reuse of source code","volume-title":"in Companion 13th Int. Conf. Softw. Eng. - (ICSE)","author":"Cottrell","year":"2008"},{"key":"ref47","doi-asserted-by":"publisher","DOI":"10.1145\/2380116.2380145"},{"key":"ref48","doi-asserted-by":"publisher","DOI":"10.1145\/3579027.3608991"}],"container-title":["IEEE Transactions on Software Engineering"],"original-title":[],"link":[{"URL":"http:\/\/xplorestaging.ieee.org\/ielx7\/32\/10752626\/10510659.pdf?arnumber=10510659","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,11,27]],"date-time":"2024-11-27T00:11:39Z","timestamp":1732666299000},"score":1,"resource":{"primary":{"URL":"https:\/\/ieeexplore.ieee.org\/document\/10510659\/"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,11]]},"references-count":48,"journal-issue":{"issue":"11"},"URL":"https:\/\/doi.org\/10.1109\/tse.2024.3395519","relation":{},"ISSN":["0098-5589","1939-3520","2326-3881"],"issn-type":[{"value":"0098-5589","type":"print"},{"value":"1939-3520","type":"electronic"},{"value":"2326-3881","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,11]]}}}