Skip to main content
Erschienen in: Empirical Software Engineering 4/2021

01.07.2021

On using Stack Overflow comment-edit pairs to recommend code maintenance changes

verfasst von: Henry Tang, Sarah Nadi

Erschienen in: Empirical Software Engineering | Ausgabe 4/2021

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Code maintenance data sets typically consist of a before version of the code and an after version that contains the improvement or fix. Such data sets are important for various software engineering support tools related to code maintenance, such as program repair, code recommender systems, or Application Programming Interface (API) misuse detection. Most of the current data sets are typically constructed from mining commit history in version-control systems or issues in issue-tracking systems. In this paper, we investigate whether Stack Overflow can be used as an additional source for building code maintenance data sets. Comments on Stack Overflow provide an effective way for developers to point out problems with existing answers, alternative solutions, or pitfalls. Given its crowd-sourced nature, answers are then updated to incorporate these suggestions. In this paper, we mine comment-edit pairs from Stack Overflow and investigate their potential usefulness for constructing the above data sets. These comment-edit pairs have the added benefit of having concrete descriptions/explanations of why the change is needed as well as potentially having less tangled changes to deal with. We first design a technique to extract related comment-edit pairs and then qualitatively and quantitatively investigate the nature of these pairs. We find that the majority of comment-edit pairs are not tangled, but find that only 27% of the studied pairs are potentially useful for the above applications. We categorize the types of mined pairs and find that the highest ratio of useful pairs come from those categorized as Correction, Obsolete, Flaw, and Extension. These categories can provide data for both corrective and preventative maintenance activities. To demonstrate the effectiveness of our extracted pairs, we submitted 15 pull requests to popular GitHub repositories, 10 of which have been accepted to widely used repositories such as Apache Beam (https://​beam.​apache.​org/​) and NLTK (https://​www.​nltk.​org/​). Our work is the first to investigate Stack Overflow comment-edit pairs and opens the door for future work in this direction. Based on our findings and observations, we provide concrete suggestions on how to potentially identify a larger set of useful comment-edit pairs, which can also be facilitated by our shared data.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Fußnoten
5
Note that we use the term code recommender system as a general umbrella for any support tool that suggests fixes, code changes, or related code snippets.
 
8
note that they refer to this message as comment in their paper, but it is not a comment on the answer, but rather the message the editor provides with their edit
 
Literatur
Zurück zum Zitat Adaji I, Vassileva J (2016) Modelling user collaboration in social networks using edits and comments. In: Proceedings of the 2016 conference on user modeling adaptation and personalization, ser. UMAP ’16. ACM, New York, pp 111–114. [Online]. Available: https://doi.org/10.1145/2930238.2930289 Adaji I, Vassileva J (2016) Modelling user collaboration in social networks using edits and comments. In: Proceedings of the 2016 conference on user modeling adaptation and personalization, ser. UMAP ’16. ACM, New York, pp 111–114. [Online]. Available: https://​doi.​org/​10.​1145/​2930238.​2930289
Zurück zum Zitat Amann S, Nadi S, Nguyen HA, Nguyen TN, Mezini M (2016) MUBench: A benchmark for API-misuse detectors. In: 2016 IEEE/ACM 13th working conference on mining software repositories. IEEE, pp 464–467 Amann S, Nadi S, Nguyen HA, Nguyen TN, Mezini M (2016) MUBench: A benchmark for API-misuse detectors. In: 2016 IEEE/ACM 13th working conference on mining software repositories. IEEE, pp 464–467
Zurück zum Zitat Amann S, Nguyen HA, Nadi S, Nguyen TN, Mezini M (2018) A systematic evaluation of static API-misuse detectors. IEEE Trans Softw Eng Amann S, Nguyen HA, Nadi S, Nguyen TN, Mezini M (2018) A systematic evaluation of static API-misuse detectors. IEEE Trans Softw Eng
Zurück zum Zitat Bachmann A, Bird C, Rahman F, Devanbu P, Bernstein A (2010) The missing links: Bugs and bug-fix commits. In: Proceedings of the Eighteenth ACM SIGSOFT international symposium on foundations of software engineering, ser. FSE ’10. ACM, New York, pp 97–106. [Online]. Available: https://doi.org/10.1145/1882291.1882308 Bachmann A, Bird C, Rahman F, Devanbu P, Bernstein A (2010) The missing links: Bugs and bug-fix commits. In: Proceedings of the Eighteenth ACM SIGSOFT international symposium on foundations of software engineering, ser. FSE ’10. ACM, New York, pp 97–106. [Online]. Available: https://​doi.​org/​10.​1145/​1882291.​1882308
Zurück zum Zitat Baltes S, Treude C, Diehl S (2018) SOTorrent: Studying the origin, evolution, and usage of Stack Overflow code snippets. arXiv:1809.02814. [Online]. Available: 1809.02814 Baltes S, Treude C, Diehl S (2018) SOTorrent: Studying the origin, evolution, and usage of Stack Overflow code snippets. arXiv:1809.​02814. [Online]. Available: 1809.​02814
Zurück zum Zitat Bird C, Bachmann A, Aune E, Duffy J, Bernstein A, Filkov V, Devanbu P (2009) Fair and balanced?: Bias in bug-fix datasets. In: Proceedings of the 7th joint meeting of the european software engineering conference and the ACM SIGSOFT symposium on the foundations of software engineering, ser. ESEC/FSE ’09. ACM, New York, pp 121–130. [Online]. Available: https://doi.org/10.1145/1595696.1595716 Bird C, Bachmann A, Aune E, Duffy J, Bernstein A, Filkov V, Devanbu P (2009) Fair and balanced?: Bias in bug-fix datasets. In: Proceedings of the 7th joint meeting of the european software engineering conference and the ACM SIGSOFT symposium on the foundations of software engineering, ser. ESEC/FSE ’09. ACM, New York, pp 121–130. [Online]. Available: https://​doi.​org/​10.​1145/​1595696.​1595716
Zurück zum Zitat Bissyandé TF, Thung F, Wang S, Lo D, Jiang L, Ré veillère L (2013) Empirical evaluation of bug linking. In: 2013 17th European conference on software maintenance and reengineering, pp 89–98 Bissyandé TF, Thung F, Wang S, Lo D, Jiang L, Ré veillère L (2013) Empirical evaluation of bug linking. In: 2013 17th European conference on software maintenance and reengineering, pp 89–98
Zurück zum Zitat Chan SWK, Franklin J (2003) Dynamic context generation for natural language understanding: A multifaceted knowledge approach. IEEE Trans Sys Man Cybern Part A Syst Hum 33(1):23–41CrossRef Chan SWK, Franklin J (2003) Dynamic context generation for natural language understanding: A multifaceted knowledge approach. IEEE Trans Sys Man Cybern Part A Syst Hum 33(1):23–41CrossRef
Zurück zum Zitat Cifuentes C, Hoermann C, Keynes N, Li L, Long S, Mealy E, Mounteney M, Scholz B (2009) BegBunch: Benchmarking for C bug detection tools. In: Proceedings of the 2nd international workshop on defects in large software systems: held in conjunction with the ACM SIGSOFT international symposium on software testing and analysis, pp 16–20 Cifuentes C, Hoermann C, Keynes N, Li L, Long S, Mealy E, Mounteney M, Scholz B (2009) BegBunch: Benchmarking for C bug detection tools. In: Proceedings of the 2nd international workshop on defects in large software systems: held in conjunction with the ACM SIGSOFT international symposium on software testing and analysis, pp 16–20
Zurück zum Zitat Cortés-Coy LF, Linares-Vásquez M, Aponte J, Poshyvanyk D (2014) On automatically generating commit messages via summarization of source code changes. In: 14th IEEE international working conference on source code analysis and manipulation, pp 275–284 Cortés-Coy LF, Linares-Vásquez M, Aponte J, Poshyvanyk D (2014) On automatically generating commit messages via summarization of source code changes. In: 14th IEEE international working conference on source code analysis and manipulation, pp 275–284
Zurück zum Zitat Dalip DH, Gonçalves MA, Cristo M, Calado P (2013) Exploiting user feedback to learn to rank answers in Q&A forums: A case study with Stack Overflow. In: Proceedings of the 36th international ACM SIGIR conference on research and development in information retrieval, ser. SIGIR ’13. ACM, New York. [Online]. Available: https://doi.org/10.1145/2484028.2484072 Dalip DH, Gonçalves MA, Cristo M, Calado P (2013) Exploiting user feedback to learn to rank answers in Q&A forums: A case study with Stack Overflow. In: Proceedings of the 36th international ACM SIGIR conference on research and development in information retrieval, ser. SIGIR ’13. ACM, New York. [Online]. Available: https://​doi.​org/​10.​1145/​2484028.​2484072
Zurück zum Zitat Dallmeier V, Zimmermann T (2007) Extraction of bug localization benchmarks from history. In: Proceedings of the Twenty-second IEEE/ACM international conference on automated software engineering, ser. ASE ’07. ACM, New York, pp 433–436. [Online]. Available: https://doi.org/10.1145/1321631.1321702 Dallmeier V, Zimmermann T (2007) Extraction of bug localization benchmarks from history. In: Proceedings of the Twenty-second IEEE/ACM international conference on automated software engineering, ser. ASE ’07. ACM, New York, pp 433–436. [Online]. Available: https://​doi.​org/​10.​1145/​1321631.​1321702
Zurück zum Zitat Dallmeier V, Zimmermann T (2007) Extraction of bug localization benchmarks from history. In: Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering, pp 433–436 Dallmeier V, Zimmermann T (2007) Extraction of bug localization benchmarks from history. In: Proceedings of the twenty-second IEEE/ACM international conference on Automated software engineering, pp 433–436
Zurück zum Zitat Diamantopoulos T, Sifaki M-I, Symeonidis AL (2019) Towards mining answer edits to extract evolution patterns in Stack Overflow. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 215–219. [Online]. Available: https://doi.org/10.1109/MSR.2019.00043 Diamantopoulos T, Sifaki M-I, Symeonidis AL (2019) Towards mining answer edits to extract evolution patterns in Stack Overflow. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 215–219. [Online]. Available: https://​doi.​org/​10.​1109/​MSR.​2019.​00043
Zurück zum Zitat Dit B, Holtzhauer A, Poshyvanyk D, Kagdi H (2013) A dataset from change history to support evaluation of software maintenance tasks. In: 2013 10th working conference on mining software repositories. IEEE, pp 131–134 Dit B, Holtzhauer A, Poshyvanyk D, Kagdi H (2013) A dataset from change history to support evaluation of software maintenance tasks. In: 2013 10th working conference on mining software repositories. IEEE, pp 131–134
Zurück zum Zitat Dyer R, Nguyen HA, Rajan H, Nguyen TN (2013) Boa: A language and infrastructure for analyzing ultra-large-scale software repositories. In: Proceedings of the 2013 international conference on software engineering. IEEE Press, pp 422–431 Dyer R, Nguyen HA, Rajan H, Nguyen TN (2013) Boa: A language and infrastructure for analyzing ultra-large-scale software repositories. In: Proceedings of the 2013 international conference on software engineering. IEEE Press, pp 422–431
Zurück zum Zitat Falleri J, Morandat F, Blanc X, Martinez M, Monperrus M (2014) Fine-grained and accurate source code differencing. In: ACM/IEEE international conference on automated software engineering, ASE ’14, Vasteras, Sweden - September 15 - 19, 2014, pp 313–324. [Online]. Available: https://doi.org/10.1145/2642937.2642982 Falleri J, Morandat F, Blanc X, Martinez M, Monperrus M (2014) Fine-grained and accurate source code differencing. In: ACM/IEEE international conference on automated software engineering, ASE ’14, Vasteras, Sweden - September 15 - 19, 2014, pp 313–324. [Online]. Available: https://​doi.​org/​10.​1145/​2642937.​2642982
Zurück zum Zitat Fenton NE, Neil M (1999) A critique of software defect prediction models. IEEE Trans Softw Eng 25(5):675–689CrossRef Fenton NE, Neil M (1999) A critique of software defect prediction models. IEEE Trans Softw Eng 25(5):675–689CrossRef
Zurück zum Zitat Ganguly D, Roy D, Mitra M, Jones GJ (2015) Word embedding based generalized language model for information retrieval. In: Proceedings of the 38th international ACM SIGIR conference on research and development in information retrieval, pp 795–798 Ganguly D, Roy D, Mitra M, Jones GJ (2015) Word embedding based generalized language model for information retrieval. In: Proceedings of the 38th international ACM SIGIR conference on research and development in information retrieval, pp 795–798
Zurück zum Zitat Gao Q, Zhang H, Wang J, Xiong Y, Zhang L, Mei H (2015) Fixing recurring crash bugs via analyzing Q&A sites (t). In: 2015 30th IEEE/ACM international conference on automated software engineering. IEEE, pp 307–318 Gao Q, Zhang H, Wang J, Xiong Y, Zhang L, Mei H (2015) Fixing recurring crash bugs via analyzing Q&A sites (t). In: 2015 30th IEEE/ACM international conference on automated software engineering. IEEE, pp 307–318
Zurück zum Zitat Gazzola L, Micucci D, Mariani L (2019) Automatic software repair: a survey. IEEE Trans Softw Eng 45(1):34–67CrossRef Gazzola L, Micucci D, Mariani L (2019) Automatic software repair: a survey. IEEE Trans Softw Eng 45(1):34–67CrossRef
Zurück zum Zitat Herzig K, Zeller A (2013) The impact of tangled code changes. In: 2013 10th working conference on mining software repositories. IEEE, pp 121–130 Herzig K, Zeller A (2013) The impact of tangled code changes. In: 2013 10th working conference on mining software repositories. IEEE, pp 121–130
Zurück zum Zitat Horton E, Parnin C (2019) Dockerizeme:, Automatic inference of environment dependencies for Python code snippets. In: 41st IEEE/ACM international conference on software engineering, pp 328–338 Horton E, Parnin C (2019) Dockerizeme:, Automatic inference of environment dependencies for Python code snippets. In: 41st IEEE/ACM international conference on software engineering, pp 328–338
Zurück zum Zitat Jin X, Servant F (2019) What edits are done on the highly answered questions in Stack Overflow?: An empirical study. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 225–229. [Online]. Available: https://doi.org/10.1109/MSR.2019.00045 Jin X, Servant F (2019) What edits are done on the highly answered questions in Stack Overflow?: An empirical study. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 225–229. [Online]. Available: https://​doi.​org/​10.​1109/​MSR.​2019.​00045
Zurück zum Zitat Just R, Jalali D, Ernst MD (2014) Defects4J: A database of existing faults to enable controlled testing studies for Java programs. In: Proceedings of the 2014 international symposium on software testing and analysis, ser. ISSTA ’14. ACM, New York, pp 437–440. [Online]. Available: https://doi.org/10.1145/2610384.2628055 Just R, Jalali D, Ernst MD (2014) Defects4J: A database of existing faults to enable controlled testing studies for Java programs. In: Proceedings of the 2014 international symposium on software testing and analysis, ser. ISSTA ’14. ACM, New York, pp 437–440. [Online]. Available: https://​doi.​org/​10.​1145/​2610384.​2628055
Zurück zum Zitat Kim S, Zimmermann T, Pan K, Whitehead EJ Jr (2006) Automatic identification of bug-introducing changes. In: 21st IEEE/ACM international conference on automated software engineering, pp 81–90 Kim S, Zimmermann T, Pan K, Whitehead EJ Jr (2006) Automatic identification of bug-introducing changes. In: 21st IEEE/ACM international conference on automated software engineering, pp 81–90
Zurück zum Zitat Levenshtein VI (1966) Binary codes capable of correcting deletions, insertions and reversals. Soviet Phys Doklady 110(18):707–710. doklady Akademii Nauk SSSR, V163 No4, 845–848 (1965)MathSciNet Levenshtein VI (1966) Binary codes capable of correcting deletions, insertions and reversals. Soviet Phys Doklady 110(18):707–710. doklady Akademii Nauk SSSR, V163 No4, 845–848 (1965)MathSciNet
Zurück zum Zitat Lin B, Zampetti F, Bavota G, Di Penta M, Lanza M (2019) Pattern-based mining of opinions in Q&A websites. In: Proceedings of the 41st international conference on software engineering, ser. ICSE ’19. IEEE Press, Piscataway, pp 548–559. [Online]. Available: https://doi.org/10.1109/ICSE.2019.00066 Lin B, Zampetti F, Bavota G, Di Penta M, Lanza M (2019) Pattern-based mining of opinions in Q&A websites. In: Proceedings of the 41st international conference on software engineering, ser. ICSE ’19. IEEE Press, Piscataway, pp 548–559. [Online]. Available: https://​doi.​org/​10.​1109/​ICSE.​2019.​00066
Zurück zum Zitat Liu C, Yang J, Tan L, Hafiz M (2013) r2fix: Automatically generating bug fixes from bug reports. In: 2013 IEEE Sixth international conference on software testing, verification and validation, pp 282–291 Liu C, Yang J, Tan L, Hafiz M (2013) r2fix: Automatically generating bug fixes from bug reports. In: 2013 IEEE Sixth international conference on software testing, verification and validation, pp 282–291
Zurück zum Zitat Liu X, Zhong H (2018) Mining stack overflow for program repair. In: 2018 IEEE 25th international conference on software analysis evolution and reengineering, pp 118–129 Liu X, Zhong H (2018) Mining stack overflow for program repair. In: 2018 IEEE 25th international conference on software analysis evolution and reengineering, pp 118–129
Zurück zum Zitat Maalej W, Happel H-J (2010) Can development work describe itself?. In: 2010 7th IEEE working conference on mining software repositories. IEEE, pp 191–200 Maalej W, Happel H-J (2010) Can development work describe itself?. In: 2010 7th IEEE working conference on mining software repositories. IEEE, pp 191–200
Zurück zum Zitat McHugh ML (2012) Interrater reliability:, The kappa statistic. Biochemia medica: Biochemia medica 22(3):276–282MathSciNetCrossRef McHugh ML (2012) Interrater reliability:, The kappa statistic. Biochemia medica: Biochemia medica 22(3):276–282MathSciNetCrossRef
Zurück zum Zitat Menzies T, Caglayan B, Kocaguneli E, Krall J, Peters F, Turhan B (2012) The promise repository of empirical software engineering data Menzies T, Caglayan B, Kocaguneli E, Krall J, Peters F, Turhan B (2012) The promise repository of empirical software engineering data
Zurück zum Zitat Nguyen AT, Nguyen TT, Nguyen HA, Nguyen TN (2012) Multi-layered approach for recovering links between bug reports and fixes. In: Proceedings of the ACM SIGSOFT 20th international symposium on the foundations of software engineering, ser. FSE ’12. ACM, New York, pp 63:1–63:11. [Online]. Available: https://doi.org/10.1145/2393596.2393671 Nguyen AT, Nguyen TT, Nguyen HA, Nguyen TN (2012) Multi-layered approach for recovering links between bug reports and fixes. In: Proceedings of the ACM SIGSOFT 20th international symposium on the foundations of software engineering, ser. FSE ’12. ACM, New York, pp 63:1–63:11. [Online]. Available: https://​doi.​org/​10.​1145/​2393596.​2393671
Zurück zum Zitat Ohira M, Kashiwa Y, Yamatani Y, Yoshiyuki H, Maeda Y, Limsettho N, Fujino K, Hata H, Ihara A, Matsumoto K (2015) A dataset of high impact bugs: Manually-classified issue reports. In: 2015 IEEE/ACM 12th working conference on mining software repositories. IEEE, pp 518–521 Ohira M, Kashiwa Y, Yamatani Y, Yoshiyuki H, Maeda Y, Limsettho N, Fujino K, Hata H, Ihara A, Matsumoto K (2015) A dataset of high impact bugs: Manually-classified issue reports. In: 2015 IEEE/ACM 12th working conference on mining software repositories. IEEE, pp 518–521
Zurück zum Zitat Ponzanelli L, Bavota G, Di Penta M, Oliveto R, Lanza M (2014) Mining Stack Overflow to turn the IDE into a self-confident programming prompter. In: Proceedings of the 11th working conference on mining software repositories, ser. MSR ’14. ACM, New York, pp 102–111. [Online]. Available: https://doi.org/10.1145/2597073.2597077 Ponzanelli L, Bavota G, Di Penta M, Oliveto R, Lanza M (2014) Mining Stack Overflow to turn the IDE into a self-confident programming prompter. In: Proceedings of the 11th working conference on mining software repositories, ser. MSR ’14. ACM, New York, pp 102–111. [Online]. Available: https://​doi.​org/​10.​1145/​2597073.​2597077
Zurück zum Zitat Rahman MM, Roy CK, Lo D (2019) Automatic query reformulation for code search using crowdsourced knowledge. Empir Softw Eng 24(4):1869–1924CrossRef Rahman MM, Roy CK, Lo D (2019) Automatic query reformulation for code search using crowdsourced knowledge. Empir Softw Eng 24(4):1869–1924CrossRef
Zurück zum Zitat Rao S, III HD (2018) Learning to ask good questions: Ranking clarification questions using neural expected value of perfect information. [Online]. Available: arXiv:1805.04655. Rao S, III HD (2018) Learning to ask good questions: Ranking clarification questions using neural expected value of perfect information. [Online]. Available: arXiv:1805.​04655.
Zurück zum Zitat Rastkar S., Murphy GC, Murray G (2010) Summarizing software artifacts:, A case study of bug reports. In: 2010 ACM/IEEE 32nd international conference on software engineering, vol 1, pp 505–514 Rastkar S., Murphy GC, Murray G (2010) Summarizing software artifacts:, A case study of bug reports. In: 2010 ACM/IEEE 32nd international conference on software engineering, vol 1, pp 505–514
Zurück zum Zitat Saifullah CMK, Asaduzzaman M, Roy CK (2019) Learning from examples to find fully qualified names of API elements in code snippets. In: 2019 34th IEEE/ACM international conference on automated software engineering, pp 243–254 Saifullah CMK, Asaduzzaman M, Roy CK (2019) Learning from examples to find fully qualified names of API elements in code snippets. In: 2019 34th IEEE/ACM international conference on automated software engineering, pp 243–254
Zurück zum Zitat Soni A, Nadi S (2019) Analyzing comment-induced updates on stack overflow. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 220–234. [Online]. Available: https://doi.org/10.1109/MSR.2019.00044 Soni A, Nadi S (2019) Analyzing comment-induced updates on stack overflow. In: Proceedings of the 16th international conference on mining software repositories, ser. MSR ’19. IEEE Press, Piscataway, pp 220–234. [Online]. Available: https://​doi.​org/​10.​1109/​MSR.​2019.​00044
Zurück zum Zitat Subramanian S, Inozemtseva L, Holmes R (2014) Live API documentation. In: Proceedings of the 36th international conference on software engineering, pp 643–652 Subramanian S, Inozemtseva L, Holmes R (2014) Live API documentation. In: Proceedings of the 36th international conference on software engineering, pp 643–652
Zurück zum Zitat Swanson EB (1976) The dimensions of maintenance. In: Proceedings of the 2nd international conference on Software engineering, pp 492–497 Swanson EB (1976) The dimensions of maintenance. In: Proceedings of the 2nd international conference on Software engineering, pp 492–497
Zurück zum Zitat Thiselton E, Treude C (2019) Enhancing Python compiler error messages via Stack Overflow, [Online]. Available: arXiv:1906.11456 Thiselton E, Treude C (2019) Enhancing Python compiler error messages via Stack Overflow, [Online]. Available: arXiv:1906.​11456
Zurück zum Zitat Tomassi DA, Dmeiri N, Wang Y, Bhowmick A, Liu Y-C, Devanbu PT, Vasilescu B, Rubio-González C (2019) Bugswarm: Mining and continuously growing a dataset of reproducible failures and fixes. In: 2019 IEEE/ACM 41st international conference on software engineering. IEEE, pp 339–349 Tomassi DA, Dmeiri N, Wang Y, Bhowmick A, Liu Y-C, Devanbu PT, Vasilescu B, Rubio-González C (2019) Bugswarm: Mining and continuously growing a dataset of reproducible failures and fixes. In: 2019 IEEE/ACM 41st international conference on software engineering. IEEE, pp 339–349
Zurück zum Zitat Treude C, Robillard MP (2016) Augmenting API documentation with insights from stack overflow. In: 2016 IEEE/ACM 38th international conference on software engineering, pp 392–403 Treude C, Robillard MP (2016) Augmenting API documentation with insights from stack overflow. In: 2016 IEEE/ACM 38th international conference on software engineering, pp 392–403
Zurück zum Zitat Viera AJ, Garrett JM et al (2005) Understanding interobserver agreement: the kappa statistic. Fam med 37(5):360–363 Viera AJ, Garrett JM et al (2005) Understanding interobserver agreement: the kappa statistic. Fam med 37(5):360–363
Zurück zum Zitat Wang S, Chen T-HP, Hassan AE (2018) How do users revise answers on technical Q&A websites? A case study on Stack Overflow. IEEE Trans Softw Eng PP:1–1 Wang S, Chen T-HP, Hassan AE (2018) How do users revise answers on technical Q&A websites? A case study on Stack Overflow. IEEE Trans Softw Eng PP:1–1
Zurück zum Zitat Wong AW, Salimi A, Chowdhury S, Hindle A (2019) Syntax and stack overflow: A methodology for extracting a corpus of syntax errors and fixes. In: 2019 IEEE international conference on software maintenance and evolution, pp 318–322 Wong AW, Salimi A, Chowdhury S, Hindle A (2019) Syntax and stack overflow: A methodology for extracting a corpus of syntax errors and fixes. In: 2019 IEEE international conference on software maintenance and evolution, pp 318–322
Zurück zum Zitat Zhang H, Wang S, Chen T, Hassan AE (2019a) Reading answers on Stack overflow: not enough!. IEEE Trans Softw Eng 1–1 Zhang H, Wang S, Chen T, Hassan AE (2019a) Reading answers on Stack overflow: not enough!. IEEE Trans Softw Eng 1–1
Zurück zum Zitat Zhang T, Yang D, Lopes C, Kirnt M (2019c) Analyzing and supporting adaptation of online code examples. In: Proceedings of the 41st international conference on software engineering, ser. ICSE ’19. IEEE Press, Piscataway, pp 316–327. [Online]. Available: https://doi.org/10.1109/ICSE.2019.00046 Zhang T, Yang D, Lopes C, Kirnt M (2019c) Analyzing and supporting adaptation of online code examples. In: Proceedings of the 41st international conference on software engineering, ser. ICSE ’19. IEEE Press, Piscataway, pp 316–327. [Online]. Available: https://​doi.​org/​10.​1109/​ICSE.​2019.​00046
Metadaten
Titel
On using Stack Overflow comment-edit pairs to recommend code maintenance changes
verfasst von
Henry Tang
Sarah Nadi
Publikationsdatum
01.07.2021
Verlag
Springer US
Erschienen in
Empirical Software Engineering / Ausgabe 4/2021
Print ISSN: 1382-3256
Elektronische ISSN: 1573-7616
DOI
https://doi.org/10.1007/s10664-021-09954-8

Weitere Artikel der Ausgabe 4/2021

Empirical Software Engineering 4/2021 Zur Ausgabe