Absurd Data in Summary

Avatar

mrasnika

about 1 year ago

I must say that the information presented in the summary for the Asido project is absurd (http://www.ohloh.net/projects/5051?p=Asido%3A+PHP+Image+Processing+Solution)

It states:

*  Mostly written in JavaScript
* Small development team
* Few source code comments
* Short source control history

How can it be mostly written in JavaScript since there is not a single JavaScript line in it ? It is purely in PHP (since the last commit - in PHP5). And how about "Few source code comments" ? This is absurd - every single class property or method has been documented! Take a look - go here http://asido.svn.sourceforge.net/viewvc/asido/tags/0.0.0.1/ or here http://asido.svn.sourceforge.net/viewvc/asido/trunk/ or whereever you want in the svn tree and pick any file you want - you will see that they are fully documented!


Avatar

indeyets

about 1 year ago

there is a weird situation: your "doc" folders has more lines than actual source-code


Avatar

Jason Allen

about 1 year ago

Greetings,

I'm curious to get to the bottom of this. Unfortunately we're on a holiday schedule this week at Ohloh - so it might take a little while to get to this. Regarding the javascript, our line counting algorithm will detect javascript inside of html files. This might have something to do with it. I'll try to take a look at it soon.


Avatar

hangy

about 1 year ago

While your PHP source files and examples look really well commented, Ohloh also takes the "doc" folder into consideration for the statistics. It seems like phpDocumentor added a lot of JavaScript into the documentation and as it seems like the complete docs (html and js) are added to the stats, the overall comment ratio (phpDocumentor adds near to no comments) is quite low.


Avatar

Robin Luckey

about 1 year ago

Hi mrasnika,

I've done some investigating, and I've confirmed what others here are saying. Because of the doc directory, this project is mostly Javascript, and there are very few Javascript comments. If you exclude the doc directory, it's purely PHP.

Here's what we're showing:

Language        Files       Code    Comment  Comment %      Blank      Total
--------------  -----  ---------  ---------  ---------  ---------  ---------
html               80      16550        370       2.2%       2091      19011
javascript         52       3848        492      11.3%        394       4734
php                33       2641       3150      54.4%       1084       6875
css                 2        161         11       6.4%         41        213
--------------  -----  ---------  ---------  ---------  ---------  ---------
Total             116      23200       4023      14.8%       3610      30833

Our system ignores HTML and XML when it comes to determining the "main language", which is why we don't call it an HTML project, even though the project source is mostly HTML.

Let me know if you have more questions,

Robin