Perfect sure not - but I highly doubt Linux would be as widespread as it is if code quality hadn't been priority even above the "Never break userspace" doctrine.
So it's not "perfect", it's just "high quality".
And what made you think that the code written by Sharp wasn't high quality?