If it breaks a lot or doesn't perform well while doing the job it was made to do, it's bad quality. If it doesn't break a lot and is satisfying to use, it's good quality.
Zen and the Art of Motorcycle Maintenance was, contrary to its author's metaphysical dilemma, a
good quality book.