Skip to Content
Building Maintainable Software, Java Edition
book

Building Maintainable Software, Java Edition

by Joost Visser, Sylvan Rigal, Rob van der Leek, Pascal van Eck, Gijs Wijnholds
January 2016
Intermediate to advanced content levelIntermediate to advanced
168 pages
4h 6m
English
O'Reilly Media, Inc.
Content preview from Building Maintainable Software, Java Edition

Appendix A. How SIG Measures Maintainability

SIG measures system maintainability based on eight metrics. Those eight metrics are discussed in Chapters 2 through 9. Those chapters include sidebars explaining how SIG rates source code properties relevant to those guidelines. These ratings are derived from the SIG/TÜViT1 Evaluation Criteria for Trusted Product Maintainability. In this appendix, we provide you with additional background.

Together with TÜViT, SIG has determined eight properties of source code that can be measured automatically. See “Why These Ten Specific Guidelines?” for how these properties have been chosen.

To assess maintainability of a system, we measure these eight source code properties and summarize these measurements either in a single number (for instance, the percentage of code duplication) or a couple of numbers (for instance, the percentage of code in four categories of complexity, which we call a quality profile; see “Rating Maintainability”).

We then compare these numbers against a benchmark containing several hundreds of systems, using Table A-1 to determine the quality level on each property. So, if the measurement for a system is among the top 5% of all systems in the benchmark, the system is rated at 5 stars for this property. If it is among the next best 30%, it rates 4 stars, and so forth. This process of comparing quality profiles for each system property against the benchmark results in eight star ratings, one for each system property.

Table ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java 8 in Action

Java 8 in Action

Mario Fusco, Alan Mycroft, Raoul-Gabriel Urma

Publisher Resources

ISBN: 9781491955987Errata Page