667
edits
Changes
Created page with ' ==Introduction== “We’re able to use most of its features--there are too many of them. It’s probably got a better type system than Java. But we’re still screwing around ...'
==Introduction==
“We’re able to use most of its features--there are too many of them. It’s probably got a better type system than Java. But we’re still screwing around with ‘70s debuggers and linkers, and it’s stupid. I don’t know why we put up with it.” --Mozilla CTO, Brendan Eich
“I'd rather eat glass.” --Mozilla Engineer, Graydon Hoare
“Adding more people to a late project only makes it later” --Fred Brooks
==Mozilla Tools==
* [https://wiki.mozilla.org/User:David.humphrey/Tools Mozilla Static Analysis Tools Overview]
** https://developer.mozilla.org/en/Dehydra
** https://developer.mozilla.org/en/Treehydra
** https://developer.mozilla.org/en/JSHydra
** https://developer.mozilla.org/en/Pork
** Taras Glek (Mozilla Corporation) Blog: http://blog.mozilla.com/tglek
==Examples==
* [http://scotland.proximity.on.ca/dxr/viewsource/ Web Based Dehydra, JSHydra]
* [http://scotland.proximity.on.ca/dxr/fsoss2009-xpcomgc.html 27,000 line patch written automatically]
* [http://people.mozilla.com/~tglek/shadow.html Sample Dehydra Script]
* [http://ehren.wordpress.com/2009/12/04/a-treehydra-gcc-plugin-combo-for-alwayszero-functions/ Ehren Metcalfe's GCC/Treehydra Mozilla optimization]
==LXR, MXR and the Need for Semantic Data==
* http://blog.mozilla.com/dmandelin/2008/03/03/mxr-your-dehydra/
* http://mxr.mozilla.org/firefox/source/accessible/src/html/nsHTMLImageAccessible.cpp#208
* http://mxr.mozilla.org/firefox/ident?i=SetParent
==DXR==
* http://scotland.proximity.on.ca/dxr/
* [http://scotland.proximity.on.ca/dxr/mozilla-central/accessible/src/html/nsHTMLImageAccessible.cpp.html#191/SetParent Same SetParent call, now in DXR]
* [http://scotland.proximity.on.ca/dxr/search.cgi?tree=mozilla-central&string=nsAccessible::SetParent Looking-up nsAccessible::SetParent]
* [http://scotland.proximity.on.ca/dxr/search.cgi?tree=mozilla-central&callers=nsAccessible%3A%3ASetParent Callers for nsAccessible::SetParent]
* [http://scotland.proximity.on.ca/dxr/search.cgi?tree=mozilla-central&derived=nsIAccessible%3A%3ASetParent Figuring out who implements the nsIAccessible::SetParent interface]
* [http://scotland.proximity.on.ca/dxr/mozilla-central/accessible/src/html/nsHTMLImageAccessible.cpp.html#179/nsIAccessible Examining the nsIAccessible type]
* [http://scotland.proximity.on.ca/dxr/mozilla-central/accessible/src/html/nsHTMLImageAccessible.cpp.html#137/NS_ENSURE_SUCCESS Examining value of NS_ENSURE_SUCCESS macro]