Skip to Content
Clean Code in PHP
book

Clean Code in PHP

by Carsten Windler, Alexandre Daubois
October 2022
Beginner to intermediate
264 pages
6h 47m
English
Packt Publishing
Content preview from Clean Code in PHP

8

Code Quality Metrics

Wouldn’t it be great if we could measure the quality of our software? Software developers often want to improve their software again and again – but maybe it is already “good enough.” How do we know when it reaches a good state?

Software quality metrics were introduced by smart people in the early days of programming. In the 1970s, they thought about this topic and produced the ideas that are still in use today. Of course, we want to benefit from this knowledge and apply it to our own projects.

In this chapter, we are going to cover the following topics:

  • Introducing code quality metrics
  • Gathering metrics in PHP
  • The pros and cons of using metrics

Technical requirements

If you have gone through the previous chapter and ...

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

Domain-Driven Design in PHP

Domain-Driven Design in PHP

Keyvan Akbary, Carlos Buenosvinos, Christian Soronellas
PHP Microservices

PHP Microservices

Pablo Solar Vilariño, Carlos Pérez Sánchez
PHP 7: Real World Application Development

PHP 7: Real World Application Development

Doug Bierer, Altaf Hussain, Branko Ajzele

Publisher Resources

ISBN: 9781804613870Supplemental Content