Defects Analysis Using Ai