Top "Code-cleanup" questions

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.

Optimization- Is there any way to find and remove unused CSS and Javascript common to all html pages?

My website has many webpages and I am trying to clean up my stylesheets and scripts. About 10% or more of …

javascript html css optimization code-cleanup
What are VSSVER.SCC files, and can I delete them?

I've inherited a ASP.Net 2.0 (File System) Web Project from a client, where a few different companies have worked on …

svn code-cleanup
Automatic Clean-Up of Code in Visual Studio 2010

I am wondering, if it is possible, to have some kind of automatic code-clean-up in Visual Studio 2010. Especially interesting would …

visual-studio-2010 settings code-cleanup
How to prevent null check before equals

I find stuff like this rather annoying and ugly in equals methods: if (field == null) { if (other.field != null) return …

java equals code-cleanup
Finding dead code in large python project

I've seen How can you find unused functions in Python code? but that's really old, and doesn't really answer my …

python pylint code-cleanup
How do I initialize classes with lots of fields in an elegant way?

In my application, I have to instantiate many different types of objects. Each type contains some fields and needs to …

java coding-style builder code-cleanup object-construction
Is there any tool / way to detect/remove all unused variables,macros,headers(includes) and functions from c++ code?

I had to customize some projects which have been written for some other purpose but some core functionality is same …

c++ code-cleanup devtools
git - trim whitespace

I've accidentally put some whitespace in my initial commit - it shows up red in git diff --color. What's the …

git whitespace code-cleanup removing-whitespace
How to find out if certain javascript code is actually used?

I am doing some JavaScript cleanup work on a legacy project, and trying to get rid of redundant JS libraries. …

javascript jquery legacy-code code-cleanup