GithubHelp home page GithubHelp logo

licensetools's Introduction

IMPORTANT: this project will no longer be maintained.

Please check out the new version here: https://github.com/wyhfrank/LIFinder.

Descriptions

This repository contains scripts to analyze a target data set (typically a bunch of projects) and report the license inconsistencies within this data set.

This tool is an implementation of the method in our paper:

Yuhao Wu, Yuki Manabe, Tetsuya Kanda, Daniel M. German and Katsuro Inoue. A Method to Detect License Inconsistencies in Large-Scale Open Source Projects. In 12th Working Conference on Mining Software Repositories (MSR 2015).

This paper can be downloaded here: http://sel.ist.osaka-u.ac.jp/lab-db/betuzuri/archive/992/992.pdf

How to use it

Run the LicenseAnalyse.pl script, it will complete the analysis.

This scipt will use the configuration in config.txt file. This file contais three lines, example as follows:

/path/to/your/analysis/target/
cpp,c,java,
20

The first line is the path to the projects. The second line is the type of source code file to analyse, seperated by ','. The third line is the threshold of lines of token files we consider as valid. Since some source files are too small to be considered as copies of each other, we use this value to filter out these false postives. "20" is an experience value.

Output

The grouped source files are under AnalysisData/Source/. And the analysis results are under the folder AnalysisData/Statistics/.

licensetools's People

Contributors

wyhfrank avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.