1,895 questions
1 vote
1 answer
172 views
Interface vs concrete type declaration: benchmarking oddity
I am applying code analysis rules to a C# project and am trying to evaluate the merits of CA1859: Use concrete types when possible for improved performance. Performance is only one consideration here, ...
-1 votes
1 answer
96 views
How do I access declarations (such as variables) inside a function using pygccxml
Given the below code, how would I access the myVar declaration, using pygccxml? #include <windows.h> void someFunction() { LPBYTE myVar; }
0 votes
1 answer
61 views
Very strange message when analyzing the source code
Very strange message when analyzing the source code. int? x; if (x == null) { // } The operand can't be null, so the condition is always 'true'. Remove the condition.dartunnecessary_null_comparison ...
1 vote
2 answers
88 views
How to configure Visual Studio not to analyse code in a specific file
Is it possible to tell Visual Studio to not analyze a specific file? In this case, GlobalSuppressions.cs. I can't find any setting for it in options. I'm also trying to avoid messing up my code with ...
0 votes
0 answers
56 views
Is it possible to create custom code analyzers for TypeScript?
I want to know if it is possible to create custom code analyzer for TypeScript like you can for C# and VB# with Roslyn? Are there some frameworks/projects I can leverage to do access AST and semantic ...
1 vote
1 answer
177 views
The caller of the function takes ownership of the data, and is responsible for freeing it
The note quoted in the title can often be found in the documentation of GTk4. My question is this: Is there a technical way to check a program to determine whether all relevant data has been duly ...
1 vote
1 answer
714 views
How to Convert Json value into Sarif format
how to convert this values into sarif Vulnerablilites: { "id": "66c5b89700fbf372c2f1f182", "method": "post", "path": "/user", "type&...
2 votes
1 answer
95 views
Neo4J database shuts down while using jqassistant 2.4.0 [target store format 'AF4.3.0']
I'm experiencing an unexpected shut down with jqassistant 2.4.0. Neo4J is provoking a fatal exception. Interestingly with jqassistant 2.0.10 I'm not experiencing this problem. I have an application ...