In this article, the secondary electron-emission properties of both vertically and laterally inhomogeneous samples are discussed. To study the effect of surface coverage, the total electron-emission yield of tungsten and niobium samples was measured as a function of primary electron energy and oxide thickness. A method is suggested to avoid charging difficulties during AES measurements of samples that consist of both metal and various insulator parts.