skip to main content
10.1145/1083142.1083152acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Source code that talks: an exploration of Eclipse task comments and their implication to repository mining

Published:17 May 2005Publication History

ABSTRACT

A programmer performing a change task to a system can benefit from accurate comments on the source code. As part of good programming practice described by Kernighan and Pike in the book The Practice of Programming, comments should "aid the understanding of a program by briefly pointing out salient details or by providing a larger-scale view of the proceedings." In this paper, we explore the widely varying uses of comments in source code. We find that programmers not only use comments for describing the actual source code, but also use comments for many other purposes, such as "talking" to colleagues through the source code using a comment "Joan, please fix this method." This kind of comments can complicate the mining of project information because such team communication is often perceived to reside in separate archives, such as emails or newsgroup postings, rather than in the source code. Nevertheless, these and other types of comments can be very useful inputs for mining project information.

References

  1. Eclipse task tags website. http://127.0.0.1:55317/help/index.jsp?topic=/org.eclipse.jdt.doc.user/referencrefpreferences-task-tags.htm.Google ScholarGoogle Scholar
  2. W. G. Griswold. Coping with crosscutting software changes using information transparency. In Reflection 2001: International Conference on Metalevel Architectures and Separation of Crosscutting, pages 250--265, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. B. W. Kernighan and R. Pike. The practice of programming. Addison-Wesley Longman Publishing Co., Inc., 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. D.E. Knuth. Literate programming. The Computer Journal, 27(2):97--111, 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. L. Parnas. On the criteria to be used in decomposing systems into modules. Communication of ACM, 15(12):1053--1058, 1972. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Source code that talks: an exploration of Eclipse task comments and their implication to repository mining

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        MSR '05: Proceedings of the 2005 international workshop on Mining software repositories
        May 2005
        109 pages
        ISBN:1595931236
        DOI:10.1145/1083142
        • cover image ACM SIGSOFT Software Engineering Notes
          ACM SIGSOFT Software Engineering Notes  Volume 30, Issue 4
          July 2005
          1514 pages
          ISSN:0163-5948
          DOI:10.1145/1082983
          Issue’s Table of Contents

        Copyright © 2005 Authors

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 17 May 2005

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader