On Mon, 2010-11-29 at 20:04 +0000, Caolán McNamara wrote:
There's another, (in my opinion more interesting), class of dead-code
and that's the stuff that's compiled in but isn't called by anything.
Ah yes.
I've yet to get in gear and get up-to-date runs for LibreOffice, but see
http://people.redhat.com/caolanm/callcatcher/DEV300_m87/ for my last OOo
callcatcher run. e.g. approx 170 apparently juicy unused methods in
calc.
We had an Easy Hack for that:
http://wiki.documentfoundation.org/Development/Easy_Hacks#call-catcher_.2F_bloat_removal
Though it clearly needed more detail: I've added a bit more, and a link
to your reports, as well as shifting it up the running order: perhaps
we'll get some interested people :-)
Though caveats apply and manual double checking is required to see why
nothing calls them. They might be called only under some ifdefs, or by
some tricky means like dlopen/dlsym (which is only likely to happen for
C symbols and not C++ symbols, noone in their right mind dlsyms
Sure :-)
ATB,
Michael.
--
michael.meeks@novell.com <><, Pseudo Engineer, itinerant idiot
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.