Mining java class naming conventions

  • Authors:
  • Simon Butler;Michel Wermelinger;Yijun Yu;Helen Sharp

  • Affiliations:
  • Centre for Research in Computing, Department of Computing, The Open University, Milton Keynes, United Kingdom;Centre for Research in Computing, Department of Computing, The Open University, Milton Keynes, United Kingdom;Centre for Research in Computing, Department of Computing, The Open University, Milton Keynes, United Kingdom;Centre for Research in Computing, Department of Computing, The Open University, Milton Keynes, United Kingdom

  • Venue:
  • ICSM '11 Proceedings of the 2011 27th IEEE International Conference on Software Maintenance
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Class names represent the concepts implemented in object-oriented source code and are key elements in program comprehension and, thus, software maintenance. Programming conventions often state that class names should be noun-phrases, but there is little further guidance for developers on the composition of class names. Other researchers have observed that the majority of Java class identifier names are composed of one or more nouns preceded, optionally, by one or more adjectives. However, no detailed analysis of class identifier name structure has been undertaken that could be leveraged to support program comprehension activities.