Characterization of via holes on printed circuit boards