2018

Deep Learning to Detect Redundant Method Comments

Louis, Annie, Dash, Santanu Kumar, Barr, Earl T. et al.

Understand

Comments in software are critical for maintenance and reuse.

  • But apart from prescriptive advice, there is little practical support or quantitative understanding of what makes a comment useful.
  • In this paper, we introduce the task of identifying comments which are uninformative about the code they are meant to document.
  • To address this problem, we introduce the notion of comment entailment from code, high entailment indicating that a comment's natural language semantics can be inferred directly from the code.

Reading the bibliography…