Evaluation of structural heterogeneities and surface irregularities of microporous solids