Filters








4 Hits in 2.5 sec

Spongebugs: Automatically generating fix suggestions in response to static code analysis warnings

Diego Marcilio, Carlo A. Furia, Rodrigo Bonifácio, Gustavo Pinto
<span title="">2020</span> <i title="Elsevier BV"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/kqzhqyka2ffqdlbon77fd6trwm" style="color: black;">Journal of Systems and Software</a> </i> &nbsp;
In this work, we investigate whether it is feasible to automatically generate fix suggestions for common warnings issued by static code analysis tools, and to what extent developers are willing to accept  ...  All results indicate that our approach to generating fix suggestions is feasible, flexible, and can help increase the applicability of static code analysis tools.  ...  Empirical Evaluation of SpongeBugs: Experimental Design The overall goal of this research is suggesting fixes to warnings generated by static code analysis tools.  ... 
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1016/j.jss.2020.110671">doi:10.1016/j.jss.2020.110671</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/r5t6drtpq5dn3mtqwh5dnzffl4">fatcat:r5t6drtpq5dn3mtqwh5dnzffl4</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20201117121747/https://bugcounting.net/pubs/jss20-spongebugs.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/10/61/106114263adfbfb229d89622941bb64da287ba1b.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1016/j.jss.2020.110671"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> elsevier.com </button> </a>

Sorald: Automatic Patch Suggestions for SonarQube Static Analysis Violations [article]

Khashayar Etemadi, Nicolas Harrand, Simon Larsen, Haris Adzemovic, Henry Luong Phu, Ashutosh Verma, Fernanda Madeiral, Douglas Wikstrom, Martin Monperrus
<span title="2022-01-11">2022</span> <i > arXiv </i> &nbsp; <span class="release-stage" >pre-print</span>
To address these problems, we present Sorald: a novel system that devise metaprogramming templates to transform the abstract syntax trees of programs and suggest fixes for static analysis warnings.  ...  Overall, our experiments show it is possible to automatically fix notable violations of the static analysis rules produced by the state-of-the-art static analyzer SonarJava.  ...  To summarise, we make the following contributions: • We introduce SORALD, a novel tool to automatically repair violations of static analysis rules, aka static analysis warnings, using generic transformations  ... 
<span class="external-identifiers"> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/2103.12033v2">arXiv:2103.12033v2</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/m5bz6mdypbh2ljrkinfxyvteba">fatcat:m5bz6mdypbh2ljrkinfxyvteba</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20220113062121/https://arxiv.org/pdf/2103.12033v2.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/e7/b5/e7b5a7e769e8e60369b85cb65831b5d932846381.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener" href="https://arxiv.org/abs/2103.12033v2" title="arxiv.org access"> <button class="ui compact blue labeled icon button serp-button"> <i class="file alternate outline icon"></i> arxiv.org </button> </a>

Detecting and Reporting Object-Relational Mapping Problems: An Industrial Report

Marcos Felipe Carvalho Nazario, Eduardo Guerra, Rodrigo Bonifacio, Gustavo Pinto
<span title="">2019</span> <i title="IEEE"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/6fd3ohrrr5hcxickohr2pogitu" style="color: black;">2019 ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM)</a> </i> &nbsp;
Method: We first report an observational study in which we curated 12 ORMrelated problems, which are implemented in our framework.  ...  Object-Relational Mapping (ORM) frameworks are regarded as key tools in the software engineer arsenal.  ...  We thank the participants for collaborating in this research and the reviewers for their helpful comments.  ... 
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1109/esem.2019.8870163">doi:10.1109/esem.2019.8870163</a> <a target="_blank" rel="external noopener" href="https://dblp.org/rec/conf/esem/NazarioGB019.html">dblp:conf/esem/NazarioGB019</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/fhixpiww5rffdbqarig2sml2ji">fatcat:fhixpiww5rffdbqarig2sml2ji</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20200507135505/http://mtc-m21c.sid.inpe.br/col/sid.inpe.br/mtc-m21c/2019/11.08.09.49/doc/nazario_detecting.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/56/2c/562ca15513d6240a5e98b0cc33273f1c231429c5.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1109/esem.2019.8870163"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> ieee.com </button> </a>

Automatically Fixing Static Analysis Tools Violations

Diego Marcilio, Rodrigo Bonifácio
<span title="2020-10-19">2020</span> <i title="Sociedade Brasileira de Computação - SBC"> Anais Estendidos do XI Congresso Brasileiro de Software: Teoria e Prática (CBSoft 2020) </i> &nbsp; <span class="release-stage">unpublished</span>
Static analysis tools analyze source code to find deviations, or violations, from recommended programming practices defined as rules. A warning is raised when a piece of code violates any rule.  ...  In this work, we addressed these two difficulties in two stages: 1) we identified which kind of rules are mostly fixed by Java developers when using SonarQube (a widely used static analysis tools); 2)  ...  I also thank all my coauthors for their invaluable support and input on the work done in this dissertation. My friends and family must not also be forgotten. Thank you!  ... 
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.5753/cbsoft_estendido.2020.14625">doi:10.5753/cbsoft_estendido.2020.14625</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/4tyujz5xircbpiyrq3gsyqsrzq">fatcat:4tyujz5xircbpiyrq3gsyqsrzq</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20210715084611/https://repositorio.unb.br/bitstream/10482/37098/1/2019_DiegoVen%c3%a2ncioMarcilio.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/7e/fc/7efc9cd91588cad7c1a216515bab1dc7568dead5.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.5753/cbsoft_estendido.2020.14625"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> Publisher / doi.org </button> </a>