TeX/definition/badness

Badness is an integer from 0 to 10000 that is a measure of the quality of the spacing in any given box.