Skip to content
Ameen Abozaid
Planned lessonSRA-002-L02

Fitness functions

  • Lesson 2 of 7
  • Senior A
On This Lesson 4 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

define fitness functions that express important qualities as checks.

Planned topics

  • A fitness function measures one architectural quality: performance, coupling, security, cost, or operability.
  • Good ones are specific, have a threshold, and an owner who acts when it fails.
  • Pick qualities tied to business goals, such as checkout latency or cost per order.
  • Few, meaningful functions beat dozens nobody reads.
Draft outline details

Demonstration

a table with five rows: quality, measure, threshold, owner. For example, coupling: "no domain depends on another domain's internal packages", threshold zero violations, owner domain team.

Check your understanding

What four things should every fitness function name?

Show answer

The quality, the measure, the threshold, and the owner.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.