There are tons of spectaculary bad analog and digital recordings. Also, spectacularly good ones. In part it depends on when they were made. In the late fifties most of the finest recordings ever produced were made. They were all analog. But during that period there were still some spectacularly bad recordings made. The tinniest horrible brittle ones, typically early rock, but I’ve heard some horrible classical as well..
Then the industry slowly switched over to digital mastering. Wow, there are some terrible early digital recordings. Deutsch Gramophone, known for outstanding classical recordings produced some incredibly bad stuff... released on vinyl. Over time digital recordings got better. But the digitall playback systems got better as well... only in the last ten years of so have they equaled vinyl playback.
So there have been long termed trends, but huge local variation within the time frame for recording, then the same in playback.
Today, the playback equipment has erased (or can, if you have a good system that is carefully curated) any difference between analog and digital. So, then you are left with how they were mastered.