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

LinkedIn Learning

Agile Software Development: Refactoring

via LinkedIn Learning


Learn the basics of refactoring for agile software development. Explore refactoring techniques to simplify code, remove duplication, and build more reusable objects.


  • Refactoring for better code
  • What you need to know
1. Refactoring with New Code
  • What is refactoring?
  • Test-driven development (TDD)
  • Code kata
  • Setting up the new code kata
  • Setting up the TDD environment
  • Refactoring: Rename Variable
  • Micro-refactoring
  • Refactoring: Inline Code
  • Code kata: Continue solving the problem
  • Refactoring: Extract Method
2. Stabilizing Legacy Code
  • Technical debt: Why it’s a problem
  • Setting up the legacy code kata
  • Methodology
  • Start writing pin-down tests
  • Complete writing pin-down tests
  • Refactoring pin-down tests
  • Refactoring: Change Signature
  • Code coverage
  • Branch coverage
3. Refactoring Legacy Code
  • Refactoring: Extract Constant strings
  • Refactoring: Extract Constant numbers
  • Refactoring: Extract Variable/Extract Method
  • Refactoring: Simplify Arithmetic
  • Refactoring: Simplify Booleans
  • Refactoring: Group-Related Logic
  • Refactoring: Final steps
  • Add new behavior to refactored code
  • Next steps

Taught by

Richard Kasperowski


4.5 rating at LinkedIn Learning based on 65 ratings

Start your review of Agile Software Development: Refactoring

Never Stop Learning.

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