Filters








23,585 Hits in 10.4 sec

Where should I comment my code?

Annie Louis, Santanu Kumar Dash, Earl T. Barr, Michael D. Ernst, Charles Sutton
2020 Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering: New Ideas and Emerging Results  
Programmers should write code comments, but not on every line of code. We have created a machine learning model that suggests locations where a programmer should write a code comment.  ...  We trained it on existing commented code to learn locations that are chosen by developers. Once trained, the model can predict locations in new code.  ...  Such a model would predict not only the comment location, but also which span of code should be commented at that location.  ... 
doi:10.1145/3377816.3381736 dblp:conf/icse/LouisDBES20 fatcat:los7ywzibjh3becee2xizkirdq

Anti-Patterns in Infrastructure as Code

Akond Rahman
2018 2018 IEEE 11th International Conference on Software Testing, Verification and Validation (ICST)  
Next, I thank my parents especially my mother Dr. Parveen Akhter for her endless sacrifices. I thank my brothers Partho and Babu, and my wife Effat for their support and inspiration.  ...  I thank my colleagues from the RealSearch, Alt-Code, RAISE, WSPR, and DLF research group members at North Carolina State University from whom I learned a lot.  ...  Finally, we use the categories 'File location needs fixing' and 'Path to external file or script needs fixing' to derive a proposition related to file location.  ... 
doi:10.1109/icst.2018.00057 dblp:conf/icst/Rahman18 fatcat:vrytux7oi5aatdr5cvg5bpuuee

Using fuzzy code search to link code fragments in discussions to source code

Nicolas Bettenburg, Stephen W. Thomas, Ahmed E. Hassan
2012 2012 16th European Conference on Software Maintenance and Reengineering  
In this paper, we use clonedetection as specific instance of a code search based approach for establishing links between code fragments that are discussed by developers and the actual source code of a  ...  Such references have different motivations, such as mentoring and guiding less experienced developers, pointing out code that needs changes, or proposing possible strategies for the implementation of future  ...  a source code file, and a description of the exact location of where the code fragment occurs within the source code file.  ... 
doi:10.1109/csmr.2012.39 dblp:conf/csmr/BettenburgTH12 fatcat:yufw2kdpbjft3bla3wafjlrone

What Do Developers Discuss about Code Comments? [article]

Pooja Rani and Mathias Birrer and Sebastiano Panichella and Mohammad Ghafari and Oscar Nierstrasz
2021 arXiv   pre-print
We found that (i) not all aspects of comments are covered in coding style guidelines, e.g., how to add a specific type of information, (ii) developers need support in learning the syntax and format conventions  ...  Code comments are important for program comprehension, development, and maintenance tasks.  ...  ACKNOWLEDGMENTS We gratefully acknowledge the financial support of the Swiss National Science Foundation for the project "Agile Software Assistance" (SNSF project No. 200020-181973, Feb. 1, 2019 -April  ... 
arXiv:2108.07648v1 fatcat:e6yvokclmzeipmtvkwa3q6megq

Automated Identification of Toxic Code Reviews: How Far Can We Go? [article]

Jaydeb Sarker, Asif Kamal Turzo, Ming Dong, Amiangshu Bosu
2022 arXiv   pre-print
, and a large scale labeled dataset of 19,571 code review comments.  ...  With our rigorous evaluation of the models with various combinations of preprocessing steps and vectorization techniques, we have identified the best combination for our dataset that boosts 95.8% accuracy  ...  , and a large-scale labeled dataset of 19,571 code review comments.  ... 
arXiv:2202.13056v1 fatcat:uew2layl4nbtln6xjnobkruoz4

Profile based recommendation of code reviewers

Mikołaj Fejzer, Piotr Przymus, Krzysztof Stencel
2017 Journal of Intelligent Information Systems  
In this article we present a new method of recommending reviewers for code changes. This method is based on profiles of individual programmers. For each developer we maintain his/her profile.  ...  It will get updated when he/she presents a new review. We employ a similarity function between such profiles and change proposals to be reviewed.  ...  reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.  ... 
doi:10.1007/s10844-017-0484-1 fatcat:pm5zqc2mgrdqfa6vi3fxisy4ci

Evaluating Large Language Models Trained on Code [article]

Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri (+46 others)
2021 arXiv   pre-print
We introduce Codex, a GPT language model fine-tuned on publicly available code from GitHub, and study its Python code-writing capabilities.  ...  Furthermore, we find that repeated sampling from the model is a surprisingly effective strategy for producing working solutions to difficult prompts.  ...  Finally, we thank GitHub for partnering to build GitHub Copilot and Microsoft Azure for supporting model training with infrastructure management.  ... 
arXiv:2107.03374v2 fatcat:tnan6rhwq5fsfek2jydeesgmmy

Partial Constitutional Codes

Rosalind Dixon
2014 Social Science Research Network  
To address this inter-relationship, a measure of time inconsistency (a combination of locking and amendment rate) is developed and it is demonstrated that it is connected with the length of constitutions  ...  Empirical evidence from all of the democratic countries in the world indicates that the length and locking of constitutions are not independent criteria, and that their combination leads to less time consistency  ...  I thank Julio Ríos-Figueroa, Dominic Nardi and Vassilis Tzevelekos for their insightful comments.  ... 
doi:10.2139/ssrn.2482377 fatcat:rnw4fafihbbqpjr2z7m6vkyfv4

Who should review my code? A file location-based code-reviewer recommendation approach for Modern Code Review

Patanamon Thongtanunam, Chakkrit Tantithamthavorn, Raula Gaikovina Kula, Norihiro Yoshida, Hajimu Iida, Ken-ichi Matsumoto
2015 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER)  
The intuition is that files that are located in similar file paths would be managed and reviewed by similar experienced code-reviewers.  ...  To help developers find appropriate code-reviewers, we propose REVFINDER, a file location-based code-reviewer recommendation approach.  ...  I : I A statistical summary of datasets for each studied system.  ... 
doi:10.1109/saner.2015.7081824 dblp:conf/wcre/ThongtanunamTKY15 fatcat:aaohblukfbacrapyt7c2j7n3ka

