Why is this an issue?

My stupid rule to avoid routine declaration

Noncompliant Code Example

TO DO

Compliant Solution

TO DO