Personal tools

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/

Contents

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. Get the source code.
  3. The readme will get you running quickly. There's also a fair amount of reference documentation that goes deeper.

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
969775 Add a little margin at the bottom of search results brunoschneider17 --- -- NEW css easy
948613 Make structural queries respect the case-sensitive checkbox jonas.clasen --- -- NEW easy
974613 Remove trailing slashes from display of folder names khirod234 --- -- NEW easy
938222 Show hash or other VCS identifier of the indexed source --- -- NEW easy
965647 Columnize the items in the Switch Tree menu instead of using colons. --- -- NEW css easy
965649 Don't link full page width in search results. --- -- NEW css easy
965652 Indicate the availability of a context menu with a cursor change. --- -- NEW css easy
965666 You can open the Switch Tree and Filters menus at once --- -- NEW js easy
968020 Tweak the nav pane --- -- NEW js css easy
969968 regression - context menu does not close on use since the UI refresh --- -- NEW js easy
973113 Factor out the repetition of the "no results" message. --- -- NEW easy
987564 Test rendering results as HTML --- -- NEW easy
937787 Linked sections of source are always black adnan.khan021 --- -- ASSIGNED easy

Open; Resolved; Total (0% complete)


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: