Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

Detecting defects in object-oriented designs: using reading techniques to increase software quality

Published: 01 October 1999 Publication History

Abstract

Inspections can be used to identify defects in software artifacts. In this way, inspection methods help to improve software quality, especially when used early in software development. Inspections of software design may be especially crucial since design defects (problems of correctness and completeness with respect to the requirements, internal consistency, or other quality attributes) can directly affect the quality of, and effort required for, the implementation.
We have created a set of “reading techniques” (so called because they help a reviewer to “read” a design artifact for the purpose of finding relevant information) that gives specific and practical guidance for identifying defects in Object-Oriented designs. Each reading technique in the family focuses the reviewer on some aspect of the design, with the goal that an inspection team applying the entire family should achieve a high degree of coverage of the design defects.
In this paper, we present an overview of this new set of reading techniques. We discuss how some elements of these techniques are based on empirical results concerning an analogous set of reading techniques that supports defect detection in requirements documents. We present an initial empirical study that was run to assess the feasibility of these new techniques, and discuss the changes made to the latest version of the techniques based on the results of this study.

References

[1]
Basili, V. R., Green S., Laitenberger, O., Lanubile, F., Shull, F., Sorumgard, S., Zelkowitz, M. V. The Empirical Investigation of Perspective-Based Reading, Empirical Software Engineering Journal, I, 133-164, 1996
[2]
Basili, V., Caldiera, G., Lanubile, F., and Shull, F. Studies on reading techniques. In Proc. of the Twenty- First Annual Software Engineering Workshop, SEL- 96-002, pages 59-65, Greenbelt, MD, December 1996.
[3]
Coad, P. and Yourdon, E. Object-Oriented Analysis, 2nd ed. Englewood Cliffs, NJ. Prentice Hall. 1991.
[4]
Fagan, M., 1976. Design and code inspections to reduce errors in program development. IBM Systems Journal, 15(3):182-211
[5]
Fagan, M. "Advances in Software Inspections." IEEE Transactions on Software Engineering, 12(7): 744-751, July 1986.
[6]
Fowller, M., Scott, K. UML Distilled: Applying the Standard Object Modeling Language, Addison- Wesley, 1997
[7]
Fusaro, P., Lanubile, F., and Visaggio, G. A replicated experiment to assess requirements inspections techniques, Empirical Software Engineering Journal, vol.2, no. 1, pp.39-57, 1997.
[8]
Gilb, T., Graham, D. Software Inspection. Addison- Wesley, Reading, MA, 1993.
[9]
Jacobson, I., Christerson, M., Jonsson, P., Overgaard, G. Object-Oriented Software Engineering: A Use Case Driven Approach, Addison-Wesley, revised printing, 1995
[10]
Knight, J., E. Myers, A. An Improved Inspection Technique. Communications of the A CM, 36(11 ): 51- 61, November 1993.
[11]
Lanubile, F., Shull, F., and Basili, V. Experimenting with Error Abstraction in Requirements Documents. In Proc. of the Fifth International Symposium on Software Metrics, Bethesda, MD, November 1998.
[12]
Meyer, B. Object Oriented Software Construction, Second Edition, Prentice Hall Inc., 1997.
[13]
Pfleeger, S. L. Software Engineering: Theory and Practice, Prentice Hall Inc., 1998.
[14]
Porter, A., Votta Jr., L., Basili, V. Comparing Detection Methods for Software Requirements Inspections: A Replicated Experiment. IEEE Transactions on Software Engineering, 2I(6): 563- 575, June 1995.
[15]
Shull, F. Developing Techniques for Using Software Documents: A Series of Empirical Studies. Ph.D. thesis, University of Maryland, College Park, December 1998.
[16]
Vieira, M. E. R., Travassos, G. H. An Approach to Perform Behavior Testing in Object-Oriented Systems. In Proceedings of TOOLS Asia'98, Beijing, China, September 98
[17]
V otta Jr., L. G. Does Every Inspection Need a Meeting?. ACM SIGSOFT Software Engineering Notes, 18(5): 107-114, December 1993.
[18]
Zhang, Z., Basili, V., and Shr~eiderman, B., An empirical study of perspective-based usability inspection. Human Factors and Ergonomics Society Annual Meeting, Chicago, Oct. 1998.

Cited By

