Integrity assessment of defective pressurized pipelines and pressure vessels