Parts of Speech for Compactness
com·pact
C c Gramatical Hierarchy
Grammatically "Compactness" is a adjective, to be more precise even a verb with objects. But also it is used as a verb, specifically a verb with objects. Part of speech depends on meaning of this word.
All about compactness Download all about compactness in pdf