Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bblfsh_sonar_checks
exported_uast/java
tests
.gitignore
.travis.yml
DCO
LICENSE
MAINTAINERS
MANIFEST.in
README.md
requirements.txt
setup.py

README.md

SonarSource Java checks using bblfsh

This repo contains the implementation of some SonarSource Java checks using the bblfsh project.

This repository is intended both a test and a demo of bblfsh capabilities.

How to run

docker run -d --name bblfshd --privileged -p 9432:9432 bblfsh/bblfshd
pip install bblfsh_sonar_checks
sonarbblfsh --language=java --enable=RSPEC-1143,RSPEC-2975 somefile.java

Or using a shorter format for the checks code:

sonarbblfsh --language=java --enable=1143,2975 somefile.java

You can list the available checks along with the description URL with:

sonarbblfsh --language=java --list
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.