Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Agile Software Development: Code Quality

via LinkedIn Learning

Overview

Learn how to write high-quality code. Discover how to reduce complexity, hotspots and churn, duplication, and more with a variety of platform-agnostic tools.

Code quality is important to every developer. Poorly written software can cost you customers, time, and money. This course introduces best practices and tools for writing high-quality code, so you can deliver better products, get updates to market faster, and reduce your overall technical debt. Instructor Scott Ford introduces platform-agnostic tools that will help improve any software project. Learn how to reduce complexity with CodeClimate, analyze hotspots and churn with CodeScene, ensure adequate code coverage with NDepend, and reduce duplication with SonarQube. Plus, find out how to use Snyk to secure dependencies and build a more consistent coding style with HoundCI. By the end, you’ll have the tools and skills you need to create cleaner code—and programs that are easier to debug, run, and maintain.

Syllabus

Introduction
  • Why code quality is important
  • What you should know
1. Code Quality
  • What is code quality?
  • How do we end up with poor quality code?
  • Review of code quality metrics and tools
2. Complexity
  • What is complexity?
  • Exploring complexity with Code Climate
  • Enabling cyclomatic complexity
  • Adjust thresholds
3. Hotspots and Churn
  • What are hotspots and churn?
  • Hotspots and churn with CodeScene
  • Customizing analysis with CodeScene
4. Code Coverage
  • What is code coverage?
  • Windows setup
  • Collecting code coverage with dotCover
  • Visualizing code coverage with NDepend
  • macOS X setup
  • Collecting code coverage with SimpleCov
  • Visualizing code coverage with Code Climate
5. Duplication
  • What is duplication?
  • Setting up copy/paste detectors (CPD)
  • Finding duplication with CPD
  • Visualizing duplication with SonarQube
6. Securing Your Dependencies
  • Why secure dependencies?
  • Setting up Snyk
  • Securing your dependencies with Snyk CLI
  • Securing your dependencies with Snyk web
7. Consistent Coding Style
  • Why consistent coding style?
  • Setting up Flask
  • Detect style violations with Flake8
  • Automated code style review with Hound CI
Conclusion
  • Next steps

Taught by

M. Scott Ford

Related Courses

Reviews

Start your review of Agile Software Development: Code Quality

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free