Mining StackOverflow to turn the IDE into a self-confident programming prompter
The DOI matches its Crossref record; 45 of the 45 references it cites were found in a registry or an index.
Abstract
Developers often require knowledge beyond the one they possess, which often boils down to consulting sources of information like Application Programming Interfaces (API) documentation, forums, Q&A websites, etc. Knowing what to search for and how is non- trivial, and developers spend time and energy to formulate their problems as queries and to peruse and process the results. We propose a novel approach that, given a context in the IDE, automatically retrieves pertinent discussions from Stack Overflow, evaluates their relevance, and, if a given confidence threshold is surpassed, notifies the developer about the available help. We have implemented our approach in Prompter, an Eclipse plug-in. Prompter has been evaluated through two studies. The first was aimed at evaluating the devised ranking model, while the second was conducted to evaluate the usefulness of Prompter.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Our quantitative task performance results for the current version of this NL2Code plugin, while negative, do not imply that future, better performing such systems will also not be markedly useful in practice; the qualitative data from our our study participants already suggests otherwise, as does quantitative data from prior research on the usefulness of in-IDE code search plugins [92].”
From In-IDE Code Generation from Natural Language: Promise and Challenges (2022) · cites this paper as [92]
Citations
Cites
Elements of Information Theory
Cover, T. M., & Thomas, J. A. (2001) · Wiley eBooks · doi:10.1002/0471200611 · Cited by 36,808
Binary Codes capable of currecting deletions, insertions, and reversals
Levenshtein, V. I. (1965) · Soviet physics. Doklady · Cited by 15,165
Baeza-Yates, R. A., & Ribeiro-Neto, B. A. (1999) · Cited by 12,609
Introduction to information retrieval
(2009) · Choice Reviews Online · doi:10.5860/choice.46-2715 · Cited by 12,278
Questionnaire Design, Interviewing and Attitude Measurement
Albuam, G., & Oppenheim, A. N. (1993) · Journal of Marketing Research · doi:10.2307/3172892 · Cited by 4,971
Violin Plots: A Box Plot-Density Trace Synergism
Hintze, J. L., & Nelson, R. D. (1998) · The American Statistician · doi:10.1080/00031305.1998.10480559 · Cited by 1,802 · cited 1×
“We quantitatively analyzed participants' answers through violinplots [12] to assess the ability of Prompter in identifying relevant Stack Overflow discussions given a piece of code.”
Anvik, J., Hiew, L., & Murphy, G. C. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134336 · Cited by 924 · cited 5×
“The information is retrieved from different sources, such as forums, mailing lists [2], blogs, Q&A websites, bug trackers [1], etc.”
InfluentialEffect sizes for research: A broad practical approach.
Grissom, R. J., & Kim, J. J. (2005) · Cited by 732
Maintaining mental models: a study of developer work habits
LaToza, T. D., Venolia, G., & DeLine, R. (2006) · Proceedings of the 28th international conference on Software engineering · doi:10.1145/1134285.1134355 · Cited by 628 · cited 1×
“While asking team mates is the preferred means to obtain help [20], their availability may fall short.”
BackgroundDesign lessons from the fastest q&a site in the west
Mamykina, L., Manoim, B., Mittal, M., Hripcsak, G., & Hartmann, B. (2011) · Proceedings of the SIGCHI Conference on Human Factors in Computing Systems · doi:10.1145/1978942.1979366 · Cited by 553 · cited 1×
“Stack Overflow is vast: In 2010 it already had 300k users, and millions of questions, answers, and comments [23].”
Background
Research works printed but not linked: 8
- 10.5555/2337223.2337268 · doi:10.5555/2337223.2337268
- R. D. Baker . Modern permutation test software . In Randomization Tests. Marcel Decker , 1995 . R. D. Baker. Modern permutation test software. In Randomization Tests. Marcel Decker, 1995.
- 10.5555/129837 · doi:10.5555/129837
- S. Holm . A simple sequentially rejective Bonferroni test procedure . Scandinavian Journal of Statistics , 6 : 65 – 70 , 1979 . S. Holm. A simple sequentially rejective Bonferroni test procedure. Scandinavian Journal of Statistics, 6:65–70, 1979.
- 10.5555/1394399 · doi:10.5555/1394399
- 10.5555/2486788.2486897 · doi:10.5555/2486788.2486897
- 10.5555/794193.794899 · doi:10.5555/794193.794899
- 10.5555/998675.999460 · doi:10.5555/998675.999460
Cited by
Gu, X., Zhang, H., & Kim, S. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180167 · Cited by 547
“[61] proposed an approach that automatically retrieves pertinent discussions from Stack Overflow given a context in the IDE.”
BackgroundA survey of the use of crowdsourcing in software engineering
Mao, K., Capra, L., Harman, M., & Jia, Y. (2017) · Journal of Systems and Software · doi:10.1016/j.jss.2016.09.015 · Cited by 385
“…2012; Bruch, 2012; Watson et al., 2012; Bacchelli et al., 2012; Ponzanelli, 2012; Ponzanelli et al., 2013a,b; Wightman, 2013; Barzilay et al., 2013; Ponzanelli et al., 2014a,b; de Souza et al., 2014;950 Fast et al., 2014; Chen and Kim, 2015), each of which we describe below: HelpMeOut (Hartmann et…”
BackgroundAugmenting API documentation with insights from stack overflow
Treude, C., & Robillard, M. P. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884800 · Cited by 239
Jumping through hoops: why do Java developers struggle with cryptography APIs?
Nadi, S., Krüger, S., Mezini, M., & Bodden, E. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884790 · Cited by 218
“, [24,30,33]).”
API method recommendation without worrying about the task-API knowledge gap
Huang, Q., Xia, X., Xing, Z., Lo, D., & Wang, X. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238191 · Cited by 192
“[32] proposed Prompter to automatically generate queries based on code context, and retrieve pertinent discussions from SO.”
Software Documentation Issues Unveiled
Aghajani, E., Nagy, C., Vega-Marquez, O. L., Linares-Vasquez, M., Moreno, L., Bavota, G., & Lanza, M. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00122 · Cited by 195
“Code search engines and recommendation systems are available for retrieving API and code usage examples [30]–[33], code fragments implementing specific features [34]–[37] and crowd knowledge [38], [39].”
BackgroundSelf-citationWhen, how, and why developers (do not) test in their IDEs
Beller, M., Gousios, G., Panichella, A., & Zaidman, A. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786843 · Cited by 162
“Researchers try to integrate answers from Internet fora like Stack Overflow into the IDE [29] to make this possibly interrupting context switch unnecessary.”
BackgroundRACK: Automatic API Recommendation Using Crowdsourced Knowledge
Rahman, M. M., Roy, C. K., & Lo, D. (2016) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2016.80 · Cited by 186
“One possible explanation for this is that the user (i.e., first author) was a professional developer then, and most of the queries were programming or code example related.”
BackgroundIn-IDE Code Generation from Natural Language: Promise and Challenges
Xu, F. F., Vasilescu, B., & Neubig, G. (2021) · arXiv · doi:10.48550/arxiv.2101.11149 · Cited by 153
In-IDE Code Generation from Natural Language: Promise and Challenges
Xu, F. F., Vasilescu, B., & Neubig, G. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3487569 · Cited by 154
“[90] focus on reducing context switching in IDE by incorporating Stack Overflow, by using the context in the IDE to automatically retrieve pertinent discussions from Stack Overflow.”
MethodResultQuery Expansion Based on Crowd Knowledge for Code Search
Nie, L., Jiang, H., Ren, Z., Sun, Z., & Li, X. (2016) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2016.2560165 · Cited by 125
“Many studies have been conducted on solving the software engineering tasks by leveraging the discussions on Stack Overflow, for example, mining source code description [56], extracting cookbooks for APIs [12], helping developers debugging their code [11], assisting software comprehension and development [38], [39], [4…”
MethodRetrieval Augmented Code Generation and Summarization
Parvez, M. R., Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2021) · Findings of the Association for Computational Linguistics: EMNLP 2021 · doi:10.18653/v1/2021.findings-emnlp.232 · Cited by 141
Moreno, L., Bavota, G., Di Penta, M., Oliveto, R., & Marcus, A. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.98 · Cited by 125
“Prompter [5] matches the generated query with Stack Overflow entries, to automatically push discussions relevant to the developers’ task at hand.”
BackgroundMethodInfluentialSelf-citationHow do developers utilize source code from stack overflow?
Wu, Y., Wang, S., Bezemer, C.-P., & Inoue, K. (2019) · Empirical Software Engineering · doi:10.1007/s10664-018-9634-5 · Cited by 127
“Several studies have been done to investigate the quality of questions and answers on Q&A platforms (Sillito et al. 2012; Treude et al. 2011; Ponzanelli et al. 2014c; Wang et al. 2017b).”
BackgroundMethodInfluentialMining duplicate questions in stack overflow
Ahasanuzzaman, M., Asaduzzaman, M., Roy, C. K., & Schneider, K. A. (2016) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/2901739.2901770 · Cited by 153
“[16] develop an Eclipse plugin, called Prompter, that given a context in the IDE automatically retrieve related discussions from Stack Overflow.”
BackgroundMethodSoftware documentation: the practitioners' perspective
Aghajani, E., Nagy, C., Linares-Vásquez, M., Moreno, L., Bavota, G., Lanza, M., & Shepherd, D. C. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380405 · Cited by 124
“This has led to a first wave of automated approaches for the generation and recommendation of documentation ( e.g., [23, 40, 44, 50, 57]).”
BackgroundSelf-citationA Systematic Evaluation of Static API-Misuse Detectors
Amann, S., Nguyen, H., Nadi, S., Nguyen, T., & Mezini, M. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2827384 · Cited by 135
FOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
Nguyen, P. T., Rocco, J. D., Ruscio, D. D., Ochoa, L., Degueule, T., & Penta, M. D. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00109 · Cited by 143
“flow discussions to suggest context-specific code snippets and documentation [5], [25], [26], [27], [29], [31], [38], [41].”
Toxic Code Snippets on Stack Overflow
Ragkhitwetsagul, C., Krinke, J., Paixão, M. H. E., Bianco, G., & Oliveto, R. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2900307 · Cited by 136
Self-citationTracing software developers' eyes and interactions for change tasks
Kevic, K., Walters, B. M., Shaffer, T. R., Sharif, B., Shepherd, D. C., & Fritz, T. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786864 · Cited by 106
“By using eye-tracking to capture a more fine-grained task context while a developer is working, we are also able to better determine what a developer is currently interested in and complement existing approaches to recommend relevant artifacts to the developer, such as Hipikat [46] or Prompter [30].”
MethodDeveloper Testing in the IDE: Patterns, Beliefs, and Behavior
Beller, M., Gousios, G., Panichella, A., Proksch, S., Amann, S., & Zaidman, A. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2776152 · Cited by 101
“Researchers try to integrate answers from internet fora such as Stack Overflow into the IDE [60], to make this possibly interrupting context switch unnecessary.”
BackgroundOn code reuse from StackOverflow: An exploratory study on Android apps
Abdalkareem, R., Shihab, E., & Rilling, J. (2017) · Information and Software Technology · doi:10.1016/j.infsof.2017.04.005 · Cited by 104
Parameter-free probabilistic API mining across GitHub
Fowkes, J., & Sutton, C. (2016) · Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2950290.2950319 · Cited by 99
“Prompter [30] takes a similar approach, matching the generated context-specific queries to Stack Overflow discussions and automatically recommending the discussions most relevant to the developers’ task.”
MethodSome from Here, Some from There: Cross-Project Code Reuse in GitHub
Gharehyazie, M., Ray, B., & Filkov, V. (2017) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2017.15 · Cited by 112
“The advent of software forges like GitHub and Google Code, and Q&A sites like Stack Overflow, has significantly enhanced this kind of opportunistic code reuse [5], [21], [26], [31]; one can readily forage online for code and ideas, and often reuse existing code.”
BackgroundF a C o Y: a code-to-code search engine
Kim, K., Kim, D., Bissyandé, T. F., Choi, E., Li, L., Klein, J., & Traon, Y. L. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3180155.3180187 · Cited by 117
“Strathcona [31] generates queries from user code and matches them against repository examples, Prompter [71] directly matches the current code context with relevant Q&A posts.”
BackgroundFixing Recurring Crash Bugs via Analyzing Q&A Sites (T)
Gao, Q., Zhang, H., Wang, J., Xiong, Y., Zhang, L., & Mei, H. (2015) · 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.81 · Cited by 86
“Regarding retrieval from Q&A sites, SeaHawk [46] and Prompter [47] construct queries based on the code context, and retrieve API names and code-like words from Stack Overflow.”
MethodStack Overflow: A code laundering platform?
An, L., Mlouki, O., Khomh, F., & Antoniol, G. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884629 · Cited by 81
“[20] implemented a tool, named Prompter, which automatically retrieves pertinent answers from Stack Overflow and provides them to developers in their IDE.”
MethodStack Overflow in Github: Any Snippets There?
Yang, D., Martins, P., Saini, V., & Lopes, C. V. (2017) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2017.13 · Cited by 103
Understanding and Classifying the Quality of Technical Forum Questions
Ponzanelli, L., Mocci, A., Bacchelli, A., & Lanza, M. (2014) · Asia-Pacific Conference on Quality Software (APAQS) · doi:10.1109/qsic.2014.27 · Cited by 77
“As we did in our previous work [19], the entropy value describes the discriminating power of a word, therefore the lower the average of terms’ entropy, the higher the use of uncommon terms.”
BackgroundSelf-citationFrom Query to Usable Code: An Analysis of Stack Overflow Code SnippetsPreprint
Yang, D., Hussain, A., & Lopes, C. V. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1605.04464 · Cited by 80
“[10] in terms of the approach adopted.”
Ponzanelli, L., Bavota, G., Mocci, A., Penta, M. D., Oliveto, R., Hasan, M., Russo, B., Haiduc, S., & Lanza, M. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884824 · Cited by 80
“…such as Stack Overflow [14,32], or by automatically synthesizing code examples from existing code bases [1,6,16,25], there is currently no approach aimed at leveraging relevant information found within fragments of video tutorials and linking these fragments to other relevant sources of information.”
BackgroundSelf-citationA Study of Visual Studio Usage in Practice
Amann, S., Proksch, S., Nadi, S., & Mezini, M. (2016) · 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2016.39 · Cited by 77
“, using documentation miners [20] or example providers [21].”
MethodCrossRec: Supporting software developers by recommending third-party libraries
Nguyen, P. T., Rocco, J. D., Ruscio, D. D., & Penta, M. D. (2019) · Journal of Systems and Software · doi:10.1016/j.jss.2019.110460 · Cited by 93
From query to usable code: an analysis of stack overflow code snippets
Yang, D., Hussain, A., & Lopes, C. V. (2016) · Proceedings of the 13th International Conference on Mining Software Repositories · doi:10.1145/2901739.2901767 · Cited by 74
“[10] in terms of the approach adopted.”
Siamese: scalable and incremental code clone search via multiple code representations
Ragkhitwetsagul, C., & Krinke, J. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09697-7 · Cited by 96
“Researchers have also leveraged large amounts of online code snippets to make suggestions to developers during development (Keivanloo et al., 2014; Park et al., 2014; Ponzanelli et al., 2013, 2014).”
BackgroundBeyer, S., Macho, C., Penta, M. D., & Pinzger, M. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09758-x · Cited by 94
“For instance, our approach could help to improve existing code recommender systems using SO, such as Seahawk and Prompter from Ponzanelli et al. (2013, 2014).”
BackgroundMethodAutomatic Mining of Opinions Expressed About APIs in Stack Overflow
Uddin, G., & Khomh, F. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2019.2900245 · Cited by 83
“Overflow relevant to a given code context in the IDE [84].”
BackgroundWang, S., Chen, T.-H. P., & Hassan, A. E. (2017) · Empirical Software Engineering · doi:10.1007/s10664-017-9558-5 · Cited by 79
Bug severity prediction using question-and-answer pairs from Stack Overflow
Tan, Y., Xu, S., Wang, Z., Zhang, T., Xu, Z., & Luo, X. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110567 · Cited by 62
Pattern-Based Mining of Opinions in Q&A Websites
Lin, B., Zampetti, F., Bavota, G., Penta, M. D., & Lanza, M. (2019) · International Conference on Software Engineering · doi:10.1109/icse.2019.00066 · Cited by 70
“Among the various resources available on the Web, Q&A Websites — and in particular Stack Overflow— have been the basis of many recommender systems [8], [29], [30], [39].”
BackgroundSelf-citationA survey on mining stack overflow: question and answering (Q&A) community
Ahmad, A., Feng, C., Shi, G., & Yousif, A. (2018) · Data Technologies and Applications · doi:10.1108/dta-07-2017-0054 · Cited by 86
Automatically classifying posts into question categories on stack overflow
Beyer, S., Macho, C., Pinzger, M., & Penta, M. D. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196333 · Cited by 74
“For instance, our approach could help to improve existing code recommender systems using SO, such as Seahawk and Prompter from Pozanelli et al. [23, 24].”
BackgroundMethodExploratory Study of Slack Q&A Chats as a Mining Source for Software Engineering Tools
Chatterjee, P., Damevski, K., Pollock, L., Augustine, V., & Kraft, N. A. (2019) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2019.00075 · Cited by 74
“Common recommendations include programming errors and exceptions [6], [7], [10], linking relevant discussions to any source code based on context [8], [9] or through a query in the IDE [5], [30].”
BackgroundAn Empirical Study of C++ Vulnerabilities in Crowd-Sourced Code Examples
Verdi, M., Sami, A., Akhondali, J., Khomh, F., Uddin, G., & Motlagh, A. K. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3023664 · Cited by 81
Automatic Identification and Classification of Software Development Video Tutorial Fragments
Ponzanelli, L., Bavota, G., Mocci, A., Oliveto, R., Penta, M. D., Haiduc, S., Russo, B., & Lanza, M. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2779479 · Cited by 56
“has been used by many recommender systems [3], [6], [33],”
BackgroundMethodInfluentialSelf-citationDavis, J. C., Michael, L. G., IV, Coghlan, C. A., Servant, F., & Lee, D. (2019) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3338906.3338909 · Cited by 80
“Given the prevalence of code snippets in Stack Overflow, multiple tools have been proposed to help developers re-use them, e.g., to automatically generate comments [106], or to augment the IDE [72, 73].”
BackgroundCRaDLe: Deep code retrieval based on semantic Dependency Learning
Gu, W., Li, Z., Gao, C., Wang, C., Zhang, H., Xu, Z., & Lyu, M. R.-T. (2021) · Neural Networks · doi:10.1016/j.neunet.2021.04.019 · Cited by 61
License usage and changes: a large-scale study on gitHub
Vendome, C., Bavota, G., Penta, M. D., Linares‐Vásquez, M., Germán, D. M., & Poshyvanyk, D. (2016) · Empirical Software Engineering · doi:10.1007/s10664-016-9438-4 · Cited by 59
Self-citationPreventing duplicate bug reports by continuously querying bug reports
Hindle, A., & Onuczko, C. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9643-4 · Cited by 55
“Ponzanelli et al. (2013, 2014) describe systems that provide StackOverflow help as the user types in source-code, using the user’s source code as the query.”
MethodAutomatic query reformulation for code search using crowdsourced knowledge
Rahman, M. M., Roy, C. K., & Lo, D. (2019) · Empirical Software Engineering · doi:10.1007/s10664-018-9671-0 · Cited by 51
“Finally, the stemming step extracts the root of each of the words (e.g., “send” from “sending”) from the list, where Snowball stemmer (Ponzanelli et al. 2014; Vassallo et al. 2014) is used.”
CSNIPPEX: automated synthesis of compilable code snippets from Q&A sites
Terragni, V., Liu, Y., & Cheung, S.-C. (2016) · International Symposium on Software Testing and Analysis · doi:10.1145/2931037.2931058 · Cited by 52
“There is a large body of work on improving code search in Q&A sites [26, 42, 43], and incorporating web code search into IDEs to reduce the context switching from IDEs to browsers [11, 35, 14, 36].”
BackgroundAugmenting and structuring user queries to support efficient free-form code search
Sirres, R., Bissyandé, T. F., Kim, D., Lo, D., Klein, J., Kim, K., & Traon, Y. L. (2018) · Empirical Software Engineering · doi:10.1007/s10664-017-9544-y · Cited by 51
“Prompter (Ponzanelli et al. 2014), on the contrary, does not provide code snippets but matches the current code context with relevant Stack Overflow posts.”
BackgroundChen, F., & Kim, S. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2786819 · Cited by 49
“[57] [58] used SO for designing search engine capabilities to prompt developers who are in their current stage of coding for similar code discussion to ease implementation.”
MethodSupporting Software Developers with a Holistic Recommender System
Ponzanelli, L., Scalabrino, S., Bavota, G., Mocci, A., Oliveto, R., Di Penta, M., & Lanza, M. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.17 · Cited by 41
“Other tools used Stack Overflow as main source for recommendation systems to suggest, within the IDE, code samples and discussions to the developer [4], [6], [14], [51]–”
BackgroundMethodSelf-citationMining Unstructured Data in Software Repositories: Current and Future Trends
Bavota, G. (2016) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2016.47 · Cited by 54
“Among the various sources available on the Web, Q&A Websites and in particular Stack Overflow, have been the target of many recommender systems [24], [25], [26], [23].”
BackgroundMethodInfluentialSelf-citationA systematic mapping study on mining software repositories
Farias, M. A. D. F., Novais, R. L., Júnior, M. C., Carvalho, L. P. D. S., Mendonça, M., & Spinola, R. O. (2016) · ACM Symposium on Applied Computing · doi:10.1145/2851613.2851786 · Cited by 46
“In this sense, a deep analysis on these evaluation”
BackgroundClassifying stack overflow posts on API issues
Ahasanuzzaman, M., Asaduzzaman, M., Roy, C. K., & Schneider, K. A. (2018) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330213 · Cited by 49
“developed an Eclipse plugin, called Prompter, that can automatically retrieve relevant SO discussions by giving a context in the IDE [16].”
MethodInfluentialNeural query expansion for code search
Liu, J., Kim, S., Murali, V., Chaudhuri, S., & Chandra, S. (2019) · ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (MAPL) · doi:10.1145/3315508.3329975 · Cited by 40
“There has been growing interest in the software engineering community [19, 20, 25] in going beyond grep-based tools.”
BackgroundGoogling for Software Development: What Developers Search For and What They Find
Hora, A. (2021) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00044 · Cited by 40
(2014) · doi:10.1109/icsme.2014.99 · Cited by 38
“(7) The collected discussions, given the code context in the IDE, are evaluated and reranked by means of a ranking model we devised [13].”
BackgroundMethodSelf-citationPonzanelli, L., Bavota, G., Mocci, A., Penta, M. D., Oliveto, R., Russo, B., Haiduc, S., & Lanza, M. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2889160.2889172 · Cited by 38
“, Stack Overflow [1,4] or on official API documentation [6, 7], and none uses video tutorials.”
BackgroundSelf-citationCross-project code clones in GitHub
Gharehyazie, M., Ray, B., Keshani, M., Zavosht, M. S., Heydarnoori, A., & Filkov, V. (2018) · Empirical Software Engineering · doi:10.1007/s10664-018-9648-z · Cited by 46
“…GitHub and Google Code, and Q&A sites like Stack Overflow, has significantly enhanced this kind of opportunistic code reuse (Bajracharya et al. 2006; Reiss 2009; Thummalapenta and Xie 2007; Ponzanelli et al. 2014); one can readily forage online for code and ideas, and often reuse existing code.”
BackgroundMethodAnalyzing and Supporting Adaptation of Online Code Examples
Zhang, T., Yang, D., Lopes, C. V., & Kim, M. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00046 · Cited by 52
“Previous support for reusing code from SO mostly focuses on helping developers locate relevant posts or snippets from the IDE [15, 53]– [55].”
BackgroundRecommending API Function Calls and Code Snippets to Support Software Development
Nguyen, P. T., Rocco, J. D., Sipio, C. D., Ruscio, D. D., & Penta, M. D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3059907 · Cited by 44
Razzaq, A., Buckley, J., Lai, Q., Yu, T., & Botterweck, G. (2025) · ACM Computing Surveys · doi:10.1145/3687299 · Cited by 36
An automated approach to assess the similarity of GitHub repositories
Nguyen, P. T., Rocco, J. D., Rubei, R., & Ruscio, D. D. (2020) · Software Quality Journal · doi:10.1007/s11219-019-09483-0 · Cited by 43
“In addition to source code, also metadata available from different related sources, e.g., communication channels and bug tracking systems, can be beneficial to the development process if properly mined (Ponzanelli et al. 2014).”
BackgroundSoftware-related Slack Chats with Disentangled Conversations
Chatterjee, P., Damevski, K., Kraft, N. A., & Pollock, L. (2020) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3379597.3387493 · Cited by 42
“in software-related chats suggests that mining chats could provide similar support for improving software maintenance tools as what researchers have already leveraged from emails and bug reports [7], tutorials [25], and Q&A forums [4, 10, 26, 28].”
MethodActive Inductive Logic Programming for Code Search
Sivaraman, A., Zhang, T., Van den Broeck, G., & Kim, M. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00044 · Cited by 34
“Different code search techniques and tools have been proposed to retrieve code examples from a large corpus of data [29]–[34].”
MethodEye gaze and interaction contexts for change tasks – Observations and potential
Kevic, K., Walters, B. M., Shaffer, T., Sharif, B., Shepherd, D. C., & Fritz, T. (2016) · Journal of Systems and Software · doi:10.1016/j.jss.2016.03.030 · Cited by 39
“By using eye-tracking to capture a more fine-grained task context while a developer is880 working, we are also able to better determine what a developer is currently interested in and complement existing approaches to recommend relevant artifacts to the developer, such as Hipikat [54] or Prompter [55].”
MethodGenerating API Call Rules from Version History and Stack Overflow Posts
Azad, S., Rigby, P. C., & Guerrouj, L. (2017) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/2990497 · Cited by 38
“Whereas others have mined code snippets and suggested relevant posts to a developers context [Ponzanelli et al. 2014], we grouped co-occurring API elements on Stack Overflow and used these co-occurrences to predict changes that developers are likely to make to their apps.”
MethodCAPS: a supervised technique for classifying Stack Overflow posts concerning API issues
Ahasanuzzaman, M., Asaduzzaman, M., Roy, C. K., & Schneider, K. A. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09743-4 · Cited by 39
“developed an Eclipse plugin, called Prompter, that can automatically retrieve relevant SO discussions by giving a context in the IDE (Ponzanelli et al. 2014).”
BackgroundMethodInfluentialPost2Vec: Learning Distributed Representations of Stack Overflow Posts
Xu, B., Hoang, T., Sharma, A. B., Yang, C., Xia, X., & Lo, D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3093761 · Cited by 41
“data dump following prior studies [40], [41], [42].”
Patterns of developers behaviour: A 1000-hour industrial study
Astromskis, S., Bavota, G., Janes, A., Russo, B., & Penta, M. D. (2017) · Journal of Systems and Software · doi:10.1016/j.jss.2017.06.072 · Cited by 37
“Recommender systems integrated with the DE and able to automatically identify (informal) sources of docu- entation useful for a task at hand (see e.g., Ponzanelli et al., 2014 ) ould really make the difference in such a context.”
BackgroundMethodSelf-citationEssential Sentences for Navigating Stack Overflow Answers
Nadi, S., & Treude, C. (2020) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner48275.2020.9054828 · Cited by 29
“While lots of previous work focused on identifying the most relevant threads for a given query [1], [2], [3], [4], navigation is not complete after a suitable thread”
BackgroundCodeMatcher: Searching Code Based on Sequential Semantics of Important Query Words
Liu, C., Xia, X., Lo, D., Liu, Z., Hassan, A. E., & Li, S. (2021) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3465403 · Cited by 54
“To address these issues, many past studies focus on query expansion and reformulation [20, 21, 39, 45, 53].”
BackgroundANNE: Improving Source Code Search using Entity Retrieval Approach
Vinayakarao, V., Sarma, A., Purandare, R., Jain, S., & Jain, S. (2017) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3018661.3018691 · Cited by 29
“Prompter [26] converts the given code context automatically into a query to retrieve relevant posts from SO.”
BackgroundEvaluating the evaluations of code recommender systems: a reality check
Proksch, S., Amann, S., Nadi, S., & Mezini, M. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970330 · Cited by 26
“, [3,9,15,20]).”
BackgroundHow Developers Document Pull Requests with External References
Zampetti, F., Ponzanelli, L., Bavota, G., Mocci, A., Penta, M. D., & Lanza, M. (2017) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.30 · Cited by 33
“This could favor the creation of better code/discussion recommenders that not only recommend an online solution relevant to a query [6], [25], [39], but actually recommend solutions that proved to be useful in contexts similar to the one a developer is working on.”
Self-citationModeling stack overflow tags and topics as a hierarchy of concepts
Chen, H., Coogle, J., & Damevski, K. (2019) · Journal of Systems and Software · doi:10.1016/j.jss.2019.07.033 · Cited by 24
“For instance, a number of recommendation tools targeting Stack Overflow have already been proposed with the aim of improving developer productivity by integrating relevant information from Stack Overflow into the IDE [3, 4, 5, 6].”
BackgroundInfluentialEvery build you break: developer-oriented assistance for build failure resolution
Vassallo, C., Proksch, S., Zemp, T., & Gall, H. C. (2019) · Empirical Software Engineering · doi:10.1007/s10664-019-09765-y · Cited by 38
“Ponzanelli et al. (2014) enhance the IDE with P ROMPTER , a tool that automatically captures the code context in the IDE to propose related S TACK O VERFLOW discussions.”
MethodRecommending stack overflow posts for fixing runtime exceptions using failure scenario matching
Mahajan, S., Abolhassani, N., & Prasad, M. R. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3409764 · Cited by 36
“The work most closely related to ours is Prompter [30, 31] which continuously searches and recommends relevant SO posts to a developer as she develops code in an IDE. Prompter models the user’s code as a bag of words, creates a search query of rare tokens derived from it, and uses this query to search SO.”
BackgroundInfluentialA Survey on Online Learning Preferences for Computer Science and Programming
Escobar-Avila, J., Venuti, D., Di Penta, M., & Haiduc, S. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET) · doi:10.1109/icse-seet.2019.00026 · Cited by 24
Enhancing Python Compiler Error Messages via Stack
Thiselton, E., & Treude, C. (2019) · Proceedings of the ... ACM-IEEE International Symposium on Empirical Software Engineering and Measurement/International Symposium on Empirical Software Engineering and Measurement · doi:10.1109/esem.2019.8870155 · Cited by 37
“A related tool called Prompter was later proposed by the same research group [37].”
MethodCROKAGE: effective solution recommendation for programming tasks by leveraging crowd knowledge
da Silva, R. F. G., Roy, C. K., Rahman, M. M., Schneider, K. A., Paixão, K. V. R., Dantas, C. E., & Maia, M. D. A. (2020) · Empirical Software Engineering · doi:10.1007/s10664-020-09863-2 · Cited by 27
“Later on, they improve their work to consider the context of the IDE in the search for relevant Q&A threads (Ponzanelli et al. 2014a).”
BackgroundImproving software text retrieval using conceptual knowledge in source code
Lin, Z., Zou, Y., Zhao, J., & Xie, B. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115625 · Cited by 23
“[26] proposed an approach for searching StackOverflow discussions.”
MethodUn-break my build: assisting developers with build repair hints
Vassallo, C., Proksch, S., Zemp, T., & Gall, H. C. (2018) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3196321.3196350 · Cited by 32
Blanco, G., Pérez-López, R., Fdez‐Riverola, F., & Lourenço, A. M. G. (2019) · Future Generation Computer Systems · doi:10.1016/j.future.2019.12.021 · Cited by 22
Leveraging a corpus of natural language descriptions for program similarity
Zilberstein, M., & Yahav, E. (2016) · ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward!) · doi:10.1145/2986012.2986013 · Cited by 26
“Our current preference is to use this approach, but it is open for future research.”
BackgroundStORMeD: Stack Overflow Ready Made Data
Ponzanelli, L., Mocci, A., & Lanza, M. (2015) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2015.67 · Cited by 22
“cases, the phase of mining Stack Overflow resulted to be the fundamental part for studies concerning, for example, recommender systems [4], [5], [6], extraction of code in informal documentation [7], post quality modeling and analysis [2], [8], [9], or to understand how developers use APIs [10], [11].”
BackgroundSelf-citationAutomated Documentation of Android Apps
Aghajani, E., Bavota, G., Linares‐Vásquez, M., & Lanza, M. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2890652 · Cited by 25
“Such approaches [61], [62], [63], [64], [65], [66], [67], [68], [69], [70], [71] mine software repositories to find representative API usage examples for assisting developers when trying to use a class or method, or when finding code examples showing how to implement a given task/feature.”
BackgroundSelf-citationAn Empirical Study on Code Comment Completion
Mastropaolo, A., Aghajani, E., Pascarella, L., & Bavota, G. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5418842293c031b5b5da · Cited by 34
Self-citationHow have views on Software Quality differed over time? Research and practice viewpoints
Ndukwe, I. G., Licorish, S. A., Tahir, A., & MacDonell, S. G. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111524 · Cited by 40
DISCO: a dataset of discord chat conversations for software engineering research
Subash, K. M., Kumar, L. P., Vadlamani, S. L., Chatterjee, P., & Baysal, O. (2022) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3524842.3528018 · Cited by 31
“of chat platforms for software development communities, research offers only a few studies on mining these chat conversations compared to the studies on mining emails and bug reports [5], tutorials [24], and Q&A forums [1, 10, 26, 29].”
ResultSoud, M., Liebel, G., & Hamdaqa, M. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10398-5 · Cited by 35
StORMeD: Stack Overflow ready made data
Ponzanelli, L., Mocci, A., & Lanza, M. (2015) · Cited by 20
Self-citationImproved query reformulation for concept location using CodeRank and document structures
Rahman, M. M., & Roy, C. K. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115655 · Cited by 28
Unsupervised software repositories mining and its application to code search
Hu, G., Peng, M., Zhang, Y., Xie, Q., Gao, W., & Yuan, M. (2019) · Software Practice and Experience · doi:10.1002/spe.2760 · Cited by 20
“For example, Ponzanelli et al 14 created the models for retrieving pertinent discussions from Stack-Overflow to turn the integrated development environment into a self-confident programming prompter.”
BackgroundMethodDondio, P., & Shaheen, S. (2019) · International Conference on Education Technology and Computer · doi:10.1145/3369255.3369258 · Cited by 20
“[20] created a StackOverflow plug-in for Eclipse , one of the most used editors to write computer programs.”
MethodHow are issue reports discussed in Gitter chat rooms?
Sahar, H., Hindle, A., & Bezemer, C. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110852 · Cited by 20
Summarizing Complex Development Artifacts by Mining Heterogeneous Data
Ponzanelli, L., Mocci, A., & Lanza, M. (2015) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2015.49 · Cited by 28
Self-citation
Metadata
- Authors
- Ponzanelli, L., Bavota, G., Di Penta, M., Oliveto, R., & Lanza, M.
- Affiliations
- Università della Svizzera italiana (CH)
- University of Sannio (IT)
- University of Sannio, Italy
- University of Molise (IT)
- Venue
- Proceedings of the 11th Working Conference on Mining Software Repositories
- Publisher
- ACM
- Published
- 2014-05-31
- Pages
- 102-111
- OpenAlex
- W2014755981
- Cited by
- 240
- References
- 45
- Citations by year
- 2026: 3 · 2025: 2 · 2024: 9 · 2023: 17 · 2022: 24 · 2021: 25 · 2020: 26 · 2019: 35 · 2018: 25 · 2017: 23 · 2016: 27 · 2015: 20 · 2014: 4
- FWCI
- 21.04
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- International Conference on Mining Software Repositories (MSR) (publishedVersion)
- Archivio Istituzionale della Ricerca - Università degli Studi del Molise (submittedVersion)
- Open Research (University of Surrey) (submittedVersion)
- Funders
- Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Information Systems › Information Retrieval and Search Behavior
- Physical Sciences › Computer Science › Information Systems › Expert finding and Q&A systems
- Keywords
- Stack Overflow, programming question answering, integrated development environment, relevance ranking, developer assistance, Eclipse plug-in, prompter, API documentation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.