TracStats 0.5

A Trac plugin for project statistics
TracStats is a Trac plugin that adds a "Stats" tab to the Trac project. Underneath this tab can be found statistics about subversion, wiki, and ticket system.

The TracStats plugin supports Trac installations with SQLite, MySQL, and PostgreSQL database backends.

The TracStats plugin has been tested with Subversion, Mercurial, and Git version control systems.


The TracStats plugin can be installed using standard:

python install


It is configured in the trac.ini file by enabling and configuring:

tracstats.* = enabled

The STATS_VIEW permission is used to control access to the statistics pages.

In addition, an optional "project root" within your repository can be configured as the base for all projects and source code statistics:

root = path/to/projects


If you use Git (i.e. the GitPlugin for Trac) and are not able to see any of the code statistics, you likely need to configure it to cache the repository to make it work:

cached_repository = true
persistent_cache = true

You might need to run trac-admin repository resync after the change.

Main features:

  • Recent activity (last 30 days) showing top 10 developers, projects, and paths within the repository.
  • Detailed statistics of source code development:
  • Total files by time
  • Commits by time, author, month, day of week, hour of day
  • Recent commits
  • Activity by time, author, project, filetype, change type
  • Most active paths, files
  • Commit cloud (built from checkin comments)
  • Detailed statistics of Trac wiki pages:
  • Total pages by time
  • Edits by author
  • Latest wiki pages changed
  • Most active wiki pages
  • Largest wiki pages
  • Detailed statistics of Trac tickets:
  • Open tickets by time
  • Tickets by author, component
  • Most active tickets
  • Oldest open tickets
  • Latest tickets reported, changed
  • Drill down by author or path within the repository for more information.

last updated on:
December 5th, 2011, 18:33 GMT
license type:
BSD License 
developed by:
John Benediktsson
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!