Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 4.22 KB

README.md

File metadata and controls

49 lines (38 loc) · 4.22 KB

Lupa 🔍: set of runners for the analyzers

This module contains all runners for analyzers from the repository. We separated the runners from analyzers since we use the IntelliJ Platform, and the module with runners extensions points should be separated.

The plugin to run various project analysis from the CLI:

  1. Kotlin's analysers:
  2. Python's analysers:

Usage

To run analysis execute task 'cli' with analysis runner name and args:

  1. Kotlin's analysers:
gradle :lupa-runner:cli -Prunner="analysis-key" -Pinput="path/to/dir/with/projects" -Poutput="path/to/dir/with/results"

where analysis-key is a key from the list of the analysers.

  1. Python's analysers:
    • python-call-expressions-analysis:

      gradle :lupa-runner:python-cli -Prunner="python-call-expressions-analysis" -Pinput="path/to/dir/with/projects" -Poutput="path/to/dir/with/results" -Pvenv="path/to/venv"
      

      Note: if you don't want to run the analysis with a virtual environment, just pass an empty string as path. For example: -Pvenv="".

      Note: if an empty string is passed to the --Pvenv argument and the project root contains the .venv folder, the virtual environment will be set up from it.

    • python-imports-analysis:

      gradle :lupa-runner:cli -Prunner="python-imports-analysis" -Pinput="path/to/dir/with/projects" -Poutput="path/to/dir/with/results"