4544 Commits

Author SHA1 Message Date
Sebastien Marichal
716a7aa85d
Modify S3431: Promote C# rule to SonarWay (#4127) 2024-08-09 10:58:55 +02:00
github-actions[bot]
8f7fcf7047
Create rule S6646: Boolean expressions should not be gratuitous (#2223) 2024-08-08 17:28:53 +02:00
Egon Okerman
8630818ded
Modify rule S2053: Update salt length to be 32 bytes everywhere (#4094)
* Update salt length to be 32 bytes everywhere

* Fix typo in VB.NET

* Add Java
2024-08-08 14:32:01 +02:00
github-actions[bot]
3fc71e1444
S7035: The underlying type of an enum should be accessed through "to_underlying" 2024-08-08 10:43:54 +02:00
Egon Okerman
afdfdf77d0
Update URLs to point to mas.owasp.org (#4126) 2024-08-08 09:50:21 +02:00
github-actions[bot]
c06926321c
Create rule S7038: "std::stringstream" or "std::spanstream" should be used instead of "std::strstream" (CPP-4998) 2024-08-08 09:43:56 +02:00
SonarTech
f5d478e3e5 update coverage information 2024-08-08 02:33:26 +00:00
Marharyta
c3c046ff3e
Modify Rule S1155: Improve description for Dart 2024-08-07 14:07:42 +00:00
Marharyta Nedzelska
cea6f025f6 Modify Rule S1155: Improve description for Dart 2024-08-07 16:33:32 +03:00
Sebastien Marichal
d6ad5e3c48
Modifiy S2674: Promote it to SonarWay (#4120) 2024-08-07 11:06:24 +02:00
Sebastien Marichal
e2937173ac
Deprecate rule S2387 (#4109) 2024-08-07 11:01:26 +02:00
github-actions[bot]
96c5350187
Create rule S7040 Escape sequences should use the delimited form (\\u{}, \\o{}, \\x{}) (CPP-5019) 2024-08-06 17:28:12 +00:00
Loïc Joly
02d29a500a
CPP-4967 S1314 Cover C++23 escape syntax in RSPEC 2024-08-06 16:05:05 +00:00
Marharyta Nedzelska
d836e73941 Modify Rule S1679: fix Dart example, add implementation details 2024-08-06 18:55:18 +03:00
github-actions[bot]
b2a890068d
Create rule S6649: Zero should not be a possible denominator (#2252) 2024-08-06 16:57:44 +02:00
Peter Trifanov
6882a6b33d
Modify rule S7036: Add tags (#4119) 2024-08-06 16:30:25 +02:00
Marharyta
475b188cb3
Modify Rule S927: Add implementation detail to the Dart rule description 2024-08-06 14:00:10 +00:00
SonarTech
64a4f6648f update coverage information 2024-08-06 02:32:46 +00:00
Marharyta Nedzelska
fc82f5ce69 Modify Rule S6582: Add link to the rule prefer_null_aware_method_calls 2024-08-05 16:52:08 +03:00
Marharyta Nedzelska
61c47c4571 Modify Rule S6582: Update description for Dart 2024-08-05 16:06:01 +03:00
github-actions[bot]
0f722e6d0b
Create rule S7034: "contains" should be used to test whether a substring is part of a string (CPP-4996) (#4096) 2024-08-05 11:50:59 +02:00
Marharyta Nedzelska
0f8af61051 Modify Rule S6606: Update description for Dart 2024-08-05 11:36:05 +03:00
github-actions[bot]
efe0f45239
Create rule S7033: "if consteval" should be used instead of "if (std::is_constant_evaluated())" (CPP-4960) (#4092) 2024-08-05 10:07:15 +02:00
github-actions[bot]
1fb5ee760b
Create rule S7032 init-statement in if/switch/for-range should declare a variable (CPP-5020) 2024-08-02 19:02:20 +02:00
github-actions[bot]
1447906551
Create rule S7036: Don't use offensive language (#4100) 2024-08-02 15:53:08 +02:00
Arseniy Zaostrovnykh
f3bd1c7b1c
Update rule S2807: typos (#4107) 2024-08-02 15:13:19 +02:00
github-actions[bot]
a05bc3b14e
Create rule S7039: Content Security Policies should be restrictive (#4104) 2024-08-02 15:09:08 +02:00
Antonio Aversa
d5f68da6f8 Modify rule S6531: fix URI format to conform to LaYC 2024-08-02 12:39:13 +03:00
Antonio Aversa
b59e3ad55b Modify rule S1134: remove unnecessary empty line in code example 2024-08-02 12:39:13 +03:00
Antonio Aversa
25adcc6daa Modify rule S1116: fix message in rspecator 2024-08-02 12:39:13 +03:00
Antonio Aversa
458d45228a Modify rule S106: fix name of print method 2024-08-02 12:39:13 +03:00
Antonio Aversa
430ebc0ad0 Modify rule S101: fix code examples highlighting 2024-08-02 12:39:13 +03:00
SonarTech
fdeb110671 update coverage information 2024-07-31 02:25:18 +00:00
Antonio Aversa
9864ab02c0 Modify rule S4977: Type parameters should not shadow other type parameters (avoid_shadowing_type_parameters) 2024-07-30 18:53:09 +02:00
Antonio Aversa
d8cc228277 Modify rule S2486: Exceptions should not be ignored (empty_catches) 2024-07-30 18:53:09 +02:00
Antonio Aversa
ef9d012edb Modify rule S115: Constant names should comply with a naming convention (constant_identifier_names) 2024-07-30 18:53:09 +02:00
Antonio Aversa
bb9b39d640 Modify rule S101: Class names should comply with a naming convention (camel_case_types) 2024-07-30 18:53:09 +02:00
Antonio Aversa
e10f73edac Modify rule S1143: Jump statements should not occur in "finally" blocks (control_flow_in_finally) 2024-07-30 18:53:09 +02:00
Antonio Aversa
f7e4334515 Modify rule S1065: Unused labels should be removed (WarningCode.UNUSED_LABEL) 2024-07-30 18:53:09 +02:00
Antonio Aversa
ca50289cd6 Modify rule S1185: Overriding methods should do more than simply call the same method in the super class (unnecessary_overrides) 2024-07-30 18:53:09 +02:00
Antonio Aversa
32a8fb8116 Modify rule S106: Standard outputs should not be used directly to log anything (avoid_print) 2024-07-30 18:53:09 +02:00
Antonio Aversa
d9e8af8a8e Modify rule S6531: Redundant type casts should be removed (WarningCode.UNNECESSARY_CAST, WarningCode.UNNECESSARY_TYPE_CHECK*) 2024-07-30 18:53:09 +02:00
Antonio Aversa
0c666c6b55 Modify rule S1135: Track uses of "TODO" tags (TodoCode.TODO) 2024-07-30 18:53:09 +02:00
Antonio Aversa
fd10c121eb Modify rule S1481: Unused local variables should be removed (unused_local_variable) 2024-07-30 18:53:09 +02:00
Antonio Aversa
4b834646d1 Modify rule S1128: Unnecessary imports should be removed (duplicate_import, unnecessary_import, unused_import) 2024-07-30 18:53:09 +02:00
Antonio Aversa
abcf7a1edf Modify rule S1206: "equals(Object obj)" and "hashCode()" should be overridden in pairs (hash_and_equals) 2024-07-30 18:53:09 +02:00
Antonio Aversa
81a624d470 Modify rule S1116 Empty statements should be removed (avoid_empty_else, empty_statements) 2024-07-30 18:53:09 +02:00
Antonio Aversa
9dd0010557 Modify rule S1874: Code annotated as deprecated should not be used (HintCode.DEPRECATED_MEMBER_USE) 2024-07-30 18:53:09 +02:00
Antonio Aversa
ff3ef0a22d Modify rule S6535: Unnecessary character escapes should be removed (unnecessary_string_escapes) 2024-07-30 18:53:09 +02:00
Antonio Aversa
d173dfb031 Modify rule S121: Control structures should use curly braces (curly_braces_in_flow_control_structures) 2024-07-30 18:53:09 +02:00