{"id":{"repo_id":"carleton","oai_identifier":"oai:carleton.scholaris.ca:20.500.14718/42210"},"canonical_url":"https://search.dev.ndltd.org/etd/carleton/oai:carleton.scholaris.ca:20.500.14718/42210","repository":{"repo_id":"carleton","name":"Carleton University","base_url":"https://carleton.scholaris.ca/server/oai/request"},"display":{"title":"Studying the Change History of Code Snippets on Stack Overflow and GitHub","abstract":"Stack Overflow (SO) is a popular Q&amp;A forum for software developers, providing ready to use code snippets. GH Developers often reuse SO code in their GitHub projects. These code snippets get revised and edited on both platforms after their creation and adoption. We investigate such evolution of posts and their adapted code on GitHub. To accomplish our goal, we mine the SOTorrent dataset. We then create and Analyze an evolutionary history of adapted code snippets by mining ~26K GitHub projects to study their evolution. Along with studying characteristics of projects that reference SO posts, we demonstrate that, on average, developers make 45 references to SO posts. We also found that 79\\% of the SO posts with code snippets referenced in GitHub, do change over time (at least ones). Finally, our results show that snippets on both platforms evolve independently of one another.","abstract_html":"Stack Overflow (SO) is a popular Q&amp;amp;A forum for software developers, providing ready to use code snippets. GH Developers often reuse SO code in their GitHub projects. These code snippets get revised and edited on both platforms after their creation and adoption. We investigate such evolution of posts and their adapted code on GitHub. To accomplish our goal, we mine the SOTorrent dataset. We then create and Analyze an evolutionary history of adapted code snippets by mining ~26K GitHub projects to study their evolution. Along with studying characteristics of projects that reference SO posts, we demonstrate that, on average, developers make 45 references to SO posts. We also found that 79\\% of the SO posts with code snippets referenced in GitHub, do change over time (at least ones). Finally, our results show that snippets on both platforms evolve independently of one another.","abstract_has_math":false,"creators":["Manes, Saraj Singh"],"institution":"Carleton University","degree_name":"Master of Computer Science (M.C.S.)","degree_level":"Master&apos;s","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2020,"date_issued":"2020","date_published":"2020","updated_at":"2026-07-24T01:34:25Z","subjects":[],"languages":["en"],"rights":["Copyright © 2020 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, research, scholarship, and teaching. Theses may only be shared by linking to Carleton University Institutional Repository and no part may be used without proper attribution to the author. No part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.22215/etd/2020-14169"],"render_values":[{"text":"10.22215/etd/2020-14169","href":"https://doi.org/10.22215/etd/2020-14169","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/20.500.14718/42210","outbound_label":"Handle","outbound_source":"dc:identifier.uri"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Manes, Saraj Singh"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-04-08T20:33:29Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-04-08T20:33:29Z"]},{"key":"dc:date.issued","label":"Date","values":["2020"]},{"key":"dc:publisher","label":"Institution","values":["Carleton University"]},{"key":"dc:type","label":"Dc Type","values":["thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master&apos;s"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Computer Science (M.C.S.)"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Copyright © 2020 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, research, scholarship, and teaching. Theses may only be shared by linking to Carleton University Institutional Repository and no part may be used without proper attribution to the author. No part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["10.22215/etd/2020-14169"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/20.500.14718/42210"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Stack Overflow (SO) is a popular Q&amp;A forum for software developers, providing ready to use code snippets. GH Developers often reuse SO code in their GitHub projects. These code snippets get revised and edited on both platforms after their creation and adoption. We investigate such evolution of posts and their adapted code on GitHub. To accomplish our goal, we mine the SOTorrent dataset. We then create and Analyze an evolutionary history of adapted code snippets by mining ~26K GitHub projects to study their evolution. Along with studying characteristics of projects that reference SO posts, we demonstrate that, on average, developers make 45 references to SO posts. We also found that 79\\% of the SO posts with code snippets referenced in GitHub, do change over time (at least ones). Finally, our results show that snippets on both platforms evolve independently of one another."]},{"key":"dc:title","label":"Title","values":["Studying the Change History of Code Snippets on Stack Overflow and GitHub"]}]}],"canonical_facts":{"dc:creator":["Manes, Saraj Singh"],"dc:date.accessioned":["2025-04-08T20:33:29Z"],"dc:date.available":["2025-04-08T20:33:29Z"],"dc:date.issued":["2020"],"dc:description.abstract":["Stack Overflow (SO) is a popular Q&amp;A forum for software developers, providing ready to use code snippets. GH Developers often reuse SO code in their GitHub projects. These code snippets get revised and edited on both platforms after their creation and adoption. We investigate such evolution of posts and their adapted code on GitHub. To accomplish our goal, we mine the SOTorrent dataset. We then create and Analyze an evolutionary history of adapted code snippets by mining ~26K GitHub projects to study their evolution. Along with studying characteristics of projects that reference SO posts, we demonstrate that, on average, developers make 45 references to SO posts. We also found that 79\\% of the SO posts with code snippets referenced in GitHub, do change over time (at least ones). Finally, our results show that snippets on both platforms evolve independently of one another."],"dc:identifier.doi":["10.22215/etd/2020-14169"],"dc:identifier.uri":["https://hdl.handle.net/20.500.14718/42210"],"dc:language.iso":["en"],"dc:publisher":["Carleton University"],"dc:rights":["Copyright © 2020 the author(s). Theses may be used for non-commercial research, educational, or related academic purposes only. Such uses include personal study, research, scholarship, and teaching. Theses may only be shared by linking to Carleton University Institutional Repository and no part may be used without proper attribution to the author. No part may be used for commercial purposes directly or indirectly via a for-profit platform; no adaptation or derivative works are permitted without consent from the copyright owner."],"dc:title":["Studying the Change History of Code Snippets on Stack Overflow and GitHub"],"dc:type":["thesis"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Master&apos;s"],"thesis:degree_name":["Master of Computer Science (M.C.S.)"]},"updated_at":"2026-07-24T01:34:25Z"}