Questions tagged [code-inspection]
261 questions
0
votes
1 answer
Highlighting level low with high level inspections
It there possible to have :
a low level highlightning inspections for working with editor
BUT
launch inspections manually with high level(lot of rules inspections activate)
It seems that this 2 functionnality are linked. So low hightlighting…

miltone
- 4,416
- 11
- 42
- 76
0
votes
0 answers
PhpStorm default code inspection setting
PhpStorm is really good at inspecting code errors and warnings but sometimes we does not like warnings popped up we only interested in code errors. I tried to find global settings for code inspection in IDE but could not find any related option. I…

Jasper felix
- 11
- 3
0
votes
2 answers
Inspection of 'Regexp.union'
Regexp.union returns the following inspection:
Regexp.union(/dogs/, /cats/i) #=> /(?-mix:dogs)|(?i-mx:cats)/
What does ?-mix: mean?

Daniel Viglione
- 8,014
- 9
- 67
- 101
0
votes
1 answer
How to revert a module dependency exclusion in Intellij (after code inspection false positive)
I ran the intelliJ code inspection and it gave me a "Unnecessary module dependency". I "fixed it" but indeed it was a false positive.
So I clicked to "fix it" and it removed the dependency of my test-folder from the source-folder, however now all my…

Stefano.Maffullo
- 801
- 8
- 21
0
votes
1 answer
Validate input and prevent code injection
I have a general software security question.
I have an application. This application can receive a file as an input and write it to the disk.
This file is a text file and i want to make sure the user is not trying to write a script that will be…

yanger
- 227
- 1
- 3
- 14
0
votes
0 answers
ReSharper Code Inspection not working
When I open a Code Behind file with F7 in Visual Studio (it's a Form), ReSharper's Code Inspection is not working. To get any information about errors I have to reenable the VS C# coding errors.
Are Code Behind files excluded from analysis?
Thx
Tim

Tim
- 23
- 4
0
votes
1 answer
Couple of questions regarding Nant
I'm wondering about a couple of things about Nant:
Can I test an execution of an .exe by using a nant script and then have it terminate immediately afterwards. Should maybe clarify that this is a form application that needs to be verified that it…

Siemsen
- 199
- 1
- 3
- 13
0
votes
1 answer
Different inspection behavior between two IDEA projects
I'm having a strange issue with inspections in a project that I created only a few days ago in IDEA 2016.3.3, which I upgraded to 2016.3.5 when I encountered this issue. The problem persists in the older project even after invalidating caches and…

Kevin Krumwiede
- 9,868
- 4
- 34
- 82
0
votes
0 answers
How do I fix this type mismatch lint error on Android Studio?
The annotation doesn't say clearly what to do to solve the problem:
Name
protected method void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
Problem
synopsis Value must be ≥ 0 and ≤ 1073741823
This is the code that lint complaining…

rraallvv
- 2,875
- 6
- 30
- 67
0
votes
1 answer
Stylecop for InstallShield project
I need to make sure that InstallShield has only allowed settings. I would like to run this check on CI server.
In other words in Component table I would like to check Attributes fields has only allowed values(8 , 1 )