Characterization of via holes in printed circuit boards