开发者

open source license scanner (heuristic, regular expression matches in subdirs) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_JS百科

Closed 7 years ago.

Improve this question

Assume you have a small collection of WebCMS assembled, subdirs in ~/www/test/ or so. And now you want to quickly/crude scan and detect the license in each project.

Is there a simple grep/perl/regex scanner which can guess the used licenses? Doesn't need to be exact or reliable, just for getting a rough overview, and just needs to inspect directory-wise.


ohcount, the tool http://ohloh.net/ uses to extract various metrics like number of lines per programming language from source code, also happens to have quite a lot of seemingly good heuristics to detect licenses. I haven't used it myself, but it seems to be exactly what you're looking for.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