Reduce method complexity

This change reduces the method complexity of the Spring Insight
framework.

[#59473228]
Merge 59473228-relative-paths to master

[Completes #59473228]