[aida] Code stats - Aida vs. Seaside vs. Iliad

Janko Mivšek janko.mivsek at eranova.si
Mon Nov 15 11:58:57 CET 2010


And yes, Aida needs much more tests. Note that Aida was born years
before test driven development came to light, which is probably one of
reasons of so few tests. Only really hard parts of Aida (like versioned
objects) are covered by tests, while most of other not.

Anyone willing to help Aida a bit with writing some tests?

Best regards
Janko

On 15. 11. 2010 11:53, Nicolas Petton wrote:
> Yes, Iliad needs more comments. 
> 
> Now, we try to always comment classes and methods of the API. See
> ILWidget, ILApplication, etc.
> 
> Internal stuff are less commented, and I agree there should be more
> comments here too, but I think it's less important.
> 
> Nicolas
> 
> 
> Le lundi 15 novembre 2010 à 11:40 +0100, Friedrich Dominicus a écrit :
>> Janko Mivšek <janko.mivsek na eranova.si> writes:
>>
>>> Dear all,
>>>
>>> Code statistics extended with several graphs is now available at Google
>>> Docs:
>>> https://spreadsheets.google.com/ccc?key=0Atnb1W9vuq9ndG4wbUpxNXpKQnFZRlFyQXpHclhZa2c&hl=en#gid=1
>>>
>>> I added graphs of three distributions:
>>>
>>>  - number of methods in classes
>>>  - class inheritance depth
>>>  - number of lines in methods
>>>
>>> Tests and comments section was also added.
>>>
>>>                           Aida  Seaside  Iliad
>>>   Nr of test methods       67     914     412
>>>   Avg tests/class         0,5      1      1,6
>>>
>>>   % of commented methods  45%     23%       5%
>>>   % of commented classes  32%     39%      13%
>>>
>>>
>>> Quite interesting results and again a lot of food for discussion!
>> Indeed AIDA and Seaside need more tests and Iliad more comments ;-)
>>
>> Now the question is is Iliad so readable that it does not need comments
>> ;-)
>>
>> I think discussing somethong upon such numbers is not a worthwhile
>> undertaking. Too many open questions which may it feasible to "judge"
>> something..
>>
>> Regardss
>> Friedrich
>>
>>
>>
> 
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list