skip to main content
10.1145/2601248.2601280acmotherconferencesArticle/Chapter ViewAbstractPublication PageseaseConference Proceedingsconference-collections
research-article

Investigating code reading techniques for novice inspectors: an industrial case study

Published: 13 May 2014 Publication History

Abstract

Code inspection is believed to be an effective technique to remove defects and improve software quality. However, the adoption of code inspection in industry is far less than it should be, which may lead to many novice inspectors in industry. For these novice inspectors, a suitable reading technique should be of the first step to begin this quality journey. While reports indicated that Checklist-Based Reading (CBR) and Ad Hoc Reading (AHR) had been the most adopted inspection techniques in industry, we deem it is necessary to investigate these two techniques first. In this paper, we present a case study of the adoption of code reading techniques in one small-sized software company. In this study, five engineers used different techniques (i.e., CBR vs. AHR) to read source code in 20 modules. Both quantitative data and qualitative data are collected during the case study. Initial analysis of these data indicates that industrial novice inspectors using CBR tended to have a lower reading speed than those using AHR. Both techniques could help these novice inspectors to remove a certain portion of defects during code review, and compared to AHR approach, CBR may help them find larger percentage of defects. However, there still exist several issues, for example, missing large portion of review-removable defects could not be avoided for novice inspectors. What's more, CBR may limit reviewers' ability to find defects outside the checklist, and to establish effective checklist remains a big challenge for novice inspectors. Besides, both internal factors (e.g., faith in inspection to achieve high quality) as well as external factors (e.g., schedule pressure) may also impact novice inspectors to adopt code reading.

References

[1]
Ciolkowski, M., Laitenberger, O., and Biffl, S.: 'Software reviews, the state of the practice', Software, IEEE, 2003, 20, (6), pp. 46--51
[2]
Scanniello, G., Fasano, F., De Lucia, A., and Tortora, G.: 'Does software error/defect identification matter in the Italian industry?', IET software, 2013, 7, (2), pp. 76--84
[3]
Porter, A. A., and Votta, L. G.: 'An experiment to assess different defect detection methods for software requirements inspections', in Editor (Ed.): 'Book An experiment to assess different defect detection methods for software requirements inspections' (IEEE Computer Society Press, 1994, edn.), pp. 103--112
[4]
Basili, V. R., Green, S., Laitenberger, O., Lanubile, F., Shull, F., Sørumgård, S., and Zelkowitz, M. V.: 'The empirical investigation of perspective-based reading', Empirical Software Engineering, 1996, 1, (2), pp. 133--164
[5]
Thelin, T., Runeson, P., and Regnell, B.: 'Usage-based reading---an experiment to guide reviewers with use cases', Information and Software Technology, 2001, 43, (15), pp. 925--938
[6]
Dunsmore, A., Roper, M., and Wood, M.: 'Systematic object-oriented inspection---an empirical study', in Editor (Ed.): 'Book Systematic object-oriented inspection---an empirical study' (IEEE Computer Society, 2001, edn.), pp. 135--144
[7]
Kelly, D., and Shepard, T.: 'Task-directed software inspection', Journal of Systems and Software, 2004, 73, (2), pp. 361--368
[8]
Laitenberger, O.: 'A survey of software inspection technologies', 2002
[9]
Rong, G., Li, J., Xie, M., and Zheng, T.: 'The Effect of Checklist in Code Review for Inexperienced Students: An Empirical Study', in Editor (Ed.): 'Book The Effect of Checklist in Code Review for Inexperienced Students: An Empirical Study' (IEEE, 2012, edn.), pp. 120--124
[10]
Fagan, M. E.: 'Design and code reviews to reduce errors in program development', IBM System Journal, 1976, 15, (3)
[11]
Humphrey, W. S.: 'PSP (sm): a self-improvement process for software engineers' (Addison-Wesley Professional, 2005. 2005)
[12]
Weller, E. F.: 'Lessons from three years of inspection data (software development)', Software, IEEE, 1993, 10, (5), pp. 38--45
[13]
Parnas, D. L., and Weiss, D. M.: 'Active design reviews: principles and practices', Journal of Systems and Software, 1987, 7, (4), pp. 259--265
[14]
Eick, S. G., Loader, C. R., Long, M. D., Votta, L. G., and Vander Wiel, S.: 'Estimating software fault content before coding', in Editor (Ed.): 'Book Estimating software fault content before coding' (ACM, 1992, edn.), pp. 59--65
[15]
Zhang, H., and Babar, M. A.: 'Systematic Reviews in Software Engineering: An Empirical Investigation', Information and Software Technology, 2012
[16]
Laitenberger, O., El Emam, K., and Harbich, T. G.: 'An internally replicated quasi-experimental comparison of checklist and perspective based reading of code documents', Software Engineering, IEEE Transactions on, 2001, 27, (5), pp. 387--421
[17]
Fagan, M. E.: 'Advances in software inspections': 'Pioneers and Their Contributions to Software Engineering' (Springer, 2001), pp. 335--360
[18]
Miller, J., Wood, M., and Roper, M.: 'Further experiences with scenarios and checklists', Empirical Software Engineering, 1998, 3, (1), pp. 37--64
[19]
Tervonen, I.: 'Support for quality-based design and inspection', Software, IEEE, 1996, 13, (1), pp. 44--54
[20]
Laitenberger, O., and DeBaud, J.-M.: 'An encompassing life cycle centric survey of software inspection', Journal of Systems and Software, 2000, 50, (1), pp. 5--31
[21]
Halling, M., Biffl, S., Grechenig, T., and Kohle, M.: 'Using reading techniques to focus inspection performance', in Editor (Ed.)^(Eds.): 'Book Using reading techniques to focus inspection performance' (IEEE, 2001, edn.), pp. 248--257
[22]
Sabaliauskaite, G., Matsukawa, F., Kusumoto, S., and Inoue, K.: 'An experimental comparison of checklist-based reading and perspective-based reading for UML design document inspection', in Editor (Ed.): 'Book An experimental comparison of checklist-based reading and perspective-based reading for UML design document inspection' (IEEE, 2002, edn.), pp. 148--157
[23]
Hatton, L.: 'Testing the value of checklists in code inspections', Software, IEEE, 2008, 25, (4), pp. 82--88

Cited By

View all

Index Terms

  1. Investigating code reading techniques for novice inspectors: an industrial case study

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    EASE '14: Proceedings of the 18th International Conference on Evaluation and Assessment in Software Engineering
    May 2014
    486 pages
    ISBN:9781450324762
    DOI:10.1145/2601248
    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 the author(s) 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].

    Sponsors

    • Brunel University: Brunel University

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 13 May 2014

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. code reading
    2. industrial case study
    3. novice inspectors

    Qualifiers

    • Research-article

    Conference

    EASE '14
    Sponsor:
    • Brunel University

    Acceptance Rates

    Overall Acceptance Rate 71 of 232 submissions, 31%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)8
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 21 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media