Excuse me, do you call this open source?
For real. I can open source my valueable projects to you. But what if I deliberately make it hard to read, like mangling it or minifying it?
Hell, every piece of JavaScript code on Earth is technically open source. If you can read assembly, everything is open source.
Only having the source code distributed is not open source in spirit. The intention of opening the source code is welcoming auditing, learning, contributing, to name a few.
"Opening" the source code of slop, with tons of meaningless boilerplates, non-logical paths and flows, heavily coupled modules and functions, thousand-line long functions, achieves none of the purpose of the intention.