Discovery of functional non-coding conserved regions in the α-synuclein gene locus

Lori Sterling, Michael Walter, Dennis Ting, Birgitt Schüle
2014 F1000Research  
Please make the corrections where needed. Thanks so much for the comment. We made changes to reflect the correct number of 34 ncECRs.  ...  Please make the corrections where needed.  ... 
doi:10.12688/f1000research.3281.1 fatcat:m3m2bddjqnfplgxqzd47rsjzgm

On Learning Meaningful Code Changes via Neural Machine Translation [article]

Michele Tufano, Jevgenija Pantiuchina, Cody Watson, Gabriele Bavota, Denys Poshyvanyk
2019 arXiv   pre-print
Moreover, our qualitative analysis shows that the model is capable of learning and replicating a wide variety of meaningful code changes, especially refactorings and bug-fixing activities.  ...  We train and experiment with the NMT model on a set of 236k pairs of code components before and after the implementation of the changes provided in the pull requests.  ...  It should be noted that while we count only perfect predictions, there are many other (slightly different) transformations that can still be viable and useful for developers.  ... 
arXiv:1901.09102v1 fatcat:6eac2mbu4zcvzhev6jt46ki63i

DravidianCodeMix: Sentiment Analysis and Offensive Language Identification Dataset for Dravidian Languages in Code-Mixed Text [article]

Bharathi Raja Chakravarthi, Ruba Priyadharshini, Vigneshwaran Muralidaran, Navya Jose, Shardul Suryawanshi, Elizabeth Sherly, John P. McCrae
2021 arXiv   pre-print
The dataset was annotated for sentiment analysis and offensive language identification for a total of more than 60,000 YouTube comments.  ...  This paper describes the development of a multilingual, manually annotated dataset for three under-resourced Dravidian languages generated from social media comments.  ...  Come on, my star. I am waiting.  ... 
arXiv:2106.09460v1 fatcat:znaavs4icja2lm337k6yarmrha

In-IDE Code Generation from Natural Language: Promise and Challenges [article]

Frank F. Xu, Bogdan Vasilescu, Graham Neubig
2021 arXiv   pre-print
We first develop a plugin for the IDE that implements a hybrid of code generation and code retrieval functionality, and orchestrate virtual environments to enable collection of many user events.  ...  A great part of software development involves conceptualizing or communicating the underlying procedures and logic that needs to be expressed in programs.  ...  We also thank anonymous reviewers for their comments on revising this paper.  ... 
arXiv:2101.11149v3 fatcat:3wyizxvtvnarjehq5koxbesq64

Can We Benchmark Code Review Studies? A Systematic Mapping Study of Methodology, Dataset, and Metric [article]

Dong Wang and Yuki Ueda and Raula Gaikovina Kula and Takashi Ishio and Kenichi Matsumoto
2021 arXiv   pre-print
Code Review (CR) is the cornerstone for software quality assurance and a crucial practice for software development.  ...  A full replication is available at https://naist-se.github.io/code-review/.  ...  Acknowledgment This work has been supported by JSPS KAKENHI Grant Numbers 18H04094 and 20K19774 and 20H05706.  ... 
arXiv:1911.08816v2 fatcat:bg4limadjbbinlibqe7g3a2xoi

Supporting Quality In Test Code For Higher Quality Software Systems

Davide Spadini
2021 Zenodo  
Automated tests can help ensure that production code is robust under many usage conditions and that code meets performance and security needs.  ...  First, we investigate developers' needs when it comes to code reviewing, identifying seven high-level information needs that could be addressed through automated tools, saving up time for reviewers.  ...  I [open] GitHub, I access the PR and open it [in] my IDE. So I can look at the code as a whole, not just the files changed as it is in GitHub.  ... 
doi:10.5281/zenodo.4600817 fatcat:5j26gy2wzjfljkij6vkq2wkvd4
« Previous Showing results 1 — 15 out of 23,585 results