Separating edit scope from testing scope

A booking service has the complete dependency graph below. An arrow means that its source calls its target. Tax changes an operation incompatibly, and Pricing invokes that operation. Assume Pricing can adapt internally while preserving its own complete public contract.


For regression testing, the team includes every direct or indirect caller of Tax. An indirect caller reaches Tax through one or more intervening modules. This testing rule does not imply that every included module needs source edits.


Find both counts, excluding Tax itself: the minimum number of modules requiring source edits because of the change, and the number of modules included by the testing rule. Give both as exact integers.


Six modules are connected by arrows from callers to the modules they invoke.


Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Modularity Questions: