github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

chrisjpowers / rdoc_metric

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

RdocMetric analyzes the Rdoc coverage of your Ruby files. — Read more

  cancel

http://containerdiv.com/2009/09/10/tracking-your-rdoc-coverage-with-rdocmetric/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Added instructions for analyzing multiple directories 
Chris Powers (author)
Fri Sep 11 06:54:33 -0700 2009
commit  f60931ebe10afca6d3fb6cfc52186e5fe005f3be
tree    a0fdaed596e85ebe626cf8a314b5946ef594aa6c
parent  89778f71d638600fd3972bbebea2185d0d36269e
rdoc_metric /
name age
history
message
file LICENSE Loading commit data...
file README.rdoc
directory bin/
directory lib/
file rdoc_metric.gemspec
README.rdoc

RdocMetric

A gem for analyzing how much of your Ruby code is documented with Rdoc.

Developed by Chris Powers (github.com/chrisjpowers)

Version 0.1 — September 10, 2009

The RdocMetric class parses through ruby files and determines how well documented they are. It looks for an rdoc comment for each class, module, method, attribute and constant declaration to determine if documentation exists.

The gem installs the rdoc_metric command line program. You can use it without any arguments to parse all the ruby files in the current directory and all subdirectories, or you can pass it specific paths:

  $ rdoc_metric

or

  $ rdoc_metric my_app/app/models # only parses .rb files in models dir

or multiple dirs

  $ cd my_app && rdoc_metric app lib # parse .rb files in app and in lib

So far this is a very rudimentary implementation, so please feel free to fork and improve!

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server