From the course: Agile Software Development: Code Quality

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

How do we end up with poor quality code?

How do we end up with poor quality code? - SonarQube Tutorial

From the course: Agile Software Development: Code Quality

Start my 1-month free trial

How do we end up with poor quality code?

- [Instructor] Let's take a look at how poor quality code accumulates. You remember when you were a kid and your room always got really messy? Maybe not, but that was definitely the case for me. Every time I moved something around to make my room look the way I wanted, it would get even messier. That's kind of like a software system. Every time something is changed, there's a tendency for it to get less organized. This insight can be first attributed to computer scientists Meir Lehman and Laszlo Belady and their work, which has come to be known as the laws of software evolution or just simply Lehman's laws. All together, these laws talk about how poor quality code is a natural byproduct of an evolving software system and that any software system that is being used by others or interacting with external systems will have an ever-increasing pressure on it to change. The impact of ignoring the natural forces described in Lehman's laws is significant: increased maintenance costs, numerous…

Contents