@X31Andy This is evidence of astonishingly bad practice. In the same era this was ‘developed’ I worked with mission-critical software in a different field. Colleagues for a mess like this would not have lasted long.
I reckon Horizon can be classed as mission-critical though, in the light of Post Office persecution of sub-postmasters, perhaps safety-critical is more accurate.