View all
  • (2024)Improving and comparing performance of machine learning classifiers optimized by swarm intelligent algorithms for code smell detectionScience of Computer Programming10.1016/j.scico.2024.103140237(103140)Online publication date: Oct-2024
  • (2023)Machine learning with word embedding for detecting web-services anti-patternsJournal of Computer Languages10.1016/j.cola.2023.10120775(101207)Online publication date: Jun-2023
  • (2023)Object Oriented Metrics Based Empirical Model for Predicting “Code Smells” in Open Source SoftwareJournal of The Institution of Engineers (India): Series B10.1007/s40031-022-00833-4104:1(241-257)Online publication date: 3-Jan-2023
  • Show More Cited By

Index Terms

  1. Detecting defects in object-oriented designs: using reading techniques to increase software quality

                  Recommendations

                  Comments

                  Information & Contributors

                  Information

                  Published In

                  cover image ACM SIGPLAN Notices
                  ACM SIGPLAN Notices  Volume 34, Issue 10
                  Oct. 1999
                  460 pages
                  ISSN:0362-1340
                  EISSN:1558-1160
                  DOI:10.1145/320385
                  Issue’s Table of Contents
                  • cover image ACM Conferences
                    OOPSLA '99: Proceedings of the 14th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
                    October 1999
                    462 pages
                    ISBN:1581132387
                    DOI:10.1145/320384
                  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: 01 October 1999
                  Published in SIGPLAN Volume 34, Issue 10

                  Check for updates

                  Author Tags

                  1. object oriented software quality
                  2. object testing and metrics
                  3. software engineering practices
                  4. software inspection

                  Qualifiers

                  • Article

                  Contributors

                  Other Metrics

                  Bibliometrics & Citations

                  Bibliometrics

                  Article Metrics

                  • Downloads (Last 12 months)166
                  • Downloads (Last 6 weeks)24
                  Reflects downloads up to 15 Jan 2025

                  Other Metrics

                  Citations

                  Cited By

                  View all
                  • (2024)Improving and comparing performance of machine learning classifiers optimized by swarm intelligent algorithms for code smell detectionScience of Computer Programming10.1016/j.scico.2024.103140237(103140)Online publication date: Oct-2024
                  • (2023)Machine learning with word embedding for detecting web-services anti-patternsJournal of Computer Languages10.1016/j.cola.2023.10120775(101207)Online publication date: Jun-2023
                  • (2023)Object Oriented Metrics Based Empirical Model for Predicting “Code Smells” in Open Source SoftwareJournal of The Institution of Engineers (India): Series B10.1007/s40031-022-00833-4104:1(241-257)Online publication date: 3-Jan-2023
                  • (2022)A Metric for Questions and Discussions Identifying Concerns in Software ReviewsSoftware10.3390/software10300161:3(364-380)Online publication date: 5-Sep-2022
                  • (2022)VeriSIM: A model-based learning pedagogy for fostering software design evaluation skills in computer science undergraduatesResearch and Practice in Technology Enhanced Learning10.1186/s41039-022-00192-017:1Online publication date: 24-May-2022
                  • (2022)Goal-Oriented Software Design ReviewsIEEE Access10.1109/ACCESS.2022.316154510(32584-32594)Online publication date: 2022
                  • (2022)Probabilistic detection of GoF design patternsThe Journal of Supercomputing10.1007/s11227-022-04718-779:2(1654-1682)Online publication date: 1-Aug-2022
                  • (2022)Code Smell Detection Using Classification ApproachesIntelligent Systems10.1007/978-981-19-0901-6_25(257-266)Online publication date: 4-May-2022
                  • (2022)Model-Based Inspections of Software Product LinesUML-Based Software Product Line Engineering with SMarty10.1007/978-3-031-18556-4_7(121-153)Online publication date: 28-Sep-2022
                  • (2021)Code Smell Detection Using Whale Optimization AlgorithmComputers, Materials & Continua10.32604/cmc.2021.01558668:2(1919-1935)Online publication date: 2021
                  • Show More Cited By

                  View Options

                  View options

                  PDF

                  View or Download as a PDF file.

                  PDF

                  eReader

                  View online with eReader.

                  eReader

                  Login options

                  Media

                  Figures

                  Other

                  Tables

                  Share

                  Share

                  Share this Publication link

                  Share on social media