# \[ANN\] Kwala v0.1 Release

**URL:** <https://rubytalk.org/t/ann-kwala-v0-1-release/33709>\
**Category:** ruby-talk\
**Created:** [13 December 2006 14:15 UTC](https://rubytalk.org/t/ann-kwala-v0-1-release/33709 "2006-12-13T14:15:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zev\_Blut](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@Zev\_Blut](https://rubytalk.org/u/Zev_Blut)\
**Post date:** [13 December 2006 14:15 UTC](https://rubytalk.org/t/ann-kwala-v0-1-release/33709/1 "2006-12-13T14:15:46Z")

</div>

This is the first public release of Kwala.

[http://kwala.rubyforge.org](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

---

<div class="post-metadata">

**Author:** ![Wilson\_Bilkovich](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/wilson_bilkovich/32/8247_2.png) [@Wilson\_Bilkovich](https://rubytalk.org/u/Wilson_Bilkovich)\
**Post date:** [13 December 2006 16:02 UTC](https://rubytalk.org/t/ann-kwala-v0-1-release/33709/2 "2006-12-13T16:02:09Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Andrew\_Roth](https://avatars.discourse-cdn.com/v4/letter/a/6a8cbe/32.png) [@Andrew\_Roth](https://rubytalk.org/u/Andrew_Roth)\
**Post date:** [13 December 2006 21:00 UTC](https://rubytalk.org/t/ann-kwala-v0-1-release/33709/3 "2006-12-13T21:00:07Z")

</div>

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)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
c:/development/ruby/lib/ruby/site\_ruby/1.8/kwala/actions/unit\_test.rb:101:in  
`ruby\_version'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from  
c:/development/ruby/lib/ruby/site\_ruby/1.8/kwala/actions/unit\_test.rb:69:in  
`summary\_display'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from c:/Development/ruby/bin/kwala:164  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from c:/Development/ruby/bin/kwala:163:in `each'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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](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

---

<div class="post-metadata">

**Author:** ![Zev\_Blut](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@Zev\_Blut](https://rubytalk.org/u/Zev_Blut)\
**Post date:** [14 December 2006 03:18 UTC](https://rubytalk.org/t/ann-kwala-v0-1-release/33709/4 "2006-12-14T03:18:28Z")

</div>

> 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:
