Questions tagged [suppression]

Suppression is a form of technical filtering (e.g. of alert messages, signals, ...) where some output is withheld from being displayed after being generated in order to reduce the overall amount of information. Compared to filtering, the suppressed items are not thrown away, they get just not displayed. This could be due to user's configuration/customization in some system settings or profile, configured by a set of rules.

67 questions
5
votes
2 answers

Globally suppress Code Analysis warning CA1704 across a project or assembly?

I have several Code Analysis CA1704:IdentifiersShouldBeSpelledCorrectly warnings that I want to suppress. Basically, they refer to the company name which is deemed to be spelled incorrectly. The company name is part of several namespaces in my…
Klaus Byskov Pedersen
  • 117,245
  • 29
  • 183
  • 222
5
votes
1 answer

How can I suppress specific Checkstyle rules in Eclipse?

I'm trying to use suppression filter but an unexpected error occurs. Following is an error message. "cannot initialize module SuppressionFilter - Cannot set property 'file' in module SuppressionFilter to 'checkstyle-suppressions.xml': unable to find…
500004dolkong
  • 725
  • 3
  • 12
  • 19
5
votes
1 answer

suppression "dl-hack3-cond-1" in memory leak detection using valgrind

I am using valgrind to detect memory leaks. the output from valgrind is generated by command valgrind -v --leak-check=full ../spython test.py 2>/tmp/log in fact, my program is a highly simplified python interpreter (homework ToT) as you can infer…
Tim
  • 257
  • 3
  • 9
4
votes
2 answers

FxCop Suppression

I have a control on an Asp.Net page, on that page is a control with the name "PaReq" that violates the rule: CA1704:IdentifiersShouldBeSpelledCorrectly I've used suppression before I'm not sure how to suppress this error since it is defined in…
TWith2Sugars
  • 3,384
  • 2
  • 26
  • 43
3
votes
0 answers

Is it possible to add an entire domain to suppression list in SES?

I want to block users in my app from interacting with specific domains, so I added emails belonging to those domain to my AWS SES suppression lists, but my users keep create contacts of different individuals belonging to the same domains I want to…
Soufiane Touil
  • 803
  • 2
  • 8
  • 17
3
votes
0 answers

Analog of Java's @SuppressWarnings("SpellCheckingInspection") for Dart (Flutter)

Is there any way to mark files, class, variable, or something else with something like @SuppressWarnings("SpellCheckingInspection") in Java/Kotlin, but on Dart? I'm using Android Studio
3
votes
1 answer

Intellij checkstyle - setting path relative to the module

My company is switching from Eclipse to IntelliJ. In Eclipse we had a following configuration for suppression filters in checkstyle.xml
3
votes
3 answers

FXCop Suppress Warning CA1800 (Unnecessary Casts)

I have the following code: [SuppressMessage( "Microsoft.Performance", "CA1800:DoNotCastUnnecessarily" )] private static void SetTestConnectionString( Component table ) { if( table is Object1 ) { fn1( (Object1)table ); } //…
TK.
  • 46,577
  • 46
  • 119
  • 147
2
votes
1 answer

Suppress one csv file against another where values contain specific strings

I am trying to remove all the lines in file1.csv that contain the strings from file2.csv with python. I want it to search for all the values in column1 of file1.csv and remove entire rows where column1 contains in its value same string as in…
2
votes
1 answer

Suppressionfilter doesn't work in checkstyle config file

Can anybody say why suppression filter doesn't work? It still generates javadoc errors for Candidate_ file. checkstyle.xml `...
Shikarn-O
  • 3,337
  • 7
  • 26
  • 27
2
votes
1 answer

Crystal Syntax for suppression of section based on count

I need the Crystal Reports syntax for this query below. Basically, I want to suppress a detail section if all of the records are not applicable. Appreciate your help on this. if (select count(*) from appendix where is_applicable=0) = (select…
dizzyone
  • 43
  • 7
2
votes
4 answers

No overload for 'insert_method_here' matches delegate 'System.EventHandler'

I am trying to build a program that has a button, and everytime that button is clicked, it moves the button and adds to the score. However, I am trying to disable the Enter key, or suppress the command when pressed. Here is what I have so…
Cistoran
  • 1,587
  • 15
  • 36
  • 54
2
votes
0 answers

Code Analysis | Suppress namespace, folder or file

How can I suppress a namespace, folder(with multiple files) or file from Code Analysis? None of the existing stack overflow answers seem to have a direct answer to this question. Existing possibilities: - Inline suppression of method
Ranjith Venkatesh
  • 1,322
  • 3
  • 20
  • 57
2
votes
1 answer

Is there a way to reuse valgrind suppression files?

On my work I need to profile some software and got some suppression files that were recorded an unknown time ago. One of these files (logging.supp) is used to suppress logging errors. I guess the logging and some other parts are changed between…
Bodo
  • 172
  • 10
2
votes
2 answers

Lync availability for users who are not contacts

I am writing a custom Lync client with UI suppression enabled. One of the components that the client needs to have is an employee search form, which will be used for adding contacts and inviting employees to a conversation. This form will load the…