Skip to content

Commit

Permalink
deploy: ec57496
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Dec 29, 2024
1 parent 24d55b4 commit 2ceb7ad
Show file tree
Hide file tree
Showing 7 changed files with 2,166 additions and 1,990 deletions.
758 changes: 379 additions & 379 deletions qodana/results/descriptions/Code_Inspection.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions qodana/results/metaInformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"linter": "QDJVM",
"attributes": {
"deviceId": "200820300000000-b1a5-d275-f8e7-faf9fd093ee8",
"jobUrl": "https://github.com/1c-syntax/bsl-language-server/actions/runs/12539319945",
"jobUrl": "https://github.com/1c-syntax/bsl-language-server/actions/runs/12539328004",
"vcs": {
"sarifIdea": {
"repositoryUri": "https://github.com/1c-syntax/bsl-language-server.git",
"revisionId": "7f21ea3669a40590840d27cc811307d9322a538f",
"revisionId": "ec574967c6cfbf703e85079ac04a42159a790923",
"branch": "develop"
}
},
Expand Down
8 changes: 4 additions & 4 deletions qodana/results/projectStructure/qodana.spdx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Tool: Qodana",
"Organization: JetBrains s.r.o."
],
"created": "2024-12-29T23:02:50Z"
"created": "2024-12-29T23:05:38Z"
},
"packages": [
{
Expand All @@ -27,7 +27,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand All @@ -48,7 +48,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand All @@ -69,7 +69,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand Down
8 changes: 4 additions & 4 deletions qodana/results/projectStructure/thirdPartySoftwareList.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Tool: Qodana",
"Organization: JetBrains s.r.o."
],
"created": "2024-12-29T23:02:50Z"
"created": "2024-12-29T23:05:38Z"
},
"packages": [
{
Expand All @@ -27,7 +27,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand All @@ -48,7 +48,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand All @@ -69,7 +69,7 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "7f21ea3669a40590840d27cc811307d9322a538f"
"checksumValue": "ec574967c6cfbf703e85079ac04a42159a790923"
}
],
"primaryPackagePurpose": "SOURCE"
Expand Down
64 changes: 63 additions & 1 deletion qodana/results/promo.json
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
{"version":"3","listProblem":[]}
{"version":"3","listProblem":[{
"tool": "Code Inspection",
"category": "RegExp",
"type": "Regular expression can be simplified",
"tags": [
"RegExp"
],
"severity": "Moderate",
"comment": "`[\\\\*]` can be simplified to '\\\\\\*'",
"detailsInfo": "Reports regular expressions that can be simplified.\n\n**Example:**\n\n\n [a] xx* [ah-hz]\n\nAfter the quick-fix is applied:\n\n\n a x+ [ahz]\n\nNew in 2022.1",
"sources": [
{
"type": "file",
"path": "src/main/java/com/github/_1c_syntax/bsl/languageserver/diagnostics/UsingHardcodeSecretInformationDiagnostic.java",
"language": "JAVA",
"line": 67,
"offset": 75,
"length": 5,
"code": {
"startLine": 65,
"length": 5,
"offset": 80,
"surroundingCode": " );\n\n private static final Pattern PATTERN_CHECK_PASSWORD = Pattern.compile(\"^[\\\\*]+$\", Pattern.UNICODE_CASE);\n\n @DiagnosticParameter("
}
}
],
"attributes": {
"module": "bsl-language-server.main",
"inspectionName": "RegExpSimplifiable"
},
"hash": "a96a0536e198cbff96eebc4edc9806807b12725ac46694da2501ad5bce236c55"
},{
"tool": "Code Inspection",
"category": "Verbose or redundant code constructs",
"type": "Unnecessary 'default' for enum 'switch' statement",
"tags": [
"JAVA"
],
"severity": "High",
"comment": "`default` branch is unnecessary",
"detailsInfo": "Reports enum `switch` statements or expression with `default` branches which can never be taken, because all possible values are covered by a `case` branch.\n\nSuch elements are redundant, especially for `switch` expressions, because they don't compile when all\nenum constants are not covered by a `case` branch.\n\n\nThe language level needs to be configured to 14 to report `switch` expressions.\n\nThe provided quick-fix removes `default` branches.\n\nExample:\n\n\n enum E { A, B }\n int foo(E e) {\n return switch (e) {\n case A -> 1;\n case B -> 2;\n default -> 3;\n };\n }\n\nAfter the quick-fix is applied:\n\n\n enum E { A, B }\n int foo(E e) {\n return switch (e) {\n case A -> 1;\n case B -> 2;\n };\n }\n\nUse the **Only report switch expressions** option to report only redundant `default` branches in switch expressions.",
"sources": [
{
"type": "file",
"path": "src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/expressiontree/DefaultNodeEqualityComparer.java",
"language": "JAVA",
"line": 51,
"offset": 7,
"length": 7,
"code": {
"startLine": 49,
"length": 7,
"offset": 136,
"surroundingCode": " case SKIPPED_CALL_ARG -> true;\n case CALL -> callStatementsEqual((AbstractCallNode) first, (AbstractCallNode) second);\n default -> throw new IllegalStateException();\n };\n"
}
}
],
"attributes": {
"module": "bsl-language-server.main",
"inspectionName": "UnnecessaryDefault"
},
"hash": "2c72370b59dde2cbf1ea29e8feac3da6f729b7114f1766f8f09a515ec88ac90f"
}]}
Loading

0 comments on commit 2ceb7ad

Please sign in to comment.