Join GitHub today
License Inconsistency Finder: a tool to detect license inconsistencies among file clones.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
LIFinder License Inconsistency Finder 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 is available at: PDF: http://sel.ist.osaka-u.ac.jp/lab-db/betuzuri/archive/992/992.pdf PPTX: http://sel.ist.osaka-u.ac.jp/lab-db/betuzuri/archive/992/992.pptx PRE-REQUESTS CCFinderX (https://github.com/dmgerman/ccfx) Ninka (https://github.com/dmgerman/ninka) Please make sure you can run these two tools in the console by: $ ccfx CCFinderX ver. 10.2.7.4 for Windows XP x86 (C) 2009-2010 AIST and $ ninka Ninka v1.3 Usage: ninka [options] <filename> ... Alternatively, you can set two environment variables in your profile: CCFX=/usr/local/ccfx/ubuntu32/ccfx NINKA=/usr/local/ninka/bin/ninka INSTALLATION To install this module, run the following commands: $ perl Build.PL $ ./Build $ ./Build test $ ./Build install HOW TO USE To read the usage, simple run the command without arguments: $ lifinder To report license inconsistencies of c, cpp and java files under <dir1> and <dir2>: $ lifinder <dir1> <dir2> OUTPUT Results are generated in the *output* directory under the directory specified by -o switch (default is the current directory). TODO * Add a detailed report in addition to the current group level report. * Add perl tests for each module. * Support more programming language. * Add more usage information in this README file. * Complete the documentation for source code. LICENSE AND COPYRIGHT Copyright (C) 2016 Yuhao Wu This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991 or at your option any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA