Thanks, I never thought about checking there as I am quite a beginner with plugins. I found that it indeed query the issues from the portal but never reported or flagged it.
Log:
Java Main Files AST scan
1 source files to be analyzed
Initializing metadata of file file://C:/Users/toanle/Documents/Developer/WASH/mHealth/app/src/main/java/com/WASH/Activity/MainActivity.java
Classes not found during the analysis : [android.app.Activity, android.app.Fragment, android.content.BroadcastReceiver, android.content.Context, android.content.Intent, android.content.IntentSender, android.content.IntentSender$SendIntentException, android.content.res.ColorStateList, android.content.res.Configuration, android.content.res.Resources, android.graphics.Canvas, android.graphics.Paint, android.graphics.Rect, android.graphics.drawable.Drawable, android.net.Uri, android.os.Bundle, android.os.Handler, android.os.Parcelable, android.preference.PreferenceFragment, android.util.AttributeSet, android.util.TypedValue, android.view.KeyEvent, android.view.LayoutInflater, android.view.Menu, android.view.MenuInflater, android.view.MenuItem, android.view.MotionEvent, android.view.View, android.view.View$OnClickListener, android.view.ViewGroup, android.view.ViewGroup$LayoutParams, android.widget.ArrayAdapter, android.widget.EditText, android.widget.FrameLayout, android.widget.Spinner, org.json.JSONArray, org.json.JSONException, org.json.JSONObject]
1/1 source files have been analyzed
Java Main Files AST scan (done) | time=526ms
Java Test Files AST scan
0 source files to be analyzed
0/0 source files have been analyzed
Java Test Files AST scan (done) | time=2ms
'Scala Sensor' skipped because there is no related file in current project
'Python Squid Sensor' skipped because there is no related file in current project
Execute Sensor: JavaXmlSensor
'Kotlin Sensor' skipped because there is no related file in current project
'PHP sensor' skipped because there is no related file in current project
'Analyzer for "php.ini" files' skipped because there is no related file in current project
'SonarJS' skipped because there is no related file in current project
'Ruby Sensor' skipped because there is no related file in current project
Done in 731ms
Processed 1 issue in 1 ms
Found 1 issue (the decoy issue with "MyCompany" mehod similar to the sample
Fetching server issues in 1 file
GET 200 http://localhost:9000/batch/issues?key=test%3Asrc%2Fmain%2Fjava%2Fcom%2FWASH%2FActivity%2FMainActivity.java | time=406ms
The contains of issue file does have what I am looking for:
AWklULr5xbvouzVVqCqb test 1src/main/java/com/WASH/Activity/MainActivity.java"
mycompany-java* UseSecureRandomOrKeyGenerator0Y: Avoid using Brand in method name@ H Z OPENb 9083dc7854139f9755c12b184c616391p8EA* -z VULNERABILITY
AWklaaUrrsZhqQGBI4OK test 1src/main/java/com/WASH/Activity/MainActivity.java"
mycompany-java*¬AvoidGlobalReadableWritableFile0d:FgetSharedPreferences using MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE@ H Z OPENb 5a87ec7f82d997f8c3ef81ebba6cd09fp`Y%+ -z VULNERABILITY
Do you have any insights about SonarLint not flagging the 2nd issue queried from SonarQube server?
SonarQube
SonarLint (not showing the issue)