Forums : Feedback Forum

Bug: Mostly written in ...

Ohloh seems to be incorrectly detecting the language of several files in the w3af project [0], thus giving the impression that it is mostly written in Ruby when in fact it does NOT have any Ruby files.

[0] https://www.ohloh.net/p/w3af

C0999631eb2c54a20ee559c44f8c7080?&s=32&rating=pg&d=https%3a%2f%2fwww

andres_riancho

about 3 years ago
 

Andres,

I will take a look at the situation and report back here.

Thanks!

C06ad304d5a864f33eed63121a0407be?&s=32&rating=pg&d=https%3a%2f%2fwww

ssnow-blackduck

about 3 years ago
 

Andres,

There is quite a bit of Ruby in the "extras" enlistment (1269 files) which is probably pushing the analysis that way. You could exclude those directories from analysis if that would help. Let me know if you need the specific paths since I have the pair of enlistments now and can generate a list.

Thanks!

C06ad304d5a864f33eed63121a0407be?&s=32&rating=pg&d=https%3a%2f%2fwww

ssnow-blackduck

about 3 years ago
 

Andres,

Looking at trunk only, the majority of the code is Python with only a bit of ASP Page, Perl and PHP. Any other source code is apparently coming from the "extras" enlistment and probably mostly in the testEnv path where you have a number of packages you find to be useful examples for testing against and some tools used in testing and audit. Also, extras includes the webui, agent and windows installer.

Thanks!

C06ad304d5a864f33eed63121a0407be?&s=32&rating=pg&d=https%3a%2f%2fwww

ssnow-blackduck

about 3 years ago
 

Thanks for the very quick answer! I just removed the "extras" directory completely. Waiting for ohloh's backend analysis magic to run and see what I get as a result now.

C0999631eb2c54a20ee559c44f8c7080?&s=32&rating=pg&d=https%3a%2f%2fwww

andres_riancho

about 3 years ago
 

Andres,

That's definitely a start. There's a limited amount of code in the extras that may be legitimate part of the project... I'll leave that up to you. Look at w3afAgent (3 python files) and w3af_webui (17 python files) first. I'm not clear if this is all part of a demo only or whether these are things that would be ordinarily installed.

Let's see what the new analysis shows first...

Thanks!

C06ad304d5a864f33eed63121a0407be?&s=32&rating=pg&d=https%3a%2f%2fwww

ssnow-blackduck

about 3 years ago
 

Post a Response