Setup
Install & Run
| git clone https://gitee.com/fdu-ssr/lian.git
|
- Install the requirements of python:
| cd lian
pip install -r requirements.txt
|
| ./scripts/lian.sh -l <language> <filepath>
|
Command-Line Parameter Configuration
LIAN's command-line options include
Parameter |
Synonym |
Description |
Example |
-d |
--debug |
Enable the DEBUG mode |
.\lian.sh -d |
-p |
--print_stmts |
Print statements |
.\lian.sh -p |
-l |
--lang |
programming lang |
.\lian.sh -l python |
-w |
--workspace |
the workspace directory (default:lian_workspace) |
.\lian.sh -w .\output |
-f |
--force |
Enable the FORCE mode for rewritting the workspace directory |
.\lian.sh -f |
Result Visualization
The following command will scan the default workspace and show results in a webpage. Please note that the visualization for large codebase will be slow.