Forums : Feedback Forum

Incorrect analysis

Ohloh has identified our project (Framewerk) as being primarily JavaScript when it's primarily PHP. It determined the primary license as LGPL where it's BSD and every source file has the BSD license and is commented as so... is there something about the project analysis and our project that I can change (on our end) to make it see things correctly?

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

It looks like it's because of some of the javascript libraries we include. Is there anyway to mark a directory in the repository ads something to not spider?

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

And it appears that it's ignoring the svn log for files and only looking at our last restructure to move files to /trunk, is that normal? our analysis shows the commit stats as:

418|gmr 88|fred 87|madcoder 43|digx 35|brentons 29|gavinr 2|root

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

Hello gavinmroy,

This is certainly a peculiar result. It looks like our system only picked up changes to your source code on Oct 25 and Oct 26, ignoring an entire year of prior activity. Why it did this is a mystery. I'll do some investigating and attempt a new analysis.

Thanks, Robin

063ffe4b4061aa874f09216cfd60d8f2?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Robin Luckey over 9 years ago
 

Hi gavinmroy,

I'm afraid that the problem stems from your recent restructuring from the /Framework subdirectory to the /trunk subdirectory. For performance reasons, we do not look at any files or history which occurs outside of the trunk directory. If you edit files in another directory, and then merge those changes into the trunk, our system sees only the final merge to trunk as if it were a single checkin.

Because you moved all of your source code into the /trunk directory less than a week ago, to Ohloh it looks like your entire project is just a week old. I realize that this is a very poor result for Framewerk, but this is a very complicated problem on which we have had to compromise for the time being.

Regarding the ability to mark directories to be ignored, we are seeing quite a few requests for this, and we are thinking about exactly how this feature should work. If you have some ideas, we'd love your input. And yes, it looks like the license detections were all picked up inside of FCKeditor.

Robin

063ffe4b4061aa874f09216cfd60d8f2?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Robin Luckey over 9 years ago
 

Thanks for checking into it. For the time being I've removed the raw source for the javascript and put it in a zip file, still contained in the svn repository. I assume ohloh will ignore binary files, is this correct?

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

I deleted the enllistment and recreated it hoping it would purge the existing analysis since I removed the javascript from the repository. Is there a way to purge stats and work off the current state of the repository?

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

Yes, we ignore binary files. However, deleting and re-adding the enlistment will have no effect. Even if you 'delete' the enlistment, our system still remembers it and keeps all of its code for a period of time. This reduces churn on our system.

We periodically re-analyze all projects, so eventually our report will be updated to reflect your changes. Lately we've been very busy with new project requests, so we are falling behind on updates to existing projects. We've added more servers, and are catching up quickly.

I will prioritize a refresh of this project, so it should be updated to reflect your change within a day or two.

Robin

063ffe4b4061aa874f09216cfd60d8f2?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Robin Luckey over 9 years ago
 

Thanks, last request would be for a way to request an enlistment for historical purposes, if I could point to a specific svn url at a specific revision for historical stats, what would be great :-) Thanks for the help and what not.

8fe16e83d61a365286ff73b1d207d54a?&s=42&rating=pg&d=http%3a%2f%2fopenhub.net%2fanon80
Gavin M. Roy over 9 years ago
 

Post a Response