Code cleanup refers to the act of writing code so that it cleans up leftover data structures and other unwanted materials from memory and the filesystem. It is not the same as refactoring code, which involves making the source code itself easier to understand, maintain, and modify.
Code cleanup can also refer to the removal of all comments from source code, or the act of removing temporary files after a program has finished executing.