Skip to content
#

static-code-analysis

Here are 372 public repositories matching this topic...

joe-p
joe-p commented Nov 1, 2020

Expected Behavior

When Rubocop encounters '"' + "foo" + '"' it should be autocorrected to '"foo"'

Actual Behavior

When Rubocop 1.1.0 encounters '"' + "foo" + '"' it currently autocorrects to ""foo"" thus leading to a syntax error:

test.rb:3:3: C: [Corrected] Style/StringConcatenation: Prefer string interpolation to string concatenation.
p '"' + "foo" + '"'
  ^^^^^^^
larastan
semgrep
ievans
ievans commented Nov 6, 2020
semgrep error: invalid language
  --> None:1
1 | Semgrep bug generating manual config An error occurred while invoking the semgrep engine; please help us fix this by creating an issue at https://github.com/returntocorp/semgrep
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ysknmt
ysknmt commented Nov 5, 2020

fainal should be final.

https://spotbugs.readthedocs.io/ja/latest/bugDescriptions.html?highlight=fainal#ci-final-protected-ci-confused-inheritance

このクラスは, final と宣言されていますが,フィールドは protected と宣言されています。 クラスは fainal なので派生できません。protected の使用は紛らわしいです。 フィールドのためのアクセス修飾子は,フィールドの真の用途を表すため, private か public に変更すべきです。

I can't fix this, because I don't have permissions for adding fix on Read the D

mccordscvs
mccordscvs commented Aug 11, 2020

Rubberduck version information

Version 2.5.0.5524
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5026.1000
Host Executable: EXCEL.EXE

Description
When pressing the tab key after preforming a search in Add/Remove references a "Null Reference" error occurs. Pressing tab in other locations will also cause this error. Also, when

Improve this page

Add a description, image, and links to the static-code-analysis topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the static-code-analysis topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.