Code Quality: Honing Your Craft
Code Quality: Honing Your Craft
A compendium of DZone articles that discuss the nature of code quality, and how to improve code quality through analysis and conduct reviews.
Join the DZone community and get the full member experience.Join For Free
Code quality may be a moving target, but you can get closer to the target with some help. In this post, we go through the lessons learned by software developers with decades of combined experience. Read on and enhance your code quality!
Code Quality Lessons and Tutorials
What Does Code Quality Actually Mean? by RJ Williams and Erik Dietrich. Want to make sure your code is of high-quality? This dev suggests that you should be able to read it as if it were written in prose. Does your code pass the test?
Let Code Quality Guide You by David Bernstein. See what an Agile expert has to say on the importance of code quality, and the principles he uses to guide his development efforts.
TDD and Code Quality by Grzegorz Ziemonski. TDD can make your code better, but there’s a ton of ways to do it wrong. To take full advantage of it, you need to understand those pitfalls and learn how to avoid them.
Custodians of Software Quality by Lokesh Raj. Creating and maintaining the predictability of quality of your software is one of the primary objectives. Learn some strategies that can help you here.
Why Code Quality Is Vital in the World of Database DevOps by Matt Hilbert. This article takes a look at why it is vital that code quality is enforced because now, developers are working across both applications and databases.
Things to Do to Improve Code Quality by Allan Kelly. A developer and agile expert takes a look at several different aspects of agile development processes that lead to higher code quality.
It's Not Too Late!!: How to Write Quality Code by Nitesh Sharma. Keep in mind that it's never too late to write and refactor code to increase its quality and make it more robust.
From Cold Fries to Broken Code, Quality Matters: How Chick-fil-a Is Redefining Quality Engineering by Lanier Norville. What do the original chicken sandwich and code quality have in common? Chick-fil-a is changing the way companies think about quality engineering through more structured QA.
Code Quality: Fighting Primitive Obsessions Code Smells by Anna Makowska. A discussion on what qualifies as a primitive obsession code smell, and how to refactor your code to increase code quality and get rid of this code smell.
Quality Code Is Loosely Coupled by David Bernstein. In this article, we take a look at loosely coupled code, and why this is the preferable way to couple your code while working in an Agile environment. Do you agree with this assessment of code quality?
Code Quality via Reviews
Pesky Code Review Comments by Oren Eini. While they may seem minor or annoying, even the smallest changes in code can improve readability and future functionality.
Continuous Code Reviews and Quality Releases by Aravind Kashyap. Let's look at how we can make a solid end-to-end code review process with continuous monitoring in place and deliver high quality products.
Three Keys to Code Review by Maria Khalusova. In this post, we take a look at how to get started with implementing code reviews within your team using three important aspects.
What Is a Code Review and Why Do You Need It? by Aleks Pedchenko. To create great software, it often takes a village. Read on to learn how your team can use code reviews to create higher quality software.
How Code Reviewing Can Help With Quality Assurance by Arnab Roy. The practice of setting up and conducting code reviews is not one that should be taken lightly. Learn why here.
Code Analysis as a Tool for Better Code Quality
Getting Started With Static Analysis Without Overwhelming the Team by William McMullin. Getting started with static analysis tools can be tricky if you haven't first taken some time to make sure you've identified the right strategies to take for your project.
Code Analysis Part 1: What You Should Know About Technial Debt by Federico Toledo. In part one of this three part series on code analysis, we explore technical debt and the means for tackling it before it accrues interest.
Code Analysis Part 2: Analyzing Code With SonarQube by Federico Toledo. In this post, the author shares a tutorial that shows you how to do a proof of concept quickly using a Docker SonarQube image, and run the analysis from SonarQube Scanner.
How to Analyze Your Code Quality in 10 Mintues With Sonarqube and Docker by Amritendu De. Reference this short code snippet of instructions on how to perform a static code analysis using Docker and Sonarqube in ten minutes or less.
Using PVS-Studio to Get Beginners Familiar With Code Analysis Tools by Andrey Karpov. This article goes through some of the characteristic of PVS-Studio as an ideal static code analyzer for students and those learning to develop software.
Introduce Static Anslysis in the Process, Don't Just Search for Bugs With It by Ivan Ponomarev. This article proposes that the purpose of static code analysis has been misconstrued and that for it to be effective, if must be run continuously.
Setting Up Static Code Analysis for Java by Mladen Olic. Need help setting up static code analysis for your Java project? Check out this tutorial on how to set up the static code analysis and enhance your code quality.
How Does Static Analysis Prevent Defects and Accelerate Delivery? by Arthur Hicken. Pinpointing errors early on saves time and work for developers later in the process. See how this is facilitated by static analysis.
Code Analysis With SonarQube, Part 1: Setup by Naveen Kosana. We introduce SonarQube, a code analysis and code quality software, and how you how to set it up on your machine so you can start easily testing code quality.
Code Analysis With SonarQube + Docker + .NET Core by Thiago Loureiro. We look into how to create a code analysis environment, and configure this environement, using SonarQube with Docker + SonarQube (7.5) + .NET Core Project.
Opinions expressed by DZone contributors are their own.