Forums : Suggestions for Ohloh 2.0

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

At present, my account says the most ...

At present, my account says the most contributions I have made are in Javascript. This cannot be true because the project I work on is a J2EE platform with very few Javascript files that I modify. I think your filters are checking if I had committed .jsp or .jspf files and counting them as Javascript -- instead of JavaServer Pages. So, you may want to update that. :)

Alex

alexander.chow about 17 years ago
 

Hi achow,

Ohloh does correctly recognize *.jsp as JavaServer Pages (although we don't recognize *.jspf).

I did a lot of digging and I think I've found the cause of this. It turns out that the cause is rather suspect, and perhaps we need to change some things in our analyses.

The cause seems to be that in November of 2006 you added all the code for the TinyMCE editor to your project. This single commit contained about 48K lines of new JavaScript code, which is just barely greater than the total amount of new Java you have added during your time on the project.

The commit where this happened is here.

Here's where this gets a bit confusing. When we look at your analysis on our web page, both in lines changed and in number of commits, you appear to work mostly in Java. Why did our analysis pick JavaScript?

Answer: because when determining your primary language, our analysis engine is looking only at lines added, and does not consider lines removed, and also does not consider number of commits.

The lines changed that you see on your report is the absolute sum of both lines added and lines removed. When you look only at lines added, JavaScript is higher.

Unfortunately, the individual lines added and lines removed metrics are not visible on your report page, only the total.

I kind of think this is all needlessly complicated, and I can't remember why we decided to use only lines added when picking your primary language. Certainly we should look at some kind of net lines, and certainly at the number of commits. By both of those measures, you are a Java developer.

I'll put it in our bug list.

Thanks for pointing this out,
Robin

Robin Luckey about 17 years ago