Your Spaghetti Code Needed for feedback
Majority of ColdFusion code is not testable in its current state. There I said it. Now with that out of the way, I would love you to try out my "Cloudy With A Chance Of Tests" project and give this a test drive. It is to help improve the quality of your code which maybe in any state.
Please create issues for any problems or clarifications needed. Currently, the compilation only works on the Adobe ColdFusion engine.
For more information on where I am coming from and trying to go, please review: