There are methods, e.g., ultrasonic, that are used to analyze for stress cracks, etc.
This article by James "Titanic" Cameron is very enlightening particularly with regard to safety record of research submersibles..."no major incidents since the 60's"...