Code Quality: The Open Source Perspective

Front Cover
Adobe Press, Apr 3, 2006 - Computers - 608 pages
1 Review

  • Page 26: How can I avoid off-by-one errors?
  • Page 143: Are Trojan Horse attacks for real?
  • Page 158: Where should I look when my application can't handle its workload?
  • Page 256: How can I detect memory leaks?
  • Page 309: How do I target my application to international markets?
  • Page 394: How should I name my code's identifiers?
  • Page 441: How can I find and improve the code coverage of my tests?

Diomidis Spinellis' first book, Code Reading, showed programmers how to understand and modify key functional properties of software. Code Quality focuses on non-functional properties, demonstrating how to meet such critical requirements as reliability, security, portability, and maintainability, as well as efficiency in time and space.

Spinellis draws on hundreds of examples from open source projects--such as the Apache web and application servers, the BSD Unix systems, and the HSQLDB Java database--to illustrate concepts and techniques that every professional software developer will be able to appreciate and apply immediately.

Complete files for the open source code illustrated in this book are available online at:


What people are saying - Write a review

We haven't found any reviews in the usual places.


Time Perfomance
Space Performance
FloatingPoint Arithmetic
Source Code Credits

Common terms and phrases

Popular passages

Page 3 - Please tell Microsoft about this problem. We have created an error report that you can send to help us improve Microsoft Visual FoxPro 9.0.
Page 510 - In Proceedings of the ACM SIGPLAN 1999 Conference on Programming Language Design and Implementation, ACM SIGPLAN Notices, pages 229-241, May 1-4, 1999.
Page 509 - In Proceedings of the 14th International Conference on Software Engineering and Knowledge Engineering (SEKE), Ischia, Italy, 2002.
Page 507 - Proceedings of the 17th ACM SIGPLAN conference on Objectoriented programming, systems, languages, and applications, pp.
Page 17 - Investment in reliability will increase until it exceeds the probable cost of errors, or until someone insists on getting some useful work done.
Page 507 - Rajendra K, Bandi, Vijay K. Vaishnavi and Daniel E. Turk. "Predicting Maintenance Performance Using Object-Oriented Design Complexity Metrics", IEEE transactions on Software Engineering, Vol.
Page 507 - 05: Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation, pages 129-142, New York, NY, USA, 2005.
Page 517 - David L. Parnas, A. John van Schouwen, and Shu Po Kwan, "Evaluation of Safety-Critical Software," Communications of the ACM 33 (1990): 636-648, at 644.

About the author (2006)

Diomidis Spinellis has been developing the concepts presented in this book since 1985, while also writing groundbreaking software applications and working on multimillion-line code bases. Spinellis holds an M.Eng. degree in software engineering and a Ph.D. in computer science from Imperial College London. Currently he is an associate professor in the Department of Management Science and Technology at the Athens University of Economics and Business.

Bibliographic information