Scrutinizer scrutinizer
Toggle
  • Products
    • Continuous Integration

      for testing and deploying your application

    • Continuous Analysis

      for finding and fixing issues

    • Code Intelligence

      for empowering human code reviews

  • Pricing
  • Documentation
  • Blog
  • Sign Up
  • Login

Refactoring

  • Home /
  • Documentation /
  • Refactoring

Improve Code Quality with Continuous Inspections

Learn more

Recent Blog Posts

  • Viewing Analysis Data on GitHu...
  • Support for GitLab Repositorie...
  • Simplifying Debugging of UI Te...
  • View Analysis Results inside G...
  • PHP Security Analysis finds XS...

Features

  • Measure Code Quality continuously
  • Eliminate Bugs before they hit Production
  • Code Metrics easy to understand
  • Focus on Changes between Versions
  • Receive weekly Code Quality Reports

Refactorings for code smells with examples

Basics

  • General code design approaches and why to use refactoring
  • Indications for when to start refactoring

Duplicated Code (2 refactorings)

  • Create Template Method
  • Introduce Null object

Long Method (3 refactorings)

  • Compose Method
  • Move Accumulation to Collecting Parameter
  • Replace Conditional Dispatcher with Command

Complexity (3 refactorings)

  • Introduce Null object
  • Replace State Altering Conditionals with State
  • Extract Class

 

Features

Scrutinizer is a continuous inspection platform helping you to write better software. Learn more:

  • Continously measure and track code quality
  • Eliminate bugs before they hit production
  • Code metrics simplified and easy to understand
  • Feedback on code quality changes between versions
  • Receive weekly code quality reports

Supported Languages

  • PHP
  • Python
  • Ruby

 

Documentation

  • Getting Started
  • Configuring Scrutinizer
  • Refactorings
  • API Reference

Blog Posts

  • Viewing Analysis Data on GitHub and Bitbucket
  • Support for GitLab Repositories
  • Simplifying Debugging of UI Tests
  • View Analysis Results inside GitHub
Scrutinizer Logo
© 2025 scrutinizer-ci. All Rights Reserved.
  • Legal Notice
  • Terms of Service
  • Privacy Policy
  • Platform Security
  • Service Status
  • twitter
  • rss