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]

Project code metrics failure

Hey there

A while ago we decided to basically rebuild our codebase, as a result, Ohloh shows -15000 LOC. Seems like it is comparing it against the old amount. Also, the graphs on the Code page are displaying incorrect metrics.

Project in question is: http://www.ohloh.net/projects/3718

Thanks,
Lars

Lars Wesselius about 18 years ago
 

Hmm, not sure what happened here, but to solve the problem I've scheduled a complete re-download of the project. I'll check back on it later today.

Thanks

Robin

Robin Luckey about 18 years ago
 

Thanks, although the metrics are wrong. we are basically rewriting our codebase, no way we have 137,777 LOC.

Thanks for the effort!

Lars Wesselius about 18 years ago
 

Hi Lars,

I'm a bit puzzled by this one.

I'm showing 86,000 lines of XML in a single file, which explains the high line count.

However, I did a checkout of the repository locally, and I can't find the file.

When I review the Subversion log, I can see where the file was added in revision 780, but I can't find anywhere in the log where this file or directory was deleted. Does this ring any bells for you?

It's possible that there is a bug in our log parser, but even with a manual inspection I can't find the point where this file disappears.

Robin

Robin Luckey about 18 years ago
 

86,000 lines in a XML file? No way, we don't have, and as far as I know never had such a large XML file. I don't know what is causing this problem, but I'm checking svn head myself now. If you can't find that it's deleted, it must be still there.

That commit you linked was before the complete refactoring.

/openfrag/common/brokenalliancemedia/plugins/BrokenAlliance/orcarcher-Armature.skeleton.xml is the file, and that file was removed after the refactoring earlier. This file, or actually the whole folder (brokenalliance_media) was deleted from the repository not too long ago. This is odd

Thanks for the effort, will try to look up the problem.

Lars Wesselius about 18 years ago