[ANN] Kwala v0.1 Release

This is the first public release of Kwala.

http://kwala.rubyforge.org

Kwala is a command line build tool to check the "quality" of Ruby
source code. It is composed of various actions that perform different
types of checks against the code such as code duplication, cyclomatic
complexity, code coverage, unit tests, lines of code, various
formatting checks and require cycles. The results are then presented
in an HTML summary page and detailed pages for reference.

Kwala has been in use for a large project for over a year, but this is
the first public release of it. If you have any problems installing
or running the application please let me know.

Any feedback or additional actions are appreciated.

Zev

Nice! Thanks for making this available.

···

On 12/13/06, Zev Blut <rubyzbibd@ubit.com> wrote:

This is the first public release of Kwala.

http://kwala.rubyforge.org

Kwala is a command line build tool to check the "quality" of Ruby
source code. It is composed of various actions that perform different
types of checks against the code such as code duplication, cyclomatic
complexity, code coverage, unit tests, lines of code, various
formatting checks and require cycles. The results are then presented
in an HTML summary page and detailed pages for reference.

Kwala has been in use for a large project for over a year, but this is
the first public release of it. If you have any problems installing
or running the application please let me know.

Any feedback or additional actions are appreciated.

This looks great! Will it work in windows? I'm on XP with 1.8.5. I
installed amrita and kwala with their respective setup.rb's.

At first I couldn't get it to find kwala:

C:\Documents\CCC\spt\source\canada-branch>kwala
'kwala' is not recognized as an internal or external command,
operable program or batch file.

same for ruby kwala, kwala.bat.. But I got it by specifying the entire
path. Now I get:

C:\Documents\CCC\spt\source\canada-branch>ruby
c:\Development\ruby\bin\kwala -p spt -d . -o builds -a syntax_check -a
fo
rmatting -a unit_test -a cyclomatic -a cycles
c:/development/ruby/lib/ruby/site_ruby/1.8/kwala/actions/unit_test.rb:101:in
``': No such file or directory - /usr/bin/e
nv ruby -v (Errno::ENOENT)
        from
c:/development/ruby/lib/ruby/site_ruby/1.8/kwala/actions/unit_test.rb:101:in
`ruby_version'
        from
c:/development/ruby/lib/ruby/site_ruby/1.8/kwala/actions/unit_test.rb:69:in
`summary_display'
        from c:/Development/ruby/bin/kwala:164
        from c:/Development/ruby/bin/kwala:163:in `each'
        from c:/Development/ruby/bin/kwala:163

/usr/bin/env looks like it's expecting a *nix environment so I tried it
in cygwin, unfortunately couldn't get it to find kwala at all:

Andrew Roth@andrewlaptop
/cygdrive/c/Documents/CCC/spt/source/canada-branch
$ ruby /cygdrive/c/Development/ruby/bin/kwala
c:\development\ruby\bin\ruby.exe: No such file or directory --
/cygdrive/c/Devel
opment/ruby/bin/kwala (LoadError)

-Andrew

Zev Blut wrote:

···

This is the first public release of Kwala.

http://kwala.rubyforge.org

Kwala is a command line build tool to check the "quality" of Ruby
source code. It is composed of various actions that perform different
types of checks against the code such as code duplication, cyclomatic
complexity, code coverage, unit tests, lines of code, various
formatting checks and require cycles. The results are then presented
in an HTML summary page and detailed pages for reference.

Kwala has been in use for a large project for over a year, but this is
the first public release of it. If you have any problems installing
or running the application please let me know.

Any feedback or additional actions are appreciated.

Zev

This looks great! Will it work in windows? I'm on XP with 1.8.5. I
installed amrita and kwala with their respective setup.rb's.

[Snip useful information about environment]

/usr/bin/env looks like it's expecting a *nix environment so I tried it
in cygwin, unfortunately couldn't get it to find kwala at all:

Yes I am sorry I have not yet tried to get it to work on Windows. At
the moment there are a few assumptions for /usr/bin/env with various
applications that I call from Kwala. Unfortunately, I do not have a
Windows machine to test with. If anyone has some suggestions on how
to better use setup.rb for a Windows environment I am all ears.

Thanks,
Zev

···

On Thu, 14 Dec 2006 06:00:07 +0900, Andrew Roth <andrewroth@gmail.com> wrote: