Code and structure cleaning on equipment