Exploring code samples characteristics and their impacts on software ecosystems

Detalhes bibliográficos
Autor(a) principal: GABRIEL SANTANA DE MENEZES
Data de Publicação: 2022
Tipo de documento: Dissertação
Idioma: por
Título da fonte: Repositório Institucional da UFMS
Texto Completo: https://repositorio.ufms.br/handle/123456789/5057
Resumo: Modern software systems are commonly built on top of frameworks, libraries, and APIs (platforms). The environments where exists relations between organizations that maintain these platforms and clients that use features of these platforms are known as the Software Ecosystem. In this context, organizations develop code samples to help their client with learning barriers. Code samples are small software projects, with educational purposes, and teach how to use platform features. However, we know little about code sample characteristics and their relation with organizations and clients. In this work, we aim to fill these gaps by assessing four different aspects. First, comparing code samples with conventional projects through their source code. Second, exploring the code sample usage via Stack Overflow and GitHub. Third, assessing the profile of actors that interact with code samples. Fourth, maintenance of code samples and their impact on clients. We found that code samples are smaller and simpler than conventional projects. We also found that code sample changes less frequently but updates faster to new platform versions than conventional projects. Regarding code sample usage, we found that the copy/paste approach is low used by clients. Also, we noted that the most common problem faced by clients is when they try to modify the code sample and improvements are the most common need from clients. Regarding actors around code samples, we found that the target audience of code samples can range from inexperienced to experienced clients. Also, we noted that platforms of different organizations seem to have different target audiences. Also, code sample maintainers are aged and unpopular on GitHub. Finally, about code sample maintenance, we found that code modifying is the most common maintenance activity of code samples, but Pull Request management plays an essential part in maintenance time. We also found that code samples become less complex but larger and less readable over time.
id UFMS_704a896a311a06259dcf2a30679ef457
oai_identifier_str oai:repositorio.ufms.br:123456789/5057
network_acronym_str UFMS
network_name_str Repositório Institucional da UFMS
repository_id_str 2124
spelling 2022-08-30T21:44:31Z2022-08-30T21:44:31Z2022https://repositorio.ufms.br/handle/123456789/5057Modern software systems are commonly built on top of frameworks, libraries, and APIs (platforms). The environments where exists relations between organizations that maintain these platforms and clients that use features of these platforms are known as the Software Ecosystem. In this context, organizations develop code samples to help their client with learning barriers. Code samples are small software projects, with educational purposes, and teach how to use platform features. However, we know little about code sample characteristics and their relation with organizations and clients. In this work, we aim to fill these gaps by assessing four different aspects. First, comparing code samples with conventional projects through their source code. Second, exploring the code sample usage via Stack Overflow and GitHub. Third, assessing the profile of actors that interact with code samples. Fourth, maintenance of code samples and their impact on clients. We found that code samples are smaller and simpler than conventional projects. We also found that code sample changes less frequently but updates faster to new platform versions than conventional projects. Regarding code sample usage, we found that the copy/paste approach is low used by clients. Also, we noted that the most common problem faced by clients is when they try to modify the code sample and improvements are the most common need from clients. Regarding actors around code samples, we found that the target audience of code samples can range from inexperienced to experienced clients. Also, we noted that platforms of different organizations seem to have different target audiences. Also, code sample maintainers are aged and unpopular on GitHub. Finally, about code sample maintenance, we found that code modifying is the most common maintenance activity of code samples, but Pull Request management plays an essential part in maintenance time. We also found that code samples become less complex but larger and less readable over time.Os sistemas de software modernos são geralmente construídos sobre frameworks, bibliotecas e APIs (plataformas). Ambientes onde existem relações entre as organizações que mantêm essas plataformas e os clientes que utilizam recursos dessas plataformas são conhecidos como Ecossistema de Software. Nesse contexto, as organizações desenvolvem code samples para ajudar seus clientes com as barreiras de aprendizado. Code samples são pequenos projetos de software, com fins educacionais, e ensinam como usar os recursos da plataforma. No entanto, sabemos pouco sobre as características de code samples e sua relação com organizações e clientes. Neste trabalho, pretendemos preencher essas lacunas avaliando quatro aspectos diferentes. Primeiro, comparando code samples com projetos convencionais através de seu código-fonte. Segundo, explorando o uso de code samples via Stack Overflow e GitHub. Terceiro, avaliando o perfil dos atores que interagem com code samples. Quarto, manutenção de code samples e seu impacto nos clientes. Descobrimos que os code samples são menores e mais simples do que os projetos convencionais. Também descobrimos que code samples mudam com menos frequência, mas atualiza mais rapidamente para novas versões de plataforma do que os projetos convencionais. Em relação ao uso de code samples, descobrimos que a abordagem copiar/colar é pouco utilizada pelos clientes. Além disso, notamos que o problema mais comum enfrentado pelos clientes é quando eles tentam modificar a code samples e as melhorias são a necessidade mais comum dos clientes. Em relação aos atores em torno dos code samples, descobrimos que o público-alvo dos code samples pode variar de clientes inexperientes a clientes experientes. Além disso, notamos que plataformas de diferentes organizações parecem ter diferentes públicos-alvo. Além disso, os mantenedores de code samples são antigos e impopulares no GitHub. Por fim, sobre a manutenção de code samples, descobrimos que a modificação de código é a atividade de manutenção mais comum de code samples, mas o gerenciamento de Pull Rquests desempenha um papel essencial no tempo de manutenção. Também descobrimos que os code samples se tornam menos complexas, mas maiores e menos legíveis ao longo do tempo.Fundação Universidade Federal de Mato Grosso do SulUFMSBrasilCode samplesMining Software RepositorySoftware MaintenanceSoftware EcosystemsExploring code samples characteristics and their impacts on software ecosystemsinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisBruno Barbieri de Pontes CafeoGABRIEL SANTANA DE MENEZESinfo:eu-repo/semantics/openAccessporreponame:Repositório Institucional da UFMSinstname:Universidade Federal de Mato Grosso do Sul (UFMS)instacron:UFMSORIGINALdissertacao_do_gabriel.pdfdissertacao_do_gabriel.pdfapplication/pdf1460277https://repositorio.ufms.br/bitstream/123456789/5057/-1/dissertacao_do_gabriel.pdf489584ee18527c4871695f624a4e37b3MD5-1123456789/50572022-08-30 17:44:32.612oai:repositorio.ufms.br:123456789/5057Repositório InstitucionalPUBhttps://repositorio.ufms.br/oai/requestri.prograd@ufms.bropendoar:21242022-08-30T21:44:32Repositório Institucional da UFMS - Universidade Federal de Mato Grosso do Sul (UFMS)false
dc.title.pt_BR.fl_str_mv Exploring code samples characteristics and their impacts on software ecosystems
title Exploring code samples characteristics and their impacts on software ecosystems
spellingShingle Exploring code samples characteristics and their impacts on software ecosystems
GABRIEL SANTANA DE MENEZES
Code samples
Mining Software Repository
Software Maintenance
Software Ecosystems
title_short Exploring code samples characteristics and their impacts on software ecosystems
title_full Exploring code samples characteristics and their impacts on software ecosystems
title_fullStr Exploring code samples characteristics and their impacts on software ecosystems
title_full_unstemmed Exploring code samples characteristics and their impacts on software ecosystems
title_sort Exploring code samples characteristics and their impacts on software ecosystems
author GABRIEL SANTANA DE MENEZES
author_facet GABRIEL SANTANA DE MENEZES
author_role author
dc.contributor.advisor1.fl_str_mv Bruno Barbieri de Pontes Cafeo
dc.contributor.author.fl_str_mv GABRIEL SANTANA DE MENEZES
contributor_str_mv Bruno Barbieri de Pontes Cafeo
dc.subject.por.fl_str_mv Code samples
Mining Software Repository
Software Maintenance
Software Ecosystems
topic Code samples
Mining Software Repository
Software Maintenance
Software Ecosystems
description Modern software systems are commonly built on top of frameworks, libraries, and APIs (platforms). The environments where exists relations between organizations that maintain these platforms and clients that use features of these platforms are known as the Software Ecosystem. In this context, organizations develop code samples to help their client with learning barriers. Code samples are small software projects, with educational purposes, and teach how to use platform features. However, we know little about code sample characteristics and their relation with organizations and clients. In this work, we aim to fill these gaps by assessing four different aspects. First, comparing code samples with conventional projects through their source code. Second, exploring the code sample usage via Stack Overflow and GitHub. Third, assessing the profile of actors that interact with code samples. Fourth, maintenance of code samples and their impact on clients. We found that code samples are smaller and simpler than conventional projects. We also found that code sample changes less frequently but updates faster to new platform versions than conventional projects. Regarding code sample usage, we found that the copy/paste approach is low used by clients. Also, we noted that the most common problem faced by clients is when they try to modify the code sample and improvements are the most common need from clients. Regarding actors around code samples, we found that the target audience of code samples can range from inexperienced to experienced clients. Also, we noted that platforms of different organizations seem to have different target audiences. Also, code sample maintainers are aged and unpopular on GitHub. Finally, about code sample maintenance, we found that code modifying is the most common maintenance activity of code samples, but Pull Request management plays an essential part in maintenance time. We also found that code samples become less complex but larger and less readable over time.
publishDate 2022
dc.date.accessioned.fl_str_mv 2022-08-30T21:44:31Z
dc.date.available.fl_str_mv 2022-08-30T21:44:31Z
dc.date.issued.fl_str_mv 2022
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://repositorio.ufms.br/handle/123456789/5057
url https://repositorio.ufms.br/handle/123456789/5057
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.publisher.none.fl_str_mv Fundação Universidade Federal de Mato Grosso do Sul
dc.publisher.initials.fl_str_mv UFMS
dc.publisher.country.fl_str_mv Brasil
publisher.none.fl_str_mv Fundação Universidade Federal de Mato Grosso do Sul
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFMS
instname:Universidade Federal de Mato Grosso do Sul (UFMS)
instacron:UFMS
instname_str Universidade Federal de Mato Grosso do Sul (UFMS)
instacron_str UFMS
institution UFMS
reponame_str Repositório Institucional da UFMS
collection Repositório Institucional da UFMS
bitstream.url.fl_str_mv https://repositorio.ufms.br/bitstream/123456789/5057/-1/dissertacao_do_gabriel.pdf
bitstream.checksum.fl_str_mv 489584ee18527c4871695f624a4e37b3
bitstream.checksumAlgorithm.fl_str_mv MD5
repository.name.fl_str_mv Repositório Institucional da UFMS - Universidade Federal de Mato Grosso do Sul (UFMS)
repository.mail.fl_str_mv ri.prograd@ufms.br
_version_ 1801678504074412032