skip to main content
10.1145/1985793.1985914acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

The code orb: supporting contextualized coding via at-a-glance views (NIER track)

Published:21 May 2011Publication History

ABSTRACT

While code is typically presented as a flat file to a developer who must change it, this flat file exists within a context that can drastically influence how a developer approaches changing it. While the developer clearly must be careful changing any code, they probably should be yet more careful in changing code that recently saw major changes, is barely covered by test cases, and was the source of a number of bugs. Contextualized coding refers to the ability of the developer to effectively use such contextual information while they work on some changes. In this paper, we introduce the Code Orb, a contextualized coding tool that builds upon existing mining and analysis techniques to warn developers on a line-by-line basis of the volatility of the code they are working on. The key insight underneath the Code Orb is that it is neither desired nor possible to always present a code's context in its entirety; instead, it is necessary to provide an abstracted view of the context that informs the developer of which parts of the code they need to pay more attention to. This paper discusses the principles of and rationale behind contextualized coding, introduces the Code Orb, and illustrates its function with example code and context drawn from the Mylyn [11] project.

References

  1. A. Ankolekar, K. Sycara, et al. 2006. "Supporting online problem-solving communities with the semantic web". WWW '06, USA, pp. 575--584. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. C. Bird, N. Nagappan, et al. 2010. An analysis of the effect of code ownership on software quality across windows, eclipse, and Firefox. Technical report, UC Davis.Google ScholarGoogle Scholar
  3. F. Chevalier, D. Auber and A. Telea. 2007. "Structural Analysis and Visualization of C++ Code Evolution using Syntax Trees". In IWPSE '07, pp. 90--97. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. EclEmma Project: EclEmma - Java Code Coverage for Eclipse, Ret. Dec. 2010, from: http://www.eclemma.org/Google ScholarGoogle Scholar
  5. Eclipse project: The Eclipse Foundation open source community website, the Eclipse Foundation, 2010. Retrieved Dec. 09, 2010, from: http://www.eclipse.org/Google ScholarGoogle Scholar
  6. S. Eick, J. Steffen, and E. Sumner. "Seesoft a tool for visualizing line-oriented software statistics". IEEE Transactions Software Engineering, 18(11), pp. 957--968, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. Happel, and W. Maalej. 2008. "Potentials and challenges of recommendation systems for software development". RSSE '08, USA, pp. 11--15. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. H. Hata, O. Mizuno, and T. Kikuno. "Fault-prone module detection using large-scale text features based on spam filtering". Empirical Software Engineering. 15(2),p147--165,2010 Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. J. Jones, and M. J. Harrold. 2005. "Empirical Evaluation of the Tarantula Automatic Fault-Localization Technique". In ASE '05, USA, 2005, pp. 273--282. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Kim, T. Zimmermann, et al. 2007. "Predicting faults from cached history". ICSE '07, pp. 489--498. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Mylyn Project: Eclipse Mylyn Open Source Project, the Eclipse Foundation, 2010. Retrieved Dec. 09, 2010, from: http://www.eclipse.org/mylyn/Google ScholarGoogle Scholar
  12. N. Nagappan and T. Ball. 2005. "Use of Relative Code Churn Measures to Predict System Defect Density". ICSE '05, USA, pp. 284--292. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. T. Proença, N. Moura, and A. van der Hoek. 2010. "On the Use of Emerging Design as a Basis for Knowledge Collaboration". New Frontiers in Artificial Intelligence: JSAI-isAI 2009 Workshops. pp. 124--134. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. F. Rahman, and P. Devanbu. 2011."Ownership, Experience Defects:A fine-grained Study of Authorship". ICSE'11,USA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. Śliwerski, T. Zimmermann and A. Zeller. "HATARI: raising risk awareness". ACM SIGSOFT Software Engineering Notes, 30(5), pp.107--110, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. L. Voinea, A. Telea and J. van Wijk. 2005. "CVSscan: visualization of code evolution". SOFTVIS '05, pp. 47--56. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. Canfora, L. Cerulo and M. Di Penta. 2007. Identifying Changed Source Code Lines from Version Repositories. In MSR '07. 14 pages. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. E. Murphy-Hill and A. Black. 2010. An interactive ambient visualization for code smells. SOFTVIS '10, USA, pp. 5--14. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The code orb: supporting contextualized coding via at-a-glance views (NIER track)

        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 Conferences
          ICSE '11: Proceedings of the 33rd International Conference on Software Engineering
          May 2011
          1258 pages
          ISBN:9781450304450
          DOI:10.1145/1985793

          Copyright © 2011 ACM

          Permission to make digital or hard copies of all or part 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 components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 21 May 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate276of1,856submissions,15%

          Upcoming Conference

          ICSE 2025

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader