github-actions[bot]
|
a0868e9aa6
|
Create rule S6301: Mobile database encryption keys should not be disclosed (#129)
|
2021-08-05 08:11:58 +00:00 |
|
Dorian Burihabwa
|
1cc6413fc3
|
Revert "MMF-2326 Move Java rules targeting XML from Java to XML category"
This reverts commit b20fe5c6c9f3793bdc761bb3d31a839eee31cddd.
|
2021-08-03 16:56:14 +02:00 |
|
Johann Beleites
|
09ce6edecc
|
Use correct plural form of IVs (#246)
|
2021-08-02 17:01:21 +02:00 |
|
Michael Gumowski
|
b20fe5c6c9
|
MMF-2326 Move Java rules targeting XML from Java to XML category (#242)
Rules moved:
* S3281
* S3282
* S3355
* S3369
* S3373
* S3374
* S3417
* S3419
* S3420
* S3421
* S3422
* S3423
* S3438
* S3439
* S3822
|
2021-08-02 15:37:52 +02:00 |
|
Tibor Blenessy
|
9f4d298498
|
Modify rule S6323: Add exception when | is used for optional groups (#239)
|
2021-07-30 17:30:23 +02:00 |
|
Amélie Renard
|
75d37bb04b
|
Modify rule S6223: Add missing "Noncompliant Code Example"
|
2021-07-30 12:01:48 +02:00 |
|
Amélie Renard
|
fba2174078
|
Modify rule S6236: Fix typo
|
2021-07-30 07:48:08 +00:00 |
|
Yassin Kammoun
|
3bb15cff6c
|
Modify rule S5860: Describe missing non-compliant pattern (#234)
|
2021-07-29 18:03:39 +02:00 |
|
Amélie Renard
|
25e3bde913
|
Modify rule S6236: Fix typos
|
2021-07-29 14:57:11 +00:00 |
|
margarita-nedzelska-sonarsource
|
3d74faecbb
|
Update S6318 description (#222)
|
2021-07-28 16:04:48 +02:00 |
|
Pierre-Loup
|
b831b156a9
|
Update S6290 and S6292 (#223)
Split rule description and fix OWASP category
|
2021-07-28 14:08:55 +02:00 |
|
github-actions[bot]
|
7626f749d5
|
Create rule S6311: Suspending functions should be called on the caller's thread (#177)
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: johann-beleites-sonarsource <johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <johann.beleites@sonarsource.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
|
2021-07-28 08:39:39 +00:00 |
|
margarita-nedzelska-sonarsource
|
505c2f774a
|
Fix formatting in S6315 description (#221)
|
2021-07-28 07:57:57 +00:00 |
|
github-actions[bot]
|
aa67048f1c
|
Create rule S6307: Suspending functions should be main-safe (#173)
Co-authored-by: johann-beleites-sonarsource <johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <johann.beleites@sonarsource.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
|
2021-07-28 10:30:18 +03:00 |
|
Yassin Kammoun
|
217e186529
|
Create rule S5860[javascript]: Names of regular expressions named groups should be used (#206)
|
2021-07-27 14:10:16 +02:00 |
|
Amélie Renard
|
dfbf5565f9
|
Modify rule S6228: Fix typos
|
2021-07-27 09:14:18 +00:00 |
|
github-actions[bot]
|
107b9a88c1
|
Create rule S6328: Replacement strings should reference existing regular expression groups (#200)
|
2021-07-27 10:33:24 +02:00 |
|
Yassin Kammoun
|
621be19849
|
Modify rule S5850: Update supported anchors for JavaScript regex (#219)
|
2021-07-26 09:46:02 +02:00 |
|
github-actions[bot]
|
3337ef0c1f
|
Create rule S6316: Kotlin coroutines api for timeouts should be used (#182)
* Create rule S6316
* Update metadata.json
* Update rule.adoc
* Update rules/S6316/kotlin/metadata.json
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6316/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6316/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6316/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6316/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-23 12:31:22 +00:00 |
|
github-actions[bot]
|
4059052f41
|
Create rule S6314: Flow intermediate operation results should not be left unused (#180)
* Create rule S6314
* Update metadata.json
* Update rule.adoc
* Update rules/S6314/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6314/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update metadata.json
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-23 09:40:05 +00:00 |
|
github-actions[bot]
|
4b7ca0a10c
|
Create rule S6312: Extension functions on CoroutineScope should not be suspending (#178)
* Create rule S6312
* Update metadata.json
* Update rule.adoc
* Update metadata.json
* add link to the post
* Update metadata.json
* Update rule.adoc
* Update rules/S6312/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6312/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-23 05:41:20 +00:00 |
|
github-actions[bot]
|
ed563b4667
|
Create rule S6313: ViewModel classes should create coroutines (#179)
Co-authored-by: Johann Beleites <johann.beleites@sonarsource.com>
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@sonarsource.com>
|
2021-07-22 17:36:28 +02:00 |
|
github-actions[bot]
|
cf3dc04639
|
Create rule S6309: Functions returning Flow/Channel should not be suspending (#175)
* Create rule S6309
* Update metadata.json
* Update rule.adoc
* Update metadata.json
* Update metadata.json
* Update rule.adoc
* Update metadata.json
* Update rule.adoc
* Update rules/S6309/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6309/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rule.adoc
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-22 17:31:16 +02:00 |
|
Tibor Blenessy
|
9f7779cb6b
|
Create rule S5850[javascript]: Alternatives in regular expressions should be grouped when used with anchors (#201)
|
2021-07-22 10:13:35 +02:00 |
|
github-actions[bot]
|
f1b3fa5632
|
Create rule S6323: Alternation in regular expressions should not contain empty alternatives (#194)
|
2021-07-21 13:51:06 +02:00 |
|
github-actions[bot]
|
3332627c3d
|
Create rule S6315: The return value of "async" should be used (#181)
* Create rule S6315
* Added rule description and metadata for S6315
* Improved description
* Changed rule to cover async vs. launch instead. Rule 6307 already covers launching tasks with the correcd dispatcher.
* Changed rule to encompass all functions returning 'Deferred'
* Improved description
* Adjusted cost
Co-authored-by: johann-beleites-sonarsource <johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <johann.beleites@sonarsource.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-21 13:38:37 +02:00 |
|
github-actions[bot]
|
97317c3880
|
Create rule S6305: Don’t expose MutableStateFlow & MutableSharedFlow (#166)
* Create rule S6305
* Update metadata.json
* Update rule.adoc
* Update metadata.json
* Update rules/S6305/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update metadata.json
* Update rule.adoc
* Update metadata.json
* Update rules/S6305/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6305/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
* Update rules/S6305/kotlin/rule.adoc
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: margarita-nedzelska-sonarsource <70522623+margarita-nedzelska-sonarsource@users.noreply.github.com>
Co-authored-by: Johann Beleites <63855942+johann-beleites-sonarsource@users.noreply.github.com>
|
2021-07-21 10:07:20 +02:00 |
|
Yassin Kammoun
|
4130dab23a
|
Create rule S5856[javascript]: Regular expressions should be syntactically valid (#207)
|
2021-07-20 17:49:33 +02:00 |
|
github-actions[bot]
|
2bc799ceac
|
Create rule S6331: Regular expressions should not contain empty groups (#208)
|
2021-07-20 15:52:54 +02:00 |
|
Yassin Kammoun
|
3ca4fce4c6
|
Create rule S6035[javascript]: Single-character alternations in regular expressions should be replaced with character classes (#204)
Co-authored-by: Tibor Blenessy <tibor.blenessy@sonarsource.com>
|
2021-07-20 11:22:26 +02:00 |
|
Tibor Blenessy
|
b632aaa6b5
|
Create rule S5868[javascript]: Unicode Grapheme Clusters should be av… (#212)
|
2021-07-20 10:29:46 +02:00 |
|
github-actions[bot]
|
55fb3e4d3a
|
Create rule S6326: Regular expressions should not contain multiple spaces (#197)
|
2021-07-20 09:35:34 +02:00 |
|
github-actions[bot]
|
10403f11b4
|
Create rule S6324: Regular expressions should not contain control characters (#195)
|
2021-07-19 22:20:52 +02:00 |
|
github-actions[bot]
|
b141724b14
|
Create rule S6325: Regular expression literals should be used when possible (#196)
|
2021-07-19 18:13:03 +02:00 |
|
github-actions[bot]
|
81f1f076be
|
Create rule S6306: Coroutine usage should adhere to structured concurrency principles (#167)
|
2021-07-19 17:44:47 +02:00 |
|
eric-therond-sonarsource
|
b011d5c853
|
Update S5542 description: ECB mode for RSA (#215)
* Update S5542 description: ECB mode for RSA
* fix after review
|
2021-07-19 09:33:36 +02:00 |
|
DGolovinov
|
bef940e0ae
|
Update rule S3247 description with the information about redundant cast (#214)
|
2021-07-16 14:41:01 +02:00 |
|
Dorian Burihabwa
|
42d04dee44
|
Modify rule S6210: Rephrase requirement on private element access (#213)
|
2021-07-14 19:25:24 +03:00 |
|
github-actions[bot]
|
deb97adb76
|
Create rule S6310: Dispatchers should be injectable (#176)
|
2021-07-14 16:10:55 +02:00 |
|
github-actions[bot]
|
b3bb991c9e
|
Create rule S6318: "suspend" modifier should not be redundant (#184)
|
2021-07-14 16:33:39 +03:00 |
|
margarita-nedzelska-sonarsource
|
44f66b23bb
|
Fix broken link in rule description for S4502 (#209)
|
2021-07-14 10:17:26 +02:00 |
|
Amélie Renard
|
07911c53be
|
Clean-up C++ tags
|
2021-07-13 16:10:23 +02:00 |
|
Dorian Burihabwa
|
cccd2cd46a
|
Modify rule S6207: Replace unbreakable spaces with regular spaces
|
2021-07-13 10:32:16 +02:00 |
|
Sebastian Hungerecker
|
ccd2ec0e34
|
Modify rule S5854: Fix noncompliant example (#192)
The comment showing the output used the wrong accent.
|
2021-07-09 17:34:46 +02:00 |
|
Sebastian Hungerecker
|
c9be6ad4f8
|
Modify rule S5994: fix formatting (#191)
|
2021-07-09 17:19:48 +02:00 |
|
Loïc Joly
|
20c0cfb993
|
Modify rule S954: Mention the allowed use of #include within extern "C"
|
2021-07-09 10:31:11 +02:00 |
|
Michael Gumowski
|
cdd4eee00b
|
Modify rule S6206: "no setters" condition is redundant with having only private final fields
|
2021-07-07 11:04:08 +02:00 |
|
Dorian Burihabwa
|
8748b36ee1
|
Modify rule S2057: Update link to version 16 of the java documentation
|
2021-07-06 18:24:31 +02:00 |
|
Sebastian Hungerecker
|
83f050a954
|
Modify rule S1234: Amend list of supported methods for Java (#170)
|
2021-07-06 17:25:44 +02:00 |
|
Michael Gumowski
|
28a0f5679d
|
Update Java 16 rules documentation to link released documentation (#169)
|
2021-07-06 17:15:17 +02:00 |
|