Does the hiding mechanism for Stack Overflow comments work well? No!

04/01/2019
by   Haoxiang Zhang, et al.
0

Stack Overflow has accumulated millions of answers. Informative comments can strengthen their associated answers (e.g., providing additional information). Currently, Stack Overflow hides comments that are ranked beyond the top 5. Stack Overflow aims to display more informative comments (i.e., the ones with higher scores) and hide less informative ones using this mechanism. As a result, 4.4 million comments are hidden under their answer threads. Therefore, it is very important to understand how well the current comment hiding mechanism works. In this study, we investigate whether the mechanism can effectively deliver informative comments while hiding uninformative comments. We find that: 1) Hidden comments are as informative as displayed comments; more than half of the comments (both hidden and displayed) are informative (e.g., providing alternative answers, or pointing out flaws in their associated answers). 2) The current comment hiding mechanism tends to rank and hide comments based on their creation time instead of their score in most cases due to the large amount of tie-scored comments (e.g., 87 0-score). 3) In 97.3 comment is hidden while there is another comment with the same score is displayed (i.e., we refer to such cases as unfairly hidden comments). Among such unfairly hidden comments, the longest unfairly hidden comment is more likely to be informative than the shortest unfairly displayed comments. Our findings suggest that Stack Overflow should consider adjusting their current comment hiding mechanism, e.g., displaying longer unfairly hidden comments to replace shorter unfairly displayed comments. We also recommend that users examine all comments, in case they would miss informative details such as software obsolescence, code error reports, or notices of security vulnerability in hidden comments.

READ FULL TEXT
research
04/16/2023

A Study of Update Request Comments in Stack Overflow Answer Posts

Comments play an important role in updating Stack Overflow (SO) posts. T...
research
02/27/2020

Comment Ranking Diversification in Forum Discussions

Viewing consumption of discussion forums with hundreds or more comments ...
research
03/28/2019

An Empirical Study of Obsolete Answers on Stack Overflow

Stack Overflow accumulates an enormous amount of software engineering kn...
research
09/27/2021

An empirical study of question discussions on Stack Overflow

Stack Overflow provides a means for developers to exchange knowledge. Wh...
research
03/31/2022

Does This Apply to Me? An Empirical Study of Technical Context in Stack Overflow

Stack Overflow has become an essential technical resource for developers...
research
10/13/2020

ReviewRobot: Explainable Paper Review Generation based on Knowledge Synthesis

To assist human review process, we build a novel ReviewRobot to automati...

Please sign up or login with your details

Forgot password? Click here to reset