From: Zev Blut Date: 2006-12-13T22:09:57+09:00 Subject: [ANN] Saikuro v0.2 Released Saikuro is a Ruby cyclomatic complexity analyzer. http://saikuro.rubyforge.org When given Ruby source code Saikuro will generate a report listing the cyclomatic complexity of each method found. In addition, Saikuro counts the number of lines per method and can generate a listing of the number of tokens on each line of code. Usage: Saikuro is a command line program. Running "saikuro -h" will output a usage statement describing all the various arguments you can pass it. "saikuro -c -p tests/samples.rb" The above command is a simple example that generates a cyclomatic complexity report on the samples.rb file, using the default filter, warning and error settings. The report is saved in the current directory. Changes: =v0.2 * Adding setup.rb installer * Fixing an infinite loop that the lexer goes into if a file is missing a newline at the end. Note: Ruby 1.8.5 has a bug in ri_options that will prevent Saikuro from running. If you are using 1.8.5 please apply this patch : http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/rdoc/ri/ri_options.rb.diff?r1=1.2.2.13;r2=1.2.2.14 Any feedback is appreciated. Thanks, Zev