Forums : Technical Issue Help

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]

Wrong detection of smalltalk?

Hi there

Apparently Xapian is written in C++, but Ohloh thinks it's written in Smalltalk. Which is correct? Has Ohloh's language guesser got this wrong?

https://www.ohloh.net/p/xapian

Cheers
JP

John Pye about 17 years ago
 

Hi John,

At one point, this project contained a lot of *.st files in the /xapian-data/stemming/* directories. The counter assumes that text files named this way are Smalltalk files.

The odd part that I am still trying to solve is that these files don't exist anymore -- they've all been renamed to *.txt, in which case the counter should ignore them. However, I think the counter remembers that these all used to be Smalltalk files, and is keeping the line counts around.

It's all too smart for its own good. I'm still investigating.

Thanks,
Robin

Robin Luckey about 17 years ago
 

This seems to have been fixed now. Thanks.

However, Ohloh now claims:

Decreasing year-over-year development activity

This doesn't match reality.

I believe this is a side-effect of the SmallTalk misdetection and that ohloh believes that the code side has decreased dramatically because as it sees things, around 700000 lines of smalltalk code has gone in the last year!

This graph shows the apparent code size reduction:

https://www.ohloh.net/p/xapian/analyses/latest

For now, I've added a note to the project description that this factoid is in error.

Olly Betts about 17 years ago
 

Hi Olly,

The Decreasing year-over-year development activity factoid is based on the number of commits.

Ohloh compares the number of commits made in the last 12 months to the number of commits make in the prior 12 months.

For Xapian, there were 2096 commits made between 2007-03-09 and 2008-03-09.

Ohloh found only 1018 commits between 2008-03-09 and 2009-03-09.

So I believe the factoid is correct, and that the total number of commits has declined by about 50%. Let me know if you think this is in error.

Thanks,
Robin

Robin Luckey about 17 years ago