Skip to content

Выпуск RC.7#1551

Merged
EvilBeaver merged 97 commits into
release/previewfrom
feature/publish-dev
Jun 9, 2025
Merged

Выпуск RC.7#1551
EvilBeaver merged 97 commits into
release/previewfrom
feature/publish-dev

Merge branch 'refs/heads/develop' into feature/publish-dev

26d5067
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
sonar.openbsl.ru qa-bot / SonarQube Code Analysis succeeded Jun 9, 2025 in 50s

Annotations

Check failure on line 1406 in src/OneScript.Native/Compiler/MethodCompiler.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.Native/Compiler/MethodCompiler.cs#L1406

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

Check warning on line 165 in src/OneScript.Native/Compiler/ExpressionHelpers.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.Native/Compiler/ExpressionHelpers.cs#L165

Take the required action to fix the issue indicated by this 'FIXME' comment.

Check notice on line 49 in src/OneScript.Web.Server/CookieOptionsWrapper.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.Web.Server/CookieOptionsWrapper.cs#L49

Remove this empty statement.

Check notice on line 165 in src/OneScript.StandardLibrary/Text/ConsoleContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Text/ConsoleContext.cs#L165

Member 'ResetColor' does not access instance data and can be marked as static

Check notice on line 124 in src/OneScript.StandardLibrary/Text/ConsoleContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Text/ConsoleContext.cs#L124

Member 'TextColor' does not access instance data and can be marked as static

Check notice on line 134 in src/OneScript.StandardLibrary/Text/ConsoleContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Text/ConsoleContext.cs#L134

Member 'BackgroundColor' does not access instance data and can be marked as static

Check notice on line 85 in src/OneScript.StandardLibrary/Binary/FileStreamsManager.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Binary/FileStreamsManager.cs#L85

Member 'Open' does not access instance data and can be marked as static

Check notice on line 110 in src/OneScript.StandardLibrary/Binary/FileStreamsManager.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Binary/FileStreamsManager.cs#L110

Member 'Open' does not access instance data and can be marked as static

Check notice on line 286 in src/OneScript.StandardLibrary/Collections/ValueList/ValueListImpl.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Collections/ValueList/ValueListImpl.cs#L286

Member 'SafeCompare' does not access instance data and can be marked as static

Check failure on line 108 in src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs#L108

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

Check notice on line 59 in src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs#L59

Member 'XMLString' does not access instance data and can be marked as static

Check notice on line 108 in src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Xml/XmlGlobalFunctions.cs#L108

Member 'XMLValue' does not access instance data and can be marked as static

Check warning on line 83 in src/OneScript.StandardLibrary/Xml/XmlReaderSettingsImpl.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Xml/XmlReaderSettingsImpl.cs#L83

Method has 11 parameters, which is greater than the 7 authorized.

Check notice on line 31 in src/OneScript.StandardLibrary/Xml/XMLExpandedName.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Xml/XMLExpandedName.cs#L31

All 'ToString' method overloads should be adjacent.

Check warning on line 514 in src/OneScript.StandardLibrary/Http/HttpConnectionContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Http/HttpConnectionContext.cs#L514

Method has 8 parameters, which is greater than the 7 authorized.

Check notice on line 159 in src/OneScript.StandardLibrary/Http/InternetProxyContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Http/InternetProxyContext.cs#L159

Avoid unnecessary zero-length array allocations.  Use Array.Empty<string>() instead.

Check notice on line 149 in src/OneScript.StandardLibrary/Http/InternetProxyContext.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Http/InternetProxyContext.cs#L149

Avoid unnecessary zero-length array allocations.  Use Array.Empty<string>() instead.

Check notice on line 227 in src/OneScript.StandardLibrary/Json/JSONDataExtractor.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/JSONDataExtractor.cs#L227

Member 'DataStructureToJSON' does not access instance data and can be marked as static

Check failure on line 113 in src/OneScript.StandardLibrary/Json/JSONWriter.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/JSONWriter.cs#L113

Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.

Check warning on line 123 in src/OneScript.StandardLibrary/Json/JSONWriter.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/JSONWriter.cs#L123

The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.

Check notice on line 278 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L278

Replace this type-check-and-cast sequence to use pattern matching.

Check notice on line 287 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L287

Replace this type-check-and-cast sequence to use pattern matching.

Check notice on line 296 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L296

Replace this type-check-and-cast sequence to use pattern matching.

Check notice on line 306 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L306

Replace this type-check-and-cast sequence to use pattern matching.

Check notice on line 316 in src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs

See this annotation in the file changed.

@sonar-openbsl-ru-qa-bot sonar-openbsl-ru-qa-bot / SonarQube Code Analysis

src/OneScript.StandardLibrary/Json/GlobalJsonFunctions.cs#L316

Replace this type-check-and-cast sequence to use pattern matching.