[ANN] dcov (the documentation analyzer for Ruby code) v.0.1.0 released!

  • Thread starter Jeremy McAnally
  • Start date
J

Jeremy McAnally

I pushed version 0.1 of my Google Summer of Code project -- dcov -- to
RubyForge yesterday, and I hope you guys can take advantage of it (and
let me know if it breaks! :)).

dcov is a tool to help you analyze the documentation of your Ruby
code. At the present, it only checks for the presence of
documentation and generates a report based on that, but in the future
it will check for "quality" (e.g., did you document all the
parameters? Is there an options list, and if so, is it documented?
and so on). See my post about documentation quality on
http://blog.mrneighborly.com/ if you'd like to voice your opinion on
what should be used to measure quality. (Disclaimer: I realize
quality is very subjective, and you are able to write your own
analyzers very easily if you'd like to do your own subjective
analysis)

Now, on to the release. This is version 0.1 (Young and Feeble
Edition). It will analyze your source code and produce an HTML report
(using Ruport currently) of what it found out. It it invoked by
simply running:

dcov my_file.rb my_other_file.rb that_file.rb

The coverage.html file will be created in the current working directory.

Please do use the RubyForge bug tracker (right now) to file bugs. I'm
working on a better solution, but for now that will function. If
there's enough interest, I'll spin up a mailing list or you can join
me in #dcov on Freenode.

You can get the release one of three ways:
(1) gem install dcov
(2) download it from RubyForge here: http://rubyforge.org/projects/dcov/
(3) grab it from svn: svn co svn://rubyforge.org/var/svn/dcov

Visit http://dcov.rubyforge.org/ to stay up to date on what's going on
with this project...

Enjoy,
Jeremy

--
http://www.jeremymcanally.com/
http://www.railsdocumentation.org/

My free Ruby e-book:
http://www.humblelittlerubybook.com/book/

My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/
 
G

gabriele renzi

I pushed version 0.1 of my Google Summer of Code project -- dcov -- to
RubyForge yesterday, and I hope you guys can take advantage of it (and
let me know if it breaks! :)).

congrats for the release and for the good work :)
Can I suggest to put a link to a sample report (i.e. dcov's own coverage,
even if it is currently low) on the homepage?
(Disclaimer: I realize quality is very subjective, and you are able to
write your own analyzers very easily if you'd like to do your own
subjective analysis)

I think in the perl camp they use to talk about kwalitee.
Sounds like it, but it's not really quality ;)

A small feature request. Possibly you already thought of that but it would
be nice if the report also included informations on documentation
for accessors and for constants.
Not extremely useful, but since the data should be
available through rdoc, worth adding in the future, maybe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,586
Members
45,087
Latest member
JeremyMedl

Latest Threads

Top