[opensource-dev] from debug to prefences
Jonathan Welch
jhwelch at gmail.com
Tue Jan 25 06:06:24 PST 2011
I just did a little research on what is referenced in settings.xml
(aka debug settings).
I scanned the source code for "gsavedsettings." and then pulled out
the name of what was being accessed.
There are some faults in this approach:
1) some source code lines are split, so with my simple approach I
could not see those settings
2) some settings are accessed via a variable, not a hardcoded name, so
those are also skipped in my analysis
There are 1,106 settings. I could easily find 800 of them being
accessed. Thus approximately 25% of these settings appear to be
obsolete.
There are not too many places with split lines or where the setting is
accessed via a variable, so a thorough review could be done if someone
had the interest.
More information about the opensource-dev
mailing list