Does anyone know of any testing facility visual basic has to analayse a peice of code to ascertain its semantic correctness?

Thanks