ABSTRACT
Local code search tools help developers efficiently find code snippets in the code base under development. The quality of the retrieved code largely depends on the quality of queries provided by developers. Manually synthesizing high-quality queries is a non-trivial task, partially because it places a cognitive burden on developers by requiring them memorize words used in the code base under search. To help developers synthesize better queries, this paper proposes a recommendation technique called MultiD that uses multiple dictionaries. We also report an ongoing study to evaluate the effectiveness of MultiD.
- Frequent Word Lists. http://invokeit.wordpress.com/frequency-wordlists/, 2013.Google Scholar
- S. Gupta, S. Malik, L. Pollock, and K. Vijay-Shanker. Part-of-speech tagging of program identifiers for improved text-based software engineering tool. In Proc. ICPC. IEEE, 2013.Google ScholarCross Ref
- A. J. Ko, B. A. Myers, M. J. Coblenz, and H. H. Aung. An exploratory study of how developers seek, relate, and collect relevant information during software maintenance tasks. TSE, 32(12):971--987, 2006. Google ScholarDigital Library
- K. Kukich. Techniques for automatically correcting words in text. ACM Computing Surveys, 24(4):377--439, 1992. Google ScholarDigital Library
- George A. M. Wordnet: A lexical database for english. Communications of the ACM, 38:39--41, 1995. Google ScholarDigital Library
- S. Pinker. The language instinct. New York: W. Morrow, 1994.Google ScholarCross Ref
- D. Shepherd, K. Damevski, B. Ropski, and T. Fritz. Sando: an extensible local code search framework. In Proc. FSE, pages 15:1--15:2, 2012. Google ScholarDigital Library
Index Terms
- Dictionary-based query recommendation for local code search
Recommendations
Dictionary-based query recommendation for local code search
SPLASH '13: Proceedings of the 2013 companion publication for conference on Systems, programming, & applications: software for humanityLocal code search tools help developers efficiently find code snippets in the code base under development. The quality of the retrieved code largely depends on the quality of queries provided by developers. Manually synthesizing high-quality queries is ...
Clone-based and interactive recommendation for modifying pasted code
ESEC/FSE 2015: Proceedings of the 2015 10th Joint Meeting on Foundations of Software EngineeringDevelopers often need to modify pasted code when programming with copy-and-paste practice. Some modifications on pasted code could involve lots of editing efforts, and any missing or wrong edit could incur bugs. In this paper, we propose a clone-based ...
Aroma: code recommendation via structural code search
Programmers often write code that has similarity to existing code written somewhere. A tool that could help programmers to search such similar code would be immensely useful. Such a tool could help programmers to extend partially written code snippets ...
Comments