Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How Are Dev Teams Improving Code Quality in 2016?

DZone's Guide to

How Are Dev Teams Improving Code Quality in 2016?

Two thirds of developers are satisfied with the quality of the software they build, and that satisfaction is correlated with how code reviews are performed.

· DevOps Zone
Free Resource

Download “The DevOps Journey - From Waterfall to Continuous Delivery” to learn learn about the importance of integrating automated testing into the DevOps workflow, brought to you in partnership with Sauce Labs.

How satisfied are you with the quality of software you help build?

That was one of the burning questions we asked more than 600 software professionals in our State of Code Quality 2016 survey.

It’s a question that dev teams are being asked to answer on a continuous basis. In a world where everything runs on software, quality has never been more important.

So, What Did We Find Out?

We surveyed participants from dev teams ranging from less than 5 employees to 50+, and across the board software sentiment was positive.

In fact, 67% of participants said they either agree (53%) or strongly agree (14%) that they are satisfied. Just 10% of respondents felt negatively about the quality of software they help build.

SOCQ - Software Quality Chart

But despite the overall positive sentiment, there was still certainly room for improvement, as one-third of participants were unwilling to say that they felt positively about the quality of software they help build.

How are Teams Improving the Quality of the Software They Help Build?

When it comes to code quality, participants agree that code review is the number one method for improving code quality. Unit testing (19%) and functional testing (13%) are also seen as being critical to code quality.

SOCQ - Improve Code Quality Chart

Code review is by no means a new process for development teams looking to improve code quality. But in 2016, it’s clear that teams understand its importance more than ever before.

In Fact, When Asked Specifically About the Biggest Benefits of Doing Code Reviews, We Found That:

  • 90% said improve code quality
  • 72% said sharing knowledge across the team
  • 59% said enhanced maintainability of code
  • 56% said ability to mentor less experienced developers
  • 49% said adherence to coding standards

From improve quality and maintainability to shared knowledge and collaboration — teams are seeing a wide range of benefits from regularly performing code reviews.

What Does Code Review Look Like in a Modern Development Team?

For a majority of teams, code review is still an ad-hoc process, with 90% of participants doing “over the shoulder” code review.

Along with the ad-hoc approach, 63% are also doing tool-based code review, while 53% are doing meeting-based reviews.

How Do These Different Methods Stack Up When it Comes to Code Quality?

Respondents who said they were doing tool-based code review felt the most positively about the quality of software they help build. Participants who are only doing ad-hoc reviews felt the least positive and were more likely to disagree that they felt positively about their software quality.

SOCQ - Perception of Code Quality

We also found that teams who are doing tool-based code review are doing code reviews more often — 26.3% of respondents are doing tool-based cove review on a daily basis, compared to 14% for meeting-based code review, and less than 5% for ad-hoc code reviews.

Despite the Increased Focus On Quality and the Understanding of How Code Review Can Help Teams Build Better Software — Teams Still Face Obstacles When Implementing Code Review.

The three biggest obstacles facing teams include:

  • Workload (66%)
  • Deadline/Time Constraints (44%)
  • Lack of staffing (39%)

Overcoming these challenges will be critical for organizations that want to improve software quality in 2016 and beyond.

While workload, time, and budget will always be top concerns for development teams, prioritizing code reviews has proven to increase code quality and help teams work more efficiently together.

The State of Code Quality 2016

The State of Code Review 2016 Report includes valuable insights into how development teams are collaborating to improve code quality in 2016.

In addition to code review, the report provides insight on the different tools teams are using to build and maintain software. The report also takes a deeper look at how development teams are organized in 2016 and how dev teams in organizations ranging from less than 5 employees to more 10,000 are approaching code quality.

Get the report!

SOSQ_Ads_1200x628

Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure, brought to you in partnership with Sauce Labs

Topics:
quality code ,code quality ,devops ,agile ,testing

Published at DZone with permission of Ryan Pinkham, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}