skip to main content
article

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

Published:17 May 2005Publication History
Skip Abstract Section

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

      Full Access

      • Published in

        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
        • 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

        Copyright © 2005 Copyright is held by the owner/author(s)

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 17 May 2005

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader