DXR

From MozillaWiki
Jump to: navigation, search

DXR is Mozilla's code search and navigation tool, aimed at making sense of large projects like Firefox. It supports full-text and regex searches as well as structural queries like "Find all the callers of this function." Behind the scenes, it uses trigram indices, the re2 library, and structural data collected by a custom compiler plugin.

Try it here: http://dxr.mozilla.org/

Getting Started

  1. Stop by the #static channel on irc.mozilla.org and say hi. Some of the folks you might see include the main developers on the project. You can ping them if you have questions:
  2. Pop over to our Getting Started docs and follow the instructions.

Contributing

DXR is an exciting project with lots of room for growth; more help is always appreciated. Grab a ticket you find interesting:

Easy ones to start with

ID Summary Assigned to Target milestone Priority Status Resolution Whiteboard
770998 Ability to search all JavaScript files, regardless of extension --- -- NEW mxr-parity easy
937787 Linked sections of source are always black Nobody; OK to take it and work on it (administration) --- -- ASSIGNED css easy
938222 Show hash or other VCS identifier of the indexed source Robin Ricard [:rricard] (ricard.robin) --- -- NEW easy, mxr-parity
965647 Columnize the items in the Switch Tree menu instead of using colons. --- -- NEW css easy
965666 You can open the Switch Tree and Filters menus at once prasunanand.bitsp --- -- NEW js easy
968020 Tweak the nav pane --- -- NEW js css easy
969775 Add a little margin at the bottom of search results Rachel (rachel.e.hathaway) --- -- NEW css easy
969968 regression - context menu does not close on use since the UI refresh --- -- NEW js easy
974613 Remove trailing slashes from display of folder names --- -- NEW easy
985216 Can't get Back to the folder listing --- -- NEW easy js
987564 Test rendering results as HTML --- -- NEW easy
1041827 Search for multiple extensions at once --- -- NEW easy
1052119 accept slash ('/') in tree name --- -- NEW easy
1052572 Omniglot explodes with non-GitHub git repos --- -- NEW easy
1072546 Case-sensitive checkbox doesn't take effect on initial search --- -- NEW easy
1091079 favicon.ico isn't being set --- -- NEW easy
1109011 Case sensitivity checkbox is checked even if parameter case is not set --- -- NEW easy
1118889 Make "make clean" clean out node_modules --- -- NEW easy
1123877 yellow highlighting of symbols broken on es branch --- -- NEW easy
1153726 Esc key should close the Filters menu --- -- NEW easy js
1156465 Searching for <3-char strings returns all lines --- -- NEW easy
1164462 Document how to include pound signs in buglink's regex option --- -- NEW easy
1166549 Binary files found by searches are clickable --- -- NEW easy

23 Total; 23 Open (100%); 0 Resolved (0%); 0 Verified (0%);


All open bugs

Here they are.

Whatever you pick, be sure to stop by the IRC channel to make sure it's still relevant; there is always Bugzilla gardening to do.

Mailing List

The static analysis mailing list or newsgroup is where the wider Mozilla static analysis community hangs out. Big DXR announcements happen there.

Current Projects

Obsolete Stuff

Of historical interest at best: