github-actions[bot]
45b603f164
Create rule S6914: Use Fused Location to optimize battery power ( #3615 )
...
Co-authored-by: ADarko22 <ADarko22@users.noreply.github.com>
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
Co-authored-by: Marco Kaufmann <marco.kaufmann@sonarsource.com>
2024-02-22 10:41:54 +01:00
github-actions[bot]
adf8054e05
Create rule S6909: Constant parameters in a PreparedStatement should not be set more than once ( #3609 )
...
Co-authored-by: ADarko22 <ADarko22@users.noreply.github.com>
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
Co-authored-by: Irina Batinic <117161143+irina-batinic-sonarsource@users.noreply.github.com>
2024-02-22 10:38:39 +01:00
github-actions[bot]
7039f47afb
Create rule S6891: Avoid the usage of exact Alarms on mobile apps ( #3579 )
...
Co-authored-by: ADarko22 <ADarko22@users.noreply.github.com>
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
Co-authored-by: Irina Batinic <117161143+irina-batinic-sonarsource@users.noreply.github.com>
Co-authored-by: Marco Kaufmann <marco.kaufmann@sonarsource.com>
2024-02-22 10:11:01 +01:00
SonarTech
418ec1b57e
update coverage information
2024-02-22 00:32:55 +00:00
Gregory Paidis
f9b1bd8180
Modify S2328: Exclude value types ( #3670 )
2024-02-21 17:19:53 +01:00
github-actions[bot]
b4774f0acf
Add HTML language to rule S6840 ( #3660 )
...
* Add html to rule S6840
* Add HTML language to rule S6840
* Apply fixes suggested by the PR review
---------
Co-authored-by: ericmorand-sonarsource <ericmorand-sonarsource@users.noreply.github.com>
Co-authored-by: Eric MORAND <eric.morand@sonarsource.com>
2024-02-21 13:48:07 +01:00
github-actions[bot]
b475f8f4b2
Create rule S6843 for HTML: Interactive DOM elements should not have non-interactive ARIA roles ( #3661 )
2024-02-21 09:54:47 +01:00
SonarTech
6d88570197
update coverage information
2024-02-21 00:32:52 +00:00
github-actions[bot]
d6ce70cb9e
Create rule S6793: ARIA properties in DOM elements should have valid values ( #3654 )
...
* Add html to rule S6793
* Share description with HTML
* Fix after review
---------
Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
2024-02-20 13:15:11 +00:00
github-actions[bot]
5c683743e7
Create rule S6842 for HTML: Non-interactive DOM elements should not have interactive ARIA roles ( #3657 )
2024-02-20 14:11:47 +01:00
tomasz-kaminski-sonarsource
30952d5fab
CPP-4982,CPP-4913 S871 Mention that copies are allowed.
2024-02-20 11:28:48 +01:00
github-actions[bot]
a8e2663eac
S6923: Motion Sensor should not use gyroscope ( #3627 )
2024-02-20 10:06:16 +01:00
kevin.hinz
4964a713ec
Modify rule S4428: improve sentence structure
...
- place the noun first to clarify the required action
2024-02-20 07:46:07 +01:00
SonarTech
c9e60ba4ff
update coverage information
2024-02-20 00:32:59 +00:00
github-actions[bot]
e4fce14620
Create rule S6841: "tabIndex" values should be 0 or -1 ( #3650 )
...
* Add html to rule S6841
* Share JS description with HTML
---------
Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
2024-02-19 14:45:03 +01:00
github-actions[bot]
4f796b77ee
Create rule S6926: Bluetooth should be configured to use low power ( #3635 )
2024-02-19 10:38:35 +00:00
github-actions[bot]
605c0c770c
Create rule S6904: SONARJAVA-4821 Avoid using FetchType.EAGER ( #3600 )
2024-02-19 11:09:13 +01:00
github-actions[bot]
9b269a17f8
Create rule S6905: SQL queries should retrieve only necessary fields ( #3603 )
...
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
Co-authored-by: Irina Batinic <117161143+irina-batinic-sonarsource@users.noreply.github.com>
2024-02-19 10:10:11 +01:00
SonarTech
fe6bf39ae4
update coverage information
2024-02-17 00:32:45 +00:00
github-actions[bot]
90b737362c
Create rule S6850 for HTML: Heading elements should have accessible content ( #3652 )
...
* Add html to rule S6850
* Add HTML documentation to S6850
Also improve the wording by replacing the term _header_ with the semantically correct _heading_ one.
* Split the rules tags
Also format the JavaScript sample with 2-spaces identation.
---------
Co-authored-by: ericmorand-sonarsource <ericmorand-sonarsource@users.noreply.github.com>
Co-authored-by: Eric MORAND <eric.morand@sonarsource.com>
Co-authored-by: Ilia Kebets <104737176+ilia-kebets-sonarsource@users.noreply.github.com>
2024-02-16 14:27:07 +01:00
github-actions[bot]
6ba18ae408
Create rule S6853 for HTML: Label elements should have a text label and an associated control ( #3648 )
2024-02-16 09:23:28 +01:00
github-actions[bot]
42b6781d17
Create rule S6851: Images should have a non-redundant alternate description ( #3653 )
...
* Add html to rule S6851
* Share description with HTML
---------
Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
2024-02-16 09:21:52 +01:00
SonarTech
5c9489d918
update coverage information
2024-02-16 00:32:37 +00:00
github-actions[bot]
178168cc72
Create rule S6889: Proper Sensor Resource Management ( #3577 )
...
Co-authored-by: Irina Batinic <irina.batinic@sonarsource.com>
Co-authored-by: Angelo Buono <angelo.buono@sonarsource.com>
2024-02-15 10:58:58 +01:00
SonarTech
608d4dddff
update coverage information
2024-02-15 00:32:58 +00:00
github-actions[bot]
0ab37ae9ca
Create rule S6827: Anchors should contain accessible content ( #3647 )
...
* Add html to rule S6827
* Make description language-agnostic
---------
Co-authored-by: yassin-kammoun-sonarsource <yassin-kammoun-sonarsource@users.noreply.github.com>
Co-authored-by: yassin-kammoun-sonarsource <yassin.kammoun@sonarsource.com>
2024-02-14 16:59:54 +01:00
github-actions[bot]
414b41545e
Create rule S6846 for HTML: DOM elements should not use the "accesskey" property ( #3646 )
2024-02-14 16:04:36 +01:00
SonarTech
e01b75316d
update coverage information
2024-02-14 00:33:00 +00:00
Andrei Epure
ea70073945
Fix typo in S6803 ( #3559 )
2024-02-13 16:00:09 +01:00
Yassin Kammoun
ffb5771c07
Modify rule S2004: Increase default threshold to four nested functions ( #3643 )
2024-02-12 17:58:19 +01:00
Marco Kaufmann
9fbbc8855b
Modify rule S6877: Refine wording in title and description for clearer distinction from S6876 ( #3641 )
2024-02-12 15:41:22 +01:00
Marco Kaufmann
b19c779a72
Modify rule S6876: Refine wording in title and description to make a clearer distinction between S6876 and S6877 ( #3640 )
2024-02-12 15:06:31 +01:00
Yassin Kammoun
52f2adfd58
Modify rule S3776: Ignore nested functions and default value patterns ( #3639 )
2024-02-12 14:30:36 +01:00
Egon Okerman
7632676854
Modify rule S5131: Fix Spring example ( #3637 )
...
* Fix Spring examples
* Remove unnecessary ResponseBody annotations
2024-02-12 13:33:08 +01:00
Yassin Kammoun
043b1fca0b
Modify rule S1186: Ignore noop-like functions, arrows, and constructors ( #3608 )
2024-02-12 09:42:29 +01:00
Yassin Kammoun
17a131f389
Modify rule S6582: Change severity to minor and improve description ( #3626 )
2024-02-12 09:42:19 +01:00
SonarTech
e450ac07f4
update coverage information
2024-02-10 00:32:41 +00:00
github-actions[bot]
acb83fd1a5
Create rule S2004: Functions should not be nested too deeply ( #3623 )
2024-02-09 15:21:09 +01:00
kevin.hinz
916019aa40
Modify rule S2178: Update rule description ( #3598 )
2024-02-09 11:49:30 +01:00
github-actions[bot]
4f7c396a7a
Create rule S6915: "String.indexOf" should be used with correct ranges ( #3616 )
2024-02-09 10:44:12 +01:00
github-actions[bot]
6f004fed1c
Create rule S6916: Use guard instead of if/else in pattern match body ( #3617 )
2024-02-09 10:42:44 +01:00
kevin.hinz
5c414c2bf1
Modify rule: Update rule descriptions ( #3632 )
...
* Modify rule S1110: Update rule description
Improve grammar and sentence structure.
* Modify rule S3603: Update rule description
Improve grammar in the sentence structure.
* Modify rule S3449: Update rule description
Clarify the sentence structure with minor word changes.
* Modify rule S3449: correct word in description
Correct spelling mistakes in two instances of one word.
2024-02-09 10:42:26 +01:00
daniel-teuchert-sonarsource
5d727147c3
Adjustment to make RSPEC consistent with Sonar Text ( #3629 )
2024-02-08 16:22:50 +01:00
github-actions[bot]
65ec930f11
Create rule S6910 ( #3610 )
...
* Create rule S6910
* Added description and metadata
---------
Co-authored-by: daniel-teuchert-sonarsource <daniel-teuchert-sonarsource@users.noreply.github.com>
Co-authored-by: Daniel Teuchert <daniel.teuchert@sonarsource.com>
Co-authored-by: daniel-teuchert-sonarsource <141642369+daniel-teuchert-sonarsource@users.noreply.github.com>
2024-02-08 11:31:38 +01:00
github-actions[bot]
c34f7fdbc9
Create rule S6913: "Math.clamp" should be used with correct ranges ( #3614 )
2024-02-07 16:10:51 +01:00
github-actions[bot]
ca3631551c
Create rule S6906: Virtual threads should not run tasks that include synchronized or native code ( #3605 )
2024-02-07 15:20:30 +01:00
Rudy Regazzoni
718931dce3
Add language JCL as a supported language ( #3604 )
2024-02-07 10:10:43 +01:00
github-actions[bot]
708f427562
Create rule S6907: Environment variables names for a container should not be duplicated ( #3606 )
2024-02-07 09:08:59 +01:00
leonardo-pilastri-sonarsource
3dc67eee51
Delete rule S6896: rule is already implemented by S6322 ( #3613 )
2024-02-06 15:26:32 +00:00
github-actions[bot]
5378180701
Create rule S6901: setDaemon, setPriority and getThreadGroup should not be invoked on virtual threads ( #3592 )
2024-02-06 13:41:04 +00:00