cleanup analysis