diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index 8e0d140b96..cda17413c2 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -6,6 +6,8 @@ on: - '.github/workflows/qodana.yml' - 'src/MaaWpfGui/*' - 'qodana.yaml' + - 'src/MaaWpfGui/**' + - 'MAA.sln' push: # 在主分支推送代码的场合进行扫描 branches: - master @@ -13,7 +15,7 @@ on: - dev paths: - '.github/workflows/qodana.yml' - - 'src/MaaWpfGui/*' + - 'src/MaaWpfGui/**' - 'qodana.yaml' jobs: qodana: @@ -29,5 +31,9 @@ jobs: fetch-depth: 0 # a full history is required for pull request analysis - name: 'Qodana Scan' uses: JetBrains/qodana-action@main + with: + pr-mode: false + post-pr-comment: true + args: --baseline,qodana.sarif.json env: - QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} \ No newline at end of file diff --git a/qodana.sarif.json b/qodana.sarif.json new file mode 100644 index 0000000000..3bcfacd8d0 --- /dev/null +++ b/qodana.sarif.json @@ -0,0 +1,158151 @@ +{ + "$schema": "https://raw.githubusercontent.com/schemastore/schemastore/master/src/schemas/json/sarif-2.1.0-rtm.5.json", + "version": "2.1.0", + "runs": [ + { + "tool": { + "driver": { + "name": "QDNET", + "fullName": "Qodana for .NET", + "version": "232.9083.8.47", + "rules": [], + "taxa": [ + { + "id": "C#", + "name": "C#" + }, + { + "id": "C#/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++", + "name": "C++" + }, + { + "id": "C++/Clang Diagnostics", + "name": "Clang Diagnostics", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Unreal Engine", + "name": "Unreal Engine", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Language Usage Opportunities", + "name": "Language Usage Opportunities", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Clang-Tidy Checks", + "name": "Clang-Tidy Checks", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Sass/SCSS", + "name": "Sass/SCSS" + }, + { + "id": "HTML", + "name": "HTML" + }, + { + "id": "JavaScript and TypeScript", + "name": "JavaScript and TypeScript" + }, + { + "id": "JavaScript and TypeScript/Flow type checker", + "name": "Flow type checker", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Common Practices and Code Improvements", + "name": "Common Practices and Code Improvements", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostCSS", + "name": "PostCSS" + }, + { + "id": "JavaScript and TypeScript/Bitwise operation issues", + "name": "Bitwise operation issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Common Practices and Code Improvements", + "name": "Common Practices and Code Improvements", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/General", + "name": "General", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Unity", + "name": "Unity", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfig", + "name": "EditorConfig" + }, + { + "id": "C#/Syntax Style", + "name": "Syntax Style", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Validity issues", + "name": "Validity issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Formatting", + "name": "Formatting", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SQL", + "name": "SQL" + }, + { + "id": "C#/NUnit", + "name": "NUnit", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Compiler Warnings", + "name": "Compiler Warnings", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Formatting", + "name": "Formatting", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSS", + "name": "CSS" + }, + { + "id": "CSS/Invalid elements", + "name": "Invalid elements", + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "name": "Potentially undesirable code constructs", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Clang Static Analyzer Checks", + "name": "Clang Static Analyzer Checks", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Redundancies in Symbol Declarations", + "name": "Redundancies in Symbol Declarations", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Properties files", + "name": "Properties files" + }, + { + "id": "VB.NET", + "name": "VB.NET" + }, + { + "id": "VB.NET/Common Practices and Code Improvements", + "name": "Common Practices and Code Improvements", + "relationships": [ + { + "target": { + "id": "VB.NET", + "index": 34, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Blazor", + "name": "Blazor" + }, + { + "id": "Blazor/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "Blazor", + "index": 36, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XSLT", + "name": "XSLT" + }, + { + "id": "XAML", + "name": "XAML" + }, + { + "id": "XAML/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "XAML", + "index": 39, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "General", + "name": "General" + }, + { + "id": "ASP.NET route templates", + "name": "ASP.NET route templates" + }, + { + "id": "ASP.NET route templates/Code Notification", + "name": "Code Notification", + "relationships": [ + { + "target": { + "id": "ASP.NET route templates", + "index": 42, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "name": "ES2015 migration aids", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Proofreading", + "name": "Proofreading" + }, + { + "id": "JavaScript and TypeScript/DOM issues", + "name": "DOM issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Code Coverage", + "name": "Code Coverage" + }, + { + "id": "HTML/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/TypeScript", + "name": "TypeScript", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XML", + "name": "XML" + }, + { + "id": "C#/Unity Burst Compiler Warnings", + "name": "Unity Burst Compiler Warnings", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExp", + "name": "RegExp" + }, + { + "id": "XAML/Compiler Warnings", + "name": "Compiler Warnings", + "relationships": [ + { + "target": { + "id": "XAML", + "index": 39, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "name": "Potentially confusing code constructs", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VB.NET/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "VB.NET", + "index": 34, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Aspx", + "name": "Aspx" + }, + { + "id": "Aspx/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "Aspx", + "index": 56, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Control flow issues", + "name": "Control flow issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ResX", + "name": "ResX" + }, + { + "id": "ResX/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "ResX", + "index": 59, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Code quality tools", + "name": "Code quality tools", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Pug/Jade", + "name": "Pug/Jade" + }, + { + "id": "XAML/Code Notification", + "name": "Code Notification", + "relationships": [ + { + "target": { + "id": "XAML", + "index": 39, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "F#", + "name": "F#" + }, + { + "id": "F#/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "F#", + "index": 64, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HTML/Common Practices and Code Improvements", + "name": "Common Practices and Code Improvements", + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Compiler Warnings", + "name": "Compiler Warnings", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Function metrics", + "name": "Function metrics", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XAML/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "XAML", + "index": 39, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Code style issues", + "name": "Code style issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Constraints Violations", + "name": "Constraints Violations", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Web.Config", + "name": "Web.Config" + }, + { + "id": "Web.Config/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "Web.Config", + "index": 72, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HTML/Accessibility", + "name": "Accessibility", + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSON and JSON5", + "name": "JSON and JSON5" + }, + { + "id": "Roslyn", + "name": "Roslyn" + }, + { + "id": "Roslyn/General", + "name": "General", + "relationships": [ + { + "target": { + "id": "Roslyn", + "index": 76, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XPath", + "name": "XPath" + }, + { + "id": "JavaScript and TypeScript/Probable bugs", + "name": "Probable bugs", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Vue", + "name": "Vue" + }, + { + "id": "MongoJS", + "name": "MongoJS" + }, + { + "id": "XML/Spelling Issues", + "name": "Spelling Issues", + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/Syntax Style", + "name": "Syntax Style", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Web.Config/Code Notification", + "name": "Code Notification", + "relationships": [ + { + "target": { + "id": "Web.Config", + "index": 72, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAML", + "name": "YAML" + }, + { + "id": "VB.NET/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "VB.NET", + "index": 34, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Try statement issues", + "name": "Try statement issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Web.Config/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "Web.Config", + "index": 72, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ResX/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "ResX", + "index": 59, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HttpHandler or WebService", + "name": "HttpHandler or WebService" + }, + { + "id": "HttpHandler or WebService/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "HttpHandler or WebService", + "index": 90, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SQL server", + "name": "SQL server" + }, + { + "id": "JavaScript and TypeScript/Async code and promises", + "name": "Async code and promises", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Naming conventions", + "name": "Naming conventions", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Assignment issues", + "name": "Assignment issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Switch statement issues", + "name": "Switch statement issues", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VB.NET/Compiler Warnings", + "name": "Compiler Warnings", + "relationships": [ + { + "target": { + "id": "VB.NET", + "index": 34, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Shell script", + "name": "Shell script" + }, + { + "id": "JavaScript and TypeScript/Data flow", + "name": "Data flow", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/UnrealHeaderTool", + "name": "UnrealHeaderTool", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSS/Code style issues", + "name": "Code style issues", + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "T4", + "name": "T4" + }, + { + "id": "T4/T4", + "name": "T4", + "relationships": [ + { + "target": { + "id": "T4", + "index": 102, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Unused symbols", + "name": "Unused symbols", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Aspx/Redundancies in Code", + "name": "Redundancies in Code", + "relationships": [ + { + "target": { + "id": "Aspx", + "index": 56, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Imports and dependencies", + "name": "Imports and dependencies", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Less", + "name": "Less" + }, + { + "id": "C#/Entity Framework", + "name": "Entity Framework", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Oracle", + "name": "Oracle" + }, + { + "id": "Internationalization", + "name": "Internationalization" + }, + { + "id": "Unreal Engine", + "name": "Unreal Engine" + }, + { + "id": "C#/Unity Performance Inspections", + "name": "Unity Performance Inspections", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSS/Code quality tools", + "name": "Code quality tools", + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RELAX NG", + "name": "RELAX NG" + }, + { + "id": "C++/Constraints Violations", + "name": "Constraints Violations", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/Unit testing", + "name": "Unit testing", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Unreal Build System", + "name": "Unreal Build System", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MySQL", + "name": "MySQL" + }, + { + "id": "Angular 2 HTML", + "name": "Angular 2 HTML" + }, + { + "id": "Angular 2 HTML/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "Angular 2 HTML", + "index": 119, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C++/.NET Core", + "name": ".NET Core", + "relationships": [ + { + "target": { + "id": "C++", + "index": 2, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSS/Probable bugs", + "name": "Probable bugs", + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Ini files", + "name": "Ini files" + }, + { + "id": "Razor", + "name": "Razor" + }, + { + "id": "Razor/Potential Code Quality Issues", + "name": "Potential Code Quality Issues", + "relationships": [ + { + "target": { + "id": "Razor", + "index": 124, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Spelling Issues", + "name": "Spelling Issues", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Version control", + "name": "Version control" + }, + { + "id": "Aspx/Common Practices and Code Improvements", + "name": "Common Practices and Code Improvements", + "relationships": [ + { + "target": { + "id": "Aspx", + "index": 56, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL" + }, + { + "id": "Qodana", + "name": "Qodana" + }, + { + "id": "File Watchers", + "name": "File Watchers" + }, + { + "id": "Rider", + "name": "Rider" + }, + { + "id": "Rider/General", + "name": "General", + "relationships": [ + { + "target": { + "id": "Rider", + "index": 132, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XAML/Constraints Violations", + "name": "Constraints Violations", + "relationships": [ + { + "target": { + "id": "XAML", + "index": 39, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JavaScript and TypeScript/React", + "name": "React", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Code Notification", + "name": "Code Notification", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MSBuild", + "name": "MSBuild" + }, + { + "id": "VB.NET/Code Notification", + "name": "Code Notification", + "relationships": [ + { + "target": { + "id": "VB.NET", + "index": 34, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpBase", + "name": "RegExpBase" + }, + { + "id": "RegExpBase/Language Usage Opportunities", + "name": "Language Usage Opportunities", + "relationships": [ + { + "target": { + "id": "RegExpBase", + "index": 139, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Handlebars/Mustache", + "name": "Handlebars/Mustache" + }, + { + "id": "JavaScript and TypeScript/Node.js", + "name": "Node.js", + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript", + "index": 10, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "C#/Xunit", + "name": "Xunit", + "relationships": [ + { + "target": { + "id": "C#", + "index": 0, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + "extensions": [ + { + "name": "rider.intellij.plugin.appender", + "version": "232.9083.8", + "rules": [ + { + "id": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "shortDescription": { + "text": "Some values of the enum are not processed inside 'switch' statement and are handled via default section" + }, + "fullDescription": { + "text": "Some values of the enum are not processed inside 'switch' statement and fall into default section. This might indicate unintentional handling of all enum values added after the switch was introduced, consider handling missing enum values explicitly Learn more...", + "markdown": "Some values of the enum are not processed inside 'switch' statement and fall into default section. This might indicate unintentional handling of all enum values added after the switch was introduced, consider handling missing enum values explicitly [Learn more...](https://www.jetbrains.com/help/rider/SwitchStatementHandlesSomeKnownEnumValuesWithDefault.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp98Cpp11Cpp14CompatPedantic", + "shortDescription": { + "text": "c++98-c++11-c++14-compat-pedantic clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++98-c++11-c++14-compat-pedantic clang diagnostic · Learn more", + "markdown": "-Wc++98-c++11-c++14-compat-pedantic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-98-c-11-c-14-compat-pedantic)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp98Cpp11Cpp14CompatPedantic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUEBlueprintImplementableEventNotImplemented", + "shortDescription": { + "text": "BlueprintImplementableEvent function is not implemented in any blueprint" + }, + "fullDescription": { + "text": "BlueprintImplementableEvent function is not implemented in any blueprint", + "markdown": "BlueprintImplementableEvent function is not implemented in any blueprint" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppUEBlueprintImplementableEventNotImplemented", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToCompoundAssignment", + "shortDescription": { + "text": "Use compound assignment" + }, + "fullDescription": { + "text": "Replace assignment with compound assignment", + "markdown": "Replace assignment with compound assignment" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToCompoundAssignment", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseConfigureAwaitFalseForAsyncDisposable", + "shortDescription": { + "text": "Missing '.ConfigureAwait(false)' for async disposable in library code" + }, + "fullDescription": { + "text": "It is recommended to use 'ConfigureAwait(false)' in your library code to prevent context capture in task continuations. This inspection is controlled by the 'ConfigureAwait analysis mode' project level property, which is set to 'Disabled' by default. Set 'ConfigureAwait analysis mode' project level property to 'Library' to analyze 'await using' statements for missing 'ConfigureAwait(false)' calls.", + "markdown": "It is recommended to use 'ConfigureAwait(false)' in your library code to prevent context capture in task continuations. This inspection is controlled by the 'ConfigureAwait analysis mode' project level property, which is set to 'Disabled' by default. Set 'ConfigureAwait analysis mode' project level property to 'Library' to analyze 'await using' statements for missing 'ConfigureAwait(false)' calls." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "UseConfigureAwaitFalseForAsyncDisposable", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticEnumConversion", + "shortDescription": { + "text": "enum-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wenum-conversion clang diagnostic · Learn more", + "markdown": "-Wenum-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wenum-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticEnumConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesProTypeReinterpretCast", + "shortDescription": { + "text": "cppcoreguidelines-pro-type-reinterpret-cast clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-pro-type-reinterpret-cast clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-pro-type-reinterpret-cast clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/pro-type-reinterpret-cast.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesProTypeReinterpretCast", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCompareDistinctPointerTypes", + "shortDescription": { + "text": "compare-distinct-pointer-types clang diagnostic" + }, + "fullDescription": { + "text": "-Wcompare-distinct-pointer-types clang diagnostic · Learn more", + "markdown": "-Wcompare-distinct-pointer-types clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcompare-distinct-pointer-types)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCompareDistinctPointerTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppAssignedValueIsNeverUsed", + "shortDescription": { + "text": "Assigned value is never used" + }, + "fullDescription": { + "text": "Assigned value is never used", + "markdown": "Assigned value is never used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppAssignedValueIsNeverUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppCVQualifierCanNotBeAppliedToReference", + "shortDescription": { + "text": "Adding cv-qualifiers to references has no effect" + }, + "fullDescription": { + "text": "Adding cv-qualifiers to references has no effect", + "markdown": "Adding cv-qualifiers to references has no effect" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppCVQualifierCanNotBeAppliedToReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPreOpenmp51Compat", + "shortDescription": { + "text": "pre-openmp-51-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wpre-openmp-51-compat clang diagnostic · Learn more", + "markdown": "-Wpre-openmp-51-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpre-openmp-51-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPreOpenmp51Compat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompatiblePointerTypes", + "shortDescription": { + "text": "incompatible-pointer-types clang diagnostic" + }, + "fullDescription": { + "text": "-Wincompatible-pointer-types clang diagnostic · Learn more", + "markdown": "-Wincompatible-pointer-types clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincompatible-pointer-types)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompatiblePointerTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticInitializerOverrides", + "shortDescription": { + "text": "initializer-overrides clang diagnostic" + }, + "fullDescription": { + "text": "-Winitializer-overrides clang diagnostic · Learn more", + "markdown": "-Winitializer-overrides clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winitializer-overrides)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticInitializerOverrides", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStdlibcxxNotFound", + "shortDescription": { + "text": "stdlibcxx-not-found clang diagnostic" + }, + "fullDescription": { + "text": "-Wstdlibcxx-not-found clang diagnostic · Learn more", + "markdown": "-Wstdlibcxx-not-found clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstdlibcxx-not-found)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStdlibcxxNotFound", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTautologicalUnsignedEnumZeroCompare", + "shortDescription": { + "text": "tautological-unsigned-enum-zero-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wtautological-unsigned-enum-zero-compare clang diagnostic · Learn more", + "markdown": "-Wtautological-unsigned-enum-zero-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtautological-unsigned-enum-zero-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTautologicalUnsignedEnumZeroCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClassNeedsConstructorBecauseOfUninitializedMember", + "shortDescription": { + "text": "Class should have a user-defined constructor because of an uninitialized data member" + }, + "fullDescription": { + "text": "Class should have a user-defined constructor because of an uninitialized data member", + "markdown": "Class should have a user-defined constructor because of an uninitialized data member" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClassNeedsConstructorBecauseOfUninitializedMember", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTargetClonesMixedSpecifiers", + "shortDescription": { + "text": "target-clones-mixed-specifiers clang diagnostic" + }, + "fullDescription": { + "text": "-Wtarget-clones-mixed-specifiers clang diagnostic · Learn more", + "markdown": "-Wtarget-clones-mixed-specifiers clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtarget-clones-mixed-specifiers)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTargetClonesMixedSpecifiers", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftExists", + "shortDescription": { + "text": "microsoft-exists clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-exists clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-exists clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-exists)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftExists", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAndroidCloexecAccept", + "shortDescription": { + "text": "android-cloexec-accept clang-tidy check" + }, + "fullDescription": { + "text": "android-cloexec-accept clang-tidy check · Learn more", + "markdown": "android-cloexec-accept clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/android/cloexec-accept.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAndroidCloexecAccept", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CoVariantArrayConversion", + "shortDescription": { + "text": "Co-variant array conversion" + }, + "fullDescription": { + "text": "Co-variant conversion of array could cause run-time exceptions Learn more...", + "markdown": "Co-variant conversion of array could cause run-time exceptions [Learn more...](https://www.jetbrains.com/help/rider/CoVariantArrayConversion.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CoVariantArrayConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MemberCanBeMadeStatic.Global", + "shortDescription": { + "text": "Member can be made static (shared) (non-private accessibility)" + }, + "fullDescription": { + "text": "A non-virtual instance member does not use 'this' object (neither implicitly nor explicitly) and can be made static (shared) Learn more...", + "markdown": "A non-virtual instance member does not use 'this' object (neither implicitly nor explicitly) and can be made static (shared) [Learn more...](https://www.jetbrains.com/help/rider/MemberCanBeMadeStatic.Global.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "MemberCanBeMadeStatic.Global", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUseElementsView", + "shortDescription": { + "text": "std::views::keys/values can be used" + }, + "fullDescription": { + "text": "For example, when iterating on key-value pairs, std::views::keys allows ignoring the values.", + "markdown": "For example, when iterating on key-value pairs, std::views::keys allows ignoring the values." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppUseElementsView", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.Entities.SingletonMustBeRequested", + "shortDescription": { + "text": "To use the result of a 'GetSingleton<{0}>' call in the function, 'OnCreate' must include a 'RequireForUpdate' call" + }, + "fullDescription": { + "text": "To use the result of a 'GetSingleton<{0}>' call in the function, 'OnCreate' must include a 'RequireForUpdate' call", + "markdown": "To use the result of a 'GetSingleton\\<{0}\\>' call in the function, 'OnCreate' must include a 'RequireForUpdate' call" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.Entities.SingletonMustBeRequested", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CollectionNeverUpdated.Global", + "shortDescription": { + "text": "Collection is never updated (non-private accessibility)" + }, + "fullDescription": { + "text": "New elements are never added to the collection Learn more...", + "markdown": "New elements are never added to the collection [Learn more...](https://www.jetbrains.com/help/rider/CollectionNeverUpdated.Global.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CollectionNeverUpdated.Global", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp98Cpp11CompatPedantic", + "shortDescription": { + "text": "c++98-c++11-compat-pedantic clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++98-c++11-compat-pedantic clang diagnostic · Learn more", + "markdown": "-Wc++98-c++11-compat-pedantic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-98-c-11-compat-pedantic)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp98Cpp11CompatPedantic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIgnoredPragmaIntrinsic", + "shortDescription": { + "text": "ignored-pragma-intrinsic clang diagnostic" + }, + "fullDescription": { + "text": "-Wignored-pragma-intrinsic clang diagnostic · Learn more", + "markdown": "-Wignored-pragma-intrinsic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wignored-pragma-intrinsic)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIgnoredPragmaIntrinsic", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeModifiersOrder", + "shortDescription": { + "text": "Adjust modifiers declaration order" + }, + "fullDescription": { + "text": "The order of declaration modifiers does not match code style settings Learn more...", + "markdown": "The order of declaration modifiers does not match code style settings [Learn more...](https://www.jetbrains.com/help/rider/ArrangeModifiersOrder.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeModifiersOrder", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.UnknownLayer", + "shortDescription": { + "text": "The layer is not defined in the 'Tags & Layers'" + }, + "fullDescription": { + "text": "The layer is not defined in the 'Tags & Layers'. The call is likely to fail at runtime.", + "markdown": "The layer is not defined in the 'Tags \\& Layers'. The call is likely to fail at runtime." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.UnknownLayer", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantDelegateCreation", + "shortDescription": { + "text": "Explicit delegate creation expression is redundant" + }, + "fullDescription": { + "text": "Explicit delegate creation expression is redundant Learn more...", + "markdown": "Explicit delegate creation expression is redundant [Learn more...](https://www.jetbrains.com/help/rider/RedundantDelegateCreation.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantDelegateCreation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadSemicolonSpaces", + "shortDescription": { + "text": "Incorrect spacing (around semicolon)" + }, + "fullDescription": { + "text": "Around semicolon Learn more...", + "markdown": "Around semicolon [Learn more...](https://www.jetbrains.com/help/rider/BadSemicolonSpaces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadSemicolonSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticVarargs", + "shortDescription": { + "text": "varargs clang diagnostic" + }, + "fullDescription": { + "text": "-Wvarargs clang diagnostic · Learn more", + "markdown": "-Wvarargs clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wvarargs)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticVarargs", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.IncorrectScriptableObjectInstantiation", + "shortDescription": { + "text": "'ScriptableObject' instances must be instantiated with 'ScriptableObject.CreateInstance()' instead of 'new'" + }, + "fullDescription": { + "text": "Using 'new' to instantiate a class derived from 'ScriptableObject' means that Unity will not call any event functions. Create a new instance using 'GameObject.AddComponent()'. Learn more...", + "markdown": "Using 'new' to instantiate a class derived from 'ScriptableObject' means that Unity will not call any event functions. Create a new instance using 'GameObject.AddComponent()'. [Learn more...](https://github.com/JetBrains/resharper-unity/wiki/ScriptableObjects-must-be-instantiated-with-ScriptableObject.CreateInstance-instead-of-new)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.IncorrectScriptableObjectInstantiation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppFunctionDoesntReturnValue", + "shortDescription": { + "text": "No return statement in a function or a lambda returning non-void" + }, + "fullDescription": { + "text": "No return statement in a function or a lambda with non-void return type", + "markdown": "No return statement in a function or a lambda with non-void return type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppFunctionDoesntReturnValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPointerArith", + "shortDescription": { + "text": "pointer-arith clang diagnostic" + }, + "fullDescription": { + "text": "-Wpointer-arith clang diagnostic · Learn more", + "markdown": "-Wpointer-arith clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpointer-arith)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPointerArith", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMaxUnsignedZero", + "shortDescription": { + "text": "max-unsigned-zero clang diagnostic" + }, + "fullDescription": { + "text": "-Wmax-unsigned-zero clang diagnostic · Learn more", + "markdown": "-Wmax-unsigned-zero clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmax-unsigned-zero)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMaxUnsignedZero", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeReplaceRandomShuffle", + "shortDescription": { + "text": "modernize-replace-random-shuffle clang-tidy check" + }, + "fullDescription": { + "text": "modernize-replace-random-shuffle clang-tidy check · Learn more", + "markdown": "modernize-replace-random-shuffle clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/replace-random-shuffle.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeReplaceRandomShuffle", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticSpirvCompat", + "shortDescription": { + "text": "spirv-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wspirv-compat clang diagnostic · Learn more", + "markdown": "-Wspirv-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wspirv-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticSpirvCompat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CompareNonConstrainedGenericWithNull", + "shortDescription": { + "text": "Possible comparison of value type with 'null'" + }, + "fullDescription": { + "text": "Generic type has no value or class constraint, the condition could be always 'false' Learn more...", + "markdown": "Generic type has no value or class constraint, the condition could be always 'false' [Learn more...](https://www.jetbrains.com/help/rider/CompareNonConstrainedGenericWithNull.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CompareNonConstrainedGenericWithNull", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.ImplicitUnspecifiedNullValues", + "shortDescription": { + "text": "NUnit. Implicitly unspecified null values." + }, + "fullDescription": { + "text": "NUnit. No enough values are provided in the Values attribute so NUnit implicitly adds 'null' values to fill test data.", + "markdown": "NUnit. No enough values are provided in the Values attribute so NUnit implicitly adds 'null' values to fill test data." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.ImplicitUnspecifiedNullValues", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppFunctionResultShouldBeUsed", + "shortDescription": { + "text": "Function result should be used" + }, + "fullDescription": { + "text": "Function returns a value of a type that should be handled at the call site", + "markdown": "Function returns a value of a type that should be handled at the call site" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppFunctionResultShouldBeUsed", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDoxygenUndocumentedParameter", + "shortDescription": { + "text": "Missing function parameter description in a documentation comment" + }, + "fullDescription": { + "text": "Missing function parameter description in a documentation comment", + "markdown": "Missing function parameter description in a documentation comment" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppDoxygenUndocumentedParameter", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS4014", + "shortDescription": { + "text": "Async method invocation without await expression" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/hh873131.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS4014", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadSwitchBracesIndent", + "shortDescription": { + "text": "Incorrect indent (around switch statement)" + }, + "fullDescription": { + "text": "Around switch statement", + "markdown": "Around switch statement" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadSwitchBracesIndent", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticImplicitConstIntFloatConversion", + "shortDescription": { + "text": "implicit-const-int-float-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wimplicit-const-int-float-conversion clang diagnostic · Learn more", + "markdown": "-Wimplicit-const-int-float-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wimplicit-const-int-float-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticImplicitConstIntFloatConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleExplicitConstructor", + "shortDescription": { + "text": "google-explicit-constructor clang-tidy check" + }, + "fullDescription": { + "text": "google-explicit-constructor clang-tidy check · Learn more", + "markdown": "google-explicit-constructor clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/explicit-constructor.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleExplicitConstructor", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShadowUncapturedLocal", + "shortDescription": { + "text": "shadow-uncaptured-local clang diagnostic" + }, + "fullDescription": { + "text": "-Wshadow-uncaptured-local clang diagnostic · Learn more", + "markdown": "-Wshadow-uncaptured-local clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshadow-uncaptured-local)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShadowUncapturedLocal", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseIsOperator.1", + "shortDescription": { + "text": "Use 'is' operator" + }, + "fullDescription": { + "text": "typeof($T$).IsAssignableFrom($expr$.GetType())", + "markdown": "typeof($T$).IsAssignableFrom($expr$.GetType())" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseIsOperator.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCplusplusSmartPtrModeling", + "shortDescription": { + "text": "cplusplus.SmartPtrModeling clang static analyzer check" + }, + "fullDescription": { + "text": "cplusplus.SmartPtrModeling clang static analyzer check · Learn more", + "markdown": "cplusplus.SmartPtrModeling clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCplusplusSmartPtrModeling", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseIsOperator.2", + "shortDescription": { + "text": "Use 'is' operator" + }, + "fullDescription": { + "text": "typeof($T$).IsInstanceOfType($expr$)", + "markdown": "typeof($T$).IsInstanceOfType($expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseIsOperator.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuComplexInteger", + "shortDescription": { + "text": "gnu-complex-integer clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-complex-integer clang diagnostic · Learn more", + "markdown": "-Wgnu-complex-integer clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-complex-integer)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuComplexInteger", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithOfType.Single.1", + "shortDescription": { + "text": "Replace with OfType().Single()" + }, + "fullDescription": { + "text": "$seq$.Select($x$ => $x$ as $T$).Single($y$ => $y$ != null)", + "markdown": "$seq$.Select($x$ =\\> $x$ as $T$).Single($y$ =\\> $y$ != null)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithOfType.Single.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithOfType.Single.2", + "shortDescription": { + "text": "Replace with OfType().Single() (replace with OfType().Single(..))" + }, + "fullDescription": { + "text": "$seq$.Select($x$ => $x$ as $T$).Single($y$ => $y$ != null && $expr$)", + "markdown": "$seq$.Select($x$ =\\> $x$ as $T$).Single($y$ =\\> $y$ != null \\&\\& $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithOfType.Single.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAbseilTimeSubtraction", + "shortDescription": { + "text": "abseil-time-subtraction clang-tidy check" + }, + "fullDescription": { + "text": "abseil-time-subtraction clang-tidy check · Learn more", + "markdown": "abseil-time-subtraction clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/abseil/time-subtraction.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAbseilTimeSubtraction", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeallocInCategory", + "shortDescription": { + "text": "dealloc-in-category clang diagnostic" + }, + "fullDescription": { + "text": "-Wdealloc-in-category clang diagnostic · Learn more", + "markdown": "-Wdealloc-in-category clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdealloc-in-category)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeallocInCategory", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp20Compat", + "shortDescription": { + "text": "c++20-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++20-compat clang diagnostic · Learn more", + "markdown": "-Wc++20-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-20-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp20Compat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeleteIncomplete", + "shortDescription": { + "text": "delete-incomplete clang diagnostic" + }, + "fullDescription": { + "text": "-Wdelete-incomplete clang diagnostic · Learn more", + "markdown": "-Wdelete-incomplete clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdelete-incomplete)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeleteIncomplete", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticThreadSafetyAnalysis", + "shortDescription": { + "text": "thread-safety-analysis clang diagnostic" + }, + "fullDescription": { + "text": "-Wthread-safety-analysis clang diagnostic · Learn more", + "markdown": "-Wthread-safety-analysis clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wthread-safety-analysis)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticThreadSafetyAnalysis", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscNoRecursion", + "shortDescription": { + "text": "misc-no-recursion clang-tidy check" + }, + "fullDescription": { + "text": "misc-no-recursion clang-tidy check · Learn more", + "markdown": "misc-no-recursion clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/no-recursion.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyMiscNoRecursion", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EventUnsubscriptionViaAnonymousDelegate", + "shortDescription": { + "text": "Event unsubscription via anonymous delegate" + }, + "fullDescription": { + "text": "Event unsubscription via anonymous delegate is meaningless", + "markdown": "Event unsubscription via anonymous delegate is meaningless" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "EventUnsubscriptionViaAnonymousDelegate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantConstSpecifier", + "shortDescription": { + "text": "Redundant 'const' specifier" + }, + "fullDescription": { + "text": "The 'const' specifier on a variable definition is redundant", + "markdown": "The 'const' specifier on a variable definition is redundant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppRedundantConstSpecifier", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Redundancies in Code", + "index": 31, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseNullableAnnotationInsteadOfAttribute", + "shortDescription": { + "text": "Use nullable annotation instead of an attribute" + }, + "fullDescription": { + "text": "An attribute is used to declare the nullability of a type. Nullable reference types' annotations might be used instead.", + "markdown": "An attribute is used to declare the nullability of a type. Nullable reference types' annotations might be used instead." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseNullableAnnotationInsteadOfAttribute", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp14CompatPedantic", + "shortDescription": { + "text": "c++14-compat-pedantic clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++14-compat-pedantic clang diagnostic · Learn more", + "markdown": "-Wc++14-compat-pedantic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-14-compat-pedantic)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp14CompatPedantic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppMissingIncludeGuard", + "shortDescription": { + "text": "Missing include guard" + }, + "fullDescription": { + "text": "Include guard is not found at the beginning of a header file", + "markdown": "Include guard is not found at the beginning of a header file" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppMissingIncludeGuard", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedTupleComponentInReturnValue", + "shortDescription": { + "text": "Component of the tuple is never used" + }, + "fullDescription": { + "text": "Component of the tuple is never used", + "markdown": "Component of the tuple is never used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedTupleComponentInReturnValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMacroRedefined", + "shortDescription": { + "text": "macro-redefined clang diagnostic" + }, + "fullDescription": { + "text": "-Wmacro-redefined clang diagnostic · Learn more", + "markdown": "-Wmacro-redefined clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmacro-redefined)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMacroRedefined", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticRetainedLanguageLinkage", + "shortDescription": { + "text": "retained-language-linkage clang diagnostic" + }, + "fullDescription": { + "text": "-Wretained-language-linkage clang diagnostic · Learn more", + "markdown": "-Wretained-language-linkage clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wretained-language-linkage)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticRetainedLanguageLinkage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticKeywordMacro", + "shortDescription": { + "text": "keyword-macro clang diagnostic" + }, + "fullDescription": { + "text": "-Wkeyword-macro clang diagnostic · Learn more", + "markdown": "-Wkeyword-macro clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wkeyword-macro)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticKeywordMacro", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityUseAnyofallof", + "shortDescription": { + "text": "readability-use-anyofallof clang-tidy check" + }, + "fullDescription": { + "text": "readability-use-anyofallof clang-tidy check · Learn more", + "markdown": "readability-use-anyofallof clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/use-anyofallof.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityUseAnyofallof", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticReadonlyIboutletProperty", + "shortDescription": { + "text": "readonly-iboutlet-property clang diagnostic" + }, + "fullDescription": { + "text": "-Wreadonly-iboutlet-property clang diagnostic · Learn more", + "markdown": "-Wreadonly-iboutlet-property clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wreadonly-iboutlet-property)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticReadonlyIboutletProperty", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGccCompat", + "shortDescription": { + "text": "gcc-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wgcc-compat clang diagnostic · Learn more", + "markdown": "-Wgcc-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgcc-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGccCompat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDeprecatedRegisterStorageClassSpecifier", + "shortDescription": { + "text": "Deprecated 'register' storage class specifier" + }, + "fullDescription": { + "text": "The 'register' storage class specifier is deprecated in C++11 and removed in C++17", + "markdown": "The 'register' storage class specifier is deprecated in C++11 and removed in C++17" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDeprecatedRegisterStorageClassSpecifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMemsizeComparison", + "shortDescription": { + "text": "memsize-comparison clang diagnostic" + }, + "fullDescription": { + "text": "-Wmemsize-comparison clang diagnostic · Learn more", + "markdown": "-Wmemsize-comparison clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmemsize-comparison)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMemsizeComparison", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseNegatedPatternInIsExpression", + "shortDescription": { + "text": "Convert negated 'is' expression into 'is' expression with negated pattern" + }, + "fullDescription": { + "text": "Replace unary negation operator '!' before 'is' expression with C# 9.0 negated pattern", + "markdown": "Replace unary negation operator '!' before 'is' expression with C# 9.0 negated pattern" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseNegatedPatternInIsExpression", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppAvoidCArrays", + "shortDescription": { + "text": "hicpp-avoid-c-arrays clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-avoid-c-arrays clang-tidy check · Learn more", + "markdown": "hicpp-avoid-c-arrays clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/avoid-c-arrays.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppAvoidCArrays", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithSingleCallToLast", + "shortDescription": { + "text": "Replace with single call to Last(..)" + }, + "fullDescription": { + "text": "$seq$.Where(Function ($x$) $expr$).Last()", + "markdown": "$seq$.Where(Function ($x$) $expr$).Last()" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithSingleCallToLast", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Blazor.EditorRequired", + "shortDescription": { + "text": "Missed value for required attribute" + }, + "fullDescription": { + "text": "Missed value for required attribute", + "markdown": "Missed value for required attribute" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Blazor.EditorRequired", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Blazor/Potential Code Quality Issues", + "index": 37, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticBackslashNewlineEscape", + "shortDescription": { + "text": "backslash-newline-escape clang diagnostic" + }, + "fullDescription": { + "text": "-Wbackslash-newline-escape clang diagnostic · Learn more", + "markdown": "-Wbackslash-newline-escape clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wbackslash-newline-escape)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticBackslashNewlineEscape", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneSizeofExpression", + "shortDescription": { + "text": "bugprone-sizeof-expression clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-sizeof-expression clang-tidy check · Learn more", + "markdown": "bugprone-sizeof-expression clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/sizeof-expression.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneSizeofExpression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.TestCaseSourceShouldImplementIEnumerable", + "shortDescription": { + "text": "NUnit. Test case source must be non-abstract and implement IEnumerable." + }, + "fullDescription": { + "text": "NUnit. Test case source must refer to non-abstract class implementing IEnumerable. Learn more...", + "markdown": "NUnit. Test case source must refer to non-abstract class implementing IEnumerable. [Learn more...](https://www.jetbrains.com/help/rider/NUnit.TestCaseSourceShouldImplementIEnumerable.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.TestCaseSourceShouldImplementIEnumerable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CollectionNeverUpdated.Local", + "shortDescription": { + "text": "Collection is never updated (private accessibility)" + }, + "fullDescription": { + "text": "New elements are never added to the collection Learn more...", + "markdown": "New elements are never added to the collection [Learn more...](https://www.jetbrains.com/help/rider/CollectionNeverUpdated.Local.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CollectionNeverUpdated.Local", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticOpenmp51Extensions", + "shortDescription": { + "text": "openmp-51-extensions clang diagnostic" + }, + "fullDescription": { + "text": "-Wopenmp-51-extensions clang diagnostic · Learn more", + "markdown": "-Wopenmp-51-extensions clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wopenmp-51-extensions)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticOpenmp51Extensions", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadColonSpaces", + "shortDescription": { + "text": "Incorrect spacing (around colon)" + }, + "fullDescription": { + "text": "Around colon", + "markdown": "Around colon" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadColonSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MergeNestedPropertyPatterns", + "shortDescription": { + "text": "Merge nested property patterns" + }, + "fullDescription": { + "text": "Simplify nested member access in a pattern by using the C# 10 extended property patterns syntax Learn more...", + "markdown": "Simplify nested member access in a pattern by using the C# 10 extended property patterns syntax [Learn more...](https://www.jetbrains.com/help/rider/MergeNestedPropertyPatterns.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "MergeNestedPropertyPatterns", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStrictPrototypes", + "shortDescription": { + "text": "strict-prototypes clang diagnostic" + }, + "fullDescription": { + "text": "-Wstrict-prototypes clang diagnostic · Learn more", + "markdown": "-Wstrict-prototypes clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstrict-prototypes)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStrictPrototypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.XKeyAttributeDisallowed", + "shortDescription": { + "text": "x:Key is allowed for resources and dictionary elements only" + }, + "fullDescription": { + "text": "x:Key is allowed for resources and dictionary elements only", + "markdown": "x:Key is allowed for resources and dictionary elements only" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Xaml.XKeyAttributeDisallowed", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Potential Code Quality Issues", + "index": 40, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PatternIsRedundant", + "shortDescription": { + "text": "The pattern is redundant, it does not produce any runtime checks" + }, + "fullDescription": { + "text": "The pattern is redundant because it does not produce any actual checks at runtime. This usually indicates an error in the pattern matching condition. Learn more...", + "markdown": "The pattern is redundant because it does not produce any actual checks at runtime. This usually indicates an error in the pattern matching condition. [Learn more...](https://www.jetbrains.com/help/rider/PatternIsRedundant.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PatternIsRedundant", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JoinNullCheckWithUsage", + "shortDescription": { + "text": "Join null check with assignment" + }, + "fullDescription": { + "text": "Replaces if statement with code using ?? operator and throw expression Learn more...", + "markdown": "Replaces if statement with code using ?? operator and throw expression [Learn more...](https://www.jetbrains.com/help/rider/JoinNullCheckWithUsage.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "JoinNullCheckWithUsage", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticSingleBitBitfieldConstantConversion", + "shortDescription": { + "text": "single-bit-bitfield-constant-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wsingle-bit-bitfield-constant-conversion clang diagnostic · Learn more", + "markdown": "-Wsingle-bit-bitfield-constant-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wsingle-bit-bitfield-constant-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticSingleBitBitfieldConstantConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticReceiverExpr", + "shortDescription": { + "text": "receiver-expr clang diagnostic" + }, + "fullDescription": { + "text": "-Wreceiver-expr clang diagnostic · Learn more", + "markdown": "-Wreceiver-expr clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wreceiver-expr)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticReceiverExpr", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1574,CS1584,CS1581,CS1580", + "shortDescription": { + "text": "Cannot resolve reference in XML comment" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1574,CS1584,CS1581,CS1580", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.LoadSceneUnexistingScene", + "shortDescription": { + "text": "Scene does not exist" + }, + "fullDescription": { + "text": "There is no scene with the same name in the project.", + "markdown": "There is no scene with the same name in the project." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.LoadSceneUnexistingScene", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS8425", + "shortDescription": { + "text": "Async-iterator has one or more parameters of type 'CancellationToken' but none of them is annotated with the 'EnumeratorCancellation' attribute." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS8425", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS8424", + "shortDescription": { + "text": "The 'EnumeratorCancellation' attribute is only effective on a parameter of type 'CancellationToken' in an async-iterator method returning 'IAsyncEnumerable<>'." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS8424", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnsafeBufferUsage", + "shortDescription": { + "text": "unsafe-buffer-usage clang diagnostic" + }, + "fullDescription": { + "text": "-Wunsafe-buffer-usage clang diagnostic · Learn more", + "markdown": "-Wunsafe-buffer-usage clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunsafe-buffer-usage)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnsafeBufferUsage", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDeletingVoidPointer", + "shortDescription": { + "text": "Deleting a void pointer" + }, + "fullDescription": { + "text": "Deleting a void pointer is undefined behavior", + "markdown": "Deleting a void pointer is undefined behavior" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDeletingVoidPointer", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStrictSelectorMatch", + "shortDescription": { + "text": "strict-selector-match clang diagnostic" + }, + "fullDescription": { + "text": "-Wstrict-selector-match clang diagnostic · Learn more", + "markdown": "-Wstrict-selector-match clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstrict-selector-match)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStrictSelectorMatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNullableToNonnullConversion", + "shortDescription": { + "text": "nullable-to-nonnull-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wnullable-to-nonnull-conversion clang diagnostic · Learn more", + "markdown": "-Wnullable-to-nonnull-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnullable-to-nonnull-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNullableToNonnullConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RouteTemplates.ParameterConstraintCanBeSpecified", + "shortDescription": { + "text": "Route parameter constraint can be added due to type of method argument" + }, + "fullDescription": { + "text": "Route parameter constraint can be added due to type of method argument", + "markdown": "Route parameter constraint can be added due to type of method argument" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RouteTemplates.ParameterConstraintCanBeSpecified", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "ASP.NET route templates/Code Notification", + "index": 43, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftCommentPaste", + "shortDescription": { + "text": "microsoft-comment-paste clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-comment-paste clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-comment-paste clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-comment-paste)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftCommentPaste", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppThrowExpressionCanBeReplacedWithRethrow", + "shortDescription": { + "text": "Throw expression can be replaced with a rethrow expression" + }, + "fullDescription": { + "text": "Throw expression can be replaced with a rethrow expression", + "markdown": "Throw expression can be replaced with a rethrow expression" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppThrowExpressionCanBeReplacedWithRethrow", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.XamlMismatchedDeviceFamilyViewClrNameHighlighting", + "shortDescription": { + "text": "DeviceFamily-specific view type name does not match generic type name" + }, + "fullDescription": { + "text": "DeviceFamily-specific view type name does not match generic type name", + "markdown": "DeviceFamily-specific view type name does not match generic type name" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.XamlMismatchedDeviceFamilyViewClrNameHighlighting", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Potential Code Quality Issues", + "index": 40, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp98Cpp11Cpp14Compat", + "shortDescription": { + "text": "c++98-c++11-c++14-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++98-c++11-c++14-compat clang diagnostic · Learn more", + "markdown": "-Wc++98-c++11-c++14-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-98-c-11-c-14-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp98Cpp11Cpp14Compat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPreCpp14CompatPedantic", + "shortDescription": { + "text": "pre-c++14-compat-pedantic clang diagnostic" + }, + "fullDescription": { + "text": "-Wpre-c++14-compat-pedantic clang diagnostic · Learn more", + "markdown": "-Wpre-c++14-compat-pedantic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpre-c-14-compat-pedantic)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPreCpp14CompatPedantic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedCopyWithUserProvidedCopy", + "shortDescription": { + "text": "deprecated-copy-with-user-provided-copy clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-copy-with-user-provided-copy clang diagnostic · Learn more", + "markdown": "-Wdeprecated-copy-with-user-provided-copy clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-copy-with-user-provided-copy)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedCopyWithUserProvidedCopy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRangeBasedForIncompatibleReference", + "shortDescription": { + "text": "Possibly unintended incompatible reference type in range declaration" + }, + "fullDescription": { + "text": "Using an incompatible reference type in the range declaration is likely to cause unwanted object copying", + "markdown": "Using an incompatible reference type in the range declaration is likely to cause unwanted object copying" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppRangeBasedForIncompatibleReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAtomicAccess", + "shortDescription": { + "text": "atomic-access clang diagnostic" + }, + "fullDescription": { + "text": "-Watomic-access clang diagnostic · Learn more", + "markdown": "-Watomic-access clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#watomic-access)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAtomicAccess", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTautologicalTypeLimitCompare", + "shortDescription": { + "text": "tautological-type-limit-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wtautological-type-limit-compare clang diagnostic · Learn more", + "markdown": "-Wtautological-type-limit-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtautological-type-limit-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTautologicalTypeLimitCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertCon36C", + "shortDescription": { + "text": "cert-con36-c clang-tidy check" + }, + "fullDescription": { + "text": "cert-con36-c clang-tidy check · Learn more", + "markdown": "cert-con36-c clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/con36-c.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertCon36C", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftUnionMemberReference", + "shortDescription": { + "text": "microsoft-union-member-reference clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-union-member-reference clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-union-member-reference clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-union-member-reference)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftUnionMemberReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToLocalFunction", + "shortDescription": { + "text": "Convert delegate variable into local function" + }, + "fullDescription": { + "text": "Replace delegate variable with local function Learn more...", + "markdown": "Replace delegate variable with local function [Learn more...](https://www.jetbrains.com/help/rider/ConvertToLocalFunction.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToLocalFunction", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNonModularIncludeInModule", + "shortDescription": { + "text": "non-modular-include-in-module clang diagnostic" + }, + "fullDescription": { + "text": "-Wnon-modular-include-in-module clang diagnostic · Learn more", + "markdown": "-Wnon-modular-include-in-module clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnon-modular-include-in-module)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNonModularIncludeInModule", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompatibleMsStruct", + "shortDescription": { + "text": "incompatible-ms-struct clang diagnostic" + }, + "fullDescription": { + "text": "-Wincompatible-ms-struct clang diagnostic · Learn more", + "markdown": "-Wincompatible-ms-struct clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincompatible-ms-struct)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompatibleMsStruct", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppNoArrayDecay", + "shortDescription": { + "text": "hicpp-no-array-decay clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-no-array-decay clang-tidy check · Learn more", + "markdown": "hicpp-no-array-decay clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/no-array-decay.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppNoArrayDecay", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxNSOrCFErrorDerefChecker", + "shortDescription": { + "text": "osx.NSOrCFErrorDerefChecker clang static analyzer check" + }, + "fullDescription": { + "text": "osx.NSOrCFErrorDerefChecker clang static analyzer check · Learn more", + "markdown": "osx.NSOrCFErrorDerefChecker clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxNSOrCFErrorDerefChecker", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPointerIntegerCompare", + "shortDescription": { + "text": "pointer-integer-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wpointer-integer-compare clang diagnostic · Learn more", + "markdown": "-Wpointer-integer-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpointer-integer-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPointerIntegerCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompatibleFunctionPointerTypesStrict", + "shortDescription": { + "text": "incompatible-function-pointer-types-strict clang diagnostic" + }, + "fullDescription": { + "text": "-Wincompatible-function-pointer-types-strict clang diagnostic · Learn more", + "markdown": "-Wincompatible-function-pointer-types-strict clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincompatible-function-pointer-types-strict)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompatibleFunctionPointerTypesStrict", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppMissingIndent", + "shortDescription": { + "text": "Incorrect indent (missing indent/outdent elsewhere)" + }, + "fullDescription": { + "text": "Missing indent/outdent elsewhere", + "markdown": "Missing indent/outdent elsewhere" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppMissingIndent", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Html.AttributeValueNotResolved", + "shortDescription": { + "text": "Unknown attribute value" + }, + "fullDescription": { + "text": "Unknown attribute value in HTML and related technologies", + "markdown": "Unknown attribute value in HTML and related technologies" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "Html.AttributeValueNotResolved", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Potential Code Quality Issues", + "index": 48, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppPrintfExtraArg", + "shortDescription": { + "text": "Too many arguments in a call to printf" + }, + "fullDescription": { + "text": "Too many arguments in a call to printf. Some of the arguments are not used.", + "markdown": "Too many arguments in a call to printf. Some of the arguments are not used." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppPrintfExtraArg", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityElseAfterReturn", + "shortDescription": { + "text": "readability-else-after-return clang-tidy check" + }, + "fullDescription": { + "text": "readability-else-after-return clang-tidy check · Learn more", + "markdown": "readability-else-after-return clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/else-after-return.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityElseAfterReturn", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPragmaClangAttribute", + "shortDescription": { + "text": "pragma-clang-attribute clang diagnostic" + }, + "fullDescription": { + "text": "-Wpragma-clang-attribute clang diagnostic · Learn more", + "markdown": "-Wpragma-clang-attribute clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpragma-clang-attribute)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPragmaClangAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesProBoundsPointerArithmetic", + "shortDescription": { + "text": "cppcoreguidelines-pro-bounds-pointer-arithmetic clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-pro-bounds-pointer-arithmetic clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-pro-bounds-pointer-arithmetic clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/pro-bounds-pointer-arithmetic.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesProBoundsPointerArithmetic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExternInitializer", + "shortDescription": { + "text": "extern-initializer clang diagnostic" + }, + "fullDescription": { + "text": "-Wextern-initializer clang diagnostic · Learn more", + "markdown": "-Wextern-initializer clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wextern-initializer)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExternInitializer", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesAvoidMagicNumbers", + "shortDescription": { + "text": "cppcoreguidelines-avoid-magic-numbers clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-avoid-magic-numbers clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-avoid-magic-numbers clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-magic-numbers.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesAvoidMagicNumbers", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BaseObjectGetHashCodeCallInGetHashCode", + "shortDescription": { + "text": "Overridden GetHashCode calls base 'Object.GetHashCode()'" + }, + "fullDescription": { + "text": "Overridden GetHashCode calls base 'Object.GetHashCode()'", + "markdown": "Overridden GetHashCode calls base 'Object.GetHashCode()'" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "BaseObjectGetHashCodeCallInGetHashCode", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityUppercaseLiteralSuffix", + "shortDescription": { + "text": "readability-uppercase-literal-suffix clang-tidy check" + }, + "fullDescription": { + "text": "readability-uppercase-literal-suffix clang-tidy check · Learn more", + "markdown": "readability-uppercase-literal-suffix clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/uppercase-literal-suffix.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityUppercaseLiteralSuffix", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDirectIvarAccess", + "shortDescription": { + "text": "direct-ivar-access clang diagnostic" + }, + "fullDescription": { + "text": "-Wdirect-ivar-access clang diagnostic · Learn more", + "markdown": "-Wdirect-ivar-access clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdirect-ivar-access)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDirectIvarAccess", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppIdenticalOperandsInBinaryExpression", + "shortDescription": { + "text": "Binary operator acts on identical operands" + }, + "fullDescription": { + "text": "Binary operator acts on identical operands", + "markdown": "Binary operator acts on identical operands" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppIdenticalOperandsInBinaryExpression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedRegister", + "shortDescription": { + "text": "deprecated-register clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-register clang diagnostic · Learn more", + "markdown": "-Wdeprecated-register clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-register)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedRegister", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMismatchedNewDelete", + "shortDescription": { + "text": "mismatched-new-delete clang diagnostic" + }, + "fullDescription": { + "text": "-Wmismatched-new-delete clang diagnostic · Learn more", + "markdown": "-Wmismatched-new-delete clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmismatched-new-delete)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMismatchedNewDelete", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstAccessingManagedMethod", + "shortDescription": { + "text": "Accessing managed methods is not supported" + }, + "fullDescription": { + "text": "Accessing managed methods is not supported", + "markdown": "Accessing managed methods is not supported" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstAccessingManagedMethod", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ShiftExpressionResultEqualsZero", + "shortDescription": { + "text": "Constant shift expression with non-zero operands results in a zero value" + }, + "fullDescription": { + "text": "Constant shift expression with non-zero operands results in a zero value", + "markdown": "Constant shift expression with non-zero operands results in a zero value" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ShiftExpressionResultEqualsZero", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityRedundantStringInit", + "shortDescription": { + "text": "readability-redundant-string-init clang-tidy check" + }, + "fullDescription": { + "text": "readability-redundant-string-init clang-tidy check · Learn more", + "markdown": "readability-redundant-string-init clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/redundant-string-init.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityRedundantStringInit", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnsupportedTargetOpt", + "shortDescription": { + "text": "unsupported-target-opt clang diagnostic" + }, + "fullDescription": { + "text": "-Wunsupported-target-opt clang diagnostic · Learn more", + "markdown": "-Wunsupported-target-opt clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunsupported-target-opt)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnsupportedTargetOpt", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTautologicalConstantInRangeCompare", + "shortDescription": { + "text": "tautological-constant-in-range-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wtautological-constant-in-range-compare clang diagnostic · Learn more", + "markdown": "-Wtautological-constant-in-range-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtautological-constant-in-range-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTautologicalConstantInRangeCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnknownEscapeSequence", + "shortDescription": { + "text": "unknown-escape-sequence clang diagnostic" + }, + "fullDescription": { + "text": "-Wunknown-escape-sequence clang diagnostic · Learn more", + "markdown": "-Wunknown-escape-sequence clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunknown-escape-sequence)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnknownEscapeSequence", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseArrayEmptyMethod", + "shortDescription": { + "text": "Use 'Array.Empty()'" + }, + "fullDescription": { + "text": "Replace an empty array allocation with a call of the predefined 'Array.Empty()' method", + "markdown": "Replace an empty array allocation with a call of the predefined 'Array.Empty()' method" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseArrayEmptyMethod", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadCommaSpaces", + "shortDescription": { + "text": "Incorrect spacing (around comma)" + }, + "fullDescription": { + "text": "Around comma", + "markdown": "Around comma" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadCommaSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppAbstractClassWithoutSpecifier", + "shortDescription": { + "text": "Class is abstract but not explicitly declared as such" + }, + "fullDescription": { + "text": "The class is abstract but not explicitly declared as such", + "markdown": "The class is abstract but not explicitly declared as such" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppAbstractClassWithoutSpecifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithOfType.Single.2", + "shortDescription": { + "text": "Replace with OfType().Single() (replace with OfType(Of ..)().Single(..))" + }, + "fullDescription": { + "text": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Single(Function ($y$) $y$ IsNot Nothing AndAlso $expr$)", + "markdown": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Single(Function ($y$) $y$ IsNot Nothing AndAlso $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithOfType.Single.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithOfType.Single.1", + "shortDescription": { + "text": "Replace with OfType().Single() (replace with OfType(Of ..)().Single())" + }, + "fullDescription": { + "text": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Single(Function ($y$) $y$ IsNot Nothing)", + "markdown": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Single(Function ($y$) $y$ IsNot Nothing)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithOfType.Single.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticFormatSecurity", + "shortDescription": { + "text": "format-security clang diagnostic" + }, + "fullDescription": { + "text": "-Wformat-security clang diagnostic · Learn more", + "markdown": "-Wformat-security clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wformat-security)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticFormatSecurity", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBoostFormatBadCode", + "shortDescription": { + "text": "Incorrect format directive in boost::format" + }, + "fullDescription": { + "text": "A format string of boost::format contains an erroneous format directive", + "markdown": "A format string of boost::format contains an erroneous format directive" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppBoostFormatBadCode", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadParensSpaces", + "shortDescription": { + "text": "Incorrect spacing (around parenthesis)" + }, + "fullDescription": { + "text": "Around parenthesis", + "markdown": "Around parenthesis" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadParensSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPessimizingMove", + "shortDescription": { + "text": "pessimizing-move clang diagnostic" + }, + "fullDescription": { + "text": "-Wpessimizing-move clang diagnostic · Learn more", + "markdown": "-Wpessimizing-move clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpessimizing-move)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPessimizingMove", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PossibleInterfaceMemberAmbiguity", + "shortDescription": { + "text": "Possible ambiguity while accessing member by interface" + }, + "fullDescription": { + "text": "Possible ambiguity while accessing member by interface", + "markdown": "Possible ambiguity while accessing member by interface" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PossibleInterfaceMemberAmbiguity", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MethodHasAsyncOverloadWithCancellation", + "shortDescription": { + "text": "Method has async overload with cancellation support" + }, + "fullDescription": { + "text": "Method has async overload with 'CancellationToken'", + "markdown": "Method has async overload with 'CancellationToken'" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "MethodHasAsyncOverloadWithCancellation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompatibleFunctionPointerTypes", + "shortDescription": { + "text": "incompatible-function-pointer-types clang diagnostic" + }, + "fullDescription": { + "text": "-Wincompatible-function-pointer-types clang diagnostic · Learn more", + "markdown": "-Wincompatible-function-pointer-types clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincompatible-function-pointer-types)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompatibleFunctionPointerTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeleteNonAbstractNonVirtualDtor", + "shortDescription": { + "text": "delete-non-abstract-non-virtual-dtor clang diagnostic" + }, + "fullDescription": { + "text": "-Wdelete-non-abstract-non-virtual-dtor clang diagnostic · Learn more", + "markdown": "-Wdelete-non-abstract-non-virtual-dtor clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdelete-non-abstract-non-virtual-dtor)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeleteNonAbstractNonVirtualDtor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesAvoidGoto", + "shortDescription": { + "text": "cppcoreguidelines-avoid-goto clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-avoid-goto clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-avoid-goto clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-goto.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesAvoidGoto", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppPrivateSpecialMemberFunctionIsNotImplemented", + "shortDescription": { + "text": "Private special member function is not implemented" + }, + "fullDescription": { + "text": "A private special member function must be defined or deleted", + "markdown": "A private special member function must be defined or deleted" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppPrivateSpecialMemberFunctionIsNotImplemented", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUndefPrefix", + "shortDescription": { + "text": "undef-prefix clang diagnostic" + }, + "fullDescription": { + "text": "-Wundef-prefix clang diagnostic · Learn more", + "markdown": "-Wundef-prefix clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wundef-prefix)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUndefPrefix", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityInconsistentDeclarationParameterName", + "shortDescription": { + "text": "readability-inconsistent-declaration-parameter-name clang-tidy check" + }, + "fullDescription": { + "text": "readability-inconsistent-declaration-parameter-name clang-tidy check · Learn more", + "markdown": "readability-inconsistent-declaration-parameter-name clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityInconsistentDeclarationParameterName", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ObsoleteElementError", + "shortDescription": { + "text": "Use of obsolete type or type member (error)" + }, + "fullDescription": { + "text": "Use of obsolete type or type member in XAML markup (error)", + "markdown": "Use of obsolete type or type member in XAML markup (error)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "ObsoleteElementError", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Compiler Warnings", + "index": 53, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertConstructorToMemberInitializers", + "shortDescription": { + "text": "Convert constructor into member initializers" + }, + "fullDescription": { + "text": "Replace constructor with members initialized inline", + "markdown": "Replace constructor with members initialized inline" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertConstructorToMemberInitializers", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.DuplicateShortcut", + "shortDescription": { + "text": "The same shortcut is defined for another menu item" + }, + "fullDescription": { + "text": "The same shortcut is defined for another menu item", + "markdown": "The same shortcut is defined for another menu item" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.DuplicateShortcut", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneUnhandledExceptionAtNew", + "shortDescription": { + "text": "bugprone-unhandled-exception-at-new clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-unhandled-exception-at-new clang-tidy check · Learn more", + "markdown": "bugprone-unhandled-exception-at-new clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/unhandled-exception-at-new.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyBugproneUnhandledExceptionAtNew", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDllexportExplicitInstantiationDecl", + "shortDescription": { + "text": "dllexport-explicit-instantiation-decl clang diagnostic" + }, + "fullDescription": { + "text": "-Wdllexport-explicit-instantiation-decl clang diagnostic · Learn more", + "markdown": "-Wdllexport-explicit-instantiation-decl clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdllexport-explicit-instantiation-decl)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDllexportExplicitInstantiationDecl", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppIntegralToPointerConversion", + "shortDescription": { + "text": "Implicit integer to pointer conversion" + }, + "fullDescription": { + "text": "Implicit integer to pointer conversion", + "markdown": "Implicit integer to pointer conversion" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppIntegralToPointerConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0420", + "shortDescription": { + "text": "Reference to a volatile field will not be treated as volatile" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/4bw5ewxy.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0420", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticFourCharConstants", + "shortDescription": { + "text": "four-char-constants clang diagnostic" + }, + "fullDescription": { + "text": "-Wfour-char-constants clang diagnostic · Learn more", + "markdown": "-Wfour-char-constants clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wfour-char-constants)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticFourCharConstants", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS8383", + "shortDescription": { + "text": "The tuple element name is ignored because a different name or no name is specified on the other side of the tuple == or != operator." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS8383", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.XamlRelativeSourceDefaultModeWarningHighlighting", + "shortDescription": { + "text": "RelativeSourceMode is not set explicitly" + }, + "fullDescription": { + "text": "Default RelativeSourceMode value is platform-specific, explicit specification is required to process RelativeSource usage unambiguously", + "markdown": "Default RelativeSourceMode value is platform-specific, explicit specification is required to process RelativeSource usage unambiguously" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.XamlRelativeSourceDefaultModeWarningHighlighting", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Potential Code Quality Issues", + "index": 40, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.RangeAttributeBoundsAreOutOfRange", + "shortDescription": { + "text": "NUnit. Values in range do not fit the type of the test parameter." + }, + "fullDescription": { + "text": "NUnit. Values specified in [Range] are out range for the type of the test parameter. Learn more...", + "markdown": "NUnit. Values specified in \\[Range\\] are out range for the type of the test parameter. [Learn more...](https://www.jetbrains.com/help/rider/NUnit.RangeAttributeBoundsAreOutOfRange.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.RangeAttributeBoundsAreOutOfRange", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyFuchsiaVirtualInheritance", + "shortDescription": { + "text": "fuchsia-virtual-inheritance clang-tidy check" + }, + "fullDescription": { + "text": "fuchsia-virtual-inheritance clang-tidy check · Learn more", + "markdown": "fuchsia-virtual-inheritance clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyFuchsiaVirtualInheritance", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuPointerArith", + "shortDescription": { + "text": "gnu-pointer-arith clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-pointer-arith clang diagnostic · Learn more", + "markdown": "-Wgnu-pointer-arith clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-pointer-arith)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuPointerArith", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadIndent", + "shortDescription": { + "text": "Incorrect indent (redundant indent/outdent elsewhere)" + }, + "fullDescription": { + "text": "Redundant indent/outdent elsewhere Learn more...", + "markdown": "Redundant indent/outdent elsewhere [Learn more...](https://www.jetbrains.com/help/rider/BadIndent.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadIndent", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertCon54Cpp", + "shortDescription": { + "text": "cert-con54-cpp clang-tidy check" + }, + "fullDescription": { + "text": "cert-con54-cpp clang-tidy check · Learn more", + "markdown": "cert-con54-cpp clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/con54-cpp.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertCon54Cpp", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticInvalidPpToken", + "shortDescription": { + "text": "invalid-pp-token clang diagnostic" + }, + "fullDescription": { + "text": "-Winvalid-pp-token clang diagnostic · Learn more", + "markdown": "-Winvalid-pp-token clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winvalid-pp-token)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticInvalidPpToken", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NotAssignedOutParameter", + "shortDescription": { + "text": "'out' parameter is not assigned upon exit" + }, + "fullDescription": { + "text": "'out' parameter is not assigned upon exit", + "markdown": "'out' parameter is not assigned upon exit" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NotAssignedOutParameter", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Potential Code Quality Issues", + "index": 55, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1723", + "shortDescription": { + "text": "XML comment has cref attribute that refers to a type parameter" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/ms228603.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1723", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.RedundantExpectedResultInTestCaseAttribute", + "shortDescription": { + "text": "NUnit. Redundant expected result for void test method." + }, + "fullDescription": { + "text": "Specifying expected result for void NUnit test methods through the [TestCase] attribute is redundant. Learn more...", + "markdown": "Specifying expected result for void NUnit test methods through the \\[TestCase\\] attribute is redundant. [Learn more...](https://www.jetbrains.com/help/rider/NUnit.RedundantExpectedResultInTestCaseAttribute.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.RedundantExpectedResultInTestCaseAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.UnknownTag", + "shortDescription": { + "text": "The tag is not defined in the 'Tags & Layers'" + }, + "fullDescription": { + "text": "The tag is not defined in the 'Tags & Layers'. Expression will return 'false'.", + "markdown": "The tag is not defined in the 'Tags \\& Layers'. Expression will return 'false'." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.UnknownTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleObjcFunctionNaming", + "shortDescription": { + "text": "google-objc-function-naming clang-tidy check" + }, + "fullDescription": { + "text": "google-objc-function-naming clang-tidy check · Learn more", + "markdown": "google-objc-function-naming clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/objc-function-naming.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleObjcFunctionNaming", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOptinPerformancePadding", + "shortDescription": { + "text": "optin.performance.Padding clang static analyzer check" + }, + "fullDescription": { + "text": "optin.performance.Padding clang static analyzer check · Learn more", + "markdown": "optin.performance.Padding clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOptinPerformancePadding", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantExplicitParamsArrayCreation", + "shortDescription": { + "text": "Redundant explicit array creation in argument of 'params' parameter" + }, + "fullDescription": { + "text": "Array creation in argument passed to 'params' parameter is redundant", + "markdown": "Array creation in argument passed to 'params' parameter is redundant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RedundantExplicitParamsArrayCreation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS7023", + "shortDescription": { + "text": "Static type in 'is' or 'as' operator." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS7023", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Asp.Warning", + "shortDescription": { + "text": "ASP.NET Warning" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Asp.Warning", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS7022", + "shortDescription": { + "text": "The 'Main' method will not be used as an entry point because compilation unit with top-level statements was found." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS7022", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCoreUninitializedArraySubscript", + "shortDescription": { + "text": "core.uninitialized.ArraySubscript clang static analyzer check" + }, + "fullDescription": { + "text": "core.uninitialized.ArraySubscript clang static analyzer check · Learn more", + "markdown": "core.uninitialized.ArraySubscript clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCoreUninitializedArraySubscript", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseIndexFromEndExpression", + "shortDescription": { + "text": "Use index from end expression" + }, + "fullDescription": { + "text": "Replace array indexer argument with index from end expression", + "markdown": "Replace array indexer argument with index from end expression" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseIndexFromEndExpression", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RouteTemplates.ParameterTypeAndConstraintsMismatch", + "shortDescription": { + "text": "Type of parameter doesn't satisfy constraints declared in route template" + }, + "fullDescription": { + "text": "Type of parameter doesn't satisfy constraints declared in route template", + "markdown": "Type of parameter doesn't satisfy constraints declared in route template" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RouteTemplates.ParameterTypeAndConstraintsMismatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "ASP.NET route templates/Code Notification", + "index": 43, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertMsc32C", + "shortDescription": { + "text": "cert-msc32-c clang-tidy check" + }, + "fullDescription": { + "text": "cert-msc32-c clang-tidy check · Learn more", + "markdown": "cert-msc32-c clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/msc32-c.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertMsc32C", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuBinaryLiteral", + "shortDescription": { + "text": "gnu-binary-literal clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-binary-literal clang diagnostic · Learn more", + "markdown": "-Wgnu-binary-literal clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-binary-literal)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuBinaryLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertTypeCheckToNullCheck", + "shortDescription": { + "text": "Use null check instead of a type check succeeding on any not-null value" + }, + "fullDescription": { + "text": "The expression of 'is' operator matches the provided type on any non-null value. Consider comparing with 'null' instead.", + "markdown": "The expression of 'is' operator matches the provided type on any non-null value. Consider comparing with 'null' instead." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ConvertTypeCheckToNullCheck", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppUseEqualsDefault", + "shortDescription": { + "text": "hicpp-use-equals-default clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-use-equals-default clang-tidy check · Learn more", + "markdown": "hicpp-use-equals-default clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/use-equals-default.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppUseEqualsDefault", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.IgnoredParameterAttribute", + "shortDescription": { + "text": "NUnit. Ignored parameter attribute." + }, + "fullDescription": { + "text": "NUnit. Parameter attribute is ignored by NUnit framework.", + "markdown": "NUnit. Parameter attribute is ignored by NUnit framework." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.IgnoredParameterAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeUseTransparentFunctors", + "shortDescription": { + "text": "modernize-use-transparent-functors clang-tidy check" + }, + "fullDescription": { + "text": "modernize-use-transparent-functors clang-tidy check · Learn more", + "markdown": "modernize-use-transparent-functors clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-transparent-functors.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeUseTransparentFunctors", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MeaninglessDefaultParameterValue", + "shortDescription": { + "text": "'DefaultParameterValueAttribute' must be used in conjunction with 'OptionalAttribute'" + }, + "fullDescription": { + "text": "'DefaultParameterValueAttribute' must be used in conjunction with 'OptionalAttribute'", + "markdown": "'DefaultParameterValueAttribute' must be used in conjunction with 'OptionalAttribute'" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "MeaninglessDefaultParameterValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnneededInternalDeclaration", + "shortDescription": { + "text": "unneeded-internal-declaration clang diagnostic" + }, + "fullDescription": { + "text": "-Wunneeded-internal-declaration clang diagnostic · Learn more", + "markdown": "-Wunneeded-internal-declaration clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunneeded-internal-declaration)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnneededInternalDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstCreatingManagedType", + "shortDescription": { + "text": "Creating a managed type is not supported" + }, + "fullDescription": { + "text": "Creating a managed type is not supported", + "markdown": "Creating a managed type is not supported" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstCreatingManagedType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDangling", + "shortDescription": { + "text": "dangling clang diagnostic" + }, + "fullDescription": { + "text": "-Wdangling clang diagnostic · Learn more", + "markdown": "-Wdangling clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdangling)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDangling", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticWeakVtables", + "shortDescription": { + "text": "weak-vtables clang diagnostic" + }, + "fullDescription": { + "text": "-Wweak-vtables clang diagnostic · Learn more", + "markdown": "-Wweak-vtables clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wweak-vtables)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticWeakVtables", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMissingNoreturn", + "shortDescription": { + "text": "missing-noreturn clang diagnostic" + }, + "fullDescription": { + "text": "-Wmissing-noreturn clang diagnostic · Learn more", + "markdown": "-Wmissing-noreturn clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmissing-noreturn)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMissingNoreturn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppIfCanBeReplacedByConstexprIf", + "shortDescription": { + "text": "If statement with constant condition can be replaced with 'if constexpr'" + }, + "fullDescription": { + "text": "If statement with constant condition can be replaced with 'if constexpr'", + "markdown": "If statement with constant condition can be replaced with 'if constexpr'" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppIfCanBeReplacedByConstexprIf", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppUseNoexcept", + "shortDescription": { + "text": "hicpp-use-noexcept clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-use-noexcept clang-tidy check · Learn more", + "markdown": "hicpp-use-noexcept clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/use-noexcept.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppUseNoexcept", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0458", + "shortDescription": { + "text": "The result of the expression is always 'null' of nullable type" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0458", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnusedButSetParameter", + "shortDescription": { + "text": "unused-but-set-parameter clang diagnostic" + }, + "fullDescription": { + "text": "-Wunused-but-set-parameter clang diagnostic · Learn more", + "markdown": "-Wunused-but-set-parameter clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunused-but-set-parameter)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnusedButSetParameter", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDefaultCaseNotHandledInSwitchStatement", + "shortDescription": { + "text": "Default case is not handled in a switch statement" + }, + "fullDescription": { + "text": "Default case is not handled in a switch statement", + "markdown": "Default case is not handled in a switch statement" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDefaultCaseNotHandledInSwitchStatement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShadowFieldInConstructorModified", + "shortDescription": { + "text": "shadow-field-in-constructor-modified clang diagnostic" + }, + "fullDescription": { + "text": "-Wshadow-field-in-constructor-modified clang diagnostic · Learn more", + "markdown": "-Wshadow-field-in-constructor-modified clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshadow-field-in-constructor-modified)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShadowFieldInConstructorModified", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NotOverriddenInSpecificCulture", + "shortDescription": { + "text": "Resource is not overridden in specific culture" + }, + "fullDescription": { + "text": "Resource is not overridden in one or more specific cultures Learn more...", + "markdown": "Resource is not overridden in one or more specific cultures [Learn more...](https://www.jetbrains.com/help/rider/NotOverriddenInSpecificCulture.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NotOverriddenInSpecificCulture", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "ResX/Potential Code Quality Issues", + "index": 60, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscConfusableIdentifiers", + "shortDescription": { + "text": "misc-confusable-identifiers clang-tidy check" + }, + "fullDescription": { + "text": "misc-confusable-identifiers clang-tidy check · Learn more", + "markdown": "misc-confusable-identifiers clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/confusable-identifiers.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyMiscConfusableIdentifiers", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NonReadonlyMemberInGetHashCode", + "shortDescription": { + "text": "Non-readonly type member referenced in 'GetHashCode()'" + }, + "fullDescription": { + "text": "Non-readonly field or auto-property referenced in 'GetHashCode()' Learn more...", + "markdown": "Non-readonly field or auto-property referenced in 'GetHashCode()' [Learn more...](https://www.jetbrains.com/help/rider/NonReadonlyMemberInGetHashCode.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NonReadonlyMemberInGetHashCode", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNonportableSystemIncludePath", + "shortDescription": { + "text": "nonportable-system-include-path clang diagnostic" + }, + "fullDescription": { + "text": "-Wnonportable-system-include-path clang diagnostic · Learn more", + "markdown": "-Wnonportable-system-include-path clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnonportable-system-include-path)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNonportableSystemIncludePath", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPragmaOnceOutsideHeader", + "shortDescription": { + "text": "pragma-once-outside-header clang diagnostic" + }, + "fullDescription": { + "text": "-Wpragma-once-outside-header clang diagnostic · Learn more", + "markdown": "-Wpragma-once-outside-header clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpragma-once-outside-header)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPragmaOnceOutsideHeader", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertMsc30C", + "shortDescription": { + "text": "cert-msc30-c clang-tidy check" + }, + "fullDescription": { + "text": "cert-msc30-c clang-tidy check · Learn more", + "markdown": "cert-msc30-c clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/msc30-c.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertMsc30C", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCoroNonAlignedAllocationFunciton", + "shortDescription": { + "text": "coro-non-aligned-allocation-funciton clang diagnostic" + }, + "fullDescription": { + "text": "-Wcoro-non-aligned-allocation-funciton clang diagnostic · Learn more", + "markdown": "-Wcoro-non-aligned-allocation-funciton clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcoro-non-aligned-allocation-funciton)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCoroNonAlignedAllocationFunciton", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAtomicAlignment", + "shortDescription": { + "text": "atomic-alignment clang diagnostic" + }, + "fullDescription": { + "text": "-Watomic-alignment clang diagnostic · Learn more", + "markdown": "-Watomic-alignment clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#watomic-alignment)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAtomicAlignment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0469", + "shortDescription": { + "text": "'goto case' value is not implicitly convertible to required type" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/ms228370.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0469", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedAnonymousMethodSignature", + "shortDescription": { + "text": "Anonymous method signature is not necessary" + }, + "fullDescription": { + "text": "Specifying signature in an anonymous method is not necessary because none of its parameters are used in the body", + "markdown": "Specifying signature in an anonymous method is not necessary because none of its parameters are used in the body" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedAnonymousMethodSignature", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMissingExceptionSpec", + "shortDescription": { + "text": "missing-exception-spec clang diagnostic" + }, + "fullDescription": { + "text": "-Wmissing-exception-spec clang diagnostic · Learn more", + "markdown": "-Wmissing-exception-spec clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmissing-exception-spec)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMissingExceptionSpec", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPoisonSystemDirectories", + "shortDescription": { + "text": "poison-system-directories clang diagnostic" + }, + "fullDescription": { + "text": "-Wpoison-system-directories clang diagnostic · Learn more", + "markdown": "-Wpoison-system-directories clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpoison-system-directories)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPoisonSystemDirectories", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0464", + "shortDescription": { + "text": "Comparing with null of nullable value type always produces 'false'" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0464", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0465", + "shortDescription": { + "text": "Introducing a 'Finalize' method can interfere with destructor invocation" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/02wtfwbt.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0465", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnusedLambdaCapture", + "shortDescription": { + "text": "unused-lambda-capture clang diagnostic" + }, + "fullDescription": { + "text": "-Wunused-lambda-capture clang diagnostic · Learn more", + "markdown": "-Wunused-lambda-capture clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunused-lambda-capture)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnusedLambdaCapture", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticFormat", + "shortDescription": { + "text": "format clang diagnostic" + }, + "fullDescription": { + "text": "-Wformat clang diagnostic · Learn more", + "markdown": "-Wformat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wformat)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticFormat", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIgnoredReferenceQualifiers", + "shortDescription": { + "text": "ignored-reference-qualifiers clang diagnostic" + }, + "fullDescription": { + "text": "-Wignored-reference-qualifiers clang diagnostic · Learn more", + "markdown": "-Wignored-reference-qualifiers clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wignored-reference-qualifiers)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIgnoredReferenceQualifiers", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.EmptyGridLengthDefinition", + "shortDescription": { + "text": "Grid length definition must not be empty" + }, + "fullDescription": { + "text": "Grid length definition must not be empty", + "markdown": "Grid length definition must not be empty" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Xaml.EmptyGridLengthDefinition", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Code Notification", + "index": 63, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBUseMethodAny.1", + "shortDescription": { + "text": "Use method Any()" + }, + "fullDescription": { + "text": "$seq$.Count() > 0", + "markdown": "$seq$.Count() \\> 0" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBUseMethodAny.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBUseMethodAny.2", + "shortDescription": { + "text": "Use method Any()" + }, + "fullDescription": { + "text": "$seq$.Count() >= 1", + "markdown": "$seq$.Count() \\>= 1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBUseMethodAny.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS7095", + "shortDescription": { + "text": "Filter expression is a constant, consider removing the filter" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS7095", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBUseMethodAny.3", + "shortDescription": { + "text": "Use method Any()" + }, + "fullDescription": { + "text": "$seq$.Count() = 0", + "markdown": "$seq$.Count() = 0" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBUseMethodAny.3", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBUseMethodAny.4", + "shortDescription": { + "text": "Use method Any()" + }, + "fullDescription": { + "text": "$seq$.Count() <= 0", + "markdown": "$seq$.Count() \\<= 0" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBUseMethodAny.4", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBUseMethodAny.5", + "shortDescription": { + "text": "Use method Any()" + }, + "fullDescription": { + "text": "$seq$.Count() < 1", + "markdown": "$seq$.Count() \\< 1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBUseMethodAny.5", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUsedButMarkedUnused", + "shortDescription": { + "text": "used-but-marked-unused clang diagnostic" + }, + "fullDescription": { + "text": "-Wused-but-marked-unused clang diagnostic · Learn more", + "markdown": "-Wused-but-marked-unused clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wused-but-marked-unused)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUsedButMarkedUnused", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticOverloadedShiftOpParentheses", + "shortDescription": { + "text": "overloaded-shift-op-parentheses clang diagnostic" + }, + "fullDescription": { + "text": "-Woverloaded-shift-op-parentheses clang diagnostic · Learn more", + "markdown": "-Woverloaded-shift-op-parentheses clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#woverloaded-shift-op-parentheses)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticOverloadedShiftOpParentheses", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FSharpInterpolatedString", + "shortDescription": { + "text": "Format string can be replaced with an interpolated string" + }, + "fullDescription": { + "text": "Format string can be replaced with an interpolated string.", + "markdown": "Format string can be replaced with an interpolated string." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "FSharpInterpolatedString", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "F#/Redundancies in Code", + "index": 65, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithFieldKeyword", + "shortDescription": { + "text": "Replace with 'field' keyword" + }, + "fullDescription": { + "text": "Replace explicit field declaration with a 'field' keyword usage in corresponding property declaration (anonymous field)", + "markdown": "Replace explicit field declaration with a 'field' keyword usage in corresponding property declaration (anonymous field)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithFieldKeyword", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeTypeModifiers", + "shortDescription": { + "text": "Use explicit or implicit modifier definition for types" + }, + "fullDescription": { + "text": "'internal' modifier can be safely added/removed from types without changing code semantics Learn more...", + "markdown": "'internal' modifier can be safely added/removed from types without changing code semantics [Learn more...](https://www.jetbrains.com/help/rider/ArrangeTypeModifiers.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeTypeModifiers", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNonModularIncludeInFrameworkModule", + "shortDescription": { + "text": "non-modular-include-in-framework-module clang diagnostic" + }, + "fullDescription": { + "text": "-Wnon-modular-include-in-framework-module clang diagnostic · Learn more", + "markdown": "-Wnon-modular-include-in-framework-module clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnon-modular-include-in-framework-module)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNonModularIncludeInFrameworkModule", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LocalFunctionHidesMethod", + "shortDescription": { + "text": "Local function hides method" + }, + "fullDescription": { + "text": "Local function has the same name as a method and hides it", + "markdown": "Local function has the same name as a method and hides it" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "LocalFunctionHidesMethod", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.LoadSceneAmbiguousSceneName", + "shortDescription": { + "text": "Short scene name is not unique" + }, + "fullDescription": { + "text": "There are several scenes with the same name in the Unity build settings. Only scene with smallest index will be used.", + "markdown": "There are several scenes with the same name in the Unity build settings. Only scene with smallest index will be used." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.LoadSceneAmbiguousSceneName", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.LoadSceneDisabledSceneName", + "shortDescription": { + "text": "Scene is disabled in the build settings" + }, + "fullDescription": { + "text": "Scene is disabled in the Unity build settings, so it could not be loaded", + "markdown": "Scene is disabled in the Unity build settings, so it could not be loaded" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.LoadSceneDisabledSceneName", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstStringFormatInvalidArgument", + "shortDescription": { + "text": "Burst: String.Format(format, ...) invalid argument type" + }, + "fullDescription": { + "text": "Burst: String.Format(format, ...) invalid argument type", + "markdown": "Burst: String.Format(format, ...) invalid argument type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstStringFormatInvalidArgument", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDefaultedFunctionDeleted", + "shortDescription": { + "text": "defaulted-function-deleted clang diagnostic" + }, + "fullDescription": { + "text": "-Wdefaulted-function-deleted clang diagnostic · Learn more", + "markdown": "-Wdefaulted-function-deleted clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdefaulted-function-deleted)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDefaultedFunctionDeleted", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReturnTypeCanBeNotNullable", + "shortDescription": { + "text": "Return type of a function can be non-nullable" + }, + "fullDescription": { + "text": "Function's return type is declared as nullable but it never returns nullable values", + "markdown": "Function's return type is declared as nullable but it never returns nullable values" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ReturnTypeCanBeNotNullable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MissingBodyTag", + "shortDescription": { + "text": "Important tags or attributes missing (missing )" + }, + "fullDescription": { + "text": "<([)html(]) $attr1$>$cont$", + "markdown": "\\<(\\[)html(\\]) $attr1$\\>$cont$" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MissingBodyTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Common Practices and Code Improvements", + "index": 66, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppOutParameterMustBeWritten", + "shortDescription": { + "text": "The 'out' parameter must be assigned" + }, + "fullDescription": { + "text": "In HLSL 'out' parameters must be assigned before exiting the function", + "markdown": "In HLSL 'out' parameters must be assigned before exiting the function" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppOutParameterMustBeWritten", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Compiler Warnings", + "index": 67, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.BindingWithContextNotResolved", + "shortDescription": { + "text": "Unresolved binding path when DataContext is known" + }, + "fullDescription": { + "text": "Unresolved binding path when DataContext for data binding is specified, but symbol cannot be found", + "markdown": "Unresolved binding path when DataContext for data binding is specified, but symbol cannot be found" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.BindingWithContextNotResolved", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Code Notification", + "index": 63, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppWarningDirective", + "shortDescription": { + "text": "#warning directive" + }, + "fullDescription": { + "text": "#warning preprocessor directive", + "markdown": "#warning preprocessor directive" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppWarningDirective", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Compiler Warnings", + "index": 67, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticOutOfScopeFunction", + "shortDescription": { + "text": "out-of-scope-function clang diagnostic" + }, + "fullDescription": { + "text": "-Wout-of-scope-function clang diagnostic · Learn more", + "markdown": "-Wout-of-scope-function clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wout-of-scope-function)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticOutOfScopeFunction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeConstructorOrDestructorBody", + "shortDescription": { + "text": "Use preferred body style (convert into constructor or destructor with preferred body style)" + }, + "fullDescription": { + "text": "Use expression or block body Learn more...", + "markdown": "Use expression or block body [Learn more...](https://www.jetbrains.com/help/rider/ArrangeConstructorOrDestructorBody.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeConstructorOrDestructorBody", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Html.TagShouldNotBeSelfClosed", + "shortDescription": { + "text": "Wrong self-closed tag" + }, + "fullDescription": { + "text": "Wrong self-closed tag in HTML and related technologies", + "markdown": "Wrong self-closed tag in HTML and related technologies" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "Html.TagShouldNotBeSelfClosed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Potential Code Quality Issues", + "index": 48, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticModuleConflict", + "shortDescription": { + "text": "module-conflict clang diagnostic" + }, + "fullDescription": { + "text": "-Wmodule-conflict clang diagnostic · Learn more", + "markdown": "-Wmodule-conflict clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmodule-conflict)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticModuleConflict", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantExtendsListEntry", + "shortDescription": { + "text": "Redundant class or interface specification in base types list" + }, + "fullDescription": { + "text": "Type is either mentioned in the base types list of other part or it is an interface and appears as other type's base and contains no explicit implementations Learn more...", + "markdown": "Type is either mentioned in the base types list of other part or it is an interface and appears as other type's base and contains no explicit implementations [Learn more...](https://www.jetbrains.com/help/rider/RedundantExtendsListEntry.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantExtendsListEntry", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReturnValueOfPureMethodIsNotUsed", + "shortDescription": { + "text": "Return value of pure method is not used" + }, + "fullDescription": { + "text": "Return value of pure method is not used Learn more...", + "markdown": "Return value of pure method is not used [Learn more...](https://www.jetbrains.com/help/rider/ReturnValueOfPureMethodIsNotUsed.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ReturnValueOfPureMethodIsNotUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticConfigMacros", + "shortDescription": { + "text": "config-macros clang diagnostic" + }, + "fullDescription": { + "text": "-Wconfig-macros clang diagnostic · Learn more", + "markdown": "-Wconfig-macros clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wconfig-macros)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticConfigMacros", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDocumentationUnknownCommand", + "shortDescription": { + "text": "documentation-unknown-command clang diagnostic" + }, + "fullDescription": { + "text": "-Wdocumentation-unknown-command clang diagnostic · Learn more", + "markdown": "-Wdocumentation-unknown-command clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdocumentation-unknown-command)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDocumentationUnknownCommand", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyStatement", + "shortDescription": { + "text": "Empty statement is redundant" + }, + "fullDescription": { + "text": "Empty statement is redundant Learn more...", + "markdown": "Empty statement is redundant [Learn more...](https://www.jetbrains.com/help/rider/EmptyStatement.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyStatement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NotAccessedPositionalProperty.Local", + "shortDescription": { + "text": "Non-accessed positional property (private accessibility)" + }, + "fullDescription": { + "text": "Positional property is never accessed for reading Learn more...", + "markdown": "Positional property is never accessed for reading [Learn more...](https://www.jetbrains.com/help/rider/NotAccessedPositionalProperty.Local.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NotAccessedPositionalProperty.Local", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.IncorrectMethodSignatureInStringLiteral", + "shortDescription": { + "text": "Method referenced in string literal does not have the expected signature" + }, + "fullDescription": { + "text": "Method referenced in string literal does not have the expected signature.", + "markdown": "Method referenced in string literal does not have the expected signature." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.IncorrectMethodSignatureInStringLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.RedundantFreezeAttribute", + "shortDescription": { + "text": "Redundant 'Freeze' attribute" + }, + "fullDescription": { + "text": "Freeze attribute is not used and can be safely removed", + "markdown": "Freeze attribute is not used and can be safely removed" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.RedundantFreezeAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Redundancies in Code", + "index": 69, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnassignedGetOnlyAutoProperty", + "shortDescription": { + "text": "Get-only auto-property is never assigned" + }, + "fullDescription": { + "text": "Auto-property without setter has no initializer or is never assigned in constructor", + "markdown": "Auto-property without setter has no initializer or is never assigned in constructor" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnassignedGetOnlyAutoProperty", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUE4BlueprintCallableFunctionMayBeStatic", + "shortDescription": { + "text": "BlueprintCallable function can be made static" + }, + "fullDescription": { + "text": "BlueprintCallable function can be made static", + "markdown": "BlueprintCallable function can be made static" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppUE4BlueprintCallableFunctionMayBeStatic", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantSetContainsBeforeAdding", + "shortDescription": { + "text": "Redundant set 'Contains' before 'Add'" + }, + "fullDescription": { + "text": "Redundant set 'Contains' before 'Add'. If the element is already in the set, it won't be added again.", + "markdown": "Redundant set 'Contains' before 'Add'. If the element is already in the set, it won't be added again." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantSetContainsBeforeAdding", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneUnhandledSelfAssignment", + "shortDescription": { + "text": "bugprone-unhandled-self-assignment clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-unhandled-self-assignment clang-tidy check · Learn more", + "markdown": "bugprone-unhandled-self-assignment clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/unhandled-self-assignment.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneUnhandledSelfAssignment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneSuspiciousMemoryComparison", + "shortDescription": { + "text": "bugprone-suspicious-memory-comparison clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-suspicious-memory-comparison clang-tidy check · Learn more", + "markdown": "bugprone-suspicious-memory-comparison clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/suspicious-memory-comparison.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneSuspiciousMemoryComparison", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AssignNullToNotNullAttribute", + "shortDescription": { + "text": "Possible 'null' assignment to non-nullable entity" + }, + "fullDescription": { + "text": "An expression that can have 'null' value is assigned to an entity marked with 'Value cannot be null' attribute. In particular, this can happen when passing such value to a method whose parameter is marked with 'Value cannot be null' attribute. Learn more...", + "markdown": "An expression that can have 'null' value is assigned to an entity marked with 'Value cannot be null' attribute. In particular, this can happen when passing such value to a method whose parameter is marked with 'Value cannot be null' attribute. [Learn more...](https://www.jetbrains.com/help/rider/AssignNullToNotNullAttribute.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "AssignNullToNotNullAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Constraints Violations", + "index": 71, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDeclarationSpecifierWithoutDeclarators", + "shortDescription": { + "text": "Declaration specifier with no declarators" + }, + "fullDescription": { + "text": "A declaration specifier is ignored when there are no declarators", + "markdown": "A declaration specifier is ignored when there are no declarators" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDeclarationSpecifierWithoutDeclarators", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDuplicateMethodArg", + "shortDescription": { + "text": "duplicate-method-arg clang diagnostic" + }, + "fullDescription": { + "text": "-Wduplicate-method-arg clang diagnostic · Learn more", + "markdown": "-Wduplicate-method-arg clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wduplicate-method-arg)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDuplicateMethodArg", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesNonPrivateMemberVariablesInClasses", + "shortDescription": { + "text": "cppcoreguidelines-non-private-member-variables-in-classes clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-non-private-member-variables-in-classes clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-non-private-member-variables-in-classes clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/non-private-member-variables-in-classes.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesNonPrivateMemberVariablesInClasses", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxCocoaSelfInit", + "shortDescription": { + "text": "osx.cocoa.SelfInit clang static analyzer check" + }, + "fullDescription": { + "text": "osx.cocoa.SelfInit clang static analyzer check · Learn more", + "markdown": "osx.cocoa.SelfInit clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxCocoaSelfInit", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WebConfig.ModuleQualificationResolve", + "shortDescription": { + "text": "Module qualification required" + }, + "fullDescription": { + "text": "Module qualification required for type resolution", + "markdown": "Module qualification required for type resolution" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "WebConfig.ModuleQualificationResolve", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Web.Config/Potential Code Quality Issues", + "index": 73, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IntroduceOptionalParameters.Global", + "shortDescription": { + "text": "Introduce optional parameters (non-private accessibility)" + }, + "fullDescription": { + "text": "Introduce optional parameters to overload method", + "markdown": "Introduce optional parameters to overload method" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "IntroduceOptionalParameters.Global", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DoubleNegationOperator", + "shortDescription": { + "text": "Double negation operator" + }, + "fullDescription": { + "text": "Double negation is meaningless bool b = !!condition; Learn more...", + "markdown": "Double negation is meaningless\n\n```\nbool b = !!condition;\n```\n\n[Learn more...](https://www.jetbrains.com/help/rider/DoubleNegationOperator.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "DoubleNegationOperator", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleBuildNamespaces", + "shortDescription": { + "text": "google-build-namespaces clang-tidy check" + }, + "fullDescription": { + "text": "google-build-namespaces clang-tidy check · Learn more", + "markdown": "google-build-namespaces clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/build-namespaces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleBuildNamespaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneForwardingReferenceOverload", + "shortDescription": { + "text": "bugprone-forwarding-reference-overload clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-forwarding-reference-overload clang-tidy check · Learn more", + "markdown": "bugprone-forwarding-reference-overload clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/forwarding-reference-overload.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneForwardingReferenceOverload", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeUseNullptr", + "shortDescription": { + "text": "modernize-use-nullptr clang-tidy check" + }, + "fullDescription": { + "text": "modernize-use-nullptr clang-tidy check · Learn more", + "markdown": "modernize-use-nullptr clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-nullptr.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeUseNullptr", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizePassByValue", + "shortDescription": { + "text": "modernize-pass-by-value clang-tidy check" + }, + "fullDescription": { + "text": "modernize-pass-by-value clang-tidy check · Learn more", + "markdown": "modernize-pass-by-value clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/pass-by-value.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizePassByValue", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSingleCallToSingle", + "shortDescription": { + "text": "Replace with single call to Single(..)" + }, + "fullDescription": { + "text": "$seq$.Where($x$ => $expr$).Single()", + "markdown": "$seq$.Where($x$ =\\> $expr$).Single()" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSingleCallToSingle", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticRegister", + "shortDescription": { + "text": "register clang diagnostic" + }, + "fullDescription": { + "text": "-Wregister clang diagnostic · Learn more", + "markdown": "-Wregister clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wregister)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticRegister", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS0472", + "shortDescription": { + "text": "The result of the expression is always 'true' or 'false' since a value of value type is never equal to 'null'" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS0472", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstFunctionSignatureContainsManagedTypes", + "shortDescription": { + "text": "Function signature cannot contain managed types" + }, + "fullDescription": { + "text": "Function signature cannot contain managed types", + "markdown": "Function signature cannot contain managed types" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstFunctionSignatureContainsManagedTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuConditionalOmittedOperand", + "shortDescription": { + "text": "gnu-conditional-omitted-operand clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-conditional-omitted-operand clang diagnostic · Learn more", + "markdown": "-Wgnu-conditional-omitted-operand clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-conditional-omitted-operand)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuConditionalOmittedOperand", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RoslynAnalyzersOutputInspection", + "shortDescription": { + "text": "Roslyn analyzers output" + }, + "fullDescription": { + "text": "Presents output of Roslyn analyzers", + "markdown": "Presents output of Roslyn analyzers" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "RoslynAnalyzersOutputInspection", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Roslyn/General", + "index": 77, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticClassVarargs", + "shortDescription": { + "text": "class-varargs clang diagnostic" + }, + "fullDescription": { + "text": "-Wclass-varargs clang diagnostic · Learn more", + "markdown": "-Wclass-varargs clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wclass-varargs)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticClassVarargs", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCastFunctionType", + "shortDescription": { + "text": "cast-function-type clang diagnostic" + }, + "fullDescription": { + "text": "-Wcast-function-type clang diagnostic · Learn more", + "markdown": "-Wcast-function-type clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcast-function-type)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCastFunctionType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppWrongIndentSize", + "shortDescription": { + "text": "Incorrect indent (incorrect indent size)" + }, + "fullDescription": { + "text": "Incorrect indent size", + "markdown": "Incorrect indent size" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppWrongIndentSize", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeRedundantParentheses", + "shortDescription": { + "text": "Remove redundant parentheses" + }, + "fullDescription": { + "text": "Parentheses can be safely removed from expressions without changing code semantics Learn more...", + "markdown": "Parentheses can be safely removed from expressions without changing code semantics [Learn more...](https://www.jetbrains.com/help/rider/ArrangeRedundantParentheses.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeRedundantParentheses", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.ResourceFilePathCaseMismatch", + "shortDescription": { + "text": "Path to resource is case-sensitive" + }, + "fullDescription": { + "text": "Path to resource is case-sensitive", + "markdown": "Path to resource is case-sensitive" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.ResourceFilePathCaseMismatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Code Notification", + "index": 63, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithLastOrDefault.2", + "shortDescription": { + "text": "Replace with LastOrDefault($args$)" + }, + "fullDescription": { + "text": "$expr$ && $seq$.Any($args$) ? $seq$.Last($args$) : null", + "markdown": "$expr$ \\&\\& $seq$.Any($args$) ? $seq$.Last($args$) : null" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithLastOrDefault.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMissingPrototypes", + "shortDescription": { + "text": "missing-prototypes clang diagnostic" + }, + "fullDescription": { + "text": "-Wmissing-prototypes clang diagnostic · Learn more", + "markdown": "-Wmissing-prototypes clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmissing-prototypes)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMissingPrototypes", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithLastOrDefault.3", + "shortDescription": { + "text": "Replace with LastOrDefault($args$)" + }, + "fullDescription": { + "text": "$seq$.Any($args$) ? $seq$.Last($args$) : default($T$)", + "markdown": "$seq$.Any($args$) ? $seq$.Last($args$) : default($T$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithLastOrDefault.3", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PossibleInvalidCastExceptionInForeachLoop", + "shortDescription": { + "text": "Possible 'System.InvalidCastException' in foreach loop" + }, + "fullDescription": { + "text": "Possible cast expression of incompatible type Learn more...", + "markdown": "Possible cast expression of incompatible type [Learn more...](https://www.jetbrains.com/help/rider/PossibleInvalidCastExceptionInForeachLoop.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PossibleInvalidCastExceptionInForeachLoop", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithLastOrDefault.1", + "shortDescription": { + "text": "Replace with LastOrDefault($args$)" + }, + "fullDescription": { + "text": "$seq$.Any($args$) ? $seq$.Last($args$) : null", + "markdown": "$seq$.Any($args$) ? $seq$.Last($args$) : null" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithLastOrDefault.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PossiblyImpureMethodCallOnReadonlyVariable", + "shortDescription": { + "text": "Possibly impure struct method is called on readonly variable: struct value always copied before invocation" + }, + "fullDescription": { + "text": "Possibly impure struct instance method or 'this ref' extension method is called on readonly field/in parameter/ref readonly return: struct value always copied before invocation", + "markdown": "Possibly impure struct instance method or 'this ref' extension method is called on readonly field/in parameter/ref readonly return: struct value always copied before invocation" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PossiblyImpureMethodCallOnReadonlyVariable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAndroidCloexecPipe2", + "shortDescription": { + "text": "android-cloexec-pipe2 clang-tidy check" + }, + "fullDescription": { + "text": "android-cloexec-pipe2 clang-tidy check · Learn more", + "markdown": "android-cloexec-pipe2 clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/android/cloexec-pipe2.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAndroidCloexecPipe2", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithLastOrDefault.4", + "shortDescription": { + "text": "Replace with LastOrDefault($args$)" + }, + "fullDescription": { + "text": "$expr$ && $seq$.Any($args$) ? $seq$.Last($args$) : default($T$)", + "markdown": "$expr$ \\&\\& $seq$.Any($args$) ? $seq$.Last($args$) : default($T$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithLastOrDefault.4", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftTemplate", + "shortDescription": { + "text": "microsoft-template clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-template clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-template clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-template)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftTemplate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUE4CodingStandardUClassNamingViolationError", + "shortDescription": { + "text": "Inconsistent Unreal Engine UCLASS Naming" + }, + "fullDescription": { + "text": "Class is declared with UCLASS or USTRUCT macro but its name doesn't match the Unreal Engine's coding standard naming style; this will lead to a build error. This inspection includes three rules: classes inherited from AActor must be prefixed by 'A', classes inherited from UObject must be prefixed by 'U', and USTRUCTS must be prefixed by 'F'.", + "markdown": "Class is declared with UCLASS or USTRUCT macro but its name doesn't match the Unreal Engine's coding standard naming style; this will lead to a build error. This inspection includes three rules: classes inherited from AActor must be prefixed by 'A', classes inherited from UObject must be prefixed by 'U', and USTRUCTS must be prefixed by 'F'." + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "CppUE4CodingStandardUClassNamingViolationError", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstTryNotSupported", + "shortDescription": { + "text": "Try statement is not supported" + }, + "fullDescription": { + "text": "Try statement is not supported", + "markdown": "Try statement is not supported" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstTryNotSupported", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantEnumCaseLabelForDefaultSection", + "shortDescription": { + "text": "Redundant 'case' label before default section" + }, + "fullDescription": { + "text": "'case' label statement with enum value in front of default section is redundant", + "markdown": "'case' label statement with enum value in front of default section is redundant" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "RedundantEnumCaseLabelForDefaultSection", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadParensLineBreaks", + "shortDescription": { + "text": "Incorrect line breaks (around parenthesis)" + }, + "fullDescription": { + "text": "Around parenthesis", + "markdown": "Around parenthesis" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadParensLineBreaks", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyPerformanceTypePromotionInMathFn", + "shortDescription": { + "text": "performance-type-promotion-in-math-fn clang-tidy check" + }, + "fullDescription": { + "text": "performance-type-promotion-in-math-fn clang-tidy check · Learn more", + "markdown": "performance-type-promotion-in-math-fn clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/performance/type-promotion-in-math-fn.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyPerformanceTypePromotionInMathFn", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnsequenced", + "shortDescription": { + "text": "unsequenced clang diagnostic" + }, + "fullDescription": { + "text": "-Wunsequenced clang diagnostic · Learn more", + "markdown": "-Wunsequenced clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunsequenced)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnsequenced", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDuplicateDeclSpecifier", + "shortDescription": { + "text": "duplicate-decl-specifier clang diagnostic" + }, + "fullDescription": { + "text": "-Wduplicate-decl-specifier clang diagnostic · Learn more", + "markdown": "-Wduplicate-decl-specifier clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wduplicate-decl-specifier)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDuplicateDeclSpecifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadSymbolSpaces", + "shortDescription": { + "text": "Incorrect spacing (around operator symbols)" + }, + "fullDescription": { + "text": "Around operator symbols", + "markdown": "Around operator symbols" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadSymbolSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesExplicitVirtualFunctions", + "shortDescription": { + "text": "cppcoreguidelines-explicit-virtual-functions clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-explicit-virtual-functions clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-explicit-virtual-functions clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/explicit-virtual-functions.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesExplicitVirtualFunctions", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithOfType.Any.2", + "shortDescription": { + "text": "Replace with OfType().Any() (replace with OfType().Any(..))" + }, + "fullDescription": { + "text": "$seq$.Select($x$ => $x$ as $T$).Any($y$ => $y$ != null && $expr$)", + "markdown": "$seq$.Select($x$ =\\> $x$ as $T$).Any($y$ =\\> $y$ != null \\&\\& $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithOfType.Any.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithOfType.Any.1", + "shortDescription": { + "text": "Replace with OfType().Any()" + }, + "fullDescription": { + "text": "$seq$.Select($x$ => $x$ as $T$).Any($y$ => $y$ != null)", + "markdown": "$seq$.Select($x$ =\\> $x$ as $T$).Any($y$ =\\> $y$ != null)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithOfType.Any.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PossibleInvalidOperationException", + "shortDescription": { + "text": "Possible 'System.InvalidOperationException'" + }, + "fullDescription": { + "text": "Possible call to method is invalid for the object's current state Learn more...", + "markdown": "Possible call to method is invalid for the object's current state [Learn more...](https://www.jetbrains.com/help/rider/PossibleInvalidOperationException.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PossibleInvalidOperationException", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIndependentClassAttribute", + "shortDescription": { + "text": "IndependentClass-attribute clang diagnostic" + }, + "fullDescription": { + "text": "-WIndependentClass-attribute clang diagnostic · Learn more", + "markdown": "-WIndependentClass-attribute clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wIndependentClass-attribute)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIndependentClassAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticSignedEnumBitfield", + "shortDescription": { + "text": "signed-enum-bitfield clang diagnostic" + }, + "fullDescription": { + "text": "-Wsigned-enum-bitfield clang diagnostic · Learn more", + "markdown": "-Wsigned-enum-bitfield clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wsigned-enum-bitfield)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticSignedEnumBitfield", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerApiModelingTrustReturnsNonnull", + "shortDescription": { + "text": "apiModeling.TrustReturnsNonnull clang static analyzer check" + }, + "fullDescription": { + "text": "apiModeling.TrustReturnsNonnull clang static analyzer check · Learn more", + "markdown": "apiModeling.TrustReturnsNonnull clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerApiModelingTrustReturnsNonnull", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeVarKeywordsInDeconstructingDeclaration", + "shortDescription": { + "text": "Join or separate 'var' in deconstruction declarations" + }, + "fullDescription": { + "text": "Use preferred code style to check joined/separate 'var' usages in deconstruction declarations Learn more...", + "markdown": "Use preferred code style to check joined/separate 'var' usages in deconstruction declarations [Learn more...](https://www.jetbrains.com/help/rider/ArrangeVarKeywordsInDeconstructingDeclaration.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeVarKeywordsInDeconstructingDeclaration", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.InstantiateWithoutParent", + "shortDescription": { + "text": "Setting 'parent' property immediately after object instantiation is inefficient" + }, + "fullDescription": { + "text": "Instantiating a Unity object and setting the 'parent' property as separate operations is inefficient, as the transform hierarchy is created and immediately replaced. Combine setting the 'parent' property with the call to instantiate the object. Learn more...", + "markdown": "Instantiating a Unity object and setting the 'parent' property as separate operations is inefficient, as the transform hierarchy is created and immediately replaced. Combine setting the 'parent' property with the call to instantiate the object. [Learn more...](https://github.com/JetBrains/resharper-unity/wiki/Avoid-using-Object.Instantiate-without-“Transform-Parent”-parameter-and-using-SetParent-later)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.InstantiateWithoutParent", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShiftSignOverflow", + "shortDescription": { + "text": "shift-sign-overflow clang diagnostic" + }, + "fullDescription": { + "text": "-Wshift-sign-overflow clang diagnostic · Learn more", + "markdown": "-Wshift-sign-overflow clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshift-sign-overflow)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShiftSignOverflow", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShadowFieldInConstructor", + "shortDescription": { + "text": "shadow-field-in-constructor clang diagnostic" + }, + "fullDescription": { + "text": "-Wshadow-field-in-constructor clang diagnostic · Learn more", + "markdown": "-Wshadow-field-in-constructor clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshadow-field-in-constructor)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShadowFieldInConstructor", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseObjectOrCollectionInitializer", + "shortDescription": { + "text": "Use object or collection initializer when possible" + }, + "fullDescription": { + "text": "Suggest to replace object sequential assignments to newly created object fields by object initializer Learn more...", + "markdown": "Suggest to replace object sequential assignments to newly created object fields by object initializer [Learn more...](https://www.jetbrains.com/help/rider/UseObjectOrCollectionInitializer.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseObjectOrCollectionInitializer", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MemberCanBePrivate.Global", + "shortDescription": { + "text": "Member can be made private (non-private accessibility)" + }, + "fullDescription": { + "text": "Member can be made private Learn more...", + "markdown": "Member can be made private [Learn more...](https://www.jetbrains.com/help/rider/MemberCanBePrivate.Global.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "MemberCanBePrivate.Global", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDiscardedPostfixOperatorResult", + "shortDescription": { + "text": "Result of a postfix operator is discarded" + }, + "fullDescription": { + "text": "Result of a postfix operator is discarded. It might be more efficient to use a prefix form of the operator.", + "markdown": "Result of a postfix operator is discarded. It might be more efficient to use a prefix form of the operator." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppDiscardedPostfixOperatorResult", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseCollectionCountProperty", + "shortDescription": { + "text": "Use collection's count property" + }, + "fullDescription": { + "text": "Usage of 'Enumerable.Count()' method can be replaced with direct collection count property access Learn more...", + "markdown": "Usage of 'Enumerable.Count()' method can be replaced with direct collection count property access [Learn more...](https://www.jetbrains.com/help/rider/UseCollectionCountProperty.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseCollectionCountProperty", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPragmaPack", + "shortDescription": { + "text": "pragma-pack clang diagnostic" + }, + "fullDescription": { + "text": "-Wpragma-pack clang diagnostic · Learn more", + "markdown": "-Wpragma-pack clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpragma-pack)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPragmaPack", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleReadabilityTodo", + "shortDescription": { + "text": "google-readability-todo clang-tidy check" + }, + "fullDescription": { + "text": "google-readability-todo clang-tidy check · Learn more", + "markdown": "google-readability-todo clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-todo.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleReadabilityTodo", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedType", + "shortDescription": { + "text": "deprecated-type clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-type clang diagnostic · Learn more", + "markdown": "-Wdeprecated-type clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-type)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppEmptyDeclaration", + "shortDescription": { + "text": "Declaration does not declare anything" + }, + "fullDescription": { + "text": "A declaration does not declare anything", + "markdown": "A declaration does not declare anything" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppEmptyDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppIncompatiblePointerConversion", + "shortDescription": { + "text": "Implicit conversion to incompatible pointer type" + }, + "fullDescription": { + "text": "Implicit conversion to incompatible pointer type", + "markdown": "Implicit conversion to incompatible pointer type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppIncompatiblePointerConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCoreUninitializedCapturedBlockVariable", + "shortDescription": { + "text": "core.uninitialized.CapturedBlockVariable clang static analyzer check" + }, + "fullDescription": { + "text": "core.uninitialized.CapturedBlockVariable clang static analyzer check · Learn more", + "markdown": "core.uninitialized.CapturedBlockVariable clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCoreUninitializedCapturedBlockVariable", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStringConversion", + "shortDescription": { + "text": "string-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wstring-conversion clang diagnostic · Learn more", + "markdown": "-Wstring-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstring-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStringConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NotNullOrRequiredMemberIsNotInitialized", + "shortDescription": { + "text": "Non-nullable or required member is not initialized at constructor exit" + }, + "fullDescription": { + "text": "Non-nullable or required type member is not initialized in any execution path of the constructor", + "markdown": "Non-nullable or required type member is not initialized in any execution path of the constructor" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NotNullOrRequiredMemberIsNotInitialized", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Constraints Violations", + "index": 71, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseUnsignedRightShiftOperator", + "shortDescription": { + "text": "Use unsigned right shift operator '>>>'" + }, + "fullDescription": { + "text": "Use unsigned right shift operator '>>>' instead of manual casting and shifting", + "markdown": "Use unsigned right shift operator '\\>\\>\\>' instead of manual casting and shifting" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseUnsignedRightShiftOperator", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedDeclarations", + "shortDescription": { + "text": "deprecated-declarations clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-declarations clang diagnostic · Learn more", + "markdown": "-Wdeprecated-declarations clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-declarations)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedDeclarations", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnreachableCodeLoopIncrement", + "shortDescription": { + "text": "unreachable-code-loop-increment clang diagnostic" + }, + "fullDescription": { + "text": "-Wunreachable-code-loop-increment clang diagnostic · Learn more", + "markdown": "-Wunreachable-code-loop-increment clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunreachable-code-loop-increment)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnreachableCodeLoopIncrement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithOfType.Last.1", + "shortDescription": { + "text": "Replace with OfType().Last() (replace with OfType(Of ..)().Last())" + }, + "fullDescription": { + "text": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Last(Function ($y$) $y$ IsNot Nothing)", + "markdown": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Last(Function ($y$) $y$ IsNot Nothing)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithOfType.Last.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AnnotateCanBeNullTypeMember", + "shortDescription": { + "text": "Declaration nullability inferred (type member is inferred to be nullable)" + }, + "fullDescription": { + "text": "Type member is inferred to be nullable: consider annotating it with [CanBeNull] or [ItemCanBeNull] attribute", + "markdown": "Type member is inferred to be nullable: consider annotating it with \\[CanBeNull\\] or \\[ItemCanBeNull\\] attribute" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "AnnotateCanBeNullTypeMember", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithOfType.Last.2", + "shortDescription": { + "text": "Replace with OfType().Last() (replace with OfType(Of ..)().Last(..))" + }, + "fullDescription": { + "text": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Last(Function ($y$) $y$ IsNot Nothing AndAlso $expr$)", + "markdown": "$seq$.Select(Function ($x$) TryCast($x$, $T$)).Last(Function ($y$) $y$ IsNot Nothing AndAlso $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithOfType.Last.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OneWayOperationContractWithReturnType", + "shortDescription": { + "text": "One way operations must not return values" + }, + "fullDescription": { + "text": "Methods marked with OperationContract attribute as OneWay operations must not return values Learn more...", + "markdown": "Methods marked with OperationContract attribute as OneWay operations must not return values [Learn more...](https://www.jetbrains.com/help/rider/OneWayOperationContractWithReturnType.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "OneWayOperationContractWithReturnType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseThrowIfNullMethod", + "shortDescription": { + "text": "Use 'ArgumentNullException.ThrowIfNull'" + }, + "fullDescription": { + "text": "Replace throwing of 'ArgumentNullException' object with an invocation of the helper method", + "markdown": "Replace throwing of 'ArgumentNullException' object with an invocation of the helper method" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "UseThrowIfNullMethod", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToAutoPropertyWhenPossible", + "shortDescription": { + "text": "Convert property into auto-property (when possible)" + }, + "fullDescription": { + "text": "Converts property declaration into C# auto-property syntax", + "markdown": "Converts property declaration into C# auto-property syntax" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToAutoPropertyWhenPossible", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SimplifyStringInterpolation", + "shortDescription": { + "text": "Use format specifier in interpolated strings" + }, + "fullDescription": { + "text": "'.ToString()' call could be replaced with a format specifier", + "markdown": "'.ToString()' call could be replaced with a format specifier" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SimplifyStringInterpolation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MoveVariableDeclarationInsideLoopCondition", + "shortDescription": { + "text": "Move variable declaration inside loop condition" + }, + "fullDescription": { + "text": "Declare variable inside a loop condition using pattern matching syntax to reduce its scope and avoid doing a C-style assignment as a side effect", + "markdown": "Declare variable inside a loop condition using pattern matching syntax to reduce its scope and avoid doing a C-style assignment as a side effect" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "MoveVariableDeclarationInsideLoopCondition", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuIncludeNext", + "shortDescription": { + "text": "gnu-include-next clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-include-next clang diagnostic · Learn more", + "markdown": "-Wgnu-include-next clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-include-next)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuIncludeNext", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReferenceEqualsWithValueType", + "shortDescription": { + "text": "'Object.ReferenceEquals' is always false because it is called with value type" + }, + "fullDescription": { + "text": "'Object.ReferenceEquals' is always false because it is called with value type", + "markdown": "'Object.ReferenceEquals' is always false because it is called with value type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ReferenceEqualsWithValueType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SimplifyConditionalTernaryExpression", + "shortDescription": { + "text": "Simplify conditional ternary expression" + }, + "fullDescription": { + "text": "Ternary expression contains 'true' or 'false' in result branch, for example \r\n condition ? true : elseBranch\r\n condition ? thenBranch : true\r\n Learn more...", + "markdown": "Ternary expression contains 'true' or 'false' in result branch, for example\n\n```\n\r\n condition ? true : elseBranch\r\n condition ? thenBranch : true\r\n \n```\n\n[Learn more...](https://www.jetbrains.com/help/rider/SimplifyConditionalTernaryExpression.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SimplifyConditionalTernaryExpression", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticEmbeddedDirective", + "shortDescription": { + "text": "embedded-directive clang diagnostic" + }, + "fullDescription": { + "text": "-Wembedded-directive clang diagnostic · Learn more", + "markdown": "-Wembedded-directive clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wembedded-directive)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticEmbeddedDirective", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOptinOsxOSObjectCStyleCast", + "shortDescription": { + "text": "optin.osx.OSObjectCStyleCast clang static analyzer check" + }, + "fullDescription": { + "text": "optin.osx.OSObjectCStyleCast clang static analyzer check · Learn more", + "markdown": "optin.osx.OSObjectCStyleCast clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOptinOsxOSObjectCStyleCast", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadAttributeBracketsSpaces", + "shortDescription": { + "text": "Incorrect spacing (around attributes)" + }, + "fullDescription": { + "text": "Around attributes Learn more...", + "markdown": "Around attributes [Learn more...](https://www.jetbrains.com/help/rider/BadAttributeBracketsSpaces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadAttributeBracketsSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Mvc.AreaNotResolved", + "shortDescription": { + "text": "MVC (unknown area)" + }, + "fullDescription": { + "text": "Unknown ASP.NET MVC Area", + "markdown": "Unknown ASP.NET MVC Area" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Mvc.AreaNotResolved", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyPerformanceImplicitConversionInLoop", + "shortDescription": { + "text": "performance-implicit-conversion-in-loop clang-tidy check" + }, + "fullDescription": { + "text": "performance-implicit-conversion-in-loop clang-tidy check · Learn more", + "markdown": "performance-implicit-conversion-in-loop clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/performance/implicit-conversion-in-loop.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyPerformanceImplicitConversionInLoop", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Asp.ResolveWarning", + "shortDescription": { + "text": "ASP.NET Resolve Warning" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Asp.ResolveWarning", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMalformedWarningCheck", + "shortDescription": { + "text": "malformed-warning-check clang diagnostic" + }, + "fullDescription": { + "text": "-Wmalformed-warning-check clang diagnostic · Learn more", + "markdown": "-Wmalformed-warning-check clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmalformed-warning-check)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMalformedWarningCheck", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilitySimplifyBooleanExpr", + "shortDescription": { + "text": "readability-simplify-boolean-expr clang-tidy check" + }, + "fullDescription": { + "text": "readability-simplify-boolean-expr clang-tidy check · Learn more", + "markdown": "readability-simplify-boolean-expr clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/simplify-boolean-expr.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilitySimplifyBooleanExpr", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MarkupAttributeTypo", + "shortDescription": { + "text": "Typo in markup attribute value" + }, + "fullDescription": { + "text": "Typo in markup attribute value Learn more...", + "markdown": "Typo in markup attribute value [Learn more...](https://www.jetbrains.com/help/rider/MarkupAttributeTypo.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "MarkupAttributeTypo", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "XML/Spelling Issues", + "index": 82, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedAltivecSrcCompat", + "shortDescription": { + "text": "deprecated-altivec-src-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-altivec-src-compat clang diagnostic · Learn more", + "markdown": "-Wdeprecated-altivec-src-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-altivec-src-compat)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedAltivecSrcCompat", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExtraSemiStmt", + "shortDescription": { + "text": "extra-semi-stmt clang diagnostic" + }, + "fullDescription": { + "text": "-Wextra-semi-stmt clang diagnostic · Learn more", + "markdown": "-Wextra-semi-stmt clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wextra-semi-stmt)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExtraSemiStmt", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnusedConstVariable", + "shortDescription": { + "text": "unused-const-variable clang diagnostic" + }, + "fullDescription": { + "text": "-Wunused-const-variable clang diagnostic · Learn more", + "markdown": "-Wunused-const-variable clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunused-const-variable)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnusedConstVariable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InternalOrPrivateMemberNotDocumented", + "shortDescription": { + "text": "Missing XML comment for private or internal type or member" + }, + "fullDescription": { + "text": "Missing XML comment for private or internal type or member", + "markdown": "Missing XML comment for private or internal type or member" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "InternalOrPrivateMemberNotDocumented", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDllAttributeOnRedeclaration", + "shortDescription": { + "text": "dll-attribute-on-redeclaration clang diagnostic" + }, + "fullDescription": { + "text": "-Wdll-attribute-on-redeclaration clang diagnostic · Learn more", + "markdown": "-Wdll-attribute-on-redeclaration clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdll-attribute-on-redeclaration)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDllAttributeOnRedeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IsExpressionAlwaysFalse", + "shortDescription": { + "text": "The expression of 'is' operator is never of the provided type" + }, + "fullDescription": { + "text": "The expression of 'is' operator is never of the provided type", + "markdown": "The expression of 'is' operator is never of the provided type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "IsExpressionAlwaysFalse", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUENonExistentInputAction", + "shortDescription": { + "text": "Action with this name does not exist" + }, + "fullDescription": { + "text": "Action with this name does not exist", + "markdown": "Action with this name does not exist" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppUENonExistentInputAction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticArcPerformSelectorLeaks", + "shortDescription": { + "text": "arc-performSelector-leaks clang diagnostic" + }, + "fullDescription": { + "text": "-Warc-performSelector-leaks clang diagnostic · Learn more", + "markdown": "-Warc-performSelector-leaks clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#warc-performSelector-leaks)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticArcPerformSelectorLeaks", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeAvoidCArrays", + "shortDescription": { + "text": "modernize-avoid-c-arrays clang-tidy check" + }, + "fullDescription": { + "text": "modernize-avoid-c-arrays clang-tidy check · Learn more", + "markdown": "modernize-avoid-c-arrays clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/avoid-c-arrays.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeAvoidCArrays", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadControlBracesIndent", + "shortDescription": { + "text": "Incorrect indent (around statement braces)" + }, + "fullDescription": { + "text": "Around statement braces", + "markdown": "Around statement braces" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadControlBracesIndent", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAnonEnumEnumConversion", + "shortDescription": { + "text": "anon-enum-enum-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wanon-enum-enum-conversion clang diagnostic · Learn more", + "markdown": "-Wanon-enum-enum-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wanon-enum-enum-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAnonEnumEnumConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppCoroutineCallResolveError", + "shortDescription": { + "text": "Cannot resolve a required coroutine function" + }, + "fullDescription": { + "text": "A coroutine-related function which is required by the C++20 standard cannot be resolved", + "markdown": "A coroutine-related function which is required by the C++20 standard cannot be resolved" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppCoroutineCallResolveError", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Compiler Warnings", + "index": 67, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRemoveRedundantBraces", + "shortDescription": { + "text": "Use preferred braces style (remove redundant braces)" + }, + "fullDescription": { + "text": "Braces can be safely removed without changing code semantics", + "markdown": "Braces can be safely removed without changing code semantics" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppRemoveRedundantBraces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Syntax Style", + "index": 83, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompleteUmbrella", + "shortDescription": { + "text": "incomplete-umbrella clang diagnostic" + }, + "fullDescription": { + "text": "-Wincomplete-umbrella clang diagnostic · Learn more", + "markdown": "-Wincomplete-umbrella clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincomplete-umbrella)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompleteUmbrella", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDefaultIsUsedAsIdentifier", + "shortDescription": { + "text": "Keyword 'default' is used as identifier" + }, + "fullDescription": { + "text": "'default' is a keyword in the C++ standard and cannot be used as an identifier", + "markdown": "'default' is a keyword in the C++ standard and cannot be used as an identifier" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDefaultIsUsedAsIdentifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArgumentsStyleOther", + "shortDescription": { + "text": "Use preferred argument style" + }, + "fullDescription": { + "text": "Prefer using named/positional argument for all expressions except literal, named and anonymous function Learn more...", + "markdown": "Prefer using named/positional argument for all expressions except literal, named and anonymous function [Learn more...](https://www.jetbrains.com/help/rider/ArgumentsStyleOther.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ArgumentsStyleOther", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantDefaultMemberInitializer", + "shortDescription": { + "text": "Redundant member initializer" + }, + "fullDescription": { + "text": "Initializing field/property/event with default value is redundant Learn more...", + "markdown": "Initializing field/property/event with default value is redundant [Learn more...](https://www.jetbrains.com/help/rider/RedundantDefaultMemberInitializer.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantDefaultMemberInitializer", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.RedundantXamarinFormsClassDeclaration", + "shortDescription": { + "text": "Resource cannot be accessed by class name because of x:Key attribute" + }, + "fullDescription": { + "text": "Resource cannot be accessed by class name because of x:Key attribute", + "markdown": "Resource cannot be accessed by class name because of x:Key attribute" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.RedundantXamarinFormsClassDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Potential Code Quality Issues", + "index": 40, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedLabel", + "shortDescription": { + "text": "Unused label" + }, + "fullDescription": { + "text": "Label is never referenced", + "markdown": "Label is never referenced" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedLabel", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedCopy", + "shortDescription": { + "text": "deprecated-copy clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-copy clang diagnostic · Learn more", + "markdown": "-Wdeprecated-copy clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-copy)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedCopy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUESourceFileWithoutStandardLibrary", + "shortDescription": { + "text": "C++ standard library headers not found" + }, + "fullDescription": { + "text": "C++ standard library headers cannot be resolved in an Unreal Engine source file. You might need to regenerate the project files.", + "markdown": "C++ standard library headers cannot be resolved in an Unreal Engine source file. You might need to regenerate the project files." + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "CppUESourceFileWithoutStandardLibrary", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDelegatingCtorCycles", + "shortDescription": { + "text": "delegating-ctor-cycles clang diagnostic" + }, + "fullDescription": { + "text": "-Wdelegating-ctor-cycles clang diagnostic · Learn more", + "markdown": "-Wdelegating-ctor-cycles clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdelegating-ctor-cycles)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDelegatingCtorCycles", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeMakeShared", + "shortDescription": { + "text": "modernize-make-shared clang-tidy check" + }, + "fullDescription": { + "text": "modernize-make-shared clang-tidy check · Learn more", + "markdown": "modernize-make-shared clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/make-shared.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeMakeShared", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCompoundTokenSplitBySpace", + "shortDescription": { + "text": "compound-token-split-by-space clang diagnostic" + }, + "fullDescription": { + "text": "-Wcompound-token-split-by-space clang diagnostic · Learn more", + "markdown": "-Wcompound-token-split-by-space clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcompound-token-split-by-space)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCompoundTokenSplitBySpace", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAbstractFinalClass", + "shortDescription": { + "text": "abstract-final-class clang diagnostic" + }, + "fullDescription": { + "text": "-Wabstract-final-class clang diagnostic · Learn more", + "markdown": "-Wabstract-final-class clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wabstract-final-class)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAbstractFinalClass", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedStringInterpolation", + "shortDescription": { + "text": "Nested string interpolation can be inlined" + }, + "fullDescription": { + "text": "Nested string interpolation can be inlined into containing one", + "markdown": "Nested string interpolation can be inlined into containing one" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "NestedStringInterpolation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReadAccessInDoubleCheckLocking", + "shortDescription": { + "text": "Possible incorrect implementation of Double-Check Locking pattern. Read access to checked field." + }, + "fullDescription": { + "text": "Possible incorrect implementation of Double-Check Locking pattern. Read access to checked field. Learn more...", + "markdown": "Possible incorrect implementation of Double-Check Locking pattern. Read access to checked field. [Learn more...](https://www.jetbrains.com/help/rider/ReadAccessInDoubleCheckLocking.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ReadAccessInDoubleCheckLocking", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertMsc50Cpp", + "shortDescription": { + "text": "cert-msc50-cpp clang-tidy check" + }, + "fullDescription": { + "text": "cert-msc50-cpp clang-tidy check · Learn more", + "markdown": "cert-msc50-cpp clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/msc50-cpp.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertMsc50Cpp", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticLiteralRange", + "shortDescription": { + "text": "literal-range clang diagnostic" + }, + "fullDescription": { + "text": "-Wliteral-range clang diagnostic · Learn more", + "markdown": "-Wliteral-range clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wliteral-range)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticLiteralRange", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TooWideLocalVariableScope", + "shortDescription": { + "text": "Local variable has too wide declaration scope" + }, + "fullDescription": { + "text": "Local variable is declared in a wider scope than the scope of its actual use Learn more...", + "markdown": "Local variable is declared in a wider scope than the scope of its actual use [Learn more...](https://www.jetbrains.com/help/rider/TooWideLocalVariableScope.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "TooWideLocalVariableScope", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AspOdsMethodReferenceResolveError", + "shortDescription": { + "text": "Object data source method resolve problem" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "AspOdsMethodReferenceResolveError", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.RangeToValueIsNotReachable", + "shortDescription": { + "text": "NUnit. The maximum range value is not reachable with the step value." + }, + "fullDescription": { + "text": "NUnit. The maximum value of [Range] is not reachable, check range and step values. Learn more...", + "markdown": "NUnit. The maximum value of \\[Range\\] is not reachable, check range and step values. [Learn more...](https://www.jetbrains.com/help/rider/NUnit.RangeToValueIsNotReachable.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.RangeToValueIsNotReachable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticQualifiedVoidReturnType", + "shortDescription": { + "text": "qualified-void-return-type clang diagnostic" + }, + "fullDescription": { + "text": "-Wqualified-void-return-type clang diagnostic · Learn more", + "markdown": "-Wqualified-void-return-type clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wqualified-void-return-type)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticQualifiedVoidReturnType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStaticFloatInit", + "shortDescription": { + "text": "static-float-init clang diagnostic" + }, + "fullDescription": { + "text": "-Wstatic-float-init clang diagnostic · Learn more", + "markdown": "-Wstatic-float-init clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstatic-float-init)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStaticFloatInit", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Web.MappedPath", + "shortDescription": { + "text": "Mapped path" + }, + "fullDescription": { + "text": "Path is mapped to a different path in project settings", + "markdown": "Path is mapped to a different path in project settings" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "Web.MappedPath", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "Web.Config/Code Notification", + "index": 84, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertErr33C", + "shortDescription": { + "text": "cert-err33-c clang-tidy check" + }, + "fullDescription": { + "text": "cert-err33-c clang-tidy check · Learn more", + "markdown": "cert-err33-c clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/err33-c.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyCertErr33C", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneNarrowingConversions", + "shortDescription": { + "text": "bugprone-narrowing-conversions clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-narrowing-conversions clang-tidy check · Learn more", + "markdown": "bugprone-narrowing-conversions clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/narrowing-conversions.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneNarrowingConversions", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadBracesSpaces", + "shortDescription": { + "text": "Incorrect spacing (around braces)" + }, + "fullDescription": { + "text": "Around braces Learn more...", + "markdown": "Around braces [Learn more...](https://www.jetbrains.com/help/rider/BadBracesSpaces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadBracesSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertErr60Cpp", + "shortDescription": { + "text": "cert-err60-cpp clang-tidy check" + }, + "fullDescription": { + "text": "cert-err60-cpp clang-tidy check · Learn more", + "markdown": "cert-err60-cpp clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/err60-cpp.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyCertErr60Cpp", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceSliceWithRangeIndexer", + "shortDescription": { + "text": "Replace 'Slice' with range indexer" + }, + "fullDescription": { + "text": "Replace 'Slice' method call with range indexer access", + "markdown": "Replace 'Slice' method call with range indexer access" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceSliceWithRangeIndexer", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantPropertyPatternClause", + "shortDescription": { + "text": "Redundant property pattern clause" + }, + "fullDescription": { + "text": "Empty property pattern clause can be omitted", + "markdown": "Empty property pattern clause can be omitted" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RedundantPropertyPatternClause", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerUnixCstringBadSizeArg", + "shortDescription": { + "text": "unix.cstring.BadSizeArg clang static analyzer check" + }, + "fullDescription": { + "text": "unix.cstring.BadSizeArg clang static analyzer check · Learn more", + "markdown": "unix.cstring.BadSizeArg clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerUnixCstringBadSizeArg", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftMutableReference", + "shortDescription": { + "text": "microsoft-mutable-reference clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-mutable-reference clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-mutable-reference clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-mutable-reference)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftMutableReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticRewriteNotBool", + "shortDescription": { + "text": "rewrite-not-bool clang diagnostic" + }, + "fullDescription": { + "text": "-Wrewrite-not-bool clang diagnostic · Learn more", + "markdown": "-Wrewrite-not-bool clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wrewrite-not-bool)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticRewriteNotBool", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppParameterMayBeConst", + "shortDescription": { + "text": "Parameter can be made const" + }, + "fullDescription": { + "text": "Parameter can be made const", + "markdown": "Parameter can be made const" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppParameterMayBeConst", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadParensLineBreaks", + "shortDescription": { + "text": "Incorrect line breaks (around parenthesis)" + }, + "fullDescription": { + "text": "Around parenthesis Learn more...", + "markdown": "Around parenthesis [Learn more...](https://www.jetbrains.com/help/rider/BadParensLineBreaks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadParensLineBreaks", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityFunctionCognitiveComplexity", + "shortDescription": { + "text": "readability-function-cognitive-complexity clang-tidy check" + }, + "fullDescription": { + "text": "readability-function-cognitive-complexity clang-tidy check · Learn more", + "markdown": "readability-function-cognitive-complexity clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/function-cognitive-complexity.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityFunctionCognitiveComplexity", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyPortabilityRestrictSystemIncludes", + "shortDescription": { + "text": "portability-restrict-system-includes clang-tidy check" + }, + "fullDescription": { + "text": "portability-restrict-system-includes clang-tidy check · Learn more", + "markdown": "portability-restrict-system-includes clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/portability/restrict-system-includes.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyPortabilityRestrictSystemIncludes", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppIncompleteSwitchStatement", + "shortDescription": { + "text": "Possibly erroneous incomplete switch-statement" + }, + "fullDescription": { + "text": "The switch statement doesn't cover the whole range of the enumeration used", + "markdown": "The switch statement doesn't cover the whole range of the enumeration used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppIncompleteSwitchStatement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AssignmentInConditionalExpression", + "shortDescription": { + "text": "Assignment in conditional expression" + }, + "fullDescription": { + "text": "Assignment in conditional expression; did you mean to use '==' instead of '='? Learn more...", + "markdown": "Assignment in conditional expression; did you mean to use '==' instead of '='? [Learn more...](https://www.jetbrains.com/help/rider/AssignmentInConditionalExpression.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "AssignmentInConditionalExpression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerNullabilityNullableReturnedFromNonnull", + "shortDescription": { + "text": "nullability.NullableReturnedFromNonnull clang static analyzer check" + }, + "fullDescription": { + "text": "nullability.NullableReturnedFromNonnull clang static analyzer check · Learn more", + "markdown": "nullability.NullableReturnedFromNonnull clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerNullabilityNullableReturnedFromNonnull", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WebConfig.TypeNotResolved", + "shortDescription": { + "text": "Cannot resolve symbol" + }, + "fullDescription": { + "text": "Cannot resolve symbol", + "markdown": "Cannot resolve symbol" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "WebConfig.TypeNotResolved", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Web.Config/Potential Code Quality Issues", + "index": 73, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticKeywordCompat", + "shortDescription": { + "text": "keyword-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wkeyword-compat clang diagnostic · Learn more", + "markdown": "-Wkeyword-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wkeyword-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticKeywordCompat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIntegerOverflow", + "shortDescription": { + "text": "integer-overflow clang diagnostic" + }, + "fullDescription": { + "text": "-Winteger-overflow clang diagnostic · Learn more", + "markdown": "-Winteger-overflow clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winteger-overflow)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIntegerOverflow", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDocumentationDeprecatedSync", + "shortDescription": { + "text": "documentation-deprecated-sync clang diagnostic" + }, + "fullDescription": { + "text": "-Wdocumentation-deprecated-sync clang diagnostic · Learn more", + "markdown": "-Wdocumentation-deprecated-sync clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdocumentation-deprecated-sync)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDocumentationDeprecatedSync", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExpansionToDefined", + "shortDescription": { + "text": "expansion-to-defined clang diagnostic" + }, + "fullDescription": { + "text": "-Wexpansion-to-defined clang diagnostic · Learn more", + "markdown": "-Wexpansion-to-defined clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wexpansion-to-defined)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExpansionToDefined", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDllimportStaticFieldDef", + "shortDescription": { + "text": "dllimport-static-field-def clang diagnostic" + }, + "fullDescription": { + "text": "-Wdllimport-static-field-def clang diagnostic · Learn more", + "markdown": "-Wdllimport-static-field-def clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdllimport-static-field-def)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDllimportStaticFieldDef", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.ExpectedComponent", + "shortDescription": { + "text": "Expected a type derived from 'Component' or 'MonoBehaviour'" + }, + "fullDescription": { + "text": "A built-in type derived from 'Component' or a user-defined type derived from 'MonoBehaviour' is expected", + "markdown": "A built-in type derived from 'Component' or a user-defined type derived from 'MonoBehaviour' is expected" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.ExpectedComponent", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FSharpRedundantNew", + "shortDescription": { + "text": "Redundant 'new' keyword" + }, + "fullDescription": { + "text": "'new' keyword is not required and can be safely removed.", + "markdown": "'new' keyword is not required and can be safely removed." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "FSharpRedundantNew", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "F#/Redundancies in Code", + "index": 65, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SwapViaDeconstruction", + "shortDescription": { + "text": "Use deconstruction to swap variables" + }, + "fullDescription": { + "text": "Replace multiple assignments with single deconstructing assignment to perform swapping", + "markdown": "Replace multiple assignments with single deconstructing assignment to perform swapping" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SwapViaDeconstruction", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RemoveConstructorInvocation", + "shortDescription": { + "text": "Remove constructor invocation" + }, + "fullDescription": { + "text": "new List<$T$>($seq$).ToArray()", + "markdown": "new List\\<$T$\\>($seq$).ToArray()" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "RemoveConstructorInvocation", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.CompiledBindingMissingDataTypeErrorHighlighting", + "shortDescription": { + "text": "x:DataType not specified for CompiledBinding" + }, + "fullDescription": { + "text": "x:DataType not specified for CompiledBinding", + "markdown": "x:DataType not specified for CompiledBinding" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Xaml.CompiledBindingMissingDataTypeErrorHighlighting", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Code Notification", + "index": 63, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InlineOutVariableDeclaration", + "shortDescription": { + "text": "Inline 'out' variable declaration" + }, + "fullDescription": { + "text": "Replace ordinary variable declaration with inline variable declaration under 'out' argument", + "markdown": "Replace ordinary variable declaration with inline variable declaration under 'out' argument" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "InlineOutVariableDeclaration", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExportUsingDirective", + "shortDescription": { + "text": "export-using-directive clang diagnostic" + }, + "fullDescription": { + "text": "-Wexport-using-directive clang diagnostic · Learn more", + "markdown": "-Wexport-using-directive clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wexport-using-directive)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExportUsingDirective", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertErr34C", + "shortDescription": { + "text": "cert-err34-c clang-tidy check" + }, + "fullDescription": { + "text": "cert-err34-c clang-tidy check · Learn more", + "markdown": "cert-err34-c clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/err34-c.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertErr34C", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithSingleCallToFirstOrDefault", + "shortDescription": { + "text": "Replace with single call to FirstOrDefault(..)" + }, + "fullDescription": { + "text": "$seq$.Where(Function ($x$) $expr$).FirstOrDefault()", + "markdown": "$seq$.Where(Function ($x$) $expr$).FirstOrDefault()" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithSingleCallToFirstOrDefault", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp98Cpp11Compat", + "shortDescription": { + "text": "c++98-c++11-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++98-c++11-compat clang diagnostic · Learn more", + "markdown": "-Wc++98-c++11-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-98-c-11-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp98Cpp11Compat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VirtualMemberCallInConstructor", + "shortDescription": { + "text": "Virtual member call in constructor" + }, + "fullDescription": { + "text": "When a virtual method is called, the actual type that executes the method is not selected until run time. When a constructor calls a virtual method, it is possible that the constructor for the instance that invokes the method has not executed. See http://msdn2.microsoft.com/en-us/library/ms182331.aspx. Learn more...", + "markdown": "When a virtual method is called, the actual type that executes the method is not selected until run time. When a constructor calls a virtual method, it is possible that the constructor for the instance that invokes the method has not executed. See . [Learn more...](https://www.jetbrains.com/help/rider/VirtualMemberCallInConstructor.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "VirtualMemberCallInConstructor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnreachableCodeBreak", + "shortDescription": { + "text": "unreachable-code-break clang diagnostic" + }, + "fullDescription": { + "text": "-Wunreachable-code-break clang diagnostic · Learn more", + "markdown": "-Wunreachable-code-break clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunreachable-code-break)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnreachableCodeBreak", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AddressOfMarshalByRefObject", + "shortDescription": { + "text": "Captured field reference of a marshal-by-reference class may cause a runtime exception" + }, + "fullDescription": { + "text": "Captured field reference of a marshal-by-reference class may cause a runtime exception", + "markdown": "Captured field reference of a marshal-by-reference class may cause a runtime exception" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "AddressOfMarshalByRefObject", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AnnotationRedundancyAtValueType", + "shortDescription": { + "text": "Nullability attribute usage with declaration of void or value type" + }, + "fullDescription": { + "text": "Nullability attribute usage with declaration of void or value type does not affect code analysis Learn more...", + "markdown": "Nullability attribute usage with declaration of void or value type does not affect code analysis [Learn more...](https://www.jetbrains.com/help/rider/AnnotationRedundancyAtValueType.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "AnnotationRedundancyAtValueType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ClearAttributeIsObsolete", + "shortDescription": { + "text": "Obsolete tags and attributes (attribute 'clear' is obsolete)" + }, + "fullDescription": { + "text": "<$tag$ ([)clear=\"$val$\"(]) $a1$>", + "markdown": "\\<$tag$ (\\[)clear=\"$val$\"(\\]) $a1$\\>" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ClearAttributeIsObsolete", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Common Practices and Code Improvements", + "index": 66, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantExplicitPositionalPropertyDeclaration", + "shortDescription": { + "text": "Redundant explicit positional property declaration" + }, + "fullDescription": { + "text": "Redundant explicit positional property declaration in record type with primary constructor", + "markdown": "Redundant explicit positional property declaration in record type with primary constructor" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantExplicitPositionalPropertyDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OperationContractWithoutServiceContract", + "shortDescription": { + "text": "Method is marked as OperationContract but containing type is not marked as ServiceContract" + }, + "fullDescription": { + "text": "Marking method as OperationContract without ServiceContract attribute on the containing type could cause runtime exception", + "markdown": "Marking method as OperationContract without ServiceContract attribute on the containing type could cause runtime exception" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "OperationContractWithoutServiceContract", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadSquareBracketsSpaces", + "shortDescription": { + "text": "Incorrect spacing (around square brackets within a statement)" + }, + "fullDescription": { + "text": "Around square brackets within a statement Learn more...", + "markdown": "Around square brackets within a statement [Learn more...](https://www.jetbrains.com/help/rider/BadSquareBracketsSpaces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadSquareBracketsSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedMethodReturnValue.Global", + "shortDescription": { + "text": "Method return value is never used (non-private accessibility)" + }, + "fullDescription": { + "text": "Method return value is never used", + "markdown": "Method return value is never used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UnusedMethodReturnValue.Global", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticInvalidConstexpr", + "shortDescription": { + "text": "invalid-constexpr clang diagnostic" + }, + "fullDescription": { + "text": "-Winvalid-constexpr clang diagnostic · Learn more", + "markdown": "-Winvalid-constexpr clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winvalid-constexpr)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticInvalidConstexpr", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPreCpp2bCompat", + "shortDescription": { + "text": "pre-c++2b-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wpre-c++2b-compat clang diagnostic · Learn more", + "markdown": "-Wpre-c++2b-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpre-c-2b-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPreCpp2bCompat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyObjcMissingHash", + "shortDescription": { + "text": "objc-missing-hash clang-tidy check" + }, + "fullDescription": { + "text": "objc-missing-hash clang-tidy check · Learn more", + "markdown": "objc-missing-hash clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/objc/missing-hash.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyObjcMissingHash", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ClearAttributeIsObsolete.All", + "shortDescription": { + "text": "Obsolete tags and attributes (attribute 'clear' is obsolete)" + }, + "fullDescription": { + "text": "<$tag$ ([)clear=all(]) $a1$>", + "markdown": "\\<$tag$ (\\[)clear=all(\\]) $a1$\\>" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ClearAttributeIsObsolete.All", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Common Practices and Code Improvements", + "index": 66, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMissingDeclarations", + "shortDescription": { + "text": "missing-declarations clang diagnostic" + }, + "fullDescription": { + "text": "-Wmissing-declarations clang diagnostic · Learn more", + "markdown": "-Wmissing-declarations clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmissing-declarations)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMissingDeclarations", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnreachableSwitchArmDueToIntegerAnalysis", + "shortDescription": { + "text": "Heuristically unreachable switch arm according to integer analysis" + }, + "fullDescription": { + "text": "Heuristically unreachable switch arm according to integer analysis Learn more...", + "markdown": "Heuristically unreachable switch arm according to integer analysis [Learn more...](https://www.jetbrains.com/help/rider/UnreachableSwitchArmDueToIntegerAnalysis.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnreachableSwitchArmDueToIntegerAnalysis", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EnforceDoWhileStatementBraces", + "shortDescription": { + "text": "Use preferred braces style (enforce braces in 'do-while' statement)" + }, + "fullDescription": { + "text": "Use braces to separate 'do-while' statement body Learn more...", + "markdown": "Use braces to separate 'do-while' statement body [Learn more...](https://www.jetbrains.com/help/rider/EnforceDoWhileStatementBraces.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "EnforceDoWhileStatementBraces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppWrongSlashesInIncludeDirective", + "shortDescription": { + "text": "Use preferred include directive style (slash symbol used in #include directive does not match code style settings)" + }, + "fullDescription": { + "text": "Slash symbol used in #include directive does not match code style settings", + "markdown": "Slash symbol used in #include directive does not match code style settings" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppWrongSlashesInIncludeDirective", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Syntax Style", + "index": 83, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PropertyCanBeMadeInitOnly.Global", + "shortDescription": { + "text": "Property can be made init-only (non-private accessibility)" + }, + "fullDescription": { + "text": "Property setter can be replaced with 'init' accessor to enforce property immutability", + "markdown": "Property setter can be replaced with 'init' accessor to enforce property immutability" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "PropertyCanBeMadeInitOnly.Global", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseWithExpressionToCopyTuple", + "shortDescription": { + "text": "Use 'with' expression to copy tuple" + }, + "fullDescription": { + "text": "Use 'with' expression to create a modified copy of a tuple", + "markdown": "Use 'with' expression to create a modified copy of a tuple" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseWithExpressionToCopyTuple", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityRedundantPreprocessor", + "shortDescription": { + "text": "readability-redundant-preprocessor clang-tidy check" + }, + "fullDescription": { + "text": "readability-redundant-preprocessor clang-tidy check · Learn more", + "markdown": "readability-redundant-preprocessor clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/redundant-preprocessor.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityRedundantPreprocessor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SuggestVarOrType_SimpleTypes", + "shortDescription": { + "text": "Use preferred 'var' style (when type is simple)" + }, + "fullDescription": { + "text": "Convert if simple type (not an array and does not have generic parameters) Learn more...", + "markdown": "Convert if simple type (not an array and does not have generic parameters) [Learn more...](https://www.jetbrains.com/help/rider/SuggestVarOrType_SimpleTypes.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SuggestVarOrType_SimpleTypes", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantQualifier", + "shortDescription": { + "text": "Redundant qualifier" + }, + "fullDescription": { + "text": "Qualifier is redundant", + "markdown": "Qualifier is redundant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantQualifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Redundancies in Code", + "index": 86, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.RedundantGridSpan", + "shortDescription": { + "text": "Single-cell grid column/row span is redundant" + }, + "fullDescription": { + "text": "Single-cell grid column/row span is redundant", + "markdown": "Single-cell grid column/row span is redundant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.RedundantGridSpan", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Redundancies in Code", + "index": 69, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerDeadcodeDeadStores", + "shortDescription": { + "text": "deadcode.DeadStores clang static analyzer check" + }, + "fullDescription": { + "text": "deadcode.DeadStores clang static analyzer check · Learn more", + "markdown": "deadcode.DeadStores clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerDeadcodeDeadStores", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppEnforceOverridingFunctionStyle", + "shortDescription": { + "text": "Use preferred overriding function style (enforce overriding function style)" + }, + "fullDescription": { + "text": "Enforce the 'virtual' and 'override' specifiers on overriding functions", + "markdown": "Enforce the 'virtual' and 'override' specifiers on overriding functions" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppEnforceOverridingFunctionStyle", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Syntax Style", + "index": 83, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCtadMaybeUnsupported", + "shortDescription": { + "text": "ctad-maybe-unsupported clang diagnostic" + }, + "fullDescription": { + "text": "-Wctad-maybe-unsupported clang diagnostic · Learn more", + "markdown": "-Wctad-maybe-unsupported clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wctad-maybe-unsupported)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCtadMaybeUnsupported", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticInlineAsm", + "shortDescription": { + "text": "inline-asm clang diagnostic" + }, + "fullDescription": { + "text": "-Winline-asm clang diagnostic · Learn more", + "markdown": "-Winline-asm clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winline-asm)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticInlineAsm", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AnnotateNotNullParameter", + "shortDescription": { + "text": "Declaration nullability inferred (parameter is inferred to be not null)" + }, + "fullDescription": { + "text": "Parameter is inferred always not to be null: consider annotating it with [NotNull] or [ItemNotNull] attribute", + "markdown": "Parameter is inferred always not to be null: consider annotating it with \\[NotNull\\] or \\[ItemNotNull\\] attribute" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "AnnotateNotNullParameter", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeThisQualifier", + "shortDescription": { + "text": "Add/remove 'this.' qualifier" + }, + "fullDescription": { + "text": "'this.' qualifier can be safely added/removed without changing code semantics Learn more...", + "markdown": "'this.' qualifier can be safely added/removed without changing code semantics [Learn more...](https://www.jetbrains.com/help/rider/ArrangeThisQualifier.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeThisQualifier", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticArcRetainCycles", + "shortDescription": { + "text": "arc-retain-cycles clang diagnostic" + }, + "fullDescription": { + "text": "-Warc-retain-cycles clang diagnostic · Learn more", + "markdown": "-Warc-retain-cycles clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#warc-retain-cycles)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticArcRetainCycles", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppNewDeleteOperators", + "shortDescription": { + "text": "hicpp-new-delete-operators clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-new-delete-operators clang-tidy check · Learn more", + "markdown": "hicpp-new-delete-operators clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/new-delete-operators.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppNewDeleteOperators", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeUseUsing", + "shortDescription": { + "text": "modernize-use-using clang-tidy check" + }, + "fullDescription": { + "text": "modernize-use-using clang-tidy check · Learn more", + "markdown": "modernize-use-using clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-using.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeUseUsing", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneTooSmallLoopVariable", + "shortDescription": { + "text": "bugprone-too-small-loop-variable clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-too-small-loop-variable clang-tidy check · Learn more", + "markdown": "bugprone-too-small-loop-variable clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/too-small-loop-variable.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneTooSmallLoopVariable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscNonPrivateMemberVariablesInClasses", + "shortDescription": { + "text": "misc-non-private-member-variables-in-classes clang-tidy check" + }, + "fullDescription": { + "text": "misc-non-private-member-variables-in-classes clang-tidy check · Learn more", + "markdown": "misc-non-private-member-variables-in-classes clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/non-private-member-variables-in-classes.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyMiscNonPrivateMemberVariablesInClasses", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticXorUsedAsPow", + "shortDescription": { + "text": "xor-used-as-pow clang diagnostic" + }, + "fullDescription": { + "text": "-Wxor-used-as-pow clang diagnostic · Learn more", + "markdown": "-Wxor-used-as-pow clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wxor-used-as-pow)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticXorUsedAsPow", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityIdentifierLength", + "shortDescription": { + "text": "readability-identifier-length clang-tidy check" + }, + "fullDescription": { + "text": "readability-identifier-length clang-tidy check · Learn more", + "markdown": "readability-identifier-length clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/identifier-length.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityIdentifierLength", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftRedeclareStatic", + "shortDescription": { + "text": "microsoft-redeclare-static clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-redeclare-static clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-redeclare-static clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-redeclare-static)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftRedeclareStatic", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNonPowerOfTwoAlignment", + "shortDescription": { + "text": "non-power-of-two-alignment clang diagnostic" + }, + "fullDescription": { + "text": "-Wnon-power-of-two-alignment clang diagnostic · Learn more", + "markdown": "-Wnon-power-of-two-alignment clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnon-power-of-two-alignment)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNonPowerOfTwoAlignment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantExplicitArraySize", + "shortDescription": { + "text": "Redundant explicit size specification in array creation" + }, + "fullDescription": { + "text": "When array initializer has the same number of elements as specified in size expression, explicit size specification is redundant Learn more...", + "markdown": "When array initializer has the same number of elements as specified in size expression, explicit size specification is redundant [Learn more...](https://www.jetbrains.com/help/rider/RedundantExplicitArraySize.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantExplicitArraySize", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDoublePromotion", + "shortDescription": { + "text": "double-promotion clang diagnostic" + }, + "fullDescription": { + "text": "-Wdouble-promotion clang diagnostic · Learn more", + "markdown": "-Wdouble-promotion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdouble-promotion)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDoublePromotion", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FunctionComplexityOverflow", + "shortDescription": { + "text": "Function body is too complex to analyze" + }, + "fullDescription": { + "text": "Function body is too complex to analyze, consider decomposing it or reducing number of variables", + "markdown": "Function body is too complex to analyze, consider decomposing it or reducing number of variables" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "FunctionComplexityOverflow", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticReorderCtor", + "shortDescription": { + "text": "reorder-ctor clang diagnostic" + }, + "fullDescription": { + "text": "-Wreorder-ctor clang diagnostic · Learn more", + "markdown": "-Wreorder-ctor clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wreorder-ctor)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticReorderCtor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PolymorphicFieldLikeEventInvocation", + "shortDescription": { + "text": "Invocation of polymorphic field-like event" + }, + "fullDescription": { + "text": "Invocation of 'virtual' or 'override' field-like event leads to unpredictable result because the invocation list is not virtual Learn more...", + "markdown": "Invocation of 'virtual' or 'override' field-like event leads to unpredictable result because the invocation list is not virtual [Learn more...](https://www.jetbrains.com/help/rider/PolymorphicFieldLikeEventInvocation.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PolymorphicFieldLikeEventInvocation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadEmptyBracesLineBreaks", + "shortDescription": { + "text": "Incorrect line breaks (around empty braces)" + }, + "fullDescription": { + "text": "Around empty braces", + "markdown": "Around empty braces" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadEmptyBracesLineBreaks", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerApiModelingLlvmCastValue", + "shortDescription": { + "text": "apiModeling.llvm.CastValue clang static analyzer check" + }, + "fullDescription": { + "text": "apiModeling.llvm.CastValue clang static analyzer check · Learn more", + "markdown": "apiModeling.llvm.CastValue clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerApiModelingLlvmCastValue", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantCast", + "shortDescription": { + "text": "Redundant cast" + }, + "fullDescription": { + "text": "Type cast can be safely removed Learn more...", + "markdown": "Type cast can be safely removed [Learn more...](https://www.jetbrains.com/help/rider/RedundantCast.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantCast", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringLiteralAsInterpolationArgument", + "shortDescription": { + "text": "String literal can be inlined" + }, + "fullDescription": { + "text": "String literal can be inlined into interpolation", + "markdown": "String literal can be inlined into interpolation" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "StringLiteralAsInterpolationArgument", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedStaticAnalyzerFlag", + "shortDescription": { + "text": "deprecated-static-analyzer-flag clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-static-analyzer-flag clang diagnostic · Learn more", + "markdown": "-Wdeprecated-static-analyzer-flag clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-static-analyzer-flag)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedStaticAnalyzerFlag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerFuchsiaHandleChecker", + "shortDescription": { + "text": "fuchsia.HandleChecker clang static analyzer check" + }, + "fullDescription": { + "text": "fuchsia.HandleChecker clang static analyzer check · Learn more", + "markdown": "fuchsia.HandleChecker clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerFuchsiaHandleChecker", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShadowField", + "shortDescription": { + "text": "shadow-field clang diagnostic" + }, + "fullDescription": { + "text": "-Wshadow-field clang diagnostic · Learn more", + "markdown": "-Wshadow-field clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshadow-field)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShadowField", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantWithExpression", + "shortDescription": { + "text": "Empty 'with' expression is redundant" + }, + "fullDescription": { + "text": "Empty 'with' expression applied to newly created object instance results in unnecessary clone creation", + "markdown": "Empty 'with' expression applied to newly created object instance results in unnecessary clone creation" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RedundantWithExpression", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExtraQualification", + "shortDescription": { + "text": "extra-qualification clang diagnostic" + }, + "fullDescription": { + "text": "-Wextra-qualification clang diagnostic · Learn more", + "markdown": "-Wextra-qualification clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wextra-qualification)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExtraQualification", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAutoStorageClass", + "shortDescription": { + "text": "auto-storage-class clang diagnostic" + }, + "fullDescription": { + "text": "-Wauto-storage-class clang diagnostic · Learn more", + "markdown": "-Wauto-storage-class clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wauto-storage-class)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAutoStorageClass", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppNoexceptMove", + "shortDescription": { + "text": "hicpp-noexcept-move clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-noexcept-move clang-tidy check · Learn more", + "markdown": "hicpp-noexcept-move clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/noexcept-move.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppNoexceptMove", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToVbAutoPropertyWhenPossible", + "shortDescription": { + "text": "Convert property to auto-property when possible" + }, + "fullDescription": { + "text": "Converts property declaration to VB.NET auto-property syntax.", + "markdown": "Converts property declaration to VB.NET auto-property syntax." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToVbAutoPropertyWhenPossible", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WebConfig.UnusedElementDueToConfigSourceAttribute", + "shortDescription": { + "text": "Redundant element or attribute because of 'configSource' attribute" + }, + "fullDescription": { + "text": "Element or attribute is not applied because of 'configSource' attribute and can be safely removed", + "markdown": "Element or attribute is not applied because of 'configSource' attribute and can be safely removed" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "WebConfig.UnusedElementDueToConfigSourceAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Web.Config/Redundancies in Code", + "index": 88, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppConceptNeverUsed", + "shortDescription": { + "text": "Concept is never used" + }, + "fullDescription": { + "text": "Concept is never used", + "markdown": "Concept is never used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppConceptNeverUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadExpressionBracesLineBreaks", + "shortDescription": { + "text": "Incorrect line breaks (around expression braces)" + }, + "fullDescription": { + "text": "Around expression braces Learn more...", + "markdown": "Around expression braces [Learn more...](https://www.jetbrains.com/help/rider/BadExpressionBracesLineBreaks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadExpressionBracesLineBreaks", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompleteModule", + "shortDescription": { + "text": "incomplete-module clang diagnostic" + }, + "fullDescription": { + "text": "-Wincomplete-module clang diagnostic · Learn more", + "markdown": "-Wincomplete-module clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincomplete-module)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompleteModule", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppMissingKeywordThrow", + "shortDescription": { + "text": "May be missing keyword 'throw'" + }, + "fullDescription": { + "text": "Object of exception type is created, but is not thrown", + "markdown": "Object of exception type is created, but is not thrown" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppMissingKeywordThrow", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppNonInlineFunctionDefinitionInHeaderFile", + "shortDescription": { + "text": "Non-inline function definition in a header file" + }, + "fullDescription": { + "text": "A function definition in a header file that will cause multiple definition linkage error", + "markdown": "A function definition in a header file that will cause multiple definition linkage error" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppNonInlineFunctionDefinitionInHeaderFile", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedMemberHierarchy.Local", + "shortDescription": { + "text": "Type member is only used in overrides (private accessibility)" + }, + "fullDescription": { + "text": "Type member is never used from outside of implementation hierarchy, it is only accessed from overrides through base call", + "markdown": "Type member is never used from outside of implementation hierarchy, it is only accessed from overrides through base call" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedMemberHierarchy.Local", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuStaticFloatInit", + "shortDescription": { + "text": "gnu-static-float-init clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-static-float-init clang diagnostic · Learn more", + "markdown": "-Wgnu-static-float-init clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-static-float-init)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuStaticFloatInit", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAssume", + "shortDescription": { + "text": "assume clang diagnostic" + }, + "fullDescription": { + "text": "-Wassume clang diagnostic · Learn more", + "markdown": "-Wassume clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wassume)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAssume", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp98CompatUnnamedTypeTemplateArgs", + "shortDescription": { + "text": "c++98-compat-unnamed-type-template-args clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++98-compat-unnamed-type-template-args clang diagnostic · Learn more", + "markdown": "-Wc++98-compat-unnamed-type-template-args clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-98-compat-unnamed-type-template-args)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp98CompatUnnamedTypeTemplateArgs", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1717", + "shortDescription": { + "text": "Assignment made to same variable" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/a1kzfw0z.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1717", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1711", + "shortDescription": { + "text": "XML comment has a 'typeparam' tag for 'TypeParameter', but there is no type parameter by that name" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1711", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1712", + "shortDescription": { + "text": "Type parameter has no matching typeparam tag in the XML comment" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/t8zca749.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1712", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSimpleAssignment.False", + "shortDescription": { + "text": "Replace with simple assignment" + }, + "fullDescription": { + "text": "$bool1$ &= false", + "markdown": "$bool1$ \\&= false" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSimpleAssignment.False", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAndroidComparisonInTempFailureRetry", + "shortDescription": { + "text": "android-comparison-in-temp-failure-retry clang-tidy check" + }, + "fullDescription": { + "text": "android-comparison-in-temp-failure-retry clang-tidy check · Learn more", + "markdown": "android-comparison-in-temp-failure-retry clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/android/comparison-in-temp-failure-retry.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAndroidComparisonInTempFailureRetry", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CSharpWarnings__CS1710", + "shortDescription": { + "text": "Duplicate typeparam tag in XML comment" + }, + "fullDescription": { + "text": "Learn more...", + "markdown": "[Learn more...](https://msdn.microsoft.com/en-us/library/k5ya7w1x.aspx)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CSharpWarnings__CS1710", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp20CompatPedantic", + "shortDescription": { + "text": "c++20-compat-pedantic clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++20-compat-pedantic clang diagnostic · Learn more", + "markdown": "-Wc++20-compat-pedantic clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-20-compat-pedantic)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp20CompatPedantic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ClassWithVirtualMembersNeverInherited.Local", + "shortDescription": { + "text": "Class with virtual (overridable) members never inherited (private accessibility)" + }, + "fullDescription": { + "text": "Non-abstract class has virtual (overridable) members but has no inheritors", + "markdown": "Non-abstract class has virtual (overridable) members but has no inheritors" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ClassWithVirtualMembersNeverInherited.Local", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertOop57Cpp", + "shortDescription": { + "text": "cert-oop57-cpp clang-tidy check" + }, + "fullDescription": { + "text": "cert-oop57-cpp clang-tidy check · Learn more", + "markdown": "cert-oop57-cpp clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/oop57-cpp.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyCertOop57Cpp", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NUnit.TestCaseResultPropertyIsObsolete", + "shortDescription": { + "text": "NUnit. Test case Result property is obsolete." + }, + "fullDescription": { + "text": "NUnit. Test case Result property is obsolete since NUnit 2.6. Learn more...", + "markdown": "NUnit. Test case Result property is obsolete since NUnit 2.6. [Learn more...](https://www.jetbrains.com/help/rider/NUnit.TestCaseResultPropertyIsObsolete.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NUnit.TestCaseResultPropertyIsObsolete", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/NUnit", + "index": 24, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCertDcl21Cpp", + "shortDescription": { + "text": "cert-dcl21-cpp clang-tidy check" + }, + "fullDescription": { + "text": "cert-dcl21-cpp clang-tidy check · Learn more", + "markdown": "cert-dcl21-cpp clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cert/dcl21-cpp.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCertDcl21Cpp", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUE4ProbableMemoryIssuesWithUObjectsInContainer", + "shortDescription": { + "text": "Objects stored in non-uproperty member can be destroyed during garbage collection, resulting in stale pointers" + }, + "fullDescription": { + "text": "Objects stored in non-uproperty member can be destroyed during garbage collection, resulting in stale pointers", + "markdown": "Objects stored in non-uproperty member can be destroyed during garbage collection, resulting in stale pointers" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppUE4ProbableMemoryIssuesWithUObjectsInContainer", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Unreal Engine", + "index": 4, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppPrintfRiskyFormat", + "shortDescription": { + "text": "Possibly invalid printf format specifier" + }, + "fullDescription": { + "text": "Format string contains a potential error", + "markdown": "Format string contains a potential error" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppPrintfRiskyFormat", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UsePositionalDeconstructionPattern", + "shortDescription": { + "text": "Use positional deconstruction pattern" + }, + "fullDescription": { + "text": "Replace property pattern member(s) of recursive pattern with positional deconstruction patterns", + "markdown": "Replace property pattern member(s) of recursive pattern with positional deconstruction patterns" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "UsePositionalDeconstructionPattern", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.SharedStaticUnmanagedType", + "shortDescription": { + "text": "Shared static type parameter requires the unmanaged constraint" + }, + "fullDescription": { + "text": "Shared static type parameter requires the unmanaged constraint", + "markdown": "Shared static type parameter requires the unmanaged constraint" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.SharedStaticUnmanagedType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPadded", + "shortDescription": { + "text": "padded clang diagnostic" + }, + "fullDescription": { + "text": "-Wpadded clang diagnostic · Learn more", + "markdown": "-Wpadded clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpadded)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPadded", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantLogicalConditionalExpressionOperand", + "shortDescription": { + "text": "Redundant operand in logical conditional expression" + }, + "fullDescription": { + "text": "Redundant operand in logical conditional expression, for example \r\n expr || false\r\n expr && true\r\n Learn more...", + "markdown": "Redundant operand in logical conditional expression, for example\n\n```\n\r\n expr || false\r\n expr && true\r\n```\n\n[Learn more...](https://www.jetbrains.com/help/rider/RedundantLogicalConditionalExpressionOperand.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantLogicalConditionalExpressionOperand", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticLanguageExtensionToken", + "shortDescription": { + "text": "language-extension-token clang diagnostic" + }, + "fullDescription": { + "text": "-Wlanguage-extension-token clang diagnostic · Learn more", + "markdown": "-Wlanguage-extension-token clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wlanguage-extension-token)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticLanguageExtensionToken", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NonAtomicCompoundOperator", + "shortDescription": { + "text": "Suspicious 'volatile' field usage: compound operation is not atomic. 'Interlocked' class can be used instead." + }, + "fullDescription": { + "text": "Suspicious 'volatile' field usage: compound operation is not atomic. 'Interlocked' class can be used instead.", + "markdown": "Suspicious 'volatile' field usage: compound operation is not atomic. 'Interlocked' class can be used instead." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NonAtomicCompoundOperator", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHighlighting", + "shortDescription": { + "text": "Unknown clang-tidy checks" + }, + "fullDescription": { + "text": "Unknown clang-tidy checks.", + "markdown": "Unknown clang-tidy checks." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHighlighting", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnusedButSetVariable", + "shortDescription": { + "text": "unused-but-set-variable clang diagnostic" + }, + "fullDescription": { + "text": "-Wunused-but-set-variable clang diagnostic · Learn more", + "markdown": "-Wunused-but-set-variable clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunused-but-set-variable)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnusedButSetVariable", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTautologicalObjcBoolCompare", + "shortDescription": { + "text": "tautological-objc-bool-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wtautological-objc-bool-compare clang diagnostic · Learn more", + "markdown": "-Wtautological-objc-bool-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtautological-objc-bool-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTautologicalObjcBoolCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OverriddenWithSameValue", + "shortDescription": { + "text": "Resource is overridden with identical value" + }, + "fullDescription": { + "text": "Base resource item and the current item have the same value Learn more...", + "markdown": "Base resource item and the current item have the same value [Learn more...](https://www.jetbrains.com/help/rider/OverriddenWithSameValue.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "OverriddenWithSameValue", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "ResX/Redundancies in Code", + "index": 89, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Asxx.PathError", + "shortDescription": { + "text": "Path error" + }, + "fullDescription": { + "text": "Path error", + "markdown": "Path error" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Asxx.PathError", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HttpHandler or WebService/Potential Code Quality Issues", + "index": 91, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMisspelledAssumption", + "shortDescription": { + "text": "misspelled-assumption clang diagnostic" + }, + "fullDescription": { + "text": "-Wmisspelled-assumption clang diagnostic · Learn more", + "markdown": "-Wmisspelled-assumption clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmisspelled-assumption)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMisspelledAssumption", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeUseTrailingReturnType", + "shortDescription": { + "text": "modernize-use-trailing-return-type clang-tidy check" + }, + "fullDescription": { + "text": "modernize-use-trailing-return-type clang-tidy check · Learn more", + "markdown": "modernize-use-trailing-return-type clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-trailing-return-type.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeUseTrailingReturnType", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeNamespaceBody", + "shortDescription": { + "text": "Use preferred namespace body style" + }, + "fullDescription": { + "text": "Use file-scoped or block-scoped namespace body Learn more...", + "markdown": "Use file-scoped or block-scoped namespace body [Learn more...](https://www.jetbrains.com/help/rider/ArrangeNamespaceBody.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeNamespaceBody", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftStaticAssert", + "shortDescription": { + "text": "microsoft-static-assert clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-static-assert clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-static-assert clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-static-assert)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftStaticAssert", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCastQual", + "shortDescription": { + "text": "cast-qual clang diagnostic" + }, + "fullDescription": { + "text": "-Wcast-qual clang diagnostic · Learn more", + "markdown": "-Wcast-qual clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcast-qual)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCastQual", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PropertyCanBeMadeInitOnly.Local", + "shortDescription": { + "text": "Property can be made init-only (private accessibility)" + }, + "fullDescription": { + "text": "Property setter can be replaced with 'init' accessor to enforce property immutability", + "markdown": "Property setter can be replaced with 'init' accessor to enforce property immutability" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "PropertyCanBeMadeInitOnly.Local", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp11Compat", + "shortDescription": { + "text": "c++11-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++11-compat clang diagnostic · Learn more", + "markdown": "-Wc++11-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-11-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp11Compat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMicrosoftEnumValue", + "shortDescription": { + "text": "microsoft-enum-value clang diagnostic" + }, + "fullDescription": { + "text": "-Wmicrosoft-enum-value clang diagnostic · Learn more", + "markdown": "-Wmicrosoft-enum-value clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmicrosoft-enum-value)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMicrosoftEnumValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneUnusedRaii", + "shortDescription": { + "text": "bugprone-unused-raii clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-unused-raii clang-tidy check · Learn more", + "markdown": "bugprone-unused-raii clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/unused-raii.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneUnusedRaii", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneMisplacedOperatorInStrlenInAlloc", + "shortDescription": { + "text": "bugprone-misplaced-operator-in-strlen-in-alloc clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-misplaced-operator-in-strlen-in-alloc clang-tidy check · Learn more", + "markdown": "bugprone-misplaced-operator-in-strlen-in-alloc clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/misplaced-operator-in-strlen-in-alloc.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneMisplacedOperatorInStrlenInAlloc", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticShorten64To32", + "shortDescription": { + "text": "shorten-64-to-32 clang diagnostic" + }, + "fullDescription": { + "text": "-Wshorten-64-to-32 clang diagnostic · Learn more", + "markdown": "-Wshorten-64-to-32 clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wshorten-64-to-32)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticShorten64To32", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAndroidCloexecEpollCreate", + "shortDescription": { + "text": "android-cloexec-epoll-create clang-tidy check" + }, + "fullDescription": { + "text": "android-cloexec-epoll-create clang-tidy check · Learn more", + "markdown": "android-cloexec-epoll-create clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/android/cloexec-epoll-create.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAndroidCloexecEpollCreate", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Html.EventNotResolved", + "shortDescription": { + "text": "Unknown event" + }, + "fullDescription": { + "text": "Unknown event in HTML and related technologies", + "markdown": "Unknown event in HTML and related technologies" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "Html.EventNotResolved", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Potential Code Quality Issues", + "index": 48, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticParenthesesEquality", + "shortDescription": { + "text": "parentheses-equality clang diagnostic" + }, + "fullDescription": { + "text": "-Wparentheses-equality clang diagnostic · Learn more", + "markdown": "-Wparentheses-equality clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wparentheses-equality)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticParenthesesEquality", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUninitializedDependentBaseClass", + "shortDescription": { + "text": "Uninitialized dependent base class" + }, + "fullDescription": { + "text": "Possibly uninitialized dependent base class", + "markdown": "Possibly uninitialized dependent base class" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppUninitializedDependentBaseClass", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Compiler Warnings", + "index": 67, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SimplifyLinqExpressionUseMinByAndMaxBy", + "shortDescription": { + "text": "Use 'MinBy' or 'MaxBy' instead of ordering and taking 'First' or 'Last'" + }, + "fullDescription": { + "text": "Replace ordering and taking 'First' or 'Last' with 'MinBy' or 'MaxBy' invocation", + "markdown": "Replace ordering and taking 'First' or 'Last' with 'MinBy' or 'MaxBy' invocation" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SimplifyLinqExpressionUseMinByAndMaxBy", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUseAutoForNumeric", + "shortDescription": { + "text": "Use preferred 'auto' style (numeric type can be replaced with auto)" + }, + "fullDescription": { + "text": "A numeric type can be replaced with 'auto'", + "markdown": "A numeric type can be replaced with 'auto'" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppUseAutoForNumeric", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Syntax Style", + "index": 83, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithSingleAssignment.1", + "shortDescription": { + "text": "Replace with single assignment" + }, + "fullDescription": { + "text": "Dim $x$ = False If($bool1$) Then $x$ = True", + "markdown": "Dim $x$ = False If($bool1$) Then $x$ = True" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithSingleAssignment.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithSingleAssignment.2", + "shortDescription": { + "text": "Replace with single assignment" + }, + "fullDescription": { + "text": "Dim $x$ = True If($bool1$) Then $x$ = False", + "markdown": "Dim $x$ = True If($bool1$) Then $x$ = False" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithSingleAssignment.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppTypeAliasNeverUsed", + "shortDescription": { + "text": "Type alias is never used" + }, + "fullDescription": { + "text": "A type alias is never used", + "markdown": "A type alias is never used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppTypeAliasNeverUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantReadonlyModifier", + "shortDescription": { + "text": "Redundant 'readonly' modifier" + }, + "fullDescription": { + "text": "Readonly 'redundant' member/accessor modifier in struct declaration", + "markdown": "Readonly 'redundant' member/accessor modifier in struct declaration" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RedundantReadonlyModifier", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticSelfAssignField", + "shortDescription": { + "text": "self-assign-field clang diagnostic" + }, + "fullDescription": { + "text": "-Wself-assign-field clang diagnostic · Learn more", + "markdown": "-Wself-assign-field clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wself-assign-field)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticSelfAssignField", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticConditionalTypeMismatch", + "shortDescription": { + "text": "conditional-type-mismatch clang diagnostic" + }, + "fullDescription": { + "text": "-Wconditional-type-mismatch clang diagnostic · Learn more", + "markdown": "-Wconditional-type-mismatch clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wconditional-type-mismatch)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticConditionalTypeMismatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppPassValueParameterByConstReference", + "shortDescription": { + "text": "Pass value parameters by const reference" + }, + "fullDescription": { + "text": "Parameter of a type that is expensive to copy is passed by value, but it can be passed by const reference instead", + "markdown": "Parameter of a type that is expensive to copy is passed by value, but it can be passed by const reference instead" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppPassValueParameterByConstReference", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantArrayLowerBoundSpecification", + "shortDescription": { + "text": "Redundant array lower bound specification" + }, + "fullDescription": { + "text": "Array lower bound specification is redundant", + "markdown": "Array lower bound specification is redundant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantArrayLowerBoundSpecification", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Redundancies in Code", + "index": 86, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBoostUseToString", + "shortDescription": { + "text": "boost-use-to-string clang-tidy check" + }, + "fullDescription": { + "text": "boost-use-to-string clang-tidy check · Learn more", + "markdown": "boost-use-to-string clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/boost/use-to-string.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyBoostUseToString", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JoinDeclarationAndInitializer", + "shortDescription": { + "text": "Join local variable declaration and assignment" + }, + "fullDescription": { + "text": "Join local variable declaration and assignment Learn more...", + "markdown": "Join local variable declaration and assignment [Learn more...](https://www.jetbrains.com/help/rider/JoinDeclarationAndInitializer.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "JoinDeclarationAndInitializer", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RouteTemplates.SyntaxError", + "shortDescription": { + "text": "Syntax error" + }, + "fullDescription": { + "text": "Syntax error", + "markdown": "Syntax error" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RouteTemplates.SyntaxError", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "ASP.NET route templates/Code Notification", + "index": 43, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneThrowKeywordMissing", + "shortDescription": { + "text": "bugprone-throw-keyword-missing clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-throw-keyword-missing clang-tidy check · Learn more", + "markdown": "bugprone-throw-keyword-missing clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/throw-keyword-missing.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneThrowKeywordMissing", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SwitchStatementMissingSomeEnumCasesNoDefault", + "shortDescription": { + "text": "Some values of the enum are not processed inside 'switch' statement" + }, + "fullDescription": { + "text": "Some values of the enum are not processed inside 'switch' statement Learn more...", + "markdown": "Some values of the enum are not processed inside 'switch' statement [Learn more...](https://www.jetbrains.com/help/rider/SwitchStatementMissingSomeEnumCasesNoDefault.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantPatternParentheses", + "shortDescription": { + "text": "Remove redundant pattern-matching parentheses" + }, + "fullDescription": { + "text": "Parentheses surrounding a pattern are redundant if they do not change precedence of `or`-/`and`-patterns", + "markdown": "Parentheses surrounding a pattern are redundant if they do not change precedence of \\`or\\`-/\\`and\\`-patterns" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RedundantPatternParentheses", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToPrimaryConstructor", + "shortDescription": { + "text": "Convert constructor into primary constructor" + }, + "fullDescription": { + "text": "Replace ordinary constructor with primary constructor", + "markdown": "Replace ordinary constructor with primary constructor" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToPrimaryConstructor", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyZirconTemporaryObjects", + "shortDescription": { + "text": "zircon-temporary-objects clang-tidy check" + }, + "fullDescription": { + "text": "zircon-temporary-objects clang-tidy check · Learn more", + "markdown": "zircon-temporary-objects clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/zircon/temporary-objects.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyZirconTemporaryObjects", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGlobalConstructors", + "shortDescription": { + "text": "global-constructors clang diagnostic" + }, + "fullDescription": { + "text": "-Wglobal-constructors clang diagnostic · Learn more", + "markdown": "-Wglobal-constructors clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wglobal-constructors)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGlobalConstructors", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantLinebreak", + "shortDescription": { + "text": "Incorrect line breaks (line break is redundant elsewhere)" + }, + "fullDescription": { + "text": "Line break is redundant elsewhere", + "markdown": "Line break is redundant elsewhere" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppRedundantLinebreak", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantTypenameKeyword", + "shortDescription": { + "text": "Redundant 'typename' keyword" + }, + "fullDescription": { + "text": "Redundant 'typename' keyword", + "markdown": "Redundant 'typename' keyword" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppRedundantTypenameKeyword", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Redundancies in Code", + "index": 31, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppDoxygenSyntaxError", + "shortDescription": { + "text": "Syntax error in doxygen comment" + }, + "fullDescription": { + "text": "Syntax error in a doxygen comment", + "markdown": "Syntax error in a doxygen comment" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppDoxygenSyntaxError", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UselessComparisonToIntegralConstant", + "shortDescription": { + "text": "Comparison to integral constant is useless" + }, + "fullDescription": { + "text": "Comparison to integral constant is useless; the constant is outside the range of the target type", + "markdown": "Comparison to integral constant is useless; the constant is outside the range of the target type" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UselessComparisonToIntegralConstant", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantElseKeyword", + "shortDescription": { + "text": "Redundant 'else' keyword" + }, + "fullDescription": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppRedundantElseKeyword", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Redundancies in Code", + "index": 31, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPackedNonPod", + "shortDescription": { + "text": "packed-non-pod clang diagnostic" + }, + "fullDescription": { + "text": "-Wpacked-non-pod clang diagnostic · Learn more", + "markdown": "-Wpacked-non-pod clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpacked-non-pod)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPackedNonPod", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesSpecialMemberFunctions", + "shortDescription": { + "text": "cppcoreguidelines-special-member-functions clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-special-member-functions clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-special-member-functions clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/special-member-functions.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesSpecialMemberFunctions", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyConstructor", + "shortDescription": { + "text": "Empty constructor" + }, + "fullDescription": { + "text": "Empty public constructor declaration with no parameters is redundant. The compiler generates the same by default. Learn more...", + "markdown": "Empty public constructor declaration with no parameters is redundant. The compiler generates the same by default. [Learn more...](https://www.jetbrains.com/help/rider/EmptyConstructor.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyConstructor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringIndexOfIsCultureSpecific.2", + "shortDescription": { + "text": "String.IndexOf is culture-specific (string.IndexOf(string, int) is culture-specific)" + }, + "fullDescription": { + "text": "$s$.IndexOf($sarg$, $iarg1$) Learn more...", + "markdown": "$s$.IndexOf($sarg$, $iarg1$) [Learn more...](https://www.jetbrains.com/help/rider/StringIndexOfIsCultureSpecific.2.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StringIndexOfIsCultureSpecific.2", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesSlicing", + "shortDescription": { + "text": "cppcoreguidelines-slicing clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-slicing clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-slicing clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/slicing.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesSlicing", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringIndexOfIsCultureSpecific.3", + "shortDescription": { + "text": "String.IndexOf is culture-specific (string.IndexOf(string, int) is culture-specific)" + }, + "fullDescription": { + "text": "$s$.IndexOf($sarg$, $iarg1$, $iarg2$) Learn more...", + "markdown": "$s$.IndexOf($sarg$, $iarg1$, $iarg2$) [Learn more...](https://www.jetbrains.com/help/rider/StringIndexOfIsCultureSpecific.3.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StringIndexOfIsCultureSpecific.3", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscMisleadingBidirectional", + "shortDescription": { + "text": "misc-misleading-bidirectional clang-tidy check" + }, + "fullDescription": { + "text": "misc-misleading-bidirectional clang-tidy check · Learn more", + "markdown": "misc-misleading-bidirectional clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/misleading-bidirectional.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyMiscMisleadingBidirectional", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringIndexOfIsCultureSpecific.1", + "shortDescription": { + "text": "String.IndexOf is culture-specific (string.IndexOf(string) is culture-specific)" + }, + "fullDescription": { + "text": "$s$.IndexOf($sarg$) Learn more...", + "markdown": "$s$.IndexOf($sarg$) [Learn more...](https://www.jetbrains.com/help/rider/StringIndexOfIsCultureSpecific.1.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StringIndexOfIsCultureSpecific.1", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityConvertMemberFunctionsToStatic", + "shortDescription": { + "text": "readability-convert-member-functions-to-static clang-tidy check" + }, + "fullDescription": { + "text": "readability-convert-member-functions-to-static clang-tidy check · Learn more", + "markdown": "readability-convert-member-functions-to-static clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/convert-member-functions-to-static.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityConvertMemberFunctionsToStatic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StaticMemberInGenericType", + "shortDescription": { + "text": "Static field or auto-property in generic type" + }, + "fullDescription": { + "text": "Static field or auto-property in generic type may result in state duplication per each generic type instantiation Learn more...", + "markdown": "Static field or auto-property in generic type may result in state duplication per each generic type instantiation [Learn more...](https://www.jetbrains.com/help/rider/StaticMemberInGenericType.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StaticMemberInGenericType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticReservedMacroIdentifier", + "shortDescription": { + "text": "reserved-macro-identifier clang diagnostic" + }, + "fullDescription": { + "text": "-Wreserved-macro-identifier clang diagnostic · Learn more", + "markdown": "-Wreserved-macro-identifier clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wreserved-macro-identifier)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticReservedMacroIdentifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppVararg", + "shortDescription": { + "text": "hicpp-vararg clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-vararg clang-tidy check · Learn more", + "markdown": "hicpp-vararg clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/vararg.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppVararg", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscDefinitionsInHeaders", + "shortDescription": { + "text": "misc-definitions-in-headers clang-tidy check" + }, + "fullDescription": { + "text": "misc-definitions-in-headers clang-tidy check · Learn more", + "markdown": "misc-definitions-in-headers clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/definitions-in-headers.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyMiscDefinitionsInHeaders", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantUsingDirective.Global", + "shortDescription": { + "text": "Redundant global using directive" + }, + "fullDescription": { + "text": "Global using directive is not required by the code and can be safely removed", + "markdown": "Global using directive is not required by the code and can be safely removed" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantUsingDirective.Global", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseIndexedProperty", + "shortDescription": { + "text": "Use indexed property" + }, + "fullDescription": { + "text": "Use indexed property in COM import types instead of the accessor usage", + "markdown": "Use indexed property in COM import types instead of the accessor usage" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseIndexedProperty", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyMiscNewDeleteOverloads", + "shortDescription": { + "text": "misc-new-delete-overloads clang-tidy check" + }, + "fullDescription": { + "text": "misc-new-delete-overloads clang-tidy check · Learn more", + "markdown": "misc-new-delete-overloads clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/misc/new-delete-overloads.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyMiscNewDeleteOverloads", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDeprecatedEnumFloatConversion", + "shortDescription": { + "text": "deprecated-enum-float-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wdeprecated-enum-float-conversion clang diagnostic · Learn more", + "markdown": "-Wdeprecated-enum-float-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdeprecated-enum-float-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDeprecatedEnumFloatConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantComplexityInComparison", + "shortDescription": { + "text": "Expression can be simplified" + }, + "fullDescription": { + "text": "Expression can be simplified", + "markdown": "Expression can be simplified" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppRedundantComplexityInComparison", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticRangeLoopBindReference", + "shortDescription": { + "text": "range-loop-bind-reference clang diagnostic" + }, + "fullDescription": { + "text": "-Wrange-loop-bind-reference clang diagnostic · Learn more", + "markdown": "-Wrange-loop-bind-reference clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wrange-loop-bind-reference)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticRangeLoopBindReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.LoadSceneWrongIndex", + "shortDescription": { + "text": "The index is missing in the build settings" + }, + "fullDescription": { + "text": "There is no scene with the same index in the Unity build settings.", + "markdown": "There is no scene with the same index in the Unity build settings." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.LoadSceneWrongIndex", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity", + "index": 17, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneSuspiciousReallocUsage", + "shortDescription": { + "text": "bugprone-suspicious-realloc-usage clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-suspicious-realloc-usage clang-tidy check · Learn more", + "markdown": "bugprone-suspicious-realloc-usage clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/suspicious-realloc-usage.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneSuspiciousReallocUsage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringCompareToIsCultureSpecific", + "shortDescription": { + "text": "String.CompareTo is culture-specific" + }, + "fullDescription": { + "text": "$s1$.CompareTo($s2$) Learn more...", + "markdown": "$s1$.CompareTo($s2$) [Learn more...](https://www.jetbrains.com/help/rider/StringCompareToIsCultureSpecific.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StringCompareToIsCultureSpecific", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxCocoaNSAutoreleasePool", + "shortDescription": { + "text": "osx.cocoa.NSAutoreleasePool clang static analyzer check" + }, + "fullDescription": { + "text": "osx.cocoa.NSAutoreleasePool clang static analyzer check · Learn more", + "markdown": "osx.cocoa.NSAutoreleasePool clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxCocoaNSAutoreleasePool", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EventNeverInvoked", + "shortDescription": { + "text": "Event never invoked" + }, + "fullDescription": { + "text": "Event never invoked. Note that in C# this warning is the compiler warning CS0067 and is not configured here.", + "markdown": "Event never invoked. Note that in C# this warning is the compiler warning CS0067 and is not configured here." + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "EventNeverInvoked", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticOverridingMethodMismatch", + "shortDescription": { + "text": "overriding-method-mismatch clang diagnostic" + }, + "fullDescription": { + "text": "-Woverriding-method-mismatch clang diagnostic · Learn more", + "markdown": "-Woverriding-method-mismatch clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#woverriding-method-mismatch)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticOverridingMethodMismatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeObjectCreationWhenTypeNotEvident", + "shortDescription": { + "text": "Use preferred style of 'new' expression when created type is not evident" + }, + "fullDescription": { + "text": "Add or remove explicit type specification in 'new' expression when type is not evident from the usage Learn more...", + "markdown": "Add or remove explicit type specification in 'new' expression when type is not evident from the usage [Learn more...](https://www.jetbrains.com/help/rider/ArrangeObjectCreationWhenTypeNotEvident.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeObjectCreationWhenTypeNotEvident", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyForStatement", + "shortDescription": { + "text": "Empty 'for' loop is redundant" + }, + "fullDescription": { + "text": "Empty 'for' loop is redundant Learn more...", + "markdown": "Empty 'for' loop is redundant [Learn more...](https://www.jetbrains.com/help/rider/EmptyForStatement.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyForStatement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Asp.NotResolved", + "shortDescription": { + "text": "Unknown symbol" + }, + "fullDescription": { + "text": "Unknown symbol in ASP.NET and related technologies", + "markdown": "Unknown symbol in ASP.NET and related technologies" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Asp.NotResolved", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnsupportedFriend", + "shortDescription": { + "text": "unsupported-friend clang diagnostic" + }, + "fullDescription": { + "text": "-Wunsupported-friend clang diagnostic · Learn more", + "markdown": "-Wunsupported-friend clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunsupported-friend)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnsupportedFriend", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneSpuriouslyWakeUpFunctions", + "shortDescription": { + "text": "bugprone-spuriously-wake-up-functions clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-spuriously-wake-up-functions clang-tidy check · Learn more", + "markdown": "bugprone-spuriously-wake-up-functions clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/spuriously-wake-up-functions.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneSpuriouslyWakeUpFunctions", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAndroidCloexecAccept4", + "shortDescription": { + "text": "android-cloexec-accept4 clang-tidy check" + }, + "fullDescription": { + "text": "android-cloexec-accept4 clang-tidy check · Learn more", + "markdown": "android-cloexec-accept4 clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/android/cloexec-accept4.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAndroidCloexecAccept4", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxCocoaDealloc", + "shortDescription": { + "text": "osx.cocoa.Dealloc clang static analyzer check" + }, + "fullDescription": { + "text": "osx.cocoa.Dealloc clang static analyzer check · Learn more", + "markdown": "osx.cocoa.Dealloc clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxCocoaDealloc", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IntDivisionByZero", + "shortDescription": { + "text": "Division by zero in at least one execution path" + }, + "fullDescription": { + "text": "Division by zero in at least one execution path", + "markdown": "Division by zero in at least one execution path" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "IntDivisionByZero", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticEnumTooLarge", + "shortDescription": { + "text": "enum-too-large clang diagnostic" + }, + "fullDescription": { + "text": "-Wenum-too-large clang diagnostic · Learn more", + "markdown": "-Wenum-too-large clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wenum-too-large)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticEnumTooLarge", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticProfileInstrUnprofiled", + "shortDescription": { + "text": "profile-instr-unprofiled clang diagnostic" + }, + "fullDescription": { + "text": "-Wprofile-instr-unprofiled clang diagnostic · Learn more", + "markdown": "-Wprofile-instr-unprofiled clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wprofile-instr-unprofiled)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticProfileInstrUnprofiled", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCoreUninitializedBranch", + "shortDescription": { + "text": "core.uninitialized.Branch clang static analyzer check" + }, + "fullDescription": { + "text": "core.uninitialized.Branch clang static analyzer check · Learn more", + "markdown": "core.uninitialized.Branch clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCoreUninitializedBranch", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxCocoaVariadicMethodTypes", + "shortDescription": { + "text": "osx.cocoa.VariadicMethodTypes clang static analyzer check" + }, + "fullDescription": { + "text": "osx.cocoa.VariadicMethodTypes clang static analyzer check · Learn more", + "markdown": "osx.cocoa.VariadicMethodTypes clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxCocoaVariadicMethodTypes", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyLlvmlibcCalleeNamespace", + "shortDescription": { + "text": "llvmlibc-callee-namespace clang-tidy check" + }, + "fullDescription": { + "text": "llvmlibc-callee-namespace clang-tidy check · Learn more", + "markdown": "llvmlibc-callee-namespace clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/llvmlibc/callee-namespace.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyLlvmlibcCalleeNamespace", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyAbseilDurationComparison", + "shortDescription": { + "text": "abseil-duration-comparison clang-tidy check" + }, + "fullDescription": { + "text": "abseil-duration-comparison clang-tidy check · Learn more", + "markdown": "abseil-duration-comparison clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/abseil/duration-comparison.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyAbseilDurationComparison", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAutoVarId", + "shortDescription": { + "text": "auto-var-id clang diagnostic" + }, + "fullDescription": { + "text": "-Wauto-var-id clang diagnostic · Learn more", + "markdown": "-Wauto-var-id clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wauto-var-id)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAutoVarId", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSingleOrDefault.4", + "shortDescription": { + "text": "Replace with SingleOrDefault($args$)" + }, + "fullDescription": { + "text": "$expr$ && $seq$.Any($args$) ? $seq$.Single($args$) : default($T$)", + "markdown": "$expr$ \\&\\& $seq$.Any($args$) ? $seq$.Single($args$) : default($T$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSingleOrDefault.4", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSingleOrDefault.2", + "shortDescription": { + "text": "Replace with SingleOrDefault($args$)" + }, + "fullDescription": { + "text": "$expr$ && $seq$.Any($args$) ? $seq$.Single($args$) : null", + "markdown": "$expr$ \\&\\& $seq$.Any($args$) ? $seq$.Single($args$) : null" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSingleOrDefault.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSingleOrDefault.3", + "shortDescription": { + "text": "Replace with SingleOrDefault($args$)" + }, + "fullDescription": { + "text": "$seq$.Any($args$) ? $seq$.Single($args$) : default($T$)", + "markdown": "$seq$.Any($args$) ? $seq$.Single($args$) : default($T$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSingleOrDefault.3", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticModuleFileExtension", + "shortDescription": { + "text": "module-file-extension clang diagnostic" + }, + "fullDescription": { + "text": "-Wmodule-file-extension clang diagnostic · Learn more", + "markdown": "-Wmodule-file-extension clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmodule-file-extension)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticModuleFileExtension", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Unity.BurstLoadingManagedType", + "shortDescription": { + "text": "Loading managed type is not supported" + }, + "fullDescription": { + "text": "Loading managed type is not supported", + "markdown": "Loading managed type is not supported" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Unity.BurstLoadingManagedType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Unity Burst Compiler Warnings", + "index": 51, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppFunctionSize", + "shortDescription": { + "text": "hicpp-function-size clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-function-size clang-tidy check · Learn more", + "markdown": "hicpp-function-size clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/function-size.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppFunctionSize", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReturnTypeCanBeEnumerable.Local", + "shortDescription": { + "text": "Return type can be IEnumerable (private accessibility)" + }, + "fullDescription": { + "text": "All usages of a method (or read-only property/indexer) use returned value as IEnumerable, but it is declared with more specific type (e.g. List) Learn more...", + "markdown": "All usages of a method (or read-only property/indexer) use returned value as IEnumerable, but it is declared with more specific type (e.g. List) [Learn more...](https://www.jetbrains.com/help/rider/ReturnTypeCanBeEnumerable.Local.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReturnTypeCanBeEnumerable.Local", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnusedMemberFunction", + "shortDescription": { + "text": "unused-member-function clang diagnostic" + }, + "fullDescription": { + "text": "-Wunused-member-function clang diagnostic · Learn more", + "markdown": "-Wunused-member-function clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunused-member-function)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnusedMemberFunction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticExtraTokens", + "shortDescription": { + "text": "extra-tokens clang diagnostic" + }, + "fullDescription": { + "text": "-Wextra-tokens clang diagnostic · Learn more", + "markdown": "-Wextra-tokens clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wextra-tokens)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticExtraTokens", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceWithSingleOrDefault.1", + "shortDescription": { + "text": "Replace with SingleOrDefault($args$)" + }, + "fullDescription": { + "text": "$seq$.Any($args$) ? $seq$.Single($args$) : null", + "markdown": "$seq$.Any($args$) ? $seq$.Single($args$) : null" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceWithSingleOrDefault.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StaticProblemInText", + "shortDescription": { + "text": "Cannot access static symbol in text argument" + }, + "fullDescription": { + "text": "Cannot access static symbol in text argument", + "markdown": "Cannot access static symbol in text argument" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "StaticProblemInText", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RouteTemplates.ActionRoutePrefixCanBeExtractedToControllerRoute", + "shortDescription": { + "text": "Action's route prefix can be extracted to controller's route" + }, + "fullDescription": { + "text": "When all controller's actions' route templates have same prefixes, it's possible to extract their common prefix to controller's route template", + "markdown": "When all controller's actions' route templates have same prefixes, it's possible to extract their common prefix to controller's route template" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RouteTemplates.ActionRoutePrefixCanBeExtractedToControllerRoute", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "ASP.NET route templates/Code Notification", + "index": 43, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticAixCompat", + "shortDescription": { + "text": "aix-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Waix-compat clang diagnostic · Learn more", + "markdown": "-Waix-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#waix-compat)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticAixCompat", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InterpolatedStringExpressionIsNotIFormattable", + "shortDescription": { + "text": "Formatting is specified, but interpolated string expression is not IFormattable" + }, + "fullDescription": { + "text": "Formatting is specified, but interpolated string expression is not IFormattable", + "markdown": "Formatting is specified, but interpolated string expression is not IFormattable" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "InterpolatedStringExpressionIsNotIFormattable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticOverridingTOption", + "shortDescription": { + "text": "overriding-t-option clang diagnostic" + }, + "fullDescription": { + "text": "-Woverriding-t-option clang diagnostic · Learn more", + "markdown": "-Woverriding-t-option clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#woverriding-t-option)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticOverridingTOption", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InvertIf", + "shortDescription": { + "text": "Invert 'if' statement to reduce nesting" + }, + "fullDescription": { + "text": "Invert 'if' statement to reduce nesting Learn more...", + "markdown": "Invert 'if' statement to reduce nesting [Learn more...](https://www.jetbrains.com/help/rider/InvertIf.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "InvertIf", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedField.Compiler", + "shortDescription": { + "text": "Field is never used" + }, + "fullDescription": { + "text": "Field is never used (compiler warning)", + "markdown": "Field is never used (compiler warning)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedField.Compiler", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Compiler Warnings", + "index": 25, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyFuchsiaOverloadedOperator", + "shortDescription": { + "text": "fuchsia-overloaded-operator clang-tidy check" + }, + "fullDescription": { + "text": "fuchsia-overloaded-operator clang-tidy check · Learn more", + "markdown": "fuchsia-overloaded-operator clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyFuchsiaOverloadedOperator", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCastOfSelType", + "shortDescription": { + "text": "cast-of-sel-type clang diagnostic" + }, + "fullDescription": { + "text": "-Wcast-of-sel-type clang diagnostic · Learn more", + "markdown": "-Wcast-of-sel-type clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wcast-of-sel-type)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCastOfSelType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ObjectCreationAsStatement", + "shortDescription": { + "text": "Possible unassigned object created by 'new' expression" + }, + "fullDescription": { + "text": "Object created by 'new' expression is possibly not assigned anywhere", + "markdown": "Object created by 'new' expression is possibly not assigned anywhere" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ObjectCreationAsStatement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IntVariableOverflowInUncheckedContext", + "shortDescription": { + "text": "Possible overflow in unchecked context" + }, + "fullDescription": { + "text": "Possible overflow in unchecked context", + "markdown": "Possible overflow in unchecked context" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "IntVariableOverflowInUncheckedContext", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCoreUninitializedNewArraySize", + "shortDescription": { + "text": "core.uninitialized.NewArraySize clang static analyzer check" + }, + "fullDescription": { + "text": "core.uninitialized.NewArraySize clang static analyzer check · Learn more", + "markdown": "core.uninitialized.NewArraySize clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCoreUninitializedNewArraySize", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantNullnessAttributeWithNullableReferenceTypes", + "shortDescription": { + "text": "[NotNull] or [CanBeNull] attribute is applied to a type that already has the same annotation from nullable reference types" + }, + "fullDescription": { + "text": "[NotNull] or [CanBeNull] attribute has no effect because the target type already has the same annotation from nullable reference types", + "markdown": "\\[NotNull\\] or \\[CanBeNull\\] attribute has no effect because the target type already has the same annotation from nullable reference types" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantNullnessAttributeWithNullableReferenceTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Xaml.PathError", + "shortDescription": { + "text": "Path error" + }, + "fullDescription": { + "text": "Path error", + "markdown": "Path error" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "Xaml.PathError", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XAML/Potential Code Quality Issues", + "index": 40, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticC2xCompat", + "shortDescription": { + "text": "c2x-compat clang diagnostic" + }, + "fullDescription": { + "text": "-Wc2x-compat clang diagnostic · Learn more", + "markdown": "-Wc2x-compat clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc2x-compat)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticC2xCompat", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyPerformanceFasterStringFind", + "shortDescription": { + "text": "performance-faster-string-find clang-tidy check" + }, + "fullDescription": { + "text": "performance-faster-string-find clang-tidy check · Learn more", + "markdown": "performance-faster-string-find clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/performance/faster-string-find.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyPerformanceFasterStringFind", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConditionIsAlwaysTrueOrFalse", + "shortDescription": { + "text": "Expression is always 'true' or always 'false'" + }, + "fullDescription": { + "text": "Value of a boolean expression is always the same at this point Learn more...", + "markdown": "Value of a boolean expression is always the same at this point [Learn more...](https://www.jetbrains.com/help/rider/ConditionIsAlwaysTrueOrFalse.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ConditionIsAlwaysTrueOrFalse", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStringPlusInt", + "shortDescription": { + "text": "string-plus-int clang diagnostic" + }, + "fullDescription": { + "text": "-Wstring-plus-int clang diagnostic · Learn more", + "markdown": "-Wstring-plus-int clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstring-plus-int)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStringPlusInt", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConstructorInitializerLoop", + "shortDescription": { + "text": "Possible cyclic constructor call" + }, + "fullDescription": { + "text": "Possible cyclic constructor call Learn more...", + "markdown": "Possible cyclic constructor call [Learn more...](https://www.jetbrains.com/help/rider/ConstructorInitializerLoop.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ConstructorInitializerLoop", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithFirstOrDefault", + "shortDescription": { + "text": "Replace with FirstOrDefault($args$)" + }, + "fullDescription": { + "text": "If ($seq$.Any($args$), $seq$.First($args$), Nothing)", + "markdown": "If ($seq$.Any($args$), $seq$.First($args$), Nothing)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithFirstOrDefault", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppUseAssociativeContains", + "shortDescription": { + "text": "'contains' member function can be used" + }, + "fullDescription": { + "text": "'contains' member function can be used", + "markdown": "'contains' member function can be used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppUseAssociativeContains", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticMultichar", + "shortDescription": { + "text": "multichar clang diagnostic" + }, + "fullDescription": { + "text": "-Wmultichar clang diagnostic · Learn more", + "markdown": "-Wmultichar clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wmultichar)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticMultichar", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppMemberInit", + "shortDescription": { + "text": "hicpp-member-init clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-member-init clang-tidy check · Learn more", + "markdown": "hicpp-member-init clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/member-init.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppMemberInit", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.9", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.All(Function ($x$) $expr$ Is $expr2$)", + "markdown": "!$seq$.All(Function ($x$) $expr$ Is $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.9", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyReadabilityRedundantAccessSpecifiers", + "shortDescription": { + "text": "readability-redundant-access-specifiers clang-tidy check" + }, + "fullDescription": { + "text": "readability-redundant-access-specifiers clang-tidy check · Learn more", + "markdown": "readability-redundant-access-specifiers clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability/redundant-access-specifiers.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyReadabilityRedundantAccessSpecifiers", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticInvalidOffsetof", + "shortDescription": { + "text": "invalid-offsetof clang diagnostic" + }, + "fullDescription": { + "text": "-Winvalid-offsetof clang diagnostic · Learn more", + "markdown": "-Winvalid-offsetof clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#winvalid-offsetof)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticInvalidOffsetof", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPrivateExtern", + "shortDescription": { + "text": "private-extern clang diagnostic" + }, + "fullDescription": { + "text": "-Wprivate-extern clang diagnostic · Learn more", + "markdown": "-Wprivate-extern clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wprivate-extern)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPrivateExtern", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.1", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.Any(Function ($x$) Not $expr$)", + "markdown": "!$seq$.Any(Function ($x$) Not $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.1", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.2", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.All(Function ($x$) Not $expr$)", + "markdown": "!$seq$.All(Function ($x$) Not $expr$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.2", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.3", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.Any(Function ($x$) $expr$ IsNot $expr2$)", + "markdown": "!$seq$.Any(Function ($x$) $expr$ IsNot $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.3", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.4", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.Any(Function ($x$) $expr$ <> $expr2$)", + "markdown": "!$seq$.Any(Function ($x$) $expr$ \\<\\> $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.4", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.5", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.All(Function ($x$) $expr$ IsNot $expr2$)", + "markdown": "!$seq$.All(Function ($x$) $expr$ IsNot $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.5", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticStaticLocalInInline", + "shortDescription": { + "text": "static-local-in-inline clang diagnostic" + }, + "fullDescription": { + "text": "-Wstatic-local-in-inline clang diagnostic · Learn more", + "markdown": "-Wstatic-local-in-inline clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wstatic-local-in-inline)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticStaticLocalInInline", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.6", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.All(Function ($x$) $expr$ <> $expr2$)", + "markdown": "!$seq$.All(Function ($x$) $expr$ \\<\\> $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.6", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.7", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.Any(Function ($x$) $expr$ Is $expr2$)", + "markdown": "!$seq$.Any(Function ($x$) $expr$ Is $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.7", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBSimplifyLinqExpression.8", + "shortDescription": { + "text": "Simplify expression" + }, + "fullDescription": { + "text": "!$seq$.Any(Function ($x$) $expr$ = $expr2$)", + "markdown": "!$seq$.Any(Function ($x$) $expr$ = $expr2$)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBSimplifyLinqExpression.8", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AccessRightsInText", + "shortDescription": { + "text": "Cannot access symbol in text argument" + }, + "fullDescription": { + "text": "Cannot access symbol in text argument", + "markdown": "Cannot access symbol in text argument" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "AccessRightsInText", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticArcNonPodMemaccess", + "shortDescription": { + "text": "arc-non-pod-memaccess clang diagnostic" + }, + "fullDescription": { + "text": "-Warc-non-pod-memaccess clang diagnostic · Learn more", + "markdown": "-Warc-non-pod-memaccess clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#warc-non-pod-memaccess)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticArcNonPodMemaccess", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticCpp11InlineNamespace", + "shortDescription": { + "text": "c++11-inline-namespace clang diagnostic" + }, + "fullDescription": { + "text": "-Wc++11-inline-namespace clang diagnostic · Learn more", + "markdown": "-Wc++11-inline-namespace clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wc-11-inline-namespace)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticCpp11InlineNamespace", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WebConfig.RedundantAddNamespaceTag", + "shortDescription": { + "text": "Redundant add namespace element" + }, + "fullDescription": { + "text": "Add namespace element is redundant because it duplicates another element of is cleared later and can be safely removed", + "markdown": "Add namespace element is redundant because it duplicates another element of is cleared later and can be safely removed" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "WebConfig.RedundantAddNamespaceTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Web.Config/Redundancies in Code", + "index": 88, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyModernizeMakeUnique", + "shortDescription": { + "text": "modernize-make-unique clang-tidy check" + }, + "fullDescription": { + "text": "modernize-make-unique clang-tidy check · Learn more", + "markdown": "modernize-make-unique clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/make-unique.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyModernizeMakeUnique", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppNonExplicitConvertingConstructor", + "shortDescription": { + "text": "Non-explicit converting constructor" + }, + "fullDescription": { + "text": "Non-explicit converting constructor", + "markdown": "Non-explicit converting constructor" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppNonExplicitConvertingConstructor", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Common Practices and Code Improvements", + "index": 15, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleBuildUsingNamespace", + "shortDescription": { + "text": "google-build-using-namespace clang-tidy check" + }, + "fullDescription": { + "text": "google-build-using-namespace clang-tidy check · Learn more", + "markdown": "google-build-using-namespace clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/build-using-namespace.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleBuildUsingNamespace", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseDiscardAssignment", + "shortDescription": { + "text": "Use discard assignment" + }, + "fullDescription": { + "text": "Replace intentionally ignored variable declaration 'var _ = ...' with discard assignment '_ = ...'.", + "markdown": "Replace intentionally ignored variable declaration 'var _ = ...' with discard assignment '_ = ...'." + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseDiscardAssignment", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleRuntimeInt", + "shortDescription": { + "text": "google-runtime-int clang-tidy check" + }, + "fullDescription": { + "text": "google-runtime-int clang-tidy check · Learn more", + "markdown": "google-runtime-int clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/runtime-int.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleRuntimeInt", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ContractAnnotationNotParsed", + "shortDescription": { + "text": "Problem in contract annotation definition" + }, + "fullDescription": { + "text": "Input string in ContractAnnotation attribute could not be parsed Learn more...", + "markdown": "Input string in ContractAnnotation attribute could not be parsed [Learn more...](https://www.jetbrains.com/help/rider/ContractAnnotationNotParsed.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "ContractAnnotationNotParsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Constraints Violations", + "index": 71, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticTautologicalBitwiseCompare", + "shortDescription": { + "text": "tautological-bitwise-compare clang diagnostic" + }, + "fullDescription": { + "text": "-Wtautological-bitwise-compare clang diagnostic · Learn more", + "markdown": "-Wtautological-bitwise-compare clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wtautological-bitwise-compare)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticTautologicalBitwiseCompare", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppRedundantDereferencingAndTakingAddress", + "shortDescription": { + "text": "Redundant dereferencing and taking address" + }, + "fullDescription": { + "text": "Redundant dereferencing and taking address", + "markdown": "Redundant dereferencing and taking address" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "CppRedundantDereferencingAndTakingAddress", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Redundancies in Code", + "index": 31, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBReplaceWithLastOrDefault", + "shortDescription": { + "text": "Replace with LastOrDefault($args$)" + }, + "fullDescription": { + "text": "If ($seq$.Any($args$), $seq$.Last($args$), Nothing)", + "markdown": "If ($seq$.Any($args$), $seq$.Last($args$), Nothing)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "VBReplaceWithLastOrDefault", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WithExpressionInsteadOfInitializer", + "shortDescription": { + "text": "'with' expression is used instead of object initializer" + }, + "fullDescription": { + "text": "'with' expression applied to a newly created object instance results in unnecessary clone creation", + "markdown": "'with' expression applied to a newly created object instance results in unnecessary clone creation" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "WithExpressionInsteadOfInitializer", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNullPointerSubtraction", + "shortDescription": { + "text": "null-pointer-subtraction clang diagnostic" + }, + "fullDescription": { + "text": "-Wnull-pointer-subtraction clang diagnostic · Learn more", + "markdown": "-Wnull-pointer-subtraction clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnull-pointer-subtraction)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNullPointerSubtraction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceObjectPatternWithVarPattern", + "shortDescription": { + "text": "Replace object pattern not performing any additional checks with 'var' pattern" + }, + "fullDescription": { + "text": "Replace '{ } x' object pattern not performing any additional checks with 'var x' pattern", + "markdown": "Replace '{ } x' object pattern not performing any additional checks with 'var x' pattern" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ReplaceObjectPatternWithVarPattern", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantExplicitArrayCreation", + "shortDescription": { + "text": "Redundant explicit type in array creation" + }, + "fullDescription": { + "text": "When array type can be inferred from the initializer, you can use an implicitly-typed array Learn more...", + "markdown": "When array type can be inferred from the initializer, you can use an implicitly-typed array [Learn more...](https://www.jetbrains.com/help/rider/RedundantExplicitArrayCreation.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantExplicitArrayCreation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SimplifyIIf", + "shortDescription": { + "text": "Simplify 'IIf'" + }, + "fullDescription": { + "text": "'IIf' contains 'True' or 'False' in result branch, for example \r\n IIf(condition, True, elseBranch)\r\n IIf(condition, thenBranch : True)", + "markdown": "'IIf' contains 'True' or 'False' in result branch, for example\n\n```\n\r\n IIf(condition, True, elseBranch)\r\n IIf(condition, thenBranch : True)\r\n \n```" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "SimplifyIIf", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Common Practices and Code Improvements", + "index": 35, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PartialTypeWithSinglePart", + "shortDescription": { + "text": "Redundant 'partial' modifier on type declaration" + }, + "fullDescription": { + "text": "Class is declared as 'partial', but has only one part Learn more...", + "markdown": "Class is declared as 'partial', but has only one part [Learn more...](https://www.jetbrains.com/help/rider/PartialTypeWithSinglePart.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "PartialTypeWithSinglePart", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Symbol Declarations", + "index": 32, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticUnknownPragmas", + "shortDescription": { + "text": "unknown-pragmas clang diagnostic" + }, + "fullDescription": { + "text": "-Wunknown-pragmas clang diagnostic · Learn more", + "markdown": "-Wunknown-pragmas clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wunknown-pragmas)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticUnknownPragmas", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MemberCanBeInternal", + "shortDescription": { + "text": "Member or type can be made internal (friend)" + }, + "fullDescription": { + "text": "Member or type can be made internal (friend)", + "markdown": "Member or type can be made internal (friend)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "MemberCanBeInternal", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticDisabledMacroExpansion", + "shortDescription": { + "text": "disabled-macro-expansion clang diagnostic" + }, + "fullDescription": { + "text": "-Wdisabled-macro-expansion clang diagnostic · Learn more", + "markdown": "-Wdisabled-macro-expansion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wdisabled-macro-expansion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticDisabledMacroExpansion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneSharedPtrArrayMismatch", + "shortDescription": { + "text": "bugprone-shared-ptr-array-mismatch clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-shared-ptr-array-mismatch clang-tidy check · Learn more", + "markdown": "bugprone-shared-ptr-array-mismatch clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/shared-ptr-array-mismatch.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneSharedPtrArrayMismatch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyHicppNamedParameter", + "shortDescription": { + "text": "hicpp-named-parameter clang-tidy check" + }, + "fullDescription": { + "text": "hicpp-named-parameter clang-tidy check · Learn more", + "markdown": "hicpp-named-parameter clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/hicpp/named-parameter.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyHicppNamedParameter", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UseFormatSpecifierInFormatString", + "shortDescription": { + "text": "Use format specifier in format strings" + }, + "fullDescription": { + "text": "'.ToString()' call can be replaced with format specifier", + "markdown": "'.ToString()' call can be replaced with format specifier" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "UseFormatSpecifierInFormatString", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MissingSpace", + "shortDescription": { + "text": "Incorrect spacing (space is missing elsewhere)" + }, + "fullDescription": { + "text": "Space is missing elsewhere Learn more...", + "markdown": "Space is missing elsewhere [Learn more...](https://www.jetbrains.com/help/rider/MissingSpace.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "MissingSpace", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Formatting", + "index": 22, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", + "shortDescription": { + "text": "Foreach loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "fullDescription": { + "text": "A 'foreach' ('For Each' for VB.NET) can be converted into a LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "A 'foreach' ('For Each' for VB.NET) can be converted into a LINQ-expression but another 'GetEnumerator' method will be used" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Language Usage Opportunities", + "index": 5, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerOsxCocoaMissingSuperCall", + "shortDescription": { + "text": "osx.cocoa.MissingSuperCall clang static analyzer check" + }, + "fullDescription": { + "text": "osx.cocoa.MissingSuperCall clang static analyzer check · Learn more", + "markdown": "osx.cocoa.MissingSuperCall clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerOsxCocoaMissingSuperCall", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HeuristicUnreachableCode", + "shortDescription": { + "text": "Heuristically unreachable code" + }, + "fullDescription": { + "text": "Heuristically unreachable code detected", + "markdown": "Heuristically unreachable code detected" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "HeuristicUnreachableCode", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantSuppressNullableWarningExpression", + "shortDescription": { + "text": "Redundant nullable warning suppression expression" + }, + "fullDescription": { + "text": "Nullable warning suppression expression does not suppress any warnings and is applied to an already non-nullable operand", + "markdown": "Nullable warning suppression expression does not suppress any warnings and is applied to an already non-nullable operand" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantSuppressNullableWarningExpression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Redundancies in Code", + "index": 21, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyBugproneParentVirtualCall", + "shortDescription": { + "text": "bugprone-parent-virtual-call clang-tidy check" + }, + "fullDescription": { + "text": "bugprone-parent-virtual-call clang-tidy check · Learn more", + "markdown": "bugprone-parent-virtual-call clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/bugprone/parent-virtual-call.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyBugproneParentVirtualCall", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ArrangeAccessorOwnerBody", + "shortDescription": { + "text": "Use preferred body style (convert into property, indexer, or event with preferred body style)" + }, + "fullDescription": { + "text": "Use expression or block body Learn more...", + "markdown": "Use expression or block body [Learn more...](https://www.jetbrains.com/help/rider/ArrangeAccessorOwnerBody.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ArrangeAccessorOwnerBody", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Syntax Style", + "index": 19, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NotAccessedPositionalProperty.Global", + "shortDescription": { + "text": "Non-accessed positional property (non-private accessibility)" + }, + "fullDescription": { + "text": "Positional property is never accessed for reading Learn more...", + "markdown": "Positional property is never accessed for reading [Learn more...](https://www.jetbrains.com/help/rider/NotAccessedPositionalProperty.Global.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "NotAccessedPositionalProperty.Global", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticIncompatiblePropertyType", + "shortDescription": { + "text": "incompatible-property-type clang diagnostic" + }, + "fullDescription": { + "text": "-Wincompatible-property-type clang diagnostic · Learn more", + "markdown": "-Wincompatible-property-type clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wincompatible-property-type)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticIncompatiblePropertyType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Mvc.ViewNotResolved", + "shortDescription": { + "text": "MVC (unknown view)" + }, + "fullDescription": { + "text": "Unknown ASP.NET MVC View Learn more...", + "markdown": "Unknown ASP.NET MVC View [Learn more...](https://www.jetbrains.com/help/rider/Mvc.ViewNotResolved.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "Mvc.ViewNotResolved", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Aspx/Potential Code Quality Issues", + "index": 57, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyGoogleReadabilityAvoidUnderscoreInGoogletestName", + "shortDescription": { + "text": "google-readability-avoid-underscore-in-googletest-name clang-tidy check" + }, + "fullDescription": { + "text": "google-readability-avoid-underscore-in-googletest-name clang-tidy check · Learn more", + "markdown": "google-readability-avoid-underscore-in-googletest-name clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-avoid-underscore-in-googletest-name.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyGoogleReadabilityAvoidUnderscoreInGoogletestName", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangAnalyzerCplusplusPureVirtualCall", + "shortDescription": { + "text": "cplusplus.PureVirtualCall clang static analyzer check" + }, + "fullDescription": { + "text": "cplusplus.PureVirtualCall clang static analyzer check · Learn more", + "markdown": "cplusplus.PureVirtualCall clang static analyzer check · [Learn more](https://clang-analyzer.llvm.org/available_checks.html)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppClangTidyClangAnalyzerCplusplusPureVirtualCall", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Static Analyzer Checks", + "index": 30, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBadAngleBracketsSpaces", + "shortDescription": { + "text": "Incorrect spacing (around angle brackets)" + }, + "fullDescription": { + "text": "Around angle brackets", + "markdown": "Around angle brackets" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppBadAngleBracketsSpaces", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Formatting", + "index": 26, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppBoostFormatMixedArgs", + "shortDescription": { + "text": "Positional and non-positional arguments in the same boost::format call" + }, + "fullDescription": { + "text": "An argument of boost::format should contain either positional (%N%, %|N$...|) or serial (%|...|, %s) arguments, not both", + "markdown": "An argument of boost::format should contain either positional (%N%, %\\|N$...\\|) or serial (%\\|...\\|, %s) arguments, not both" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "CppBoostFormatMixedArgs", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppEnforceFunctionDeclarationStyle", + "shortDescription": { + "text": "Use preferred declaration style (enforce function declaration style)" + }, + "fullDescription": { + "text": "Enforce usage of the trailing return type or the regular return type syntax", + "markdown": "Enforce usage of the trailing return type or the regular return type syntax" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CppEnforceFunctionDeclarationStyle", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Syntax Style", + "index": 83, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticNullConversion", + "shortDescription": { + "text": "null-conversion clang diagnostic" + }, + "fullDescription": { + "text": "-Wnull-conversion clang diagnostic · Learn more", + "markdown": "-Wnull-conversion clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wnull-conversion)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticNullConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticPedanticCoreFeatures", + "shortDescription": { + "text": "pedantic-core-features clang diagnostic" + }, + "fullDescription": { + "text": "-Wpedantic-core-features clang diagnostic · Learn more", + "markdown": "-Wpedantic-core-features clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpedantic-core-features)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticPedanticCoreFeatures", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyPerformanceNoAutomaticMove", + "shortDescription": { + "text": "performance-no-automatic-move clang-tidy check" + }, + "fullDescription": { + "text": "performance-no-automatic-move clang-tidy check · Learn more", + "markdown": "performance-no-automatic-move clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/performance/no-automatic-move.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyPerformanceNoAutomaticMove", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticVexingParse", + "shortDescription": { + "text": "vexing-parse clang diagnostic" + }, + "fullDescription": { + "text": "-Wvexing-parse clang diagnostic · Learn more", + "markdown": "-Wvexing-parse clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wvexing-parse)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticVexingParse", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBWarnings__BC42505", + "shortDescription": { + "text": "The CallerArgumentExpressionAttribute applied to parameter will have no effect. It is applied with an invalid parameter name." + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "VBWarnings__BC42505", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Compiler Warnings", + "index": 97, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppMsExtReinterpretCastFromNullptr", + "shortDescription": { + "text": "Casting from nullptr to pointer type with reinterpret_cast is non-standard Microsoft C++ extension" + }, + "fullDescription": { + "text": "Casting from nullptr to pointer type with reinterpret_cast is non-standard Microsoft C++ extension", + "markdown": "Casting from nullptr to pointer type with reinterpret_cast is non-standard Microsoft C++ extension" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppMsExtReinterpretCastFromNullptr", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Potential Code Quality Issues", + "index": 7, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnreachableSwitchCaseDueToIntegerAnalysis", + "shortDescription": { + "text": "Heuristically unreachable case according to integer analysis" + }, + "fullDescription": { + "text": "Heuristically unreachable case label according to integer analysis Learn more...", + "markdown": "Heuristically unreachable case label according to integer analysis [Learn more...](https://www.jetbrains.com/help/rider/UnreachableSwitchCaseDueToIntegerAnalysis.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "UnreachableSwitchCaseDueToIntegerAnalysis", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Potential Code Quality Issues", + "index": 1, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyCppcoreguidelinesInterfacesGlobalInit", + "shortDescription": { + "text": "cppcoreguidelines-interfaces-global-init clang-tidy check" + }, + "fullDescription": { + "text": "cppcoreguidelines-interfaces-global-init clang-tidy check · Learn more", + "markdown": "cppcoreguidelines-interfaces-global-init clang-tidy check · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines/interfaces-global-init.html)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyCppcoreguidelinesInterfacesGlobalInit", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang-Tidy Checks", + "index": 6, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VBWarnings__BC42504", + "shortDescription": { + "text": "The CallerArgumentExpressionAttribute applied to parameter will have no effect because it's self-referential" + }, + "fullDescription": { + "text": "", + "markdown": "" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "VBWarnings__BC42504", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "VB.NET/Compiler Warnings", + "index": 97, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConvertToConstant.Local", + "shortDescription": { + "text": "Convert local variable or field into constant (private accessibility)" + }, + "fullDescription": { + "text": "Convert local variable or field into constant", + "markdown": "Convert local variable or field into constant" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "ConvertToConstant.Local", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "C#/Common Practices and Code Improvements", + "index": 12, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticGnuOffsetofExtensions", + "shortDescription": { + "text": "gnu-offsetof-extensions clang diagnostic" + }, + "fullDescription": { + "text": "-Wgnu-offsetof-extensions clang diagnostic · Learn more", + "markdown": "-Wgnu-offsetof-extensions clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wgnu-offsetof-extensions)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticGnuOffsetofExtensions", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CppClangTidyClangDiagnosticRangeLoopConstruct", + "shortDescription": { + "text": "range-loop-construct clang diagnostic" + }, + "fullDescription": { + "text": "-Wrange-loop-construct clang diagnostic · Learn more", + "markdown": "-Wrange-loop-construct clang diagnostic · [Learn more](https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wrange-loop-construct)" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CppClangTidyClangDiagnosticRangeLoopConstruct", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "C++/Clang Diagnostics", + "index": 3, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OtherTagsInsideScript1", + "shortDescription": { + "text": "Script tag errors (other tags inside \n '", + "markdown": "Reports empty tags that do not work in some browsers.\n\n**Example:**\n\n\n \n \n \n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CheckEmptyScriptTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlUnknownTarget", + "shortDescription": { + "text": "Unresolved file in a link" + }, + "fullDescription": { + "text": "Reports an unresolved file in a link.", + "markdown": "Reports an unresolved file in a link." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlUnknownTarget", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlWrongRootElement", + "shortDescription": { + "text": "Wrong root element" + }, + "fullDescription": { + "text": "Reports a root tag name different from the name specified in the '' tag.", + "markdown": "Reports a root tag name different from the name specified in the `` tag." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XmlWrongRootElement", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlUnknownAttribute", + "shortDescription": { + "text": "Unknown attribute" + }, + "fullDescription": { + "text": "Reports an unknown HTML attribute. Suggests configuring attributes that should not be reported.", + "markdown": "Reports an unknown HTML attribute. Suggests configuring attributes that should not be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlUnknownAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpRedundantEscape", + "shortDescription": { + "text": "Redundant character escape" + }, + "fullDescription": { + "text": "Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning. Many escape sequences that are necessary outside of a character class are redundant inside square brackets '[]' of a character class. Although unescaped opening curly braces '{' outside of character classes are allowed in some dialects (JavaScript, Python, and so on), it can cause confusion and make the pattern less portable, because there are dialects that require escaping curly braces as characters. For this reason the inspection does not report escaped opening curly braces. Example: '\\-\\;[\\.]' After the quick-fix is applied: '-;[.]' The Ignore escaped closing brackets '}' and ']' option specifies whether to report '\\}' and '\\]' outside of a character class when they are allowed to be unescaped by the RegExp dialect. New in 2017.3", + "markdown": "Reports redundant character escape sequences that can be replaced with unescaped characters preserving the meaning. Many escape sequences that are necessary outside of a character class are redundant inside square brackets `[]` of a character class.\n\n\nAlthough unescaped opening curly braces `{` outside of character classes are allowed in some dialects (JavaScript, Python, and so on),\nit can cause confusion and make the pattern less portable, because there are dialects that require escaping curly braces as characters.\nFor this reason the inspection does not report escaped opening curly braces.\n\n**Example:**\n\n\n \\-\\;[\\.]\n\nAfter the quick-fix is applied:\n\n\n -;[.]\n\n\nThe **Ignore escaped closing brackets '}' and '\\]'** option specifies whether to report `\\}` and `\\]` outside of a character class\nwhen they are allowed to be unescaped by the RegExp dialect.\n\nNew in 2017.3" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpRedundantEscape", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlExtraClosingTag", + "shortDescription": { + "text": "Redundant closing tag" + }, + "fullDescription": { + "text": "Reports redundant closing tags on empty elements, for example, 'img' or 'br'. Example: '\n \n

\n \n ' After the quick-fix is applied: '\n \n
\n \n '", + "markdown": "Reports redundant closing tags on empty elements, for example, `img` or `br`.\n\n**Example:**\n\n\n \n \n

\n \n \n\nAfter the quick-fix is applied:\n\n\n \n \n
\n \n \n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlExtraClosingTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlDuplicatedId", + "shortDescription": { + "text": "Duplicate 'id' attribute" + }, + "fullDescription": { + "text": "Reports a duplicate 'id' attribute in XML.", + "markdown": "Reports a duplicate `id` attribute in XML." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XmlDuplicatedId", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlUnboundNsPrefix", + "shortDescription": { + "text": "Unbound namespace prefix" + }, + "fullDescription": { + "text": "Reports an unbound namespace prefix in XML.", + "markdown": "Reports an unbound namespace prefix in XML." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XmlUnboundNsPrefix", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlPathReference", + "shortDescription": { + "text": "Unresolved file reference" + }, + "fullDescription": { + "text": "Reports an unresolved file reference in XML.", + "markdown": "Reports an unresolved file reference in XML." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XmlPathReference", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LossyEncoding", + "shortDescription": { + "text": "Lossy encoding" + }, + "fullDescription": { + "text": "Reports characters that cannot be displayed because of the current document encoding. Examples: If you type international characters in a document with the US-ASCII charset, some characters will be lost on save. If you load a UTF-8-encoded file using the ISO-8859-1 one-byte charset, some characters will be displayed incorrectly. You can fix this by changing the file encoding either by specifying the encoding directly in the file, e.g. by editing 'encoding=' attribute in the XML prolog of XML file, or by changing the corresponding options in Settings | Editor | File Encodings.", + "markdown": "Reports characters that cannot be displayed because of the current document encoding.\n\nExamples:\n\n* If you type international characters in a document with the **US-ASCII** charset, some characters will be lost on save.\n* If you load a **UTF-8** -encoded file using the **ISO-8859-1** one-byte charset, some characters will be displayed incorrectly.\n\nYou can fix this by changing the file encoding\neither by specifying the encoding directly in the file, e.g. by editing `encoding=` attribute in the XML prolog of XML file,\nor by changing the corresponding options in **Settings \\| Editor \\| File Encodings**." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LossyEncoding", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Internationalization", + "index": 110, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JsonSchemaDeprecation", + "shortDescription": { + "text": "Deprecated JSON property" + }, + "fullDescription": { + "text": "Reports a deprecated property in a JSON file. Note that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'.", + "markdown": "Reports a deprecated property in a JSON file. \nNote that deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard extension 'deprecationMessage'." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JsonSchemaDeprecation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JSON and JSON5", + "index": 75, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpRedundantNestedCharacterClass", + "shortDescription": { + "text": "Redundant nested character class" + }, + "fullDescription": { + "text": "Reports unnecessary nested character classes. Example: '[a-c[x-z]]' After the quick-fix is applied: '[a-cx-z]' New in 2020.2", + "markdown": "Reports unnecessary nested character classes.\n\n**Example:**\n\n\n [a-c[x-z]]\n\nAfter the quick-fix is applied:\n\n\n [a-cx-z]\n\nNew in 2020.2" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpRedundantNestedCharacterClass", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpOctalEscape", + "shortDescription": { + "text": "Octal escape" + }, + "fullDescription": { + "text": "Reports octal escapes, which are easily confused with back references. Use hexadecimal escapes to avoid confusion. Example: '\\07' After the quick-fix is applied: '\\x07' New in 2017.1", + "markdown": "Reports octal escapes, which are easily confused with back references. Use hexadecimal escapes to avoid confusion.\n\n**Example:**\n\n\n \\07\n\nAfter the quick-fix is applied:\n\n\n \\x07\n\nNew in 2017.1" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "RegExpOctalEscape", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedDefine", + "shortDescription": { + "text": "Unused define" + }, + "fullDescription": { + "text": "Reports an unused named pattern ('define') in a RELAX-NG file (XML or Compact Syntax). 'define' elements that are used through an include in another file are ignored.", + "markdown": "Reports an unused named pattern (`define`) in a RELAX-NG file (XML or Compact Syntax). `define` elements that are used through an include in another file are ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedDefine", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RELAX NG", + "index": 114, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpDuplicateAlternationBranch", + "shortDescription": { + "text": "Duplicate branch in alternation" + }, + "fullDescription": { + "text": "Reports duplicate branches in a RegExp alternation. Duplicate branches slow down matching and obscure the intent of the expression. Example: '(alpha|bravo|charlie|alpha)' After the quick-fix is applied: '(alpha|bravo|charlie)' New in 2017.1", + "markdown": "Reports duplicate branches in a RegExp alternation. Duplicate branches slow down matching and obscure the intent of the expression.\n\n**Example:**\n\n\n (alpha|bravo|charlie|alpha)\n\nAfter the quick-fix is applied:\n\n\n (alpha|bravo|charlie)\n\nNew in 2017.1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpDuplicateAlternationBranch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantSuppression", + "shortDescription": { + "text": "Redundant suppression" + }, + "fullDescription": { + "text": "Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context: '@SuppressWarning' annotation, or '// noinspection' line comment, or '/** noinspection */' JavaDoc comment Example: 'public class C {\n // symbol is already private,\n // but annotation is still around\n @SuppressWarnings({\"WeakerAccess\"})\n private boolean CONST = true;\n void f() {\n CONST = false;\n }\n}'", + "markdown": "Reports usages of the following elements that can be safely removed because the inspection they affect is no longer applicable in this context:\n\n* `@SuppressWarning` annotation, or\n* `// noinspection` line comment, or\n* `/** noinspection */` JavaDoc comment\n\nExample:\n\n\n public class C {\n // symbol is already private,\n // but annotation is still around\n @SuppressWarnings({\"WeakerAccess\"})\n private boolean CONST = true;\n void f() {\n CONST = false;\n }\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantSuppression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CustomRegExpInspection", + "shortDescription": { + "text": "Custom RegExp inspection" + }, + "fullDescription": { + "text": "Custom Regex Inspection", + "markdown": "Custom Regex Inspection" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "CustomRegExpInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpUnexpectedAnchor", + "shortDescription": { + "text": "Begin or end anchor in unexpected position" + }, + "fullDescription": { + "text": "Reports '^' or '\\A' anchors not at the beginning of the pattern and '$', '\\Z' or '\\z' anchors not at the end of the pattern. In the wrong position these RegExp anchors prevent the pattern from matching anything. In case of the '^' and '$' anchors, most likely the literal character was meant and the escape forgotten. Example: '(Price $10)' New in 2018.1", + "markdown": "Reports `^` or `\\A` anchors not at the beginning of the pattern and `$`, `\\Z` or `\\z` anchors not at the end of the pattern. In the wrong position these RegExp anchors prevent the pattern from matching anything. In case of the `^` and `$` anchors, most likely the literal character was meant and the escape forgotten.\n\n**Example:**\n\n\n (Price $10)\n\n\nNew in 2018.1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpUnexpectedAnchor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SpellCheckingInspection", + "shortDescription": { + "text": "Typo" + }, + "fullDescription": { + "text": "Reports typos and misspellings in your code, comments, and literals and fixes them with one click.", + "markdown": "Reports typos and misspellings in your code, comments, and literals and fixes them with one click." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "SpellCheckingInspection", + "ideaSeverity": "TYPO", + "qodanaSeverity": "Low" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpSimplifiable", + "shortDescription": { + "text": "Regular expression can be simplified" + }, + "fullDescription": { + "text": "Reports regular expressions that can be simplified. Example: '[a] xx* [ah-hz]' After the quick-fix is applied: 'a x+ [ahz]' New in 2022.1", + "markdown": "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" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RegExpSimplifiable", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpEmptyAlternationBranch", + "shortDescription": { + "text": "Empty branch in alternation" + }, + "fullDescription": { + "text": "Reports empty branches in a RegExp alternation. An empty branch will only match the empty string, and in most cases that is not what is desired. This inspection will not report a single empty branch at the start or the end of an alternation. Example: '(alpha||bravo)' After the quick-fix is applied: '(alpha|bravo)' New in 2017.2", + "markdown": "Reports empty branches in a RegExp alternation. An empty branch will only match the empty string, and in most cases that is not what is desired. This inspection will not report a single empty branch at the start or the end of an alternation.\n\n**Example:**\n\n\n (alpha||bravo)\n\nAfter the quick-fix is applied:\n\n\n (alpha|bravo)\n\nNew in 2017.2" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpEmptyAlternationBranch", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TodoComment", + "shortDescription": { + "text": "TODO comment" + }, + "fullDescription": { + "text": "Reports TODO comments in your code. You can configure the format for TODO comments in Settings | Editor | TODO. Enable the Only warn on TODO comments without any details option to only warn on empty TODO comments, that don't provide any description on the task that should be done. Disable to report all TODO comments.", + "markdown": "Reports **TODO** comments in your code.\n\nYou can configure the format for **TODO** comments in [Settings \\| Editor \\| TODO](settings://preferences.toDoOptions).\n\nEnable the **Only warn on TODO comments without any details** option to only warn on empty TODO comments, that\ndon't provide any description on the task that should be done. Disable to report all TODO comments." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TodoComment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlDefaultAttributeValue", + "shortDescription": { + "text": "Redundant attribute with default value" + }, + "fullDescription": { + "text": "Reports a redundant assignment of the default value to an XML attribute.", + "markdown": "Reports a redundant assignment of the default value to an XML attribute." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XmlDefaultAttributeValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyDirectory", + "shortDescription": { + "text": "Empty directory" + }, + "fullDescription": { + "text": "Reports empty directories. Available only from Code | Inspect Code or Code | Analyze Code | Run Inspection by Name and isn't reported in the editor. Use the Only report empty directories located under a source folder option to have only directories under source roots reported.", + "markdown": "Reports empty directories.\n\nAvailable only from **Code \\| Inspect Code** or\n**Code \\| Analyze Code \\| Run Inspection by Name** and isn't reported in the editor.\n\nUse the **Only report empty directories located under a source folder** option to have only directories under source\nroots reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyDirectory", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NonAsciiCharacters", + "shortDescription": { + "text": "Non-ASCII characters" + }, + "fullDescription": { + "text": "Reports code elements that use non-ASCII symbols in an unusual context. Example: Non-ASCII characters used in identifiers, strings, or comments. Identifiers written in different languages, such as 'myСollection' with the letter 'C' written in Cyrillic. Comments or strings containing Unicode symbols, such as long dashes and arrows.", + "markdown": "Reports code elements that use non-ASCII symbols in an unusual context.\n\nExample:\n\n* Non-ASCII characters used in identifiers, strings, or comments.\n* Identifiers written in different languages, such as `my`**С**`ollection` with the letter **C** written in Cyrillic.\n* Comments or strings containing Unicode symbols, such as long dashes and arrows." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NonAsciiCharacters", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Internationalization", + "index": 110, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IgnoreFileDuplicateEntry", + "shortDescription": { + "text": "Ignore file duplicates" + }, + "fullDescription": { + "text": "Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed. Example: '# Output directories\n /out/\n /target/\n /out/'", + "markdown": "Reports duplicate entries (patterns) in the ignore file (e.g. .gitignore, .hgignore). Duplicate entries in these files are redundant and can be removed.\n\nExample:\n\n\n # Output directories\n /out/\n /target/\n /out/\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IgnoreFileDuplicateEntry", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Version control", + "index": 127, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JsonStandardCompliance", + "shortDescription": { + "text": "Compliance with JSON standard" + }, + "fullDescription": { + "text": "Reports the following discrepancies of a JSON file with the language specification: A line or block comment (configurable). Multiple top-level values (expect for JSON Lines files, configurable for others). A trailing comma in an object or array (configurable). A single quoted string. A property key is a not a double quoted strings. A NaN or Infinity/-Infinity numeric value as a floating point literal (configurable).", + "markdown": "Reports the following discrepancies of a JSON file with [the language specification](https://tools.ietf.org/html/rfc7159):\n\n* A line or block comment (configurable).\n* Multiple top-level values (expect for JSON Lines files, configurable for others).\n* A trailing comma in an object or array (configurable).\n* A single quoted string.\n* A property key is a not a double quoted strings.\n* A NaN or Infinity/-Infinity numeric value as a floating point literal (configurable)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JsonStandardCompliance", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JSON and JSON5", + "index": 75, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JsonSchemaRefReference", + "shortDescription": { + "text": "Unresolved '$ref' and '$schema' references" + }, + "fullDescription": { + "text": "Reports an unresolved '$ref' or '$schema' path in a JSON schema.", + "markdown": "Reports an unresolved `$ref` or `$schema` path in a JSON schema. " + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JsonSchemaRefReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JSON and JSON5", + "index": 75, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpSuspiciousBackref", + "shortDescription": { + "text": "Suspicious back reference" + }, + "fullDescription": { + "text": "Reports back references that will not be resolvable at runtime. This means that the back reference can never match anything. A back reference will not be resolvable when the group is defined after the back reference, or if the group is defined in a different branch of an alternation. Example of a group defined after its back reference: '\\1(abc)' Example of a group and a back reference in different branches: 'a(b)c|(xy)\\1z' New in 2022.1", + "markdown": "Reports back references that will not be resolvable at runtime. This means that the back reference can never match anything. A back reference will not be resolvable when the group is defined after the back reference, or if the group is defined in a different branch of an alternation.\n\n**Example of a group defined after its back reference:**\n\n\n \\1(abc)\n\n**Example of a group and a back reference in different branches:**\n\n\n a(b)c|(xy)\\1z\n\nNew in 2022.1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpSuspiciousBackref", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnresolvedReference", + "shortDescription": { + "text": "Unresolved reference" + }, + "fullDescription": { + "text": "Reports an unresolved reference to a named pattern ('define') in RELAX-NG files that use XML syntax. Suggests creating the referenced 'define' element.", + "markdown": "Reports an unresolved reference to a named pattern (`define`) in RELAX-NG files that use XML syntax. Suggests creating the referenced `define` element." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "UnresolvedReference", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "RELAX NG", + "index": 114, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlMissingClosingTag", + "shortDescription": { + "text": "Missing closing tag" + }, + "fullDescription": { + "text": "Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional. Example: '\n \n

Behold!\n \n ' After the quick-fix is applied: '\n \n

Behold!

\n \n '", + "markdown": "Reports an HTML element without a closing tag. Some coding styles require that HTML elements have closing tags even where this is optional.\n\n**Example:**\n\n\n \n \n

Behold!\n \n \n\nAfter the quick-fix is applied:\n\n\n \n \n

Behold!

\n \n \n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "HtmlMissingClosingTag", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlInvalidId", + "shortDescription": { + "text": "Unresolved 'id' reference" + }, + "fullDescription": { + "text": "Reports an unresolved 'id' reference in XML.", + "markdown": "Reports an unresolved `id` reference in XML." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XmlInvalidId", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlDeprecatedElement", + "shortDescription": { + "text": "Deprecated symbol" + }, + "fullDescription": { + "text": "Reports a deprecated XML element or attribute. Symbols can be marked by XML comment or documentation tag with text 'deprecated'.", + "markdown": "Reports a deprecated XML element or attribute.\n\nSymbols can be marked by XML comment or documentation tag with text 'deprecated'." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XmlDeprecatedElement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpAnonymousGroup", + "shortDescription": { + "text": "Anonymous capturing group or numeric back reference" + }, + "fullDescription": { + "text": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. '(?:xxx)' instead of '(xxx)'. Example: '(\\d\\d\\d\\d)\\1' A better regex pattern could look like this: '(?\\d\\d\\d\\d)\\k' New in 2017.2", + "markdown": "Reports anonymous capturing groups and numeric back references in a RegExp. These are only reported when the RegExp dialect supports named group and named group references. Named groups and named back references improve code readability and are recommended to use instead. When a capture is not needed, matching can be more performant and use less memory by using a non-capturing group, i.e. `(?:xxx)` instead of `(xxx)`.\n\n**Example:**\n\n\n (\\d\\d\\d\\d)\\1\n\nA better regex pattern could look like this:\n\n\n (?\\d\\d\\d\\d)\\k\n\nNew in 2017.2" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpAnonymousGroup", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpRepeatedSpace", + "shortDescription": { + "text": "Consecutive spaces" + }, + "fullDescription": { + "text": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier. Example: '( )' After the quick-fix is applied: '( {5})' New in 2017.1", + "markdown": "Reports multiple consecutive spaces in a RegExp. Because spaces are not visible by default, it can be hard to see how many spaces are required. The RegExp can be made more clear by replacing the consecutive spaces with a single space and a counted quantifier.\n\n**Example:**\n\n\n ( )\n\nAfter the quick-fix is applied:\n\n\n ( {5})\n\n\nNew in 2017.1" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpRepeatedSpace", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InconsistentLineSeparators", + "shortDescription": { + "text": "Inconsistent line separators" + }, + "fullDescription": { + "text": "Reports files with line separators different from the ones that are specified in the project's settings. For example, the inspection will be triggered if you set the line separator to '\\n' in Settings | Editor | Code Style | Line separator, while the file you are editing uses '\\r\\n' as a line separator. The inspection also warns you about mixed line separators within a file.", + "markdown": "Reports files with line separators different from the ones that are specified in the project's settings.\n\nFor example, the inspection will be triggered if you set the line separator to `\\n` in\n[Settings \\| Editor \\| Code Style \\| Line separator](settings://preferences.sourceCode?Line%20separator),\nwhile the file you are editing uses `\\r\\n` as a line separator.\n\nThe inspection also warns you about mixed line separators within a file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "InconsistentLineSeparators", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ProblematicWhitespace", + "shortDescription": { + "text": "Problematic whitespace" + }, + "fullDescription": { + "text": "Reports the following problems: Tabs used for indentation when the code style is configured to use only spaces. Spaces used for indentation when the code style is configured to use only tabs. Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs.", + "markdown": "Reports the following problems:\n\n* Tabs used for indentation when the code style is configured to use only spaces.\n* Spaces used for indentation when the code style is configured to use only tabs.\n* Spaces used for indentation and tabs used for alignment when the code style is configured to use smart tabs." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ProblematicWhitespace", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LongLine", + "shortDescription": { + "text": "Line is longer than allowed by code style" + }, + "fullDescription": { + "text": "Reports lines that are longer than the Hard wrap at parameter specified in Settings | Editor | Code Style | General.", + "markdown": "Reports lines that are longer than the **Hard wrap at** parameter specified in [Settings \\| Editor \\| Code Style \\| General](settings://preferences.sourceCode?Hard%20wrap%20at)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LongLine", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlUnknownTag", + "shortDescription": { + "text": "Unknown tag" + }, + "fullDescription": { + "text": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported.", + "markdown": "Reports an unknown HTML tag. Suggests configuring tags that should not be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlUnknownTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XmlHighlighting", + "shortDescription": { + "text": "XML highlighting" + }, + "fullDescription": { + "text": "Reports XML validation problems in the results of a batch code inspection.", + "markdown": "Reports XML validation problems in the results of a batch code inspection." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XmlHighlighting", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XML", + "index": 50, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpDuplicateCharacterInClass", + "shortDescription": { + "text": "Duplicate character in character class" + }, + "fullDescription": { + "text": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex. Example: '[aabc]' After the quick-fix is applied: '[abc]'", + "markdown": "Reports duplicate characters inside a RegExp character class. Duplicate characters are unnecessary and can be removed without changing the semantics of the regex.\n\n**Example:**\n\n\n [aabc]\n\nAfter the quick-fix is applied:\n\n\n [abc]\n" + }, + "defaultConfiguration": { + "enabled": true, + "level": "warning", + "parameters": { + "suppressToolId": "RegExpDuplicateCharacterInClass", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RequiredAttributes", + "shortDescription": { + "text": "Missing required attribute" + }, + "fullDescription": { + "text": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported.", + "markdown": "Reports a missing mandatory attribute in an XML/HTML tag. Suggests configuring attributes that should not be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RequiredAttributes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RegExpRedundantClassElement", + "shortDescription": { + "text": "Redundant '\\d', '[:digit:]', or '\\D' class elements" + }, + "fullDescription": { + "text": "Reports redundant '\\d' or '[:digit:]' that are used in one class with '\\w' or '[:word:]' ('\\D' with '\\W') and can be removed. Example: '[\\w\\d]' After the quick-fix is applied: '[\\w]' New in 2022.2", + "markdown": "Reports redundant `\\d` or `[:digit:]` that are used in one class with `\\w` or `[:word:]` (`\\D` with `\\W`) and can be removed.\n\n**Example:**\n\n\n [\\w\\d]\n\nAfter the quick-fix is applied:\n\n\n [\\w]\n\nNew in 2022.2" + }, + "defaultConfiguration": { + "enabled": true, + "level": "note", + "parameters": { + "suppressToolId": "RegExpRedundantClassElement", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "RegExp", + "index": 52, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Json5StandardCompliance", + "shortDescription": { + "text": "Compliance with JSON5 standard" + }, + "fullDescription": { + "text": "Reports inconsistency with the language specification in a JSON5 file.", + "markdown": "Reports inconsistency with [the language specification](http://json5.org) in a JSON5 file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "Json5StandardCompliance", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JSON and JSON5", + "index": 75, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlWrongAttributeValue", + "shortDescription": { + "text": "Wrong attribute value" + }, + "fullDescription": { + "text": "Reports an incorrect HTML attribute value.", + "markdown": "Reports an incorrect HTML attribute value." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlWrongAttributeValue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MsbuildTargetFrameworkTagInspection", + "shortDescription": { + "text": "TargetFramework tag checks" + }, + "fullDescription": { + "text": "RIDER-83136", + "markdown": "[RIDER-83136](https://youtrack.jetbrains.com/issue/RIDER-83136/)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MsbuildTargetFrameworkTagInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MSBuild", + "index": 137, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CheckValidXmlInScriptTagBody", + "shortDescription": { + "text": "Malformed content of 'script' tag" + }, + "fullDescription": { + "text": "Reports contents of 'script' tags that are invalid XML. Example: '' After the quick-fix is applied: ''", + "markdown": "Reports contents of `script` tags that are invalid XML. \n\n**Example:**\n\n\n \n\nAfter the quick-fix is applied:\n\n\n \n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CheckValidXmlInScriptTagBody", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlUnknownAnchorTarget", + "shortDescription": { + "text": "Unresolved fragment in a link" + }, + "fullDescription": { + "text": "Reports an unresolved last part of an URL after the '#' sign.", + "markdown": "Reports an unresolved last part of an URL after the `#` sign." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlUnknownAnchorTarget", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Annotator", + "shortDescription": { + "text": "Annotator" + }, + "fullDescription": { + "text": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection: Option \"Report syntax errors\": report parser-related issues. Option \"Report issues from language-specific annotators\": report issues found by annotators configured for the relevant language. See Custom Language Support: Annotators for details. Option \"Report other highlighting problems\": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See Custom Language Support: Highlighting for details.", + "markdown": "Reports issues essential to this file (e.g., syntax errors) in the result of a batch code inspection run. These issues are usually always highlighted in the editor and can't be configured, unlike inspections. These options control the scope of checks performed by this inspection:\n\n* Option \"**Report syntax errors**\": report parser-related issues.\n* Option \"**Report issues from language-specific annotators** \": report issues found by annotators configured for the relevant language. See [Custom Language Support: Annotators](https://plugins.jetbrains.com/docs/intellij/annotator.html) for details.\n* Option \"**Report other highlighting problems** \": report issues specific to the language of the current file (e.g., type mismatches or unreported exceptions). See [Custom Language Support: Highlighting](https://plugins.jetbrains.com/docs/intellij/syntax-highlighting-and-error-highlighting.html#semantic-highlighting) for details." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "Annotator", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JsonDuplicatePropertyKeys", + "shortDescription": { + "text": "Duplicate keys in object literals" + }, + "fullDescription": { + "text": "Reports a duplicate key in an object literal.", + "markdown": "Reports a duplicate key in an object literal." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JsonDuplicatePropertyKeys", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JSON and JSON5", + "index": 75, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "JavaScript", + "version": "232.9083.8", + "rules": [ + { + "id": "FlowJSError", + "shortDescription": { + "text": "Flow type checker" + }, + "fullDescription": { + "text": "Reports errors from Flow.", + "markdown": "Reports errors from [Flow](https://flowtype.org/)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "FlowJSError", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Flow type checker", + "index": 11, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ShiftOutOfRangeJS", + "shortDescription": { + "text": "Shift operation by possibly wrong constant" + }, + "fullDescription": { + "text": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range '0..31', shifting by negative or overly large values.", + "markdown": "Reports a shift operation where the second operand is a constant outside the reasonable range, for example, an integer shift operation outside the range `0..31`, shifting by negative or overly large values." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ShiftOutOfRangeJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Bitwise operation issues", + "index": 14, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSClosureCompilerSyntax", + "shortDescription": { + "text": "Incorrect usage of JSDoc tags" + }, + "fullDescription": { + "text": "Reports warnings implied by Google Closure Compiler annotations including correct use of '@abstract', '@interface', and '@implements' tags.", + "markdown": "Reports warnings implied by *Google Closure Compiler* annotations including correct use of `@abstract`, `@interface`, and `@implements` tags." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSClosureCompilerSyntax", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BadExpressionStatementJS", + "shortDescription": { + "text": "Expression statement which is not assignment or call" + }, + "fullDescription": { + "text": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error.", + "markdown": "Reports an expression statement that is neither an assignment nor a call. Such statements usually indicate an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "BadExpressionStatementJS", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ContinueStatementJS", + "shortDescription": { + "text": "'continue' statement" + }, + "fullDescription": { + "text": "Reports a 'continue' statement.", + "markdown": "Reports a `continue` statement." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ContinueStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSXSyntaxUsed", + "shortDescription": { + "text": "JSX syntax used" + }, + "fullDescription": { + "text": "Reports a usage of a JSX tag in JavaScript code.", + "markdown": "Reports a usage of a JSX tag in JavaScript code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JSXSyntaxUsed", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSJoinVariableDeclarationAndAssignment", + "shortDescription": { + "text": "Variable declaration can be merged with the first assignment to the variable" + }, + "fullDescription": { + "text": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression.", + "markdown": "Reports a variable that is declared without an initializer and is used much further in the code or in a single nested scope. Suggests moving the variable closer to its usages and joining it with the initializer expression." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSJoinVariableDeclarationAndAssignment", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertModuleExportToExport", + "shortDescription": { + "text": "'module.exports' is used instead of 'export'" + }, + "fullDescription": { + "text": "Reports a 'module.export' statement. Suggests replacing it with an 'export' or 'export default' statement. Please note that the quick-fix for converting 'module.export' into 'export' is not available for 'module.export' inside functions or statements because 'export' statements can only be at the top level of a module.", + "markdown": "Reports a `module.export` statement. Suggests replacing it with an `export` or `export default` statement. \n\nPlease note that the quick-fix for converting `module.export` into `export` is not available for `module.export` inside functions or statements because `export` statements can only be at the top level of a module." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertModuleExportToExport", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DocumentWriteJS", + "shortDescription": { + "text": "Call to 'document.write()'" + }, + "fullDescription": { + "text": "Reports a method call to 'document.write()' or 'document.writeln()'. Most usages of such calls are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, the 'write()' and 'writeln()' calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs.", + "markdown": "Reports a method call to `document.write()` or `document.writeln()`. Most usages of such calls are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, the `write()` and `writeln()` calls will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can result in difficulty to point out bugs." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DocumentWriteJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/DOM issues", + "index": 46, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IncompatibleMaskJS", + "shortDescription": { + "text": "Incompatible bitwise mask operation" + }, + "fullDescription": { + "text": "Reports a bitwise mask expression which for sure evaluates to 'true' or 'false'. Expressions are of the form '(var & constant1) == constant2' or '(var | constant1) == constant2', where 'constant1' and 'constant2' are incompatible bitmask constants. Example: '// Incompatible mask: as the last byte in mask is zero,\n// something like 0x1200 would be possible, but not 0x1234\nif ((mask & 0xFF00) == 0x1234) {...}'", + "markdown": "Reports a bitwise mask expression which for sure evaluates to `true` or `false`. Expressions are of the form `(var & constant1) == constant2` or `(var | constant1) == constant2`, where `constant1` and `constant2` are incompatible bitmask constants.\n\nExample:\n\n\n // Incompatible mask: as the last byte in mask is zero,\n // something like 0x1200 would be possible, but not 0x1234\n if ((mask & 0xFF00) == 0x1234) {...}\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IncompatibleBitwiseMaskOperation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Bitwise operation issues", + "index": 14, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSDuplicatedDeclaration", + "shortDescription": { + "text": "Duplicate declaration" + }, + "fullDescription": { + "text": "Reports multiple declarations in a scope.", + "markdown": "Reports multiple declarations in a scope." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSDuplicatedDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptValidateGenericTypes", + "shortDescription": { + "text": "Incorrect generic type argument" + }, + "fullDescription": { + "text": "Reports an invalid type argument in a function, interface, or class declaration.", + "markdown": "Reports an invalid type argument in a function, interface, or class declaration." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "TypeScriptValidateGenericTypes", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSFileReferences", + "shortDescription": { + "text": "Unresolved file reference" + }, + "fullDescription": { + "text": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references.", + "markdown": "Reports an unresolved file reference in a JavaScript file, including CommonJS and AMD modules references." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSFileReferences", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FunctionWithInconsistentReturnsJS", + "shortDescription": { + "text": "Function with inconsistent returns" + }, + "fullDescription": { + "text": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error. Example: 'function foo() {\n if (true)\n return 3;\n return;\n}'", + "markdown": "Reports a function that returns a value in some cases while in other cases no value is returned. This usually indicates an error.\n\nExample:\n\n\n function foo() {\n if (true)\n return 3;\n return;\n }\n\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionWithInconsistentReturnsJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ClassMemberInitializationOrder", + "shortDescription": { + "text": "Use of possibly unassigned property in a static initializer" + }, + "fullDescription": { + "text": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. Initialization of class members happens consequently for fields, so a field cannot reference another field that is declared later.", + "markdown": "Reports a class member initializer which references another non-hoisted class member while the latter may be not initialized yet. \n\nInitialization of class members happens consequently for fields, so a field cannot reference another field that is declared later." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ES6ClassMemberInitializationOrder", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedFunctionJS", + "shortDescription": { + "text": "Nested function" + }, + "fullDescription": { + "text": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing. Use the checkbox below to ignore anonymous nested functions.", + "markdown": "Reports a function nested inside another function. Although JavaScript allows functions to be nested, such constructs may be confusing.\n\n\nUse the checkbox below to ignore anonymous nested functions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NestedFunctionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptUMDGlobal", + "shortDescription": { + "text": "Referenced UMD global variable" + }, + "fullDescription": { + "text": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly.", + "markdown": "Reports a usage of a Universal Module Definition (UMD) global variable if the current file is a module (ECMAScript or CommonJS). Referencing UMD variables without explicit imports can lead to a runtime error if the library isn't included implicitly." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptUMDGlobal", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryReturnJS", + "shortDescription": { + "text": "Unnecessary 'return' statement" + }, + "fullDescription": { + "text": "Reports an unnecessary 'return' statement, that is, a 'return' statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed.", + "markdown": "Reports an unnecessary `return` statement, that is, a `return` statement that returns no value and occurs just before the function would have \"fallen through\" the bottom. These statements may be safely removed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryReturnStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StandardJS", + "shortDescription": { + "text": "Standard code style" + }, + "fullDescription": { + "text": "Reports a discrepancy detected by the JavaScript Standard Style linter. The highlighting severity in the editor is based on the severity level the linter reports.", + "markdown": "Reports a discrepancy detected by the [JavaScript Standard Style](https://standardjs.com/) linter. \n\nThe highlighting severity in the editor is based on the severity level the linter reports." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "StandardJS", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code quality tools", + "index": 61, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSCommentMatchesSignature", + "shortDescription": { + "text": "Mismatched JSDoc and function signature" + }, + "fullDescription": { + "text": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment. Example: '/**\n * @param height Height in pixels\n */\nfunction sq(height, width) {} // width is not documented' After the quick-fix is applied: '/**\n * @param height Height in pixels\n * @param width\n */\nfunction sq(height, width) {}'", + "markdown": "Reports mismatch between the names and the number of parameters within a JSDoc comment and the actual parameters of a function. Suggests updating parameters in JSDoc comment.\n\n**Example:**\n\n\n /**\n * @param height Height in pixels\n */\n function sq(height, width) {} // width is not documented\n\nAfter the quick-fix is applied:\n\n\n /**\n * @param height Height in pixels\n * @param width\n */\n function sq(height, width) {}\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSCommentMatchesSignature", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FunctionWithMultipleReturnPointsJS", + "shortDescription": { + "text": "Function with multiple return points" + }, + "fullDescription": { + "text": "Reports a function with multiple return points. Such functions are hard to understand and maintain.", + "markdown": "Reports a function with multiple return points. Such functions are hard to understand and maintain." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionWithMultipleReturnPointsJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSRemoveUnnecessaryParentheses", + "shortDescription": { + "text": "Unnecessary parentheses" + }, + "fullDescription": { + "text": "Reports redundant parentheses. In expressions: 'var x = ((1) + 2) + 3' In arrow function argument lists: 'var incrementer = (x) => x + 1' In TypeScript and Flow type declarations: 'type Card = (Suit & Rank) | (Suit & Number)'", + "markdown": "Reports redundant parentheses.\n\nIn expressions:\n\n var x = ((1) + 2) + 3\n\nIn arrow function argument lists:\n\n var incrementer = (x) => x + 1\n\nIn TypeScript and Flow type declarations:\n\n type Card = (Suit & Rank) | (Suit & Number)\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSRemoveUnnecessaryParentheses", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CommaExpressionJS", + "shortDescription": { + "text": "Comma expression" + }, + "fullDescription": { + "text": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of 'for' loops are ignored.", + "markdown": "Reports a comma expression. Such expressions are often a sign of overly clever code, and may lead to subtle bugs. Comma expressions in the initializer or in the update section of `for` loops are ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CommaExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6BindWithArrowFunction", + "shortDescription": { + "text": "Suspicious usage of 'bind' with arrow function" + }, + "fullDescription": { + "text": "Reports 'bind' used together with an arrow function. Because arrow functions use lexical 'this', a 'bind' call will have no effect on them. See here for details.", + "markdown": "Reports `bind` used together with an arrow function. \nBecause arrow functions use lexical `this`, a `bind` call will have no effect on them. \nSee [here](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Arrow_functions#Lexical_this) for details." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ES6BindWithArrowFunction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSBitwiseOperatorUsage", + "shortDescription": { + "text": "Bitwise operator usage" + }, + "fullDescription": { + "text": "Reports a suspicious usage of a bitwise AND (\"'&'\") or OR (\"'|'\") operator. Usually it is a typo and the result of applying boolean operations AND (\"'&&'\") and OR (\"'||'\") is expected.", + "markdown": "Reports a suspicious usage of a bitwise AND (\"`&`\") or OR (\"`|`\") operator. Usually it is a typo and the result of applying boolean operations AND (\"`&&`\") and OR (\"`||`\") is expected." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSBitwiseOperatorUsage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Bitwise operation issues", + "index": 14, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IfStatementWithIdenticalBranchesJS", + "shortDescription": { + "text": "'if' statement with identical branches" + }, + "fullDescription": { + "text": "Reports an 'if' statement with identical 'then' and 'else' branches. Such statements are almost certainly an error.", + "markdown": "Reports an `if` statement with identical `then` and `else` branches. Such statements are almost certainly an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IfStatementWithIdenticalBranchesJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSConsecutiveCommasInArrayLiteral", + "shortDescription": { + "text": "Consecutive commas in array literal" + }, + "fullDescription": { + "text": "Reports a consecutive comma in an array literal. The skipped element accepts the 'undefined' value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one.", + "markdown": "Reports a consecutive comma in an array literal. The skipped element accepts the `undefined` value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSConsecutiveCommasInArrayLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSValidateTypes", + "shortDescription": { + "text": "Type mismatch" + }, + "fullDescription": { + "text": "Reports incorrect type of: a parameter in a function call a return value an assigned expression TypeScript code is ignored.", + "markdown": "Reports incorrect type of:\n\n* a parameter in a function call\n* a return value\n* an assigned expression\n\nTypeScript code is ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSValidateTypes", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSPotentiallyInvalidUsageOfClassThis", + "shortDescription": { + "text": "Potentially invalid reference to 'this' of a class from closure" + }, + "fullDescription": { + "text": "Reports an attempt to reference a member of an ECMAScript class via the 'this.' qualifier in a nested function that is not a lambda. 'this' in a nested function that is not a lambda is the function's own 'this' and doesn't relate to the outer class.", + "markdown": "Reports an attempt to reference a member of an ECMAScript class via the `this.` qualifier in a nested function that is not a lambda. \n`this` in a nested function that is not a lambda is the function's own `this` and doesn't relate to the outer class." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSPotentiallyInvalidUsageOfClassThis", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryContinueJS", + "shortDescription": { + "text": "Unnecessary 'continue' statement" + }, + "fullDescription": { + "text": "Reports an unnecessary 'continue' statement at the end of a loop. Suggests removing such statements.", + "markdown": "Reports an unnecessary `continue` statement at the end of a loop. Suggests removing such statements." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryContinueJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BreakStatementWithLabelJS", + "shortDescription": { + "text": "'break' statement with label" + }, + "fullDescription": { + "text": "Reports a labeled 'break' statement.", + "markdown": "Reports a labeled `break` statement." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "BreakStatementWithLabelJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSDeclarationsAtScopeStart", + "shortDescription": { + "text": "'var' declared not at the beginning of a function" + }, + "fullDescription": { + "text": "Checks that declarations of local variables declared with var are at the top of a function scope. By default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code.", + "markdown": "Checks that declarations of local variables declared with **var** are at the top of a function scope. \n\nBy default, variable declarations are always moved (\"hoisted\") invisibly to the top of their containing scope when the code is executed. Therefore, declaring them at the top of the scope helps represent this behavior in the code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSDeclarationsAtScopeStart", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertIndexedForToForOf", + "shortDescription": { + "text": "Indexed 'for' is used instead of 'for..of'" + }, + "fullDescription": { + "text": "Reports an indexed 'for' loop used on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops are introduced in ECMAScript 6 and iterate over 'iterable' objects.", + "markdown": "Reports an indexed [for](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for) loop used on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops are introduced in ECMAScript 6 and iterate over `iterable` objects." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertIndexedForToForOf", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertVarToLetConst", + "shortDescription": { + "text": "'var' is used instead of 'let' or 'const'" + }, + "fullDescription": { + "text": "Reports a 'var' declaration that is used instead of 'let' or 'const'. Both 'let' and 'const' are block-scoped and behave more strictly. Suggests replacing all 'var' declarations with 'let' or 'const' declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. Select the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action.", + "markdown": "Reports a `var` declaration that is used instead of `let` or `const`. \nBoth `let` and `const` are block-scoped and behave more strictly. \n\nSuggests replacing all `var` declarations with `let` or `const` declarations, depending on the semantics of a particular value. The declarations may be moved to the top of the function or placed before the first usage of the variable to avoid Reference errors. \nSelect the 'Conservatively convert var with Fix all action' option to prevent any changes in these complex cases when using the 'Fix all' action." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertVarToLetConst", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DynamicallyGeneratedCodeJS", + "shortDescription": { + "text": "Execution of dynamically generated code" + }, + "fullDescription": { + "text": "Reports a call of the 'eval()', 'setTimeout()', or 'setInterval()' function or an allocation of a 'Function' object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. Ignores the cases when a callback function is provided to these methods statically, without code generation.", + "markdown": "Reports a call of the `eval()`, `setTimeout()`, or `setInterval()` function or an allocation of a `Function` object. These functions are used to execute arbitrary strings of JavaScript text, which often dynamically generated. This can be very confusing, and may be a security risk. \n\nIgnores the cases when a callback function is provided to these methods statically, without code generation." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DynamicallyGeneratedCodeJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedCatchParameterJS", + "shortDescription": { + "text": "Unused 'catch' parameter" + }, + "fullDescription": { + "text": "Reports a 'catch' parameter that is not used in the corresponding block. The 'catch' parameters named 'ignore' or 'ignored' are ignored. Use the checkbox below to disable this inspection for 'catch' blocks with comments.", + "markdown": "Reports a `catch` parameter that is not used in the corresponding block. The `catch` parameters named `ignore` or `ignored` are ignored.\n\n\nUse the checkbox below to disable this inspection for `catch`\nblocks with comments." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedCatchParameterJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AnonymousFunctionJS", + "shortDescription": { + "text": "Anonymous function" + }, + "fullDescription": { + "text": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a 'name' property specified in the ECMAScript 6 standard. For example, 'var bar = function() {};' is not reported.", + "markdown": "Reports an anonymous function. An explicit name of a function expression may be helpful for debugging. Ignores function expressions without names if they have a `name` property specified in the ECMAScript 6 standard. For example, `var bar = function() {};` is not reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "AnonymousFunctionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyCatchBlockJS", + "shortDescription": { + "text": "Empty 'catch' block" + }, + "fullDescription": { + "text": "Reports an empty 'catch' block. This indicates that errors are simply ignored instead of handling them. Any comment in a 'catch' block mutes the inspection.", + "markdown": "Reports an empty `catch` block. This indicates that errors are simply ignored instead of handling them. \n\nAny comment in a `catch` block mutes the inspection." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyCatchBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ThrowFromFinallyBlockJS", + "shortDescription": { + "text": "'throw' inside 'finally' block" + }, + "fullDescription": { + "text": "Reports s 'throw' statement inside a 'finally' block. Such 'throw' statements may mask exceptions thrown, and complicate debugging.", + "markdown": "Reports s `throw` statement inside a `finally` block. Such `throw` statements may mask exceptions thrown, and complicate debugging." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ThrowInsideFinallyBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSPotentiallyInvalidUsageOfThis", + "shortDescription": { + "text": "Potentially invalid reference to 'this' from closure" + }, + "fullDescription": { + "text": "Reports a 'this' in closure that is used for referencing properties of outer context. Example: 'function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n}'", + "markdown": "Reports a `this` in closure that is used for referencing properties of outer context.\n\nExample:\n\n\n function Outer() {\n this.outerProp = 1;\n function inner() {\n // bad, because 'outerProp' of Outer\n // won't be updated here\n // on calling 'new Outer()' as may be expected\n this.outerProp = 2;\n }\n inner();\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSPotentiallyInvalidUsageOfThis", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnresolvedLibraryURL", + "shortDescription": { + "text": "Missed locally stored library for HTTP link" + }, + "fullDescription": { + "text": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation.", + "markdown": "Reports a URL of an external JavaScript library that is not associated with any locally stored file. Suggests downloading the library. Such association enables the IDE to provide proper code completion and navigation." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnresolvedLibraryURL", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptFieldCanBeMadeReadonly", + "shortDescription": { + "text": "Field can be readonly" + }, + "fullDescription": { + "text": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor).", + "markdown": "Reports a private field that can be made readonly (for example, if the field is assigned only in the constructor)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptFieldCanBeMadeReadonly", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NegatedIfStatementJS", + "shortDescription": { + "text": "Negated 'if' statement" + }, + "fullDescription": { + "text": "Reports if statements which have an else branch and a negated condition. Flipping the order of the if and else branches will usually increase the clarity of such statements.", + "markdown": "Reports **if** statements which have an **else** branch and a negated condition. Flipping the order of the **if** and **else** branches will usually increase the clarity of such statements." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NegatedIfStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConditionalExpressionWithIdenticalBranchesJS", + "shortDescription": { + "text": "Conditional expression with identical branches" + }, + "fullDescription": { + "text": "Reports a ternary conditional expression with identical 'then' and 'else' branches.", + "markdown": "Reports a ternary conditional expression with identical `then` and `else` branches." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConditionalExpressionWithIdenticalBranchesJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSIncompatibleTypesComparison", + "shortDescription": { + "text": "Comparison of expressions having incompatible types" + }, + "fullDescription": { + "text": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values.", + "markdown": "Reports a comparison with operands of incompatible types or an operand with a type without possible common values." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSIncompatibleTypesComparison", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6TopLevelAwaitExpression", + "shortDescription": { + "text": "Top-level 'await' expression" + }, + "fullDescription": { + "text": "Reports a usage of a top-level 'await' expression. While the new 'top-level async' proposal is on its way, using 'await' outside async functions is not allowed.", + "markdown": "Reports a usage of a top-level `await` expression. While the new 'top-level async' proposal is on its way, using `await` outside async functions is not allowed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "ES6TopLevelAwaitExpression", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Async code and promises", + "index": 93, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ParameterNamingConventionJS", + "shortDescription": { + "text": "Function parameter naming convention" + }, + "fullDescription": { + "text": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length and regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.", + "markdown": "Reports a function parameter whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length and regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ParameterNamingConventionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Naming conventions", + "index": 94, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ParametersPerFunctionJS", + "shortDescription": { + "text": "Function with too many parameters" + }, + "fullDescription": { + "text": "Reports a function with too many parameters. Such functions often indicate problems with design. Use the field below to specify the maximum acceptable number of parameters for a function.", + "markdown": "Reports a function with too many parameters. Such functions often indicate problems with design.\n\n\nUse the field below to specify the maximum acceptable number of parameters for a function." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "OverlyComplexFunctionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSSuspiciousNameCombination", + "shortDescription": { + "text": "Suspicious variable/parameter name combination" + }, + "fullDescription": { + "text": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it. Example: 'var x = 0;\n var y = x;' or 'var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);' Here the inspection guesses that 'x' and 'y' are mixed up. Specify the names that should not be used together. An error is reported if a parameter name or an assignment target name contains words from one group while the name of the assigned or passed variable contains words from another group.", + "markdown": "Reports an assignment or a function call where the name of the target variable or the function parameter does not match the name of the value assigned to it.\n\nExample:\n\n\n var x = 0;\n var y = x;\n\nor\n\n\n var x = 0, y = 0;\n var rc = new Rectangle(y, x, 20, 20);\n\nHere the inspection guesses that `x` and `y` are mixed up.\n\nSpecify the names that should not be used together. An error is reported\nif a parameter name or an assignment target name contains words from one group while the name of the assigned or passed\nvariable contains words from another group." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSSuspiciousNameCombination", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ChainedFunctionCallJS", + "shortDescription": { + "text": "Chained function call" + }, + "fullDescription": { + "text": "Reports a function call whose target is another function call, for example, 'foo().bar()'", + "markdown": "Reports a function call whose target is another function call, for example, `foo().bar()`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ChainedFunctionCallJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConstantOnLHSOfComparisonJS", + "shortDescription": { + "text": "Constant on left side of comparison" + }, + "fullDescription": { + "text": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons.", + "markdown": "Reports a comparison operation with a constant value in the left-hand side. According to coding conventions, constants should be in the right-hand side of comparisons." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConstantOnLefSideOfComparisonJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSCheckFunctionSignatures", + "shortDescription": { + "text": "Signature mismatch" + }, + "fullDescription": { + "text": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types. TypeScript code is ignored.", + "markdown": "Reports a JavaScript call expression where the arguments do not match the signature of the referenced function, including the types of arguments and their number. Also, reports if the overloading function doesn't match the overloaded one in terms of parameters and return types.\n\nTypeScript code is ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSCheckFunctionSignatures", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptUnresolvedReference", + "shortDescription": { + "text": "Unresolved TypeScript reference" + }, + "fullDescription": { + "text": "Reports an unresolved reference in TypeScript code.", + "markdown": "Reports an unresolved reference in TypeScript code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "TypeScriptUnresolvedReference", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6RedundantAwait", + "shortDescription": { + "text": "Redundant 'await' expression" + }, + "fullDescription": { + "text": "Reports a redundant usage of 'await', such as 'await await', or awaiting a non-promise result. When the 'Report for promises' option is selected, suggests removing 'await' before promises when applicable (in 'return' statements, and with 'Promise.resolve/reject'). Removing 'await' in such contexts causes two problems. Surrounding your code with 'try-catch' and forgetting to add 'await' will change code semantics while you may fail to notice that. Having an explicit 'await' may prevent the V8 runtime from providing async stack traces.", + "markdown": "Reports a redundant usage of `await`, such as `await await`, or awaiting a non-promise result.\n\n\nWhen the 'Report for promises' option is selected, suggests removing `await` before promises when applicable\n(in `return` statements, and with `Promise.resolve/reject`).\n\nRemoving `await` in such contexts causes two problems.\n\n* Surrounding your code with `try-catch` and forgetting to add `await` will change code semantics while you may fail to notice that.\n* Having an explicit `await` may prevent the V8 runtime from providing [async stack traces](http://bit.ly/v8-zero-cost-async-stack-traces)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6RedundantAwait", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Async code and promises", + "index": 93, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AssignmentToFunctionParameterJS", + "shortDescription": { + "text": "Assignment to function parameter" + }, + "fullDescription": { + "text": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.", + "markdown": "Reports an assignment to a function parameter, including increment and decrement operations. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "AssignmentToFunctionParameterJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FallThroughInSwitchStatementJS", + "shortDescription": { + "text": "Fallthrough in 'switch' statement" + }, + "fullDescription": { + "text": "Reports a 'switch' statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing 'break' or 'return'.", + "markdown": "Reports a `switch` statement where control can proceed from a branch to the next one. Such \"fall-through\" often indicates an error, for example, a missing `break` or `return`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FallThroughInSwitchStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CallerJS", + "shortDescription": { + "text": "Use of 'caller' property" + }, + "fullDescription": { + "text": "Reports a usage of the 'caller' property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs.", + "markdown": "Reports a usage of the `caller` property in a JavaScript function. Using this property to access the stack frame of the calling method can be extremely confusing and result in subtle bugs." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CallerJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSSwitchVariableDeclarationIssue", + "shortDescription": { + "text": "Variable is declared and being used in different 'case' clauses" + }, + "fullDescription": { + "text": "Reports a variable that is declared in one 'case' clause of a 'switch' statement but is used in another 'case' clause of the same statement. For block-scoped variables, this results in throwing a 'ReferenceError'. For 'var' variables, it indicates a potential error. Disable the inspection for 'var' variables if this pattern is used intentionally.", + "markdown": "Reports a variable that is declared in one `case` clause of a `switch` statement but is used in another `case` clause of the same statement. For block-scoped variables, this results in throwing a `ReferenceError`. For `var` variables, it indicates a potential error.\n\nDisable the inspection for `var` variables if this pattern is used intentionally." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSSwitchVariableDeclarationIssue", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReuseOfLocalVariableJS", + "shortDescription": { + "text": "Reuse of local variable" + }, + "fullDescription": { + "text": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity.", + "markdown": "Reports reusing a local variable and overwriting its value with a new value that is not related to the original variable usage. Reusing a local variable in this way may be confusing because the intended semantics of the local variable may vary with each usage. It may also cause bugs, if code changes result in values that were expected to be overwritten while they are actually live. It is good practices to keep variable lifetimes as short as possible, and not reuse local variables for the sake of brevity." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ReuseOfLocalVariableJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Data flow", + "index": 99, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertLetToConst", + "shortDescription": { + "text": "'let' is used instead of 'const'" + }, + "fullDescription": { + "text": "Reports a 'let' declaration that can be made 'const'.", + "markdown": "Reports a `let` declaration that can be made `const`. " + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertLetToConst", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSReferencingMutableVariableFromClosure", + "shortDescription": { + "text": "Referencing mutable variable from closure" + }, + "fullDescription": { + "text": "Reports access to outer mutable variables from functions. Example: 'for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }'", + "markdown": "Reports access to outer mutable variables from functions.\n\nExample:\n\n\n for (var i = 1; i <= 3; i++) {\n setTimeout(function() {\n console.log(i); // bad\n }, 0);\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSReferencingMutableVariableFromClosure", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertRequireIntoImport", + "shortDescription": { + "text": "'require()' is used instead of 'import'" + }, + "fullDescription": { + "text": "Reports a 'require()' statement. Suggests converting it to a 'require()' call with an 'import' statement. Enable 'Convert require() inside inner scopes with Fix all action' to convert all 'require()' calls inside the nested functions and statements when using the 'Fix all' action. Please note that converting 'require()' statements inside inner scopes to 'import' statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. 'require()' calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. Clear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action.", + "markdown": "Reports a `require()` statement. Suggests converting it to a `require()` call with an `import` statement. \n\nEnable 'Convert require() inside inner scopes with Fix all action' to convert all `require()` calls inside the nested functions and statements when using the 'Fix all' action. \n\nPlease note that converting `require()` statements inside inner scopes to `import` statements may cause changes in the semantics of the code. Import statements are static module dependencies and are hoisted, which means that they are moved to the top of the current module. `require()` calls load modules dynamically. They can be executed conditionally, and their scope is defined by the expression in which they are used. \nClear the 'Convert require() inside inner scopes with Fix all action' checkbox to prevent any changes in these complex cases when using the 'Fix all' action." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertRequireIntoImport", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnusedGlobalSymbols", + "shortDescription": { + "text": "Unused global symbol" + }, + "fullDescription": { + "text": "Reports an unused globally accessible public function, variable, class, or property.", + "markdown": "Reports an unused globally accessible public function, variable, class, or property." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnusedGlobalSymbols", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Unused symbols", + "index": 104, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedConditionalExpressionJS", + "shortDescription": { + "text": "Nested conditional expression" + }, + "fullDescription": { + "text": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic.", + "markdown": "Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NestedConditionalExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6PossiblyAsyncFunction", + "shortDescription": { + "text": "'await' in non-async function" + }, + "fullDescription": { + "text": "Reports a usage of 'await' in a function that was possibly intended to be async but is actually missing the 'async' modifier. Although 'await' can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made 'async'.", + "markdown": "Reports a usage of `await` in a function that was possibly intended to be async but is actually missing the `async` modifier. Although `await` can be used as an identifier, it is likely that it was intended to be used as an operator, so the containing function should be made `async`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6PossiblyAsyncFunction", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Async code and promises", + "index": 93, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FlowJSFlagCommentPlacement", + "shortDescription": { + "text": "Misplaced @flow flag" + }, + "fullDescription": { + "text": "Reports a '@flow' flag comment that is not located at the top of a file.", + "markdown": "Reports a `@flow` flag comment that is not located at the top of a file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FlowJSFlagCommentPlacement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Flow type checker", + "index": 11, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSMissingSwitchDefault", + "shortDescription": { + "text": "'switch' statement has no 'default' branch" + }, + "fullDescription": { + "text": "Reports a 'switch' statement without a 'default' clause when some possible values are not enumerated.", + "markdown": "Reports a `switch` statement without a `default` clause when some possible values are not enumerated." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSMissingSwitchDefault", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSXNamespaceValidation", + "shortDescription": { + "text": "Missing JSX namespace" + }, + "fullDescription": { + "text": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation.", + "markdown": "Reports a usage of a JSX construction without importing namespace. Having the namespace in the file scope ensures proper code compilation." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSXNamespaceValidation", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReservedWordUsedAsNameJS", + "shortDescription": { + "text": "Reserved word used as name" + }, + "fullDescription": { + "text": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords.", + "markdown": "Reports a JavaScript reserved word used as a name. The JavaScript specification reserves a number of words which are currently not used as keywords. Using those words as identifiers may result in broken code if later versions of JavaScript start using them as keywords." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ReservedWordAsName", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IncrementDecrementResultUsedJS", + "shortDescription": { + "text": "Result of increment or decrement used" + }, + "fullDescription": { + "text": "Reports an increment ('++') or decrement ('--') expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: 'var a = b++'", + "markdown": "Reports an increment (`++`) or decrement (`--`) expression where the result of the assignment is used in a containing expression. Such assignments can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Example: `var a = b++`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IncrementDecrementResultUsedJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SuspiciousTypeOfGuard", + "shortDescription": { + "text": "Unsound type guard check" + }, + "fullDescription": { + "text": "Reports a 'typeof' or 'instanceof' unsound type guard check. The 'typeof x' type guard can be unsound in one of the following two cases: 'typeof x' never corresponds to the specified value (for example, 'typeof x === 'number'' when 'x' is of the type 'string | boolean') 'typeof x' always corresponds to the specified value (for example, 'typeof x === 'string'' when 'x' is of the type 'string') The 'x instanceof A' type guard can be unsound in one of the following two cases: The type of 'x' is not related to 'A' The type of 'x' is 'A' or a subtype of 'A'", + "markdown": "Reports a `typeof` or `instanceof` unsound type guard check. The `typeof x` type guard can be unsound in one of the following two cases:\n\n* `typeof x` never corresponds to the specified value (for example, `typeof x === 'number'` when `x` is of the type 'string \\| boolean')\n* `typeof x` always corresponds to the specified value (for example, `typeof x === 'string'` when `x` is of the type 'string')\n\n
\n\nThe `x instanceof A` type guard can be unsound in one of the following two cases:\n\n* The type of `x` is not related to `A`\n* The type of `x` is `A` or a subtype of `A`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SuspiciousTypeOfGuard", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LoopStatementThatDoesntLoopJS", + "shortDescription": { + "text": "Loop statement that doesn't loop" + }, + "fullDescription": { + "text": "Reports a 'for', 'while', or 'do' statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error.", + "markdown": "Reports a `for`, `while`, or `do` statement whose bodies are guaranteed to execute at most once. Normally, this indicates an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LoopStatementThatDoesntLoopJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSNonASCIINames", + "shortDescription": { + "text": "Identifiers with non-ASCII symbols" + }, + "fullDescription": { + "text": "Reports a non-ASCII symbol in a name. If the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. Otherwise reports all names that contain both ASCII and non-ASCII symbols.", + "markdown": "Reports a non-ASCII symbol in a name. \n\nIf the 'Allow only ASCII names' option is selected, reports all names that contain non-ASCII symbols. \nOtherwise reports all names that contain both ASCII and non-ASCII symbols." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSNonASCIINames", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Naming conventions", + "index": 94, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6MissingAwait", + "shortDescription": { + "text": "Missing await for an async function call" + }, + "fullDescription": { + "text": "Reports an 'async' function call without an expected 'await' prefix inside an 'async' function. Such call returns a 'Promise' and control flow is continued immediately. Example: 'async function bar() { /* ... */ }\nasync function foo() {\n bar(); // bad\n}' After the quick-fix is applied, the 'await' prefix is added: 'async function bar() { /* ... */ }\nasync function foo() {\n await bar(); // good\n}' When the 'Report for promises in return statements' checkbox is selected, also suggests adding 'await' in return statements. While this is generally not necessary, it gives two main benefits. You won't forget to add 'await' when surrounding your code with 'try-catch'. An explicit 'await' helps V8 runtime to provide async stack traces.", + "markdown": "Reports an `async` function call without an expected `await` prefix inside an `async` function. Such call returns a `Promise` and control flow is continued immediately.\n\nExample:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n bar(); // bad\n }\n\n\nAfter the quick-fix is applied, the `await` prefix is added:\n\n\n async function bar() { /* ... */ }\n async function foo() {\n await bar(); // good\n }\n\n
\n\nWhen the 'Report for promises in return statements' checkbox is selected, also suggests adding `await` in return statements. \nWhile this is generally not necessary, it gives two main benefits. \n\n* You won't forget to add `await` when surrounding your code with `try-catch`.\n* An explicit `await` helps V8 runtime to provide [async stack traces](https://bit.ly/v8-zero-cost-async-stack-traces)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6MissingAwait", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Async code and promises", + "index": 93, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TailRecursionJS", + "shortDescription": { + "text": "Tail recursion" + }, + "fullDescription": { + "text": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments.", + "markdown": "Reports a tail recursion, that is, when a function calls itself as its last action before returning. A tail recursion can always be replaced by looping, which will be considerably faster. Some JavaScript engines perform this optimization, while others do not. Thus, tail recursive solutions may have considerably different performance characteristics in different environments." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TailRecursionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConfusingPlusesOrMinusesJS", + "shortDescription": { + "text": "Confusing sequence of '+' or '-'" + }, + "fullDescription": { + "text": "Reports a suspicious combination of '+' or '-' characters in JavaScript code (for example, 'a+++b'. Such sequences are confusing, and their semantics may change through changes in the whitespace.", + "markdown": "Reports a suspicious combination of `+` or `-` characters in JavaScript code (for example, `a+++b`. Such sequences are confusing, and their semantics may change through changes in the whitespace." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConfusingPlusesOrMinusesJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptConfig", + "shortDescription": { + "text": "Inconsistent tsconfig.json properties" + }, + "fullDescription": { + "text": "Reports inconsistency of a 'paths', 'checkJs', or 'extends' property in a tsconfig.json file. The 'checkJs' property requires 'allowJs'. The 'extends' property should be a valid file reference.", + "markdown": "Reports inconsistency of a `paths`, `checkJs`, or `extends` property in a tsconfig.json file. \nThe `checkJs` property requires `allowJs`. \nThe `extends` property should be a valid file reference." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TypeScriptConfig", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OverlyComplexBooleanExpressionJS", + "shortDescription": { + "text": "Overly complex boolean expression" + }, + "fullDescription": { + "text": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.", + "markdown": "Reports a boolean expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "OverlyComplexBooleanExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OverlyComplexArithmeticExpressionJS", + "shortDescription": { + "text": "Overly complex arithmetic expression" + }, + "fullDescription": { + "text": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone. Use the field below to specify the maximum number of terms allowed in an arithmetic expression.", + "markdown": "Reports an arithmetic expression with too many terms. Such expressions may be confusing and bug-prone.\n\n\nUse the field below to specify the maximum number of terms allowed in an arithmetic expression." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "OverlyComplexArithmeticExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DuplicateConditionJS", + "shortDescription": { + "text": "Duplicate condition in 'if' statement" + }, + "fullDescription": { + "text": "Reports duplicate conditions in different branches of an 'if' statement. Duplicate conditions usually represent programmer oversight. Example: 'if (a) {\n ...\n } else if (a) {\n ...\n }'", + "markdown": "Reports duplicate conditions in different branches of an `if` statement. Duplicate conditions usually represent programmer oversight.\n\nExample:\n\n\n if (a) {\n ...\n } else if (a) {\n ...\n }\n\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DuplicateConditionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryLabelJS", + "shortDescription": { + "text": "Unnecessary label" + }, + "fullDescription": { + "text": "Reports an unused label.", + "markdown": "Reports an unused label." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryLabelJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InnerHTMLJS", + "shortDescription": { + "text": "Use of 'innerHTML' property" + }, + "fullDescription": { + "text": "Reports a JavaScript access to DOM nodes as text using the 'innerHTML' property. Most usages of 'innerHTML' are performed better with explicit DOM calls, such as 'getElementByID()' and 'createElement()'. Additionally, 'innerHTML' will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs.", + "markdown": "Reports a JavaScript access to DOM nodes as text using the `innerHTML` property. Most usages of `innerHTML` are performed better with explicit DOM calls, such as `getElementByID()` and `createElement()`. Additionally, `innerHTML` will not work with XML DOMs, including DOMs for XHTML if viewed as XML. This can lead to difficulties in diagnosing bugs." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "InnerHTMLJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/DOM issues", + "index": 46, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6UnusedImports", + "shortDescription": { + "text": "Unused import" + }, + "fullDescription": { + "text": "Reports a redundant 'import' statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import 'import 'packageName'' instead of the regular one.", + "markdown": "Reports a redundant `import` statement. This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import `import 'packageName'` instead of the regular one." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ES6UnusedImports", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSAssignmentUsedAsCondition", + "shortDescription": { + "text": "Assignment used as condition" + }, + "fullDescription": { + "text": "Reports an assignment that is used as the condition of an 'if', 'while', 'for', or 'do' statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, '=' instead of '==').", + "markdown": "Reports an assignment that is used as the condition of an `if`, `while`, `for`, or `do` statement. Although occasionally intended, this usage is confusing, and often indicates a typo (for example, `=` instead of `==`)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSAssignmentUsedAsCondition", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ForLoopReplaceableByWhileJS", + "shortDescription": { + "text": "'for' loop may be replaced by 'while' loop" + }, + "fullDescription": { + "text": "Reports a 'for' loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler 'while' statement. Example: 'for(; exitCondition(); ) {\n process();\n }' After the quick-fix is applied the result looks like: 'while(exitCondition()) {\n process();\n }' Use the checkbox below if you wish this inspection to ignore for loops with trivial or non-existent conditions.", + "markdown": "Reports a `for` loop that contains neither initialization nor an update component. Suggests replacing the loop with a simpler `while` statement.\n\nExample:\n\n\n for(; exitCondition(); ) {\n process();\n }\n\nAfter the quick-fix is applied the result looks like:\n\n\n while(exitCondition()) {\n process();\n }\n\nUse the checkbox below if you wish this inspection to ignore **for** loops with trivial or non-existent conditions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ForLoopReplaceableByWhile", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConstantConditionalExpressionJS", + "shortDescription": { + "text": "Constant conditional expression" + }, + "fullDescription": { + "text": "Reports a conditional expression in the format 'true? result1: result2' or 'false? result1: result2. Suggests simplifying the expression.'", + "markdown": "Reports a conditional expression in the format `true? result1: result2` or `false? result1: result2``.\nSuggests simplifying the expression.\n`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConstantConditionalExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NonBlockStatementBodyJS", + "shortDescription": { + "text": "Statement body without braces" + }, + "fullDescription": { + "text": "Reports a 'if', 'while', 'for', or 'with' statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance.", + "markdown": "Reports a `if`, `while`, `for`, or `with` statements whose body is not a block statement. Using code block in statement bodies is usually safer for downstream maintenance." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NonBlockStatementBodyJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSValidateJSDoc", + "shortDescription": { + "text": "Syntax errors and unresolved references in JSDoc" + }, + "fullDescription": { + "text": "Reports a syntax discrepancy in a documentation comment.", + "markdown": "Reports a syntax discrepancy in a documentation comment." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSValidateJSDoc", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FlowJSConfig", + "shortDescription": { + "text": "Missing .flowconfig" + }, + "fullDescription": { + "text": "Reports a JavaScript file with a '@flow' flag that doesn't have an associated '.flowconfig' file in the project.", + "markdown": "Reports a JavaScript file with a `@flow` flag that doesn't have an associated `.flowconfig` file in the project." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FlowJSConfig", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Flow type checker", + "index": 11, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptValidateTypes", + "shortDescription": { + "text": "Type mismatch" + }, + "fullDescription": { + "text": "Reports a parameter, return value, or assigned expression of incorrect type.", + "markdown": "Reports a parameter, return value, or assigned expression of incorrect type." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "TypeScriptValidateTypes", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSObjectNullOrUndefined", + "shortDescription": { + "text": "Object is 'null' or 'undefined'" + }, + "fullDescription": { + "text": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is 'undefined' or 'null'.", + "markdown": "Reports an error caused by invoking a method, accessing a property, or calling a function on an object that is `undefined` or `null`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSObjectNullOrUndefined", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PointlessArithmeticExpressionJS", + "shortDescription": { + "text": "Pointless arithmetic expression" + }, + "fullDescription": { + "text": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring.", + "markdown": "Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PointlessArithmeticExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptSmartCast", + "shortDescription": { + "text": "Narrowed type" + }, + "fullDescription": { + "text": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection.", + "markdown": "Reports a usage of a variable where the variable type is narrowed by a type guard. Note that severity level doesn't affect this inspection." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TypeScriptSmartCast", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSAccessibilityCheck", + "shortDescription": { + "text": "Inaccessible @private and @protected members referenced" + }, + "fullDescription": { + "text": "Reports a reference to a JavaScript member that is marked with a '@private' or '@protected' tag but does not comply with visibility rules that these tags imply.", + "markdown": "Reports a reference to a JavaScript member that is marked with a `@private` or `@protected` tag but does not comply with visibility rules that these tags imply." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSAccessibilityCheck", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FunctionWithMultipleLoopsJS", + "shortDescription": { + "text": "Function with multiple loops" + }, + "fullDescription": { + "text": "Reports a function with multiple loop statements.", + "markdown": "Reports a function with multiple loop statements." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionWithMultipleLoopsJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NpmUsedModulesInstalled", + "shortDescription": { + "text": "Missing module dependency" + }, + "fullDescription": { + "text": "Reports a module from a 'require()' call or an 'import' statement that is not installed or is not listed in package.json dependencies. Suggests installing the module and/or including it into package.json. For 'require()' calls, works only in the files from the scope of Node.js Core JavaScript library.", + "markdown": "Reports a module from a `require()` call or an `import` statement that is not installed or is not listed in package.json dependencies.\n\nSuggests installing the module and/or including it into package.json.\n\nFor `require()` calls, works only in the files from the scope of *Node.js Core* JavaScript library." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "NpmUsedModulesInstalled", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FunctionNamingConventionJS", + "shortDescription": { + "text": "Function naming convention" + }, + "fullDescription": { + "text": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression for function names. Use the standard 'java.util.regex' format for regular expressions.", + "markdown": "Reports a function whose name is too short, too long, or does not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nfor function names. Use the standard `java.util.regex` format for regular expressions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionNamingConventionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Naming conventions", + "index": 94, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ObjectAllocationIgnoredJS", + "shortDescription": { + "text": "Result of object allocation ignored" + }, + "fullDescription": { + "text": "Reports object allocation where the result of the allocated object is ignored, for example, 'new Error();' as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy.", + "markdown": "Reports object allocation where the result of the allocated object is ignored, for example, `new Error();` as a statement, without any assignment. Such allocation expressions may indicate an odd object initialization strategy." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ObjectAllocationIgnored", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSHint", + "shortDescription": { + "text": "JSHint" + }, + "fullDescription": { + "text": "Reports a problem detected by the JSHint linter.", + "markdown": "Reports a problem detected by the [JSHint](https://jshint.com/) linter." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JSHint", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code quality tools", + "index": 61, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ExceptionCaughtLocallyJS", + "shortDescription": { + "text": "Exception used for local control-flow" + }, + "fullDescription": { + "text": "Reports a 'throw' statement whose exceptions are always caught by the containing 'try' statement. Using 'throw' statements as a 'goto' to change the local flow of control is confusing.", + "markdown": "Reports a `throw` statement whose exceptions are always caught by the containing `try` statement. Using `throw` statements as a `goto` to change the local flow of control is confusing." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ExceptionCaughtLocallyJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CyclomaticComplexityJS", + "shortDescription": { + "text": "Overly complex function" + }, + "fullDescription": { + "text": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test. Use the field provided below to specify the maximum acceptable cyclomatic complexity for a function.", + "markdown": "Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test.\n\n\nUse the field provided below to specify the maximum acceptable cyclomatic complexity for a function." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "OverlyComplexFunctionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Stylelint", + "shortDescription": { + "text": "Stylelint" + }, + "fullDescription": { + "text": "Reports a discrepancy detected by the Stylelint linter. The highlighting is based on the rule severity specified in the Stylelint configuration file for each individual rule.", + "markdown": "Reports a discrepancy detected by the [Stylelint](http://stylelint.io) linter. \n\nThe highlighting is based on the rule severity specified in the [Stylelint configuration file](https://stylelint.io/user-guide/configure) for each individual rule." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "Stylelint", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Code quality tools", + "index": 113, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptJSXUnresolvedComponent", + "shortDescription": { + "text": "Unresolved JSX component" + }, + "fullDescription": { + "text": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name. The template for a new component can be modified in Editor | File and Code Templates.", + "markdown": "Reports an unresolved reference to a JSX component. Suggests adding an import statement if the referenced component is defined in the project or its dependencies or creating a new component with the specified name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptJSXUnresolvedComponent", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnfilteredForInLoop", + "shortDescription": { + "text": "Unfiltered for..in loop" + }, + "fullDescription": { + "text": "Reports unfiltered 'for-in' loops. The use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when 'Object''s prototype may be incorrectly modified. For example, the following code will print 42 and myMethod: 'Object.prototype.myMethod = function myMethod() {};\nlet a = { foo: 42 };\nfor (let i in a) {\n console.log(a[i]);\n}' Suggests replacing the whole loop with a 'Object.keys()' method or adding a 'hasOwnProperty()' check. After applying the quick-fix the code looks as follows: 'for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n}'", + "markdown": "Reports unfiltered `for-in` loops. \n\nThe use of this construct results in processing not only own properties of an object but properties from its prototype as well. It may be unexpected in some specific cases, for example, in utility methods that copy or modify all properties or when `Object`'s prototype may be incorrectly modified. For example, the following code will print **42** and **myMethod** : \n\n\n Object.prototype.myMethod = function myMethod() {};\n let a = { foo: 42 };\n for (let i in a) {\n console.log(a[i]);\n }\n\nSuggests replacing the whole loop with a `Object.keys()` method or adding a `hasOwnProperty()` check. After applying the quick-fix the code looks as follows:\n\n\n for (let i in a) {\n if (a.hasOwnProperty(i)) {\n console.log(a[i]);\n }\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnfilteredForInLoop", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSFunctionExpressionToArrowFunction", + "shortDescription": { + "text": "Function expression is used instead of arrow function" + }, + "fullDescription": { + "text": "Reports a function expression. Suggests converting it to an arrow function. Example: 'arr.map(function(el) {return el + 1})' After applying the quick-fix the code looks as follows: 'arr.map(el => el + 1)'", + "markdown": "Reports a [function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/function) expression. Suggests converting it to an [arrow function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions).\n\nExample:\n\n arr.map(function(el) {return el + 1})\n\nAfter applying the quick-fix the code looks as follows:\n\n arr.map(el => el + 1)\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSFunctionExpressionToArrowFunction", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UpdateDependencyToLatestVersion", + "shortDescription": { + "text": "Update package.json dependencies to latest versions" + }, + "fullDescription": { + "text": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions.", + "markdown": "Suggests to upgrade your package.json dependencies to the latest versions, ignoring specified versions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "UpdateDependencyToLatestVersion", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AssignmentResultUsedJS", + "shortDescription": { + "text": "Result of assignment used" + }, + "fullDescription": { + "text": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, '=' instead of '=='. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways. Expressions in parentheses are ignored.", + "markdown": "Reports an assignment expression where the result of the assignment is used in the containing expression. Such assignments often indicate coding errors, for example, `=` instead of `==`. Moreover, they can result in confusion due to the order of operations, as evaluation of the assignment may affect the outer expression in unexpected ways.\n\nExpressions in parentheses are ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "AssignmentResultUsedJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConstantOnRHSOfComparisonJS", + "shortDescription": { + "text": "Constant on right side of comparison" + }, + "fullDescription": { + "text": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons.", + "markdown": "Reports a comparison operation with a constant in the right-hand side. According to coding conventions, constants should only be in the left-hand side of comparisons." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConstantOnRightSideOfComparisonJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnnecessarySemicolon", + "shortDescription": { + "text": "Unnecessary semicolon" + }, + "fullDescription": { + "text": "Reports an unneeded semicolon.", + "markdown": "Reports an unneeded semicolon." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnnecessarySemicolon", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSSuspiciousEqPlus", + "shortDescription": { + "text": "Suspicious '=+' assignment" + }, + "fullDescription": { + "text": "Reports an assignment in the form 'a =+ b'. Suggests replacing with 'a += b'.", + "markdown": "Reports an assignment in the form `a =+ b`. Suggests replacing with `a += b`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSSuspiciousEqPlus", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnusedAssignment", + "shortDescription": { + "text": "Unused assignment" + }, + "fullDescription": { + "text": "Reports a variable whose value is never used after assignment. Suggests removing the unused variable to shorten the code and to avoid redundant allocations. The following cases are reported: A variable is never read after assignment. The value of a variable is always overwritten with another assignment before the variable is read next time. The initializer of a variable is redundant (for one of the above-mentioned reasons).", + "markdown": "Reports a variable whose value is never used after assignment. \nSuggests removing the unused variable to shorten the code and to avoid redundant allocations.\n\nThe following cases are reported:\n\n* A variable is never read after assignment.\n* The value of a variable is always overwritten with another assignment before the variable is read next time.\n* The initializer of a variable is redundant (for one of the above-mentioned reasons)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnusedAssignment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Unused symbols", + "index": 104, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConfusingFloatingPointLiteralJS", + "shortDescription": { + "text": "Confusing floating point literal" + }, + "fullDescription": { + "text": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards.", + "markdown": "Reports any floating point number that does not have a decimal point, or any numbers before the decimal point, or and numbers after the decimal point. Such literals may be confusing, and violate several coding standards." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConfusingFloatingPointLiteralJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ContinueOrBreakFromFinallyBlockJS", + "shortDescription": { + "text": "'continue' or 'break' inside 'finally' block" + }, + "fullDescription": { + "text": "Reports a 'break' or 'continue' statement inside a 'finally' block. Such statements are very confusing, may hide exceptions, and complicate debugging.", + "markdown": "Reports a `break` or `continue` statement inside a `finally` block. Such statements are very confusing, may hide exceptions, and complicate debugging." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ContinueOrBreakFromFinallyBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSMethodCanBeStatic", + "shortDescription": { + "text": "Method can be made 'static'" + }, + "fullDescription": { + "text": "Reports a class method that can be safely made 'static'. A method can be 'static' if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass. Use the first checkbox below to inspect only 'private' methods.", + "markdown": "Reports a class method that can be safely made `static`. A method can be `static` if it does not reference any of its class' non-static methods and non-static fields and is not overridden in a subclass.\n\n\nUse the first checkbox below to inspect only `private` methods." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSMethodCanBeStatic", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUndeclaredVariable", + "shortDescription": { + "text": "Implicitly declared global JavaScript variable" + }, + "fullDescription": { + "text": "Reports an implicit declaration of a global variable. Example: 'var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere'", + "markdown": "Reports an implicit declaration of a global variable.\n\nExample:\n\n\n var aaa = 1; // good\n bbb = 2; // bad, if bbb is not declared with 'var' somewhere\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSUndeclaredVariable", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SillyAssignmentJS", + "shortDescription": { + "text": "Variable is assigned to itself" + }, + "fullDescription": { + "text": "Reports an assignment in the form 'x = x'.", + "markdown": "Reports an assignment in the form `x = x`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SillyAssignmentJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptCheckImport", + "shortDescription": { + "text": "Unresolved imported name" + }, + "fullDescription": { + "text": "Reports an unresolved name or binding in an 'import' declaration in TypeScript code.", + "markdown": "Reports an unresolved name or binding in an `import` declaration in TypeScript code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "TypeScriptCheckImport", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InfiniteRecursionJS", + "shortDescription": { + "text": "Infinite recursion" + }, + "fullDescription": { + "text": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally.", + "markdown": "Reports a function which must either recurse infinitely or throw an exception. Such functions may not return normally." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "InfiniteRecursionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSMismatchedCollectionQueryUpdate", + "shortDescription": { + "text": "Mismatched query and update of collection" + }, + "fullDescription": { + "text": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error. Query methods are automatically detected, based on whether they return something, or a callback is passed to them. Use the table below to specify which methods are update methods.", + "markdown": "Reports a collection of fields or variables whose contents are either queried and not updated or updated and not queried. Such mismatched queries and updates are pointless and may indicate either dead code or a typographical error.\n\n\nQuery methods are automatically detected, based on whether they return something, or a callback is passed to them.\nUse the table below to specify which methods are update methods." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSMismatchedCollectionQueryUpdate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6PreferShortImport", + "shortDescription": { + "text": "Import can be shortened" + }, + "fullDescription": { + "text": "Reports an ES6 import whose 'from' part can be shortened. Suggests importing the parent directory.", + "markdown": "Reports an ES6 import whose `from` part can be shortened. Suggests importing the parent directory." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ES6PreferShortImport", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PointlessBitwiseExpressionJS", + "shortDescription": { + "text": "Bitwise expression can be simplified" + }, + "fullDescription": { + "text": "Reports an expression that includes 'and' with zero, 'or' by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings.", + "markdown": "Reports an expression that includes `and` with zero, `or` by zero, or shifting by zero. Such expressions may result from not fully completed automated refactorings." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PointlessBitwiseExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Bitwise operation issues", + "index": 14, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSStringConcatenationToES6Template", + "shortDescription": { + "text": "String concatenation is used instead of template literal" + }, + "fullDescription": { + "text": "Reports a string concatenation. Suggests replacing it with a template literal Example '\"result: \" + a + \".\"' After applying the quick-fix the code looks as follows: '`result: ${a}.`'", + "markdown": "Reports a string concatenation. Suggests replacing it with a [template literal](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals)\n\nExample\n\n \"result: \" + a + \".\" \n\nAfter applying the quick-fix the code looks as follows:\n\n `result: ${a}.` \n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSStringConcatenationToES6Template", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReplaceAssignmentWithOperatorAssignmentJS", + "shortDescription": { + "text": "Assignment could be replaced with operator assignment" + }, + "fullDescription": { + "text": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer. Example: 'x = x + 3;'\n 'x = x / 3;'\n After the quick fix is applied the result looks like: 'x += 3;'\n 'x /= 3;'", + "markdown": "Reports an assignment operation that can be replaced by an operator assignment to make your code shorter and probably clearer.\n\n\nExample:\n\n x = x + 3;\n x = x / 3;\n\nAfter the quick fix is applied the result looks like:\n\n x += 3;\n x /= 3;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "AssignmentReplaceableWithOperatorAssignmentJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6DestructuringVariablesMerge", + "shortDescription": { + "text": "Destructuring properties with the same key" + }, + "fullDescription": { + "text": "Reports multiple destructuring properties with identical keys. Suggests merging the properties.", + "markdown": "Reports multiple destructuring properties with identical keys. Suggests merging the properties." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6DestructuringVariablesMerge", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptRedundantGenericType", + "shortDescription": { + "text": "Redundant type arguments" + }, + "fullDescription": { + "text": "Reports a type argument that is equal to the default one and can be removed. Example: 'type Foo = T;\nlet z: Foo;'", + "markdown": "Reports a type argument that is equal to the default one and can be removed.\n\n\nExample:\n\n\n type Foo = T;\n let z: Foo;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptRedundantGenericType", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSLastCommaInObjectLiteral", + "shortDescription": { + "text": "Unneeded last comma in object literal" + }, + "fullDescription": { + "text": "Reports usages of a trailing comma in object literals. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Trailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.", + "markdown": "Reports usages of a trailing comma in object literals.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nTrailing commas in object literals are allowed by the specification, however, some browsers might throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSLastCommaInObjectLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedAssignmentJS", + "shortDescription": { + "text": "Nested assignment" + }, + "fullDescription": { + "text": "Reports an assignment expression nested inside another expression, for example, 'a = b = 1'. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing.", + "markdown": "Reports an assignment expression nested inside another expression, for example, `a = b = 1`. Such expressions may be confusing and violate the general design principle that a given construct should do precisely one thing." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NestedAssignmentJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DefaultNotLastCaseInSwitchJS", + "shortDescription": { + "text": "'default' not last case in 'switch'" + }, + "fullDescription": { + "text": "Reports a 'switch' statement where the 'default' case comes before another case instead of being the very last case, which may cause confusion.", + "markdown": "Reports a `switch` statement where the `default` case comes before another case instead of being the very last case, which may cause confusion." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DefaultNotLastCaseInSwitchJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyFinallyBlockJS", + "shortDescription": { + "text": "Empty 'finally' block" + }, + "fullDescription": { + "text": "Reports an empty 'finally' block, which usually indicates an error.", + "markdown": "Reports an empty `finally` block, which usually indicates an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyFinallyBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ForLoopThatDoesntUseLoopVariableJS", + "shortDescription": { + "text": "'for' loop where update or condition does not use loop variable" + }, + "fullDescription": { + "text": "Reports a 'for' loop where the condition or update does not use the 'for' loop variable.", + "markdown": "Reports a `for` loop where the condition or update does not use the `for` loop variable." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ForLoopThatDoesntUseLoopVariableJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptAbstractClassConstructorCanBeMadeProtected", + "shortDescription": { + "text": "Abstract class constructor can be made protected" + }, + "fullDescription": { + "text": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public).", + "markdown": "Reports a public constructor of an abstract class and suggests making it protected (because it is useless to have it public)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptAbstractClassConstructorCanBeMadeProtected", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ThreeNegationsPerFunctionJS", + "shortDescription": { + "text": "Function with more than three negations" + }, + "fullDescription": { + "text": "Reports a function with three or more negation operations ('!' or '!='). Such functions may be unnecessarily confusing.", + "markdown": "Reports a function with three or more negation operations (`!` or `!=`). Such functions may be unnecessarily confusing." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionWithMoreThanThreeNegationsJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TrivialIfJS", + "shortDescription": { + "text": "Redundant 'if' statement" + }, + "fullDescription": { + "text": "Reports an 'if' statement that can be simplified to a single assignment or a 'return' statement. Example: 'if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }' After applying the quick-fix the code looks as follows: 'return foo();'", + "markdown": "Reports an `if` statement that can be simplified to a single assignment or a `return` statement.\n\nExample:\n\n\n if(foo())\n {\n return true;\n }\n else\n {\n return false;\n }\n\nAfter applying the quick-fix the code looks as follows:\n\n return foo();\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantIfStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnterminatedStatementJS", + "shortDescription": { + "text": "Unterminated statement" + }, + "fullDescription": { + "text": "Reports a statement without a semicolon or a newline at the end. Select the 'Terminate statements with semicolons' option in Editor | Code Style | JavaScript or TypeScript - Punctuation to report any statement that doesn't end with a semicolon, even if a newline is used. According to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages.", + "markdown": "Reports a statement without a semicolon or a newline at the end.\n\nSelect the 'Terminate statements with semicolons' option in *Editor \\| Code Style \\| JavaScript or TypeScript - Punctuation* to report any statement that doesn't end with a semicolon, even if a newline is used.\nAccording to some coding styles, semicolons are preferred to line-breaks for consistency with the other languages." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnterminatedStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnreachableSwitchBranches", + "shortDescription": { + "text": "Unreachable 'case' branch of a 'switch' statement" + }, + "fullDescription": { + "text": "Reports an unreachable 'case' branch of a 'switch' statement. Example: '/**\n * @param {('foo' | 'bar')} p\n */\nfunction foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n}'", + "markdown": "Reports an unreachable `case` branch of a `switch` statement.\n\nExample:\n\n\n /**\n * @param {('foo' | 'bar')} p\n */\n function foo(p) {\n switch (p) {\n case 'foo': break;\n case 'bar': break;\n case 'baz': break; // unreachable\n }\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnreachableSwitchBranches", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TrivialConditionalJS", + "shortDescription": { + "text": "Redundant conditional expression" + }, + "fullDescription": { + "text": "Reports a conditional expression of the form 'condition ? true : false\ncondition ? false : true' These expressions may be safely converted to 'condition\n!condition'", + "markdown": "Reports a conditional expression of the form\n\n\n condition ? true : false\n condition ? false : true\n\n\nThese expressions may be safely converted to\n\n\n condition\n !condition\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantConditionalExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSTestFailedLine", + "shortDescription": { + "text": "Highlight failure line in test code" + }, + "fullDescription": { + "text": "Reports a failed method call or an assertion in a test.", + "markdown": "Reports a failed method call or an assertion in a test." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSTestFailedLine", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Unit testing", + "index": 116, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IfStatementWithTooManyBranchesJS", + "shortDescription": { + "text": "'if' statement with too many branches" + }, + "fullDescription": { + "text": "Reports an 'if' statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction. Use the field below to specify the maximum number of branches expected.", + "markdown": "Reports an `if` statement with too many branches. Such statements may be confusing, and often indicate inadequate levels of design abstraction.\n\n\nUse the field below to specify the maximum number of branches expected." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IfStatementWithTooManyBranchesJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BreakStatementJS", + "shortDescription": { + "text": "'break' statement" + }, + "fullDescription": { + "text": "Reports a 'break' statements. Ignores 'break' statements that end case blocks.", + "markdown": "Reports a `break` statements. Ignores `break` statements that end case blocks." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "BreakStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DebuggerStatementJS", + "shortDescription": { + "text": "'debugger' statement" + }, + "fullDescription": { + "text": "Reports a 'debugger' statement used for interaction with the Javascript debuggers. Such statements should not appear in production code.", + "markdown": "Reports a `debugger` statement used for interaction with the Javascript debuggers. Such statements should not appear in production code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DebuggerStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AssignmentToForLoopParameterJS", + "shortDescription": { + "text": "Assignment to 'for' loop parameter" + }, + "fullDescription": { + "text": "Reports an assignment to a variable declared as a 'for' loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error.", + "markdown": "Reports an assignment to a variable declared as a `for` loop parameter. Although occasionally intended, this construct can be extremely confusing, and is often a result of an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "AssignmentToForLoopParameterJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Assignment issues", + "index": 95, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ConditionalExpressionJS", + "shortDescription": { + "text": "Conditional expression" + }, + "fullDescription": { + "text": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit 'if' statements.", + "markdown": "Reports a ternary conditional expression. Some coding standards prohibit such expressions in favor of explicit `if` statements." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ConditionalExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PointlessBooleanExpressionJS", + "shortDescription": { + "text": "Pointless statement or boolean expression" + }, + "fullDescription": { + "text": "Reports a pointless or pointlessly complicated boolean expression or statement. Example: 'let a = !(false && x);\n let b = false || x;' After the quick fix is applied the result looks like: 'let a = true;\n let b = x;'", + "markdown": "Reports a pointless or pointlessly complicated boolean expression or statement.\n\nExample:\n\n\n let a = !(false && x);\n let b = false || x;\n\nAfter the quick fix is applied the result looks like:\n\n\n let a = true;\n let b = x;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PointlessBooleanExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUrlImportUsage", + "shortDescription": { + "text": "URL import is used" + }, + "fullDescription": { + "text": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. URLs in import specifiers are supported only for ECMAScript modules in the JavaScript language.", + "markdown": "Checks used URL imports in the JavaScript language. Suggests downloading the module for the specified remote URL. Such association enables the IDE to provide proper code completion and navigation. \n\nURLs in import specifiers are supported only for ECMAScript modules in the JavaScript language." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSUrlImportUsage", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryLabelOnContinueStatementJS", + "shortDescription": { + "text": "Unnecessary label on 'continue' statement" + }, + "fullDescription": { + "text": "Reports a labeled 'continue' statement whose labels may be removed without changing the flow of control.", + "markdown": "Reports a labeled `continue` statement whose labels may be removed without changing the flow of control." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryLabelOnContinueStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess", + "shortDescription": { + "text": "Possibly incorrect target of indexed property access" + }, + "fullDescription": { + "text": "Reports a potentially invalid indexed property access, for example, 'Array[1]'.", + "markdown": "Reports a potentially invalid indexed property access, for example, `Array[1]`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSPotentiallyInvalidTargetOfIndexedPropertyAccess", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSTypeOfValues", + "shortDescription": { + "text": "'typeof' comparison with non-standard value" + }, + "fullDescription": { + "text": "Reports a comparison of a 'typeof' expression with a literal string which is not one of the standard types: 'undefined', 'object', 'boolean', 'number', 'string', 'function', or 'symbol'. Such comparisons always return 'false'.", + "markdown": "Reports a comparison of a `typeof` expression with a literal string which is not one of the standard types: `undefined`, `object`, `boolean`, `number`, `string`, `function`, or `symbol`. Such comparisons always return `false`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSTypeOfValues", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptValidateJSTypes", + "shortDescription": { + "text": "Type mismatch in 'any' type" + }, + "fullDescription": { + "text": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the 'any' type. declare var test: any;\ntest.hasOwnProperty(true); //reports 'true'", + "markdown": "Reports a function call with a parameter, return value, or assigned expression or incorrect type, if the context symbol can be implicitly resolved to the `any` type.\n\n```\ndeclare var test: any;\ntest.hasOwnProperty(true); //reports 'true'\n```" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptValidateJSTypes", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XHTMLIncompatabilitiesJS", + "shortDescription": { + "text": "Incompatible XHTML usages" + }, + "fullDescription": { + "text": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include document.body, document.images, document.applets, document.links, document.forms, and document.anchors.", + "markdown": "Reports common JavaScript DOM patterns which may present problems with XHTML documents. In particular, the patterns detected will behave completely differently depending on whether the document is loaded as XML or HTML. This can result in subtle bugs where script behaviour is dependent on the MIME-type of the document, rather than its content. Patterns detected include **document.body** , **document.images** , **document.applets** , **document.links** , **document.forms** , and **document.anchors**." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XHTMLIncompatabilitiesJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/DOM issues", + "index": 46, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSAnnotator", + "shortDescription": { + "text": "ECMAScript specification is not followed" + }, + "fullDescription": { + "text": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. Generally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors.", + "markdown": "Reports basic syntax issues and inconsistencies with language specification, such as invalid usages of keywords, usages of incompatible numeric format, or multiple parameters to getters/setters. \nGenerally, such errors must always be reported and shouldn't be disabled. But in some cases, such as issues due to the dynamic nature of JavaScript, the use of not yet supported language features, or bugs in IDE's checker, it may be handy to disable reporting these very basic errors." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JSAnnotator", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ConvertToForOf", + "shortDescription": { + "text": "'for..in' is used instead of 'for..of'" + }, + "fullDescription": { + "text": "Reports a usage of a 'for..in' loop on an array. Suggests replacing it with a 'for..of' loop. 'for..of' loops, which are introduced in ECMAScript 6, iterate over 'iterable' objects. For arrays, this structure is preferable to 'for..in', because it works only with array values but not with array object's properties.", + "markdown": "Reports a usage of a [for..in](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...in) loop on an array. Suggests replacing it with a [for..of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of) loop. \n`for..of` loops, which are introduced in ECMAScript 6, iterate over `iterable` objects. For arrays, this structure is preferable to `for..in`, because it works only with array values but not with array object's properties." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ConvertToForOf", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/ES2015 migration aids", + "index": 44, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ThisExpressionReferencesGlobalObjectJS", + "shortDescription": { + "text": "'this' expression which references the global object" + }, + "fullDescription": { + "text": "Reports a 'this' expression outside an object literal or a constructor body. Such 'this' expressions reference the top-level \"global\" JavaScript object, but are mostly useless.", + "markdown": "Reports a `this` expression outside an object literal or a constructor body. Such `this` expressions reference the top-level \"global\" JavaScript object, but are mostly useless." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ThisExpressionReferencesGlobalObjectJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedFunctionCallJS", + "shortDescription": { + "text": "Nested function call" + }, + "fullDescription": { + "text": "Reports a function call that is used as an argument in another function call, for example, 'foo(bar())'", + "markdown": "Reports a function call that is used as an argument in another function call, for example, `foo(bar())`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NestedFunctionCallJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSEqualityComparisonWithCoercion", + "shortDescription": { + "text": "Equality operator may cause type coercion" + }, + "fullDescription": { + "text": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing '==' and '!=' with type-safe equality operators '===' and '!=='. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.", + "markdown": "Reports a usage of an equality operator that may cause unexpected type coercions. Suggests replacing `==` and `!=` with type-safe equality operators `===` and `!==`.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EqualityComparisonWithCoercionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSNonStrictModeUsed", + "shortDescription": { + "text": "Non-strict mode used" + }, + "fullDescription": { + "text": "Reports a JavaScript file that is not in the 'strict' mode.", + "markdown": "Reports a JavaScript file that is not in the `strict` mode." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSNonStrictModeUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptExplicitMemberType", + "shortDescription": { + "text": "Explicit types" + }, + "fullDescription": { + "text": "Reports a type annotation that doesn't match the current code style for explicit types. Type declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example: 'var pi: number = 3.14' In some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit.", + "markdown": "Reports a type annotation that doesn't match the current code style for explicit types.\n\n\nType declarations are not necessary when the type that is inferred from the context exactly matches the type annotation, for example:\n\n\n var pi: number = 3.14\n\nIn some cases it is preferable to always have explicit types - this prevents accidental type changes and makes code more explicit." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptExplicitMemberType", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSDuplicateCaseLabel", + "shortDescription": { + "text": "Duplicate 'case' label" + }, + "fullDescription": { + "text": "Reports a duplicated 'case' label on a 'switch' statement, which normally indicates an error.", + "markdown": "Reports a duplicated `case` label on a `switch` statement, which normally indicates an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSDuplicateCaseLabel", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSXDomNesting", + "shortDescription": { + "text": "Invalid DOM element nesting" + }, + "fullDescription": { + "text": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements.", + "markdown": "Detects HTML elements in JSX files which are not nested properly according to the DOM specification. React reports runtime warnings on incorrectly nested elements." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSXDomNesting", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/React", + "index": 135, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryLocalVariableJS", + "shortDescription": { + "text": "Redundant local variable" + }, + "fullDescription": { + "text": "Reports an unnecessary local variable that does not make a function more comprehensible: a local variable that is immediately returned a local variable that is immediately assigned to another variable and is not used anymore a local variable that always has the same value as another local variable or parameter. Use the checkbox below to have this inspection ignore variables that are immediately returned or thrown. Some coding styles suggest using such variables for clarity and ease of debugging.", + "markdown": "Reports an unnecessary local variable that does not make a function more comprehensible:\n\n* a local variable that is immediately returned\n* a local variable that is immediately assigned to another variable and is not used anymore\n* a local variable that always has the same value as another local variable or parameter.\n\n\nUse the checkbox below to have this inspection ignore variables that are immediately\nreturned or thrown. Some coding styles suggest using such variables for clarity and\nease of debugging." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryLocalVariableJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Data flow", + "index": 99, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSXUnresolvedComponent", + "shortDescription": { + "text": "Unresolved JSX component" + }, + "fullDescription": { + "text": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name. The template for a new component can be modified in Editor | File and Code Templates.", + "markdown": "Reports an unresolved reference to a JSX component. Suggests adding a missing import statement if the referenced component is defined in the project or its dependencies or creating a new component with this name.\n\nThe template for a new component can be modified in Editor \\| File and Code Templates." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSXUnresolvedComponent", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnnecessaryLabelOnBreakStatementJS", + "shortDescription": { + "text": "Unnecessary label on 'break' statement" + }, + "fullDescription": { + "text": "Reports a labeled 'break' statement whose labels may be removed without changing the flow of control.", + "markdown": "Reports a labeled `break` statement whose labels may be removed without changing the flow of control." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnnecessaryLabelOnBreakStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DivideByZeroJS", + "shortDescription": { + "text": "Division by zero" + }, + "fullDescription": { + "text": "Reports division by zero or a remainder by zero.", + "markdown": "Reports division by zero or a remainder by zero." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DivideByZeroJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ChainedEqualityJS", + "shortDescription": { + "text": "Chained equality" + }, + "fullDescription": { + "text": "Reports a chained equality comparison (i.e. 'a==b==c'). Such comparisons are confusing.", + "markdown": "Reports a chained equality comparison (i.e. `a==b==c`). Such comparisons are confusing." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ChainedEqualityComparisonsJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSRedundantSwitchStatement", + "shortDescription": { + "text": "'switch' statement is redundant and can be replaced" + }, + "fullDescription": { + "text": "Reports a 'switch' statement with an empty body, or with only one 'case' branch, or with a 'default' branch only.", + "markdown": "Reports a `switch` statement with an empty body, or with only one `case` branch, or with a `default` branch only." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSRedundantSwitchStatement", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "BlockStatementJS", + "shortDescription": { + "text": "Unnecessary block statement" + }, + "fullDescription": { + "text": "Reports a block statement that is not used as the body of 'if', 'for', 'while', 'do', 'with', or 'try' statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for 'let' and 'const' variables, but still free-standing block statements may be confusing and result in subtle bugs when used with 'var' variables.", + "markdown": "Reports a block statement that is not used as the body of `if`, `for`, `while`, `do`, `with`, or `try` statements, or as the body of a function declaration. Starting from ECMAScript 6, JavaScript blocks introduce new scopes for `let` and `const` variables, but still free-standing block statements may be confusing and result in subtle bugs when used with `var` variables." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "BlockStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TextLabelInSwitchStatementJS", + "shortDescription": { + "text": "Text label in 'switch' statement" + }, + "fullDescription": { + "text": "Reports a labeled statement inside a 'switch' statement, which often results from a typo. Example: 'switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }'", + "markdown": "Reports a labeled statement inside a `switch` statement, which often results from a typo.\n\nExample:\n\n\n switch(x)\n {\n case 1:\n case2: //typo!\n case 3:\n break;\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TextLabelInSwitchStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSOctalInteger", + "shortDescription": { + "text": "Octal integer" + }, + "fullDescription": { + "text": "Reports a deprecated octal integer literal prefixed with '0' instead of '0o'. Such literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. To force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below.", + "markdown": "Reports a deprecated octal integer literal prefixed with `0` instead of `0o`. \nSuch literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error. \nTo force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JSOctalInteger", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyTryBlockJS", + "shortDescription": { + "text": "Empty 'try' block" + }, + "fullDescription": { + "text": "Reports an empty 'try' block, which usually indicates an error.", + "markdown": "Reports an empty `try` block, which usually indicates an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EmptyTryBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "FlowJSCoverage", + "shortDescription": { + "text": "Code is not covered by Flow" + }, + "fullDescription": { + "text": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in Settings | Languages & Frameworks | JavaScript.", + "markdown": "Reports JavaScript code fragments that are not covered by the Flow type checker. To use this inspection, configure the Flow executable in [Settings \\| Languages \\& Frameworks \\| JavaScript](settings://Settings.JavaScript)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "FlowJSCoverage", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Flow type checker", + "index": 11, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSIgnoredPromiseFromCall", + "shortDescription": { + "text": "Result of method call returning a promise is ignored" + }, + "fullDescription": { + "text": "Reports a function call that returns a 'Promise' that is not used later. Such calls are usually unintended and indicate an error.", + "markdown": "Reports a function call that returns a `Promise` that is not used later. Such calls are usually unintended and indicate an error." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSIgnoredPromiseFromCall", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Async code and promises", + "index": 93, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StringLiteralBreaksHTMLJS", + "shortDescription": { + "text": "String literal which breaks HTML parsing" + }, + "fullDescription": { + "text": "Reports a string literal that contains a '\n\nThe following usages are ignored:\n\n* Inside a return statement\n* In some binary operations\n* For overridden non-void functions" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSVoidFunctionReturnValueUsed", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ReturnFromFinallyBlockJS", + "shortDescription": { + "text": "'return' inside 'finally' block" + }, + "fullDescription": { + "text": "Reports a 'return' statement inside a 'finally' block. Such 'return' statements may mask exceptions thrown, and complicate debugging.", + "markdown": "Reports a `return` statement inside a `finally` block. Such `return` statements may mask exceptions thrown, and complicate debugging." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ReturnInsideFinallyBlockJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Try statement issues", + "index": 87, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StatementsPerFunctionJS", + "shortDescription": { + "text": "Overly long function" + }, + "fullDescription": { + "text": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test. Use the field below to specify the maximum acceptable number of statements in a function.", + "markdown": "Reports an overly long function. Function length is calculated by counting up the number of non-empty statements in the function. Functions that are too long are error-prone and difficult to test.\n\n\nUse the field below to specify the maximum acceptable number of statements in a function." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "FunctionTooLongJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ContinueStatementWithLabelJS", + "shortDescription": { + "text": "'continue' statement with label" + }, + "fullDescription": { + "text": "Reports a labeled 'continue' statement.", + "markdown": "Reports a labeled `continue` statement." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ContinueStatementWithLabelJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptMissingConfigOption", + "shortDescription": { + "text": "Missing tsconfig.json option " + }, + "fullDescription": { + "text": "Reports a usage that requires an explicit option in 'tsconfig.json'. For example, to use JSX in '.tsx' files, 'tsconfig.json' must contain '\"jsx\"' property.", + "markdown": "Reports a usage that requires an explicit option in `tsconfig.json`. For example, to use JSX in `.tsx` files, `tsconfig.json` must contain `\"jsx\"` property." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TypeScriptMissingConfigOption", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6ShorthandObjectProperty", + "shortDescription": { + "text": "Property can be replaced with shorthand" + }, + "fullDescription": { + "text": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it. Example: 'var obj = {foo:foo}' After applying the quick-fix the code looks as follows: 'var obj = {foo}'", + "markdown": "Reports an object property that can be converted to ES6 shorthand style and provides a quick-fix to do it.\n\nExample:\n\n\n var obj = {foo:foo}\n\nAfter applying the quick-fix the code looks as follows:\n\n\n var obj = {foo}\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6ShorthandObjectProperty", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSPotentiallyInvalidConstructorUsage", + "shortDescription": { + "text": "Potentially invalid constructor usage" + }, + "fullDescription": { + "text": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after 'new', using a constructor's prototype or calling a constructor without 'new'. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc '@constructor' tag.", + "markdown": "Reports a usage of a potentially invalid constructor function, for example: a function that is not a constructor after `new`, using a constructor's prototype or calling a constructor without `new`. A constructor function is assumed to have an upper case name (optional) or have an explicit JSDoc `@constructor` tag." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSPotentiallyInvalidConstructorUsage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NodeCoreCodingAssistance", + "shortDescription": { + "text": "Unresolved Node.js APIs" + }, + "fullDescription": { + "text": "Suggests configuring coding assistance for Node.js, for example, 'require' and/or core modules ('path', 'http', 'fs', etc.). See https://nodejs.org/api/ for the complete list.", + "markdown": "Suggests configuring coding assistance for Node.js, for example, `require` and/or core modules ('path', 'http', 'fs', etc.).\n\n\nSee for the complete list." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NodeCoreCodingAssistance", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Node.js", + "index": 142, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSPrimitiveTypeWrapperUsage", + "shortDescription": { + "text": "Primitive type object wrapper used" + }, + "fullDescription": { + "text": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost.", + "markdown": "Reports an improper usage of a wrapper for primitive types or a property of a primitive type being modified, as in the latter case the assigned value will be lost." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSPrimitiveTypeWrapperUsage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSLastCommaInArrayLiteral", + "shortDescription": { + "text": "Unneeded last comma in array literal" + }, + "fullDescription": { + "text": "Reports a usage of a trailing comma in an array literal. The warning is reported only when the JavaScript language version is set to ECMAScript 5.1. Although trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used. You can configure formatting options for trailing commas in Code Style | JavaScript or TypeScript | Punctuation.", + "markdown": "Reports a usage of a trailing comma in an array literal.\n\nThe warning is reported only when the JavaScript language version is set to ECMAScript 5.1.\n\nAlthough trailing commas in arrays are allowed by the specification, some browsers may throw an error when a trailing comma is used.\n\nYou can configure formatting options for trailing commas in **Code Style** \\| **JavaScript** or **TypeScript** \\| **Punctuation**." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSLastCommaInArrayLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NegatedConditionalExpressionJS", + "shortDescription": { + "text": "Negated conditional expression" + }, + "fullDescription": { + "text": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: '!condition ? 2 : 1'", + "markdown": "Reports a conditional expression whose condition is negated. Suggests flipping the order of branches in the conditional expression to increase the clarity of the statement. Example: `!condition ? 2 : 1`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NegatedConditionalExpressionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LabeledStatementJS", + "shortDescription": { + "text": "Labeled statement" + }, + "fullDescription": { + "text": "Reports a labeled statement.", + "markdown": "Reports a labeled statement." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LabeledStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WithStatementJS", + "shortDescription": { + "text": "'with' statement" + }, + "fullDescription": { + "text": "Reports a 'with' statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables.", + "markdown": "Reports a `with` statements. Such statements result in potentially confusing implicit bindings, and may behave strangely in setting new variables." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "WithStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially undesirable code constructs", + "index": 29, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSConstantReassignment", + "shortDescription": { + "text": "Attempt to assign to const or readonly variable" + }, + "fullDescription": { + "text": "Reports reassigning a value to a constant or a readonly variable.", + "markdown": "Reports reassigning a value to a constant or a readonly variable." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JSConstantReassignment", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Validity issues", + "index": 20, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MagicNumberJS", + "shortDescription": { + "text": "Magic number" + }, + "fullDescription": { + "text": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored.", + "markdown": "Reports a \"magic number\" that is a numeric literal used without being named by a constant declaration. Magic numbers can result in code whose intention is unclear, and may result in errors if a magic number is changed in one code location but remains unchanged in another. The numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000, 0.0 and 1.0 are ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MagicNumberJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptLibrary", + "shortDescription": { + "text": "Missing global library" + }, + "fullDescription": { + "text": "Reports a TypeScript library file that is required for a symbol but is not listed under the 'lib' compiler option in 'tsconfig.json'.", + "markdown": "Reports a TypeScript library file that is required for a symbol but is not listed under the `lib` compiler option in `tsconfig.json`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "TypeScriptLibrary", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptMissingAugmentationImport", + "shortDescription": { + "text": "Missing augmentation import" + }, + "fullDescription": { + "text": "Reports a usage from augmentation module without an explicit import.", + "markdown": "Reports a usage from [augmentation module](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation) without an explicit import." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TypeScriptMissingAugmentationImport", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Eslint", + "shortDescription": { + "text": "ESLint" + }, + "fullDescription": { + "text": "Reports a discrepancy detected by the ESLint linter. The highlighting is based on the rule severity specified in the ESLint configuration file for each individual rule. Clear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules.", + "markdown": "Reports a discrepancy detected by the [ESLint](https://eslint.org) linter. \n\nThe highlighting is based on the rule severity specified in the [ESLint configuration file](https://eslint.org/docs/user-guide/configuring) for each individual rule. \n\nClear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all ESLint rules." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "Eslint", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code quality tools", + "index": 61, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSEqualityComparisonWithCoercion.TS", + "shortDescription": { + "text": "Equality operator may cause type coercion" + }, + "fullDescription": { + "text": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing '==' or '!=' equality operators with type-safe '===' or '!==' operators. Depending on the option selected, one of the following cases will be reported: All usages of '==' and '!=' operators. All usages except comparison with null. Some code styles allow using 'x == null' as a replacement for 'x === null || x === undefined'. Only suspicious expressions, such as: '==' or '!=' comparisons with '0', '''', 'null', 'true', 'false', or 'undefined'.", + "markdown": "Reports a usage of equality operators may cause unexpected type coercions. Suggests replacing `==` or `!=` equality operators with type-safe `===` or `!==` operators.\n\nDepending on the option selected, one of the following cases will be reported:\n\n* All usages of `==` and `!=` operators.\n* All usages except comparison with null. Some code styles allow using `x == null` as a replacement for `x === null || x === undefined`.\n* Only suspicious expressions, such as: `==` or `!=` comparisons with `0`, `''`, `null`, `true`, `false`, or `undefined`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EqualityComparisonWithCoercionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PackageJsonMismatchedDependency", + "shortDescription": { + "text": "Mismatched dependencies in package.json" + }, + "fullDescription": { + "text": "Reports a dependency from package.json that is not installed or doesn't match the specified version range.", + "markdown": "Reports a dependency from package.json that is not installed or doesn't match the specified [version range](https://docs.npmjs.com/about-semantic-versioning)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PackageJsonMismatchedDependency", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Imports and dependencies", + "index": 106, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "InfiniteLoopJS", + "shortDescription": { + "text": "Infinite loop statement" + }, + "fullDescription": { + "text": "Reports a 'for', 'while', or 'do' statement which can only exit by throwing an exception. Such statements often indicate coding errors.", + "markdown": "Reports a `for`, `while`, or `do` statement which can only exit by throwing an exception. Such statements often indicate coding errors." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "InfiniteLoopJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Probable bugs", + "index": 79, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSArrowFunctionBracesCanBeRemoved", + "shortDescription": { + "text": "Redundant braces around arrow function body" + }, + "fullDescription": { + "text": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces. 'let incrementer = (x) => {return x + 1};' After the quick-fix is applied, the code fragment looks as follows: 'let incrementer = (x) => x + 1;'", + "markdown": "Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces.\n\n\n let incrementer = (x) => {return x + 1};\n\nAfter the quick-fix is applied, the code fragment looks as follows:\n\n\n let incrementer = (x) => x + 1;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSArrowFunctionBracesCanBeRemoved", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSClassNamingConvention", + "shortDescription": { + "text": "Class naming convention" + }, + "fullDescription": { + "text": "Reports a class or a function that is annotated with a JSDoc '@constructor' or '@class' tag whose names are too short, too long, or do not follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for classes names. Use the standard 'java.util.regex' format for regular expressions.", + "markdown": "Reports a class or a function that is annotated with a JSDoc `@constructor` or `@class` tag whose names are too short, too long, or do not follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for classes names. Use the standard `java.util.regex` format for regular expressions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSClassNamingConvention", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Naming conventions", + "index": 94, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUndefinedPropertyAssignment", + "shortDescription": { + "text": "Undefined property assignment" + }, + "fullDescription": { + "text": "Reports an assignment to a property that is not defined in the type of a variable. Example: '/**\n * @type {{ property1: string, property2: number }}\n */\nlet myVariable = create();\n\nmyVariable.newProperty = 3; // bad'", + "markdown": "Reports an assignment to a property that is not defined in the type of a variable.\n\nExample:\n\n\n /**\n * @type {{ property1: string, property2: number }}\n */\n let myVariable = create();\n\n myVariable.newProperty = 3; // bad\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSUndefinedPropertyAssignment", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code style issues", + "index": 70, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSDeprecatedSymbols", + "shortDescription": { + "text": "Deprecated symbol used" + }, + "fullDescription": { + "text": "Reports a usage of a deprecated function variable.", + "markdown": "Reports a usage of a deprecated function variable." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSDeprecatedSymbols", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LocalVariableNamingConventionJS", + "shortDescription": { + "text": "Local variable naming convention" + }, + "fullDescription": { + "text": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern. Use the fields provided below to specify minimum length, maximum length, and a regular expression expected for local variables names. Use the standard 'java.util.regex' format regular expressions.", + "markdown": "Reports a local variable whose name is too short, too long, or doesn't follow the specified regular expression pattern.\n\n\nUse the fields provided below to specify minimum length, maximum length, and a regular expression\nexpected for local variables names. Use the standard `java.util.regex` format regular expressions." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LocalVariableNamingConventionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Naming conventions", + "index": 94, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnresolvedExtXType", + "shortDescription": { + "text": "Unresolved Ext JS xtype" + }, + "fullDescription": { + "text": "Reports an Ext JS 'xtype' reference that doesn't have a corresponding class.", + "markdown": "Reports an Ext JS `xtype` reference that doesn't have a corresponding class." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnresolvedExtXType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ES6RedundantNestingInTemplateLiteral", + "shortDescription": { + "text": "Redundant nesting in template literal" + }, + "fullDescription": { + "text": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string. Example: 'let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`' After applying the quick-fix the code looks as follows: 'let a = `Hello, Brave New World!`'", + "markdown": "Reports nested instances of a string or a template literal. Suggests inlining the nested instances into the containing template string.\n\nExample:\n\n\n let a = `Hello, ${`Brave ${\"New\"}`} ${\"World\"}!`\n\nAfter applying the quick-fix the code looks as follows:\n\n\n let a = `Hello, Brave New World!`\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "ES6RedundantNestingInTemplateLiteral", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestingDepthJS", + "shortDescription": { + "text": "Overly nested function" + }, + "fullDescription": { + "text": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary. Use the field provided below to specify the maximum acceptable nesting depth allowed in a function.", + "markdown": "Reports a function whose body contains statements that are too deeply nested within other statements. Such functions may be confusing and indicate that refactoring may be necessary.\n\n\nUse the field provided below to specify the maximum acceptable nesting depth allowed in a function." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "OverlyNestedFunctionJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Function metrics", + "index": 68, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TypeScriptSuspiciousConstructorParameterAssignment", + "shortDescription": { + "text": "Assigned constructor field parameter" + }, + "fullDescription": { + "text": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. In this case, the corresponding field won't be assigned, only the local parameter value is modified. 'class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n}'", + "markdown": "Reports a common mistake in TypeScript code, when a class field is declared as a constructor parameter, and then this parameter is assigned. \nIn this case, the corresponding field *won't* be assigned, only the local parameter value is modified.\n\n\n class Foo {\n constructor(private p: number) {\n p = 1; //must be this.p = 1;\n }\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TypeScriptSuspiciousConstructorParameterAssignment", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/TypeScript", + "index": 49, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "NestedSwitchStatementJS", + "shortDescription": { + "text": "Nested 'switch' statement" + }, + "fullDescription": { + "text": "Reports a 'switch' statement that is nested in another 'switch' statement. Nested 'switch' statements may be very confusing, particularly if indenting is inconsistent.", + "markdown": "Reports a `switch` statement that is nested in another `switch` statement. Nested `switch` statements may be very confusing, particularly if indenting is inconsistent." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "NestedSwitchStatementJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSMissingSwitchBranches", + "shortDescription": { + "text": "'switch' statement has missing branches" + }, + "fullDescription": { + "text": "Reports a 'switch' statement on a variable of the type 'enum' or 'union' when the statement doesn't cover some value options from the type.", + "markdown": "Reports a `switch` statement on a variable of the type `enum` or `union` when the statement doesn't cover some value options from the type." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "JSMissingSwitchBranches", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Switch statement issues", + "index": 96, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSJQueryEfficiency", + "shortDescription": { + "text": "JQuery selector can be optimized" + }, + "fullDescription": { + "text": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional).", + "markdown": "Reports a duplicated jQuery selector that can be cached or a usage of an attribute or a pseudo-selector (optional)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSJQueryEfficiency", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnreachableCodeJS", + "shortDescription": { + "text": "Unreachable code" + }, + "fullDescription": { + "text": "Reports code that can never be executed, which almost certainly indicates an error", + "markdown": "Reports code that can never be executed, which almost certainly indicates an error" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnreachableCodeJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Control flow issues", + "index": 58, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EmptyStatementBodyJS", + "shortDescription": { + "text": "Statement with empty body" + }, + "fullDescription": { + "text": "Reports an 'if', 'while', 'for', or 'with' statement with an empty body. Such statements often result from typos, and may cause confusion. Use the checkbox below to specify whether the statements with empty block statements as bodies should be reported.", + "markdown": "Reports an `if`, `while`, `for`, or `with` statement with an empty body. Such statements often result from typos, and may cause confusion.\n\n\nUse the checkbox below to specify whether the statements with empty block statements as bodies\nshould be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "StatementWithEmptyBodyJS", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Potentially confusing code constructs", + "index": 54, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "JSUnusedLocalSymbols", + "shortDescription": { + "text": "Unused local symbol" + }, + "fullDescription": { + "text": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration.", + "markdown": "Reports an unused locally accessible parameter, local variable, function, class, or private member declaration." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JSUnusedLocalSymbols", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Unused symbols", + "index": 104, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.intellij.plugins.postcss", + "version": "232.9083.8", + "rules": [ + { + "id": "PostCssUnresolvedModuleValueReference", + "shortDescription": { + "text": "Unresolved CSS module value" + }, + "fullDescription": { + "text": "Reports an unresolved reference to a CSS Module Value ('@value' declaration). Example: '@value foo from unknown;'", + "markdown": "Reports an unresolved reference to a [CSS Module Value](https://github.com/css-modules/postcss-modules-values) (`@value` declaration).\n\nExample:\n\n\n @value foo from unknown;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "PostCssUnresolvedModuleValueReference", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "PostCSS", + "index": 13, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostCssNesting", + "shortDescription": { + "text": "Invalid nested rule" + }, + "fullDescription": { + "text": "Reports a nested style rule whose syntax doesn't comply with the PostCSS Nested or the PostCSS Nesting specification. Example: '.phone {\n &_title {}\n}'", + "markdown": "Reports a nested style rule whose syntax doesn't comply with the [PostCSS Nested](https://github.com/postcss/postcss-nested) or the [PostCSS Nesting](https://github.com/csstools/postcss-nesting) specification.\n\nExample:\n\n\n .phone {\n &_title {}\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PostCssNesting", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "PostCSS", + "index": 13, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostCssCustomMedia", + "shortDescription": { + "text": "Invalid custom media" + }, + "fullDescription": { + "text": "Reports a syntax error in a PostCSS Custom Media query. Example: '@custom-media --small-viewport (max-width: 30em);'", + "markdown": "Reports a syntax error in a [PostCSS Custom Media](https://github.com/postcss/postcss-custom-media) query.\n\nExample:\n\n\n @custom-media --small-viewport (max-width: 30em);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "PostCssCustomMedia", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "PostCSS", + "index": 13, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostCssCustomSelector", + "shortDescription": { + "text": "Invalid custom selector" + }, + "fullDescription": { + "text": "Reports a syntax error in PostCSS Custom Selector. Example: '@custom-selector :--heading h1, h2, h3;'", + "markdown": "Reports a syntax error in [PostCSS Custom Selector](https://github.com/postcss/postcss-custom-selectors).\n\nExample:\n\n\n @custom-selector :--heading h1, h2, h3;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "PostCssCustomSelector", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "PostCSS", + "index": 13, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PostCssMediaRange", + "shortDescription": { + "text": "Invalid media query range" + }, + "fullDescription": { + "text": "Checks range context syntax, which may alternatively be used for media features with a 'range' type. Example: '@media screen and (500px <= width <= 1200px) {}'", + "markdown": "Checks [range context](https://github.com/postcss/postcss-media-minmax) syntax, which may alternatively be used for media features with a 'range' type.\n\nExample:\n\n\n @media screen and (500px <= width <= 1200px) {}\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "PostCssMediaRange", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "PostCSS", + "index": 13, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.editorconfig.editorconfigjetbrains", + "version": "232.9083.8", + "rules": [ + { + "id": "EditorConfigNumerousWildcards", + "shortDescription": { + "text": "Too many wildcards" + }, + "fullDescription": { + "text": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues.", + "markdown": "Reports sections that contain too many wildcards. Using a lot of wildcards may lead to performance issues." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "EditorConfigNumerousWildcards", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigKeyCorrectness", + "shortDescription": { + "text": "Unknown property" + }, + "fullDescription": { + "text": "Reports properties that are not supported by the IDE. Note: some “ij” domain properties may require specific language plugins.", + "markdown": "Reports properties that are not supported by the IDE. Note: some \"ij\" domain properties may require specific language plugins." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigKeyCorrectness", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigEncoding", + "shortDescription": { + "text": "File encoding doesn't match EditorConfig charset" + }, + "fullDescription": { + "text": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file.", + "markdown": "Checks that current file encoding matches the encoding defined in \"charset\" property of .editorconfig file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigEncoding", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigEmptyHeader", + "shortDescription": { + "text": "Empty header" + }, + "fullDescription": { + "text": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by 'gitignore'.", + "markdown": "Reports sections with an empty header. Section header must contain file path globs in the format similar to one supported by `gitignore`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigEmptyHeader", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigSpaceInHeader", + "shortDescription": { + "text": "Space in file pattern" + }, + "fullDescription": { + "text": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed.", + "markdown": "Reports space characters in wildcard patterns that affect pattern matching. If these characters are not intentional, they should be removed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "EditorConfigSpaceInHeader", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigOptionRedundancy", + "shortDescription": { + "text": "Redundant property" + }, + "fullDescription": { + "text": "Reports properties that are redundant when another applicable section already contains the same property and value. For example: '[*]\nindent_size=4\n[*.java]\nindent_size=4' are both applicable to '*.java' files and define the same 'indent_size' value.", + "markdown": "Reports properties that are redundant when another applicable section already contains the same property and value.\n\n\nFor example:\n\n\n [*]\n indent_size=4\n [*.java]\n indent_size=4\n\nare both applicable to `*.java` files and define the same `indent_size` value." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigOptionRedundancy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigWildcardRedundancy", + "shortDescription": { + "text": "Redundant wildcard" + }, + "fullDescription": { + "text": "Reports wildcards that become redundant when the “**” wildcard is used in the same section. The “**” wildcard defines a broader set of files than any other wildcard. That is why, any other wildcard used in the same section has no affect and can be removed.", + "markdown": "Reports wildcards that become redundant when the \"\\*\\*\" wildcard is used in the same section.\n\n\nThe \"\\*\\*\" wildcard defines a broader set of files than any other wildcard.\nThat is why, any other wildcard used in the same section has no affect and can be removed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigWildcardRedundancy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigUnusedDeclaration", + "shortDescription": { + "text": "Unused declaration" + }, + "fullDescription": { + "text": "Reports unused declarations. Such declarations can be removed.", + "markdown": "Reports unused declarations. Such declarations can be removed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigUnusedDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigRootDeclarationUniqueness", + "shortDescription": { + "text": "Extra top-level declaration" + }, + "fullDescription": { + "text": "Reports multiple top-level declarations. There can be only one optional “root=true” top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed.", + "markdown": "Reports multiple top-level declarations. There can be only one optional \"root=true\" top-level declaration in the EditorConfig file. Using multiple top-level declarations is not allowed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigRootDeclarationUniqueness", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigShadowedOption", + "shortDescription": { + "text": "Overridden property" + }, + "fullDescription": { + "text": "Reports properties that are already defined in other sections. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes all '*.java' files too but it also redefines indent_size. As a result the value 2 will be used for files matching '*.java'.", + "markdown": "Reports properties that are already defined in other sections.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes all `*.java` files too but it also redefines indent_size. As a result the value 2 will be used for files matching `*.java`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigShadowedOption", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigValueUniqueness", + "shortDescription": { + "text": "Non-unique list value" + }, + "fullDescription": { + "text": "Reports duplicates in lists of values.", + "markdown": "Reports duplicates in lists of values." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigValueUniqueness", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigUnexpectedComma", + "shortDescription": { + "text": "Unexpected comma" + }, + "fullDescription": { + "text": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists.", + "markdown": "Reports commas that cannot be used in the current context. Commas are allowed only as separators for values in lists." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigUnexpectedComma", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigShadowingOption", + "shortDescription": { + "text": "Overriding property" + }, + "fullDescription": { + "text": "Reports properties that override the same properties defined earlier in the file. For example: '[*.java]\nindent_size=4\n[{*.java,*.js}]\nindent_size=2' The second section includes the same files as '[*.java]' but also sets indent_size to value 2. Thus the first declaration 'indent_size=4'will be ignored.", + "markdown": "Reports properties that override the same properties defined earlier in the file.\n\nFor example:\n\n\n [*.java]\n indent_size=4\n [{*.java,*.js}]\n indent_size=2\n\nThe second section includes the same files as `[*.java]` but also sets indent_size to value 2. Thus the first declaration `indent_size=4`will be ignored." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigShadowingOption", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigReferenceCorrectness", + "shortDescription": { + "text": "Invalid reference" + }, + "fullDescription": { + "text": "Reports identifiers that are either unknown or have a wrong type.", + "markdown": "Reports identifiers that are either unknown or have a wrong type." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigReferenceCorrectness", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigCharClassLetterRedundancy", + "shortDescription": { + "text": "Duplicate character class letter" + }, + "fullDescription": { + "text": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example '[aa]'.", + "markdown": "Reports wildcard patterns in the EditorConfig section that contain a duplicate character in the character class, for example `[aa]`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigCharClassLetterRedundancy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigMissingRequiredDeclaration", + "shortDescription": { + "text": "Required declarations are missing" + }, + "fullDescription": { + "text": "Reports properties that miss the required declarations. Refer to the documentation for more information.", + "markdown": "Reports properties that miss the required declarations. Refer to the documentation for more information." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigMissingRequiredDeclaration", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigPartialOverride", + "shortDescription": { + "text": "Overlapping sections" + }, + "fullDescription": { + "text": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: '[{foo,bar}]' and '[{foo,bas}]' both contain “foo”.", + "markdown": "Reports subsets of files specified in the current section that overlap with other subsets in other sections. For example: `[{foo,bar}]` and `[{foo,bas}]` both contain \"foo\"." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "EditorConfigPartialOverride", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigListAcceptability", + "shortDescription": { + "text": "Unexpected value list" + }, + "fullDescription": { + "text": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified.", + "markdown": "Reports lists of values that are used in properties in which lists are not supported. In this case, only a single value can be specified." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigListAcceptability", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigPatternEnumerationRedundancy", + "shortDescription": { + "text": "Unnecessary braces" + }, + "fullDescription": { + "text": "Reports pattern lists that are either empty '{}' or contain just one pattern, for example '{foo}' in contrast to a list containing multiple patterns, for example '{foo,bar}'. In this case braces are handled as a part of the name. For example, the pattern '*.{a}' will match the file 'my.{a}' but not 'my.a'.", + "markdown": "Reports pattern lists that are either empty `{}` or contain just one pattern, for example `{foo}` in contrast to a list containing multiple patterns, for example `{foo,bar}`. In this case braces are handled as a part of the name. For example, the pattern `*.{a}` will match the file `my.{a}` but not `my.a`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigPatternEnumerationRedundancy", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigPairAcceptability", + "shortDescription": { + "text": "Unexpected key-value pair" + }, + "fullDescription": { + "text": "Reports key-value pairs that are not allowed in the current context.", + "markdown": "Reports key-value pairs that are not allowed in the current context." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigPairAcceptability", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigNoMatchingFiles", + "shortDescription": { + "text": "No matching files" + }, + "fullDescription": { + "text": "Reports sections with wildcard patterns that do not match any files under the directory in which the '.editorconfig' file is located.", + "markdown": "Reports sections with wildcard patterns that do not match any files under the directory in which the `.editorconfig` file is located." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigNoMatchingFiles", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigHeaderUniqueness", + "shortDescription": { + "text": "EditorConfig section is not unique" + }, + "fullDescription": { + "text": "Reports sections that define the same file pattern as other sections.", + "markdown": "Reports sections that define the same file pattern as other sections." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigHeaderUniqueness", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigValueCorrectness", + "shortDescription": { + "text": "Invalid property value" + }, + "fullDescription": { + "text": "Reports property values that do not meet value restrictions. For example, some properties may be only “true” or “false”, others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them.", + "markdown": "Reports property values that do not meet value restrictions. For example, some properties may be only \"true\" or \"false\", others contain only integer numbers etc. If a value has a limited set of variants, use code completion to see all of them." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigValueCorrectness", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigRootDeclarationCorrectness", + "shortDescription": { + "text": "Unexpected top-level declaration" + }, + "fullDescription": { + "text": "Reports unexpected top-level declarations. Top-level declarations other than “root=true” are not allowed in the EditorConfig file.", + "markdown": "Reports unexpected top-level declarations. Top-level declarations other than \"root=true\" are not allowed in the EditorConfig file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigRootDeclarationCorrectness", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigPatternRedundancy", + "shortDescription": { + "text": "Duplicate or redundant pattern" + }, + "fullDescription": { + "text": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in '[{*.java,*}]' the first '*.java' pattern defines a narrower scope compared to '*'. That is why it is redundant and can be removed.", + "markdown": "Reports file patterns that are redundant as there already are other patterns that define the same scope of files or even a broader one. For example, in `[{*.java,*}]` the first `*.java` pattern defines a narrower scope compared to `*`. That is why it is redundant and can be removed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigPatternRedundancy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigDeprecatedDescriptor", + "shortDescription": { + "text": "Deprecated property" + }, + "fullDescription": { + "text": "Reports EditorConfig properties that are no longer supported.", + "markdown": "Reports EditorConfig properties that are no longer supported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigDeprecatedDescriptor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigCharClassRedundancy", + "shortDescription": { + "text": "Unnecessary character class" + }, + "fullDescription": { + "text": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example '[a]'→'a'.", + "markdown": "Reports character classes that consist of a single character. Such classes can be simplified to a character, for example `[a]`→`a`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigCharClassRedundancy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigEmptySection", + "shortDescription": { + "text": "Empty section" + }, + "fullDescription": { + "text": "Reports sections that do not contain any EditorConfig properties.", + "markdown": "Reports sections that do not contain any EditorConfig properties." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "EditorConfigEmptySection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "EditorConfigVerifyByCore", + "shortDescription": { + "text": "Invalid .editorconfig file" + }, + "fullDescription": { + "text": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied.", + "markdown": "Verifies the whole file using the backing EditorConfig core library and reports any failures. Any such failure would prevent EditorConfig properties from being correctly applied." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "EditorConfigVerifyByCore", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "EditorConfig", + "index": 18, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.intellij.database", + "version": "232.9083.8", + "rules": [ + { + "id": "SqlMissingReturnInspection", + "shortDescription": { + "text": "Missing return statement" + }, + "fullDescription": { + "text": "Reports functions that have no RETURN statements. Example (Oracle): 'CREATE FUNCTION foo RETURN int AS\nBEGIN\nEND;' The 'foo' function must return the integer value but the function body returns nothing. To fix the error, add a RETURN statement (for example, 'return 1;'). 'CREATE FUNCTION foo RETURN int AS\nBEGIN\n RETURN 1;\nEND;'", + "markdown": "Reports functions that have no RETURN statements.\n\nExample (Oracle):\n\n CREATE FUNCTION foo RETURN int AS\n BEGIN\n END;\n\nThe `foo` function must return the integer value but the function body returns nothing. To fix the error,\nadd a RETURN statement (for example, `return 1;`).\n\n CREATE FUNCTION foo RETURN int AS\n BEGIN\n RETURN 1;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "SqlMissingReturn", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlCaseVsIfInspection", + "shortDescription": { + "text": "Using CASE instead of conditional function and vice versa" + }, + "fullDescription": { + "text": "Reports situations when CASE and IF are interchangeable. Example (MySQL): 'SELECT CASE\nWHEN C1 IS NULL THEN 1\nELSE 0\nEND\nFROM dual;' To keep your code short, you can replace the CASE structure with IF. You can do that by applying the Replace with 'IF' call intention action. The example code will look as follows: 'SELECT IF(C1 IS NULL, 1, 0)\nFROM dual;' To revert IF to CASE, click IF and apply the Replace with CASE expression intention action.", + "markdown": "Reports situations when CASE and IF are interchangeable.\n\nExample (MySQL):\n\n SELECT CASE\n WHEN C1 IS NULL THEN 1\n ELSE 0\n END\n FROM dual;\n\nTo keep your code short, you can replace the CASE structure with IF. You can do that by applying the **Replace with 'IF' call**\nintention action. The example code will look as follows:\n\n SELECT IF(C1 IS NULL, 1, 0)\n FROM dual;\n\nTo revert IF to CASE, click IF and apply the **Replace with CASE expression** intention action." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlCaseVsIf", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlShouldBeInGroupByInspection", + "shortDescription": { + "text": "Column should be in group by clause" + }, + "fullDescription": { + "text": "Reports columns that are not in the GROUP BY clause or inside an aggregate function call. Example (Microsoft SQL Server): 'CREATE TABLE t1 (a INT, b INT);\nSELECT a, b FROM t1 GROUP BY a;' If you run the SELECT query, you will receive an error because Microsoft SQL Server expects the 'b' column in GROUP BY or used inside an aggregate function. The following two examples will fix the error. 'SELECT a, b FROM t1 GROUP BY a, b;\nSELECT a, max(b) max_b FROM t1 GROUP BY a;'", + "markdown": "Reports columns that are not in the GROUP BY clause or inside an aggregate function call.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE t1 (a INT, b INT);\n SELECT a, b FROM t1 GROUP BY a;\n\nIf you run the SELECT query, you will receive an error because Microsoft SQL Server expects the `b` column in GROUP BY or used\ninside an aggregate function. The following two examples will fix the error.\n\n SELECT a, b FROM t1 GROUP BY a, b;\n SELECT a, max(b) max_b FROM t1 GROUP BY a;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlShouldBeInGroupBy", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlMisleadingReferenceInspection", + "shortDescription": { + "text": "Misleading references" + }, + "fullDescription": { + "text": "Reports ambiguous references in SQL code. For example, when a name refer to both a table column and a routine parameter. The execution of such code might lead to errors or unexpected results due to counter-intuitive resolution logic. Usually, names with a more local scope have higher priority. Example (PostgreSQL): 'CREATE TABLE foo\n(\n id INT,\n name VARCHAR(5)\n);\nCREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n$$\nDECLARE\n b INT;\nBEGIN\n -- `name` is ambiguous as it is used as a column name and a parameter\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\nEND;\n$$ LANGUAGE plpgsql;' In PostgreSQL, you can use the '#variable_conflict' directives to explicitly specify a correct reference. For example, use '#variable_conflict use_column' to refer to a column name, or '#variable_conflict use_variable' to refer to a parameter. 'CREATE TABLE foo\n(\n id INT,\n name VARCHAR(5)\n);\nCREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n$$\n #variable_conflict use_column\nDECLARE\n b INT;\nBEGIN\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\nEND;\n$$ LANGUAGE plpgsql;'", + "markdown": "Reports ambiguous references in SQL code.\n\nFor example, when a name refer to both a table column and a routine parameter. The execution of such code might lead to errors or unexpected\nresults due to counter-intuitive resolution logic. Usually, names with a more local scope have higher priority.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo\n (\n id INT,\n name VARCHAR(5)\n );\n CREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n $$\n DECLARE\n b INT;\n BEGIN\n -- `name` is ambiguous as it is used as a column name and a parameter\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\n END;\n $$ LANGUAGE plpgsql;\n\nIn PostgreSQL, you can use the `#variable_conflict` directives to explicitly specify a correct reference. For example,\nuse `#variable_conflict use_column` to refer to a column name, or `#variable_conflict use_variable` to refer to a\nparameter.\n\n CREATE TABLE foo\n (\n id INT,\n name VARCHAR(5)\n );\n CREATE FUNCTION func(name VARCHAR(5)) RETURNS INT AS\n $$\n #variable_conflict use_column\n DECLARE\n b INT;\n BEGIN\n SELECT COUNT(*) INTO b FROM foo t WHERE t.name = name;\n RETURN b;\n END;\n $$ LANGUAGE plpgsql;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlMisleadingReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlRedundantAliasInspection", + "shortDescription": { + "text": "Redundant alias expressions" + }, + "fullDescription": { + "text": "Reports alias expressions that duplicate names of columns in tables and might be redundant. Example (PostgreSQL): 'CREATE TABLE foo(a INT, b INT);\n\nSELECT * FROM foo foo(a, b);\nSELECT * FROM foo foo(a);\nSELECT * FROM foo foo(x);\nSELECT * FROM foo foo(x, y);' The first two aliases use the same column names as in the 'foo' table. They are considered redundant because they column names are identical.", + "markdown": "Reports alias expressions that duplicate names of columns in tables and might be redundant.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT, b INT);\n\n SELECT * FROM foo foo(a, b);\n SELECT * FROM foo foo(a);\n SELECT * FROM foo foo(x);\n SELECT * FROM foo foo(x, y);\n\nThe first two aliases use the same column names as in the `foo` table. They are considered redundant because they\ncolumn names are identical." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlRedundantAlias", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlUnusedCteInspection", + "shortDescription": { + "text": "Unused common table expression" + }, + "fullDescription": { + "text": "Reports unused common table expressions (CTE) inside the query. Example (PostgreSQL): 'CREATE TABLE foo(a INT);\n\nWITH a AS (SELECT 1 AS x FROM foo)\nSELECT 1 + 2 FROM foo;' By using WITH, we create a temporary named result set with the name 'a', also known as a common table expression (CTE). But we do not use this CTE later in the code. The unused CTE is greyed out.", + "markdown": "Reports unused common table expressions (CTE) inside the query.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT);\n\n WITH a AS (SELECT 1 AS x FROM foo)\n SELECT 1 + 2 FROM foo;\n\nBy using WITH, we create a temporary named result set with the name `a`, also known as a common table expression (CTE). But\nwe do not use this CTE later in the code. The unused CTE is greyed out." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlUnusedCte", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSResolveInspection", + "shortDescription": { + "text": "Resolution problems" + }, + "fullDescription": { + "text": "Reports unresolved references in MongoDB and JavaScript code. Example: 'db\nuse foo\n -- a reference to a non-existing collection\ndb.non_existing_collection\ndb['non_existing_collection']\ndb['non_existing_collection'].find().hasNext()' The 'non_existing_collection' collection does not exist in the database and will be reported.", + "markdown": "Reports unresolved references in MongoDB and JavaScript code.\n\nExample:\n\n db\n use foo\n -- a reference to a non-existing collection\n db.non_existing_collection\n db['non_existing_collection']\n db['non_existing_collection'].find().hasNext()\n\nThe `non_existing_collection` collection does not exist in the database and will be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSResolve", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDialectInspection", + "shortDescription": { + "text": "SQL dialect detection" + }, + "fullDescription": { + "text": "Reports situations when a dialect is not assigned to an SQL file. For example, when you open a new SQL file without assigning a dialect to it, you see a notification where the best matching dialect is advised. Click the Use link to use the advised dialect. Alternatively, click the Change dialect to link to select the other dialect.", + "markdown": "Reports situations when a dialect is not assigned to an SQL file.\n\nFor example, when you open a new SQL file without assigning a dialect\nto it, you see a notification where the best matching dialect is advised. Click the **Use \\** link to use the advised\ndialect. Alternatively, click the **Change dialect to** link to select the other dialect." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDialectInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSExtDeprecationInspection", + "shortDescription": { + "text": "Deprecated element" + }, + "fullDescription": { + "text": "Reports usages of deprecated methods in MongoDB and JavaScript code. The quick-fix replaces deprecated methods with recommended alternatives. Example: 'db.my_collection.insert()' After the quick-fix is applied: 'db.my_collection.insertOne()'", + "markdown": "Reports usages of deprecated methods in MongoDB and JavaScript code.\n\nThe quick-fix replaces deprecated methods with recommended alternatives.\n\nExample:\n\n\n db.my_collection.insert()\n\nAfter the quick-fix is applied:\n\n\n db.my_collection.insertOne()\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSDeprecation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSDeprecationInspection", + "shortDescription": { + "text": "Deprecated element" + }, + "fullDescription": { + "text": "Reports usages of deprecated methods in MongoDB and JavaScript code. The quick-fix replaces deprecated methods with recommended alternatives. Example: 'db.my_collection.insert()' After the quick-fix is applied: 'db.my_collection.insertOne()'", + "markdown": "Reports usages of deprecated methods in MongoDB and JavaScript code.\n\nThe quick-fix replaces deprecated methods with recommended alternatives.\n\nExample:\n\n db.my_collection.insert()\n\nAfter the quick-fix is applied:\n\n db.my_collection.insertOne()\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSDeprecation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MsBuiltinInspection", + "shortDescription": { + "text": "Builtin functions" + }, + "fullDescription": { + "text": "Reports truncations of string arguments in ISNULL functions. The ISNULL syntax is 'ISNULL(check_expression, replacement_value)'. According to ISNULL at docs.microsoft.com, 'replacement_value' will be truncated if 'replacement_value' is longer than 'check_expression'. Example (Microsoft SQL Server): 'DECLARE @name1 VARCHAR(2) = NULL;\nDECLARE @name2 VARCHAR(10) = 'Example';\nDECLARE @name3 VARCHAR(2) = 'Hi';\n\n -- `@name2` is VARCHAR(10) and will be truncated\nSELECT ISNULL(@name1, @name2);\n\n -- `@name3` is VARCHAR(2) as `@name1` and will not be truncated\nSELECT ISNULL(@name1, @name3);'", + "markdown": "Reports truncations of string arguments in ISNULL functions.\n\nThe ISNULL syntax is `ISNULL(check_expression, replacement_value)`.\n\nAccording to [ISNULL at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/functions/isnull-transact-sql), `replacement_value` will be truncated if `replacement_value` is longer than\n`check_expression`.\n\nExample (Microsoft SQL Server):\n\n DECLARE @name1 VARCHAR(2) = NULL;\n DECLARE @name2 VARCHAR(10) = 'Example';\n DECLARE @name3 VARCHAR(2) = 'Hi';\n\n -- `@name2` is VARCHAR(10) and will be truncated\n SELECT ISNULL(@name1, @name2);\n\n -- `@name3` is VARCHAR(2) as `@name1` and will not be truncated\n SELECT ISNULL(@name1, @name3);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MssqlBuiltin", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL server", + "index": 92, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlMultipleLimitClausesInspection", + "shortDescription": { + "text": "Multiple row limiting/offset clauses in queries" + }, + "fullDescription": { + "text": "Reports usages of multiple row limiting clauses in a single query. Example (Microsoft SQL Server): 'create table foo(a int);\nselect top 1 * from foo order by a offset 10 rows fetch next 20 rows only;' The SELECT TOP clause is used to specify that only 1 record must be returned. The FETCH clause specifies the number of rows to return after the OFFSET clause has been processed. But as we already have the SELECT TOP limiting clause, the FETCH clause might be redundant.", + "markdown": "Reports usages of multiple row limiting clauses in a single query.\n\nExample (Microsoft SQL Server):\n\n create table foo(a int);\n select top 1 * from foo order by a offset 10 rows fetch next 20 rows only;\n\nThe SELECT TOP clause is used to specify that only 1 record must be\nreturned. The FETCH clause specifies the number of rows to return after the OFFSET\nclause has been processed. But as we already have the SELECT TOP limiting clause, the FETCH clause might be redundant." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlMultipleLimitClauses", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlAmbiguousColumnInspection", + "shortDescription": { + "text": "Ambiguous reference" + }, + "fullDescription": { + "text": "Reports columns that have identical names but belong to different tables. Example (MySQL): 'CREATE TABLE foo(id INT PRIMARY KEY);\nCREATE TABLE bar(id INT PRIMARY KEY);\n\nSELECT foo.id, bar.id FROM foo, bar WHERE id > 0;' The 'id' column appears in 'foo' and 'bar' tables. You need to qualify the column name to make the query correct. 'SELECT foo.id, bar.id FROM foo, bar WHERE foo.id > 0;'", + "markdown": "Reports columns that have identical names but belong to different tables.\n\nExample (MySQL):\n\n CREATE TABLE foo(id INT PRIMARY KEY);\n CREATE TABLE bar(id INT PRIMARY KEY);\n\n SELECT foo.id, bar.id FROM foo, bar WHERE id > 0;\n\nThe `id` column appears in `foo` and `bar` tables. You need to qualify the column name to\nmake the query correct.\n\n SELECT foo.id, bar.id FROM foo, bar WHERE foo.id > 0;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlAmbiguousColumn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlNullComparisonInspection", + "shortDescription": { + "text": "Null comparison" + }, + "fullDescription": { + "text": "Reports comparisons with NULL that can be replaced with IS NULL or IS NOT NULL operators. Example (Microsoft SQL Server): 'CREATE TABLE foo ( id int );\n\nSELECT * FROM foo WHERE NULL = NULL;\nSELECT * FROM foo WHERE NULL != NULL;' The 'NULL = NULL' can be replaced with 'IS NULL', the 'NULL != NULL' comparison with 'IS NOT NULL'. To do this replacement, you can use Use IS NULL operator or Use IS NOT NULL operator quick-fixes. 'SELECT * FROM foo WHERE NULL IS NULL;\nSELECT * FROM foo WHERE NULL IS NOT NULL;'", + "markdown": "Reports comparisons with NULL that can be replaced with IS NULL or IS NOT NULL operators.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE foo ( id int );\n\n SELECT * FROM foo WHERE NULL = NULL;\n SELECT * FROM foo WHERE NULL != NULL;\n\nThe `NULL = NULL` can be replaced with `IS NULL`, the `NULL != NULL` comparison\nwith `IS NOT NULL`. To do this replacement, you can use **Use IS NULL operator** or **Use IS NOT NULL operator**\nquick-fixes.\n\n SELECT * FROM foo WHERE NULL IS NULL;\n SELECT * FROM foo WHERE NULL IS NOT NULL;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlNullComparison", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlInsertValuesInspection", + "shortDescription": { + "text": "VALUES clause cardinality" + }, + "fullDescription": { + "text": "Reports situations when a number of parameters in VALUES does not match a number of columns in a target table. Example (MySQL): 'CREATE TABLE foo(a INT, b INT, c INT);\n\nINSERT INTO foo VALUES (1,2,3,4)' The 'foo' table has three columns but in the INSERT INTO statement we pass four.", + "markdown": "Reports situations when a number of parameters in VALUES does not match a number of columns in a target table.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT, b INT, c INT);\n\n INSERT INTO foo VALUES (1,2,3,4)\n\nThe `foo` table has three columns but in the INSERT INTO statement we pass four." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlInsertValues", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlRedundantElseNullInspection", + "shortDescription": { + "text": "Redundant ELSE NULL clause" + }, + "fullDescription": { + "text": "Reports redundant ELSE NULL clauses. Example (MySQL): 'SELECT CASE WHEN 2 > 1 THEN 'OK' ELSE NULL END AS alias FROM foo;' The 'ELSE NULL' part will never be executed and may be omitted.", + "markdown": "Reports redundant ELSE NULL clauses.\n\nExample (MySQL):\n\n SELECT CASE WHEN 2 > 1 THEN 'OK' ELSE NULL END AS alias FROM foo;\n\nThe `ELSE NULL` part will never be executed and may be omitted." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlRedundantElseNull", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlCurrentSchemaInspection", + "shortDescription": { + "text": "Current console schema introspected" + }, + "fullDescription": { + "text": "Reports schemas and databases in the current session that are not introspected. For example, this warning might occur when you try to create a table in the schema that is not introspected. Introspection is a method of inspecting a data source. When you perform introspection, structural information in the data source is inspected to detect tables, columns, functions, and other elements with their attributes.", + "markdown": "Reports schemas and databases in the current session that are not introspected.\n\nFor example, this warning might occur when you try to create a table in the schema that is not introspected.\n\nIntrospection is a method of inspecting a data source. When you perform introspection, structural information in the data source is\ninspected to detect tables, columns, functions, and other elements with their attributes." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlCurrentSchemaInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlInsertNullIntoNotNullInspection", + "shortDescription": { + "text": "Insert NULL into NOT NULL column" + }, + "fullDescription": { + "text": "Reports cases when you insert NULL values into columns that accept only NOT NULL values. Example (Microsoft SQL Server): 'CREATE TABLE br2 (\nid INT NOT NULL,\ncol1 NVARCHAR (20) NOT NULL,\ncol2 NVARCHAR (20) NOT NULL,\n);\n--\nINSERT INTO br2 (id, col1, col2)\nVALUES (1, NULL, NULL);' You cannot insert NULL values in 'col1' and 'col2' because they are defined as NOT NULL. If you run the script as is, you will receive an error. To fix this code, replace NULL in the VALUES part with some values (for example, '42' and ''bird''). INSERT INTO br2 (id, col1, col2)\nVALUES (1, 42, 'bird');", + "markdown": "Reports cases when you insert NULL values into columns that accept only NOT NULL values.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE br2 (\n id INT NOT NULL,\n col1 NVARCHAR (20) NOT NULL,\n col2 NVARCHAR (20) NOT NULL,\n );\n --\n INSERT INTO br2 (id, col1, col2)\n VALUES (1, NULL, NULL);\n\nYou cannot insert NULL values in `col1` and `col2` because they are defined as NOT NULL. If you run the script as\nis,\nyou will receive an error. To fix this code, replace NULL in the VALUES part with some values (for example, `42` and\n`'bird'`).\n\n```\nINSERT INTO br2 (id, col1, col2)\nVALUES (1, 42, 'bird');\n```" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlInsertNullIntoNotNull", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlTriggerTransitionInspection", + "shortDescription": { + "text": "Suspicious code in triggers" + }, + "fullDescription": { + "text": "Reports incorrect usages of transition table variables in triggers. Example (HSQLDB): 'CREATE TABLE foo(a INT);\n\nCREATE TRIGGER trg\n AFTER DELETE ON foo\nBEGIN\n SELECT * FROM NEW;\nEND;\n\nCREATE TRIGGER trig AFTER INSERT ON foo\n REFERENCING OLD ROW AS newrow\n FOR EACH ROW WHEN (a > 1)\n INSERT INTO foo VALUES (1)' In HSQLDB, DELETE triggers may be used only with the OLD state while INSERT triggers may have only the NEW state. So, in the previous example, NEW in 'SELECT * FROM NEW;' will be highlighted as well as OLD in 'REFERENCING OLD ROW AS newrow'.", + "markdown": "Reports incorrect usages of transition table variables in triggers.\n\nExample (HSQLDB):\n\n CREATE TABLE foo(a INT);\n\n CREATE TRIGGER trg\n AFTER DELETE ON foo\n BEGIN\n SELECT * FROM NEW;\n END;\n\n CREATE TRIGGER trig AFTER INSERT ON foo\n REFERENCING OLD ROW AS newrow\n FOR EACH ROW WHEN (a > 1)\n INSERT INTO foo VALUES (1)\n\nIn HSQLDB, DELETE triggers may be used only with the OLD state while INSERT triggers may have only the NEW state. So, in the previous\nexample, NEW in `SELECT * FROM NEW;` will be highlighted as well as OLD in `REFERENCING OLD ROW AS newrow`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlTriggerTransition", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlNamedArgumentsInspection", + "shortDescription": { + "text": "Named arguments should be used" + }, + "fullDescription": { + "text": "Reports arguments that are used without names in routine calls. By default, this inspection is disabled. For more information about the difference between named and unnamed parameters, see Binding Parameters by Name (Named Parameters) at docs.microsoft.com . Example (Microsoft SQL Server): 'CREATE FUNCTION foo(n INT, m INT) RETURNS INT AS\nBEGIN\n RETURN n + m;\nEND;\n\nCREATE PROCEDURE test AS\nBEGIN\n foo n = 1, m = 2;\n\n--- The following call misses parameter names and will be highlighted\n foo 1, 2;\nEND;' Parameters '1, 2' in the 'foo 1, 2;' call are highlighted because they miss names.", + "markdown": "Reports arguments that are used without names in routine calls. By default, this inspection is disabled.\n\nFor more information about the difference between named and unnamed parameters, see [Binding Parameters by Name (Named Parameters) at docs.microsoft.com](https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/binding-parameters-by-name-named-parameters).\n\nExample (Microsoft SQL Server):\n\n CREATE FUNCTION foo(n INT, m INT) RETURNS INT AS\n BEGIN\n RETURN n + m;\n END;\n\n CREATE PROCEDURE test AS\n BEGIN\n foo n = 1, m = 2;\n\n --- The following call misses parameter names and will be highlighted\n foo 1, 2;\n END;\n\nParameters `1, 2` in the `foo 1, 2;` call are highlighted because they miss names." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlNamedArguments", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlTransactionStatementInTriggerInspection", + "shortDescription": { + "text": "Use of transaction management statements in triggers" + }, + "fullDescription": { + "text": "Reports usages of transaction management statements like COMMIT or ROLLBACK in trigger bodies. With COMMIT or ROLLBACK statements in a trigger body, the trigger will not compile. The fail happens because triggers start during transactions. When the trigger starts the current transaction is still not complete. As COMMIT terminates a transaction, both statements (COMMIT and ROLLBACK) would lead to an exception. Changes that are executed in a trigger should be committed (or rolled back) by the owning transaction that started the trigger. Example (Oracle): 'CREATE TABLE employee_audit\n(\n id INT NOT NULL,\n update_date DATE NOT NULL,\n old_name VARCHAR2(100),\n new_name VARCHAR2(100)\n);\n\nCREATE TABLE employees\n(\n id INT NOT NULL,\n name VARCHAR2(100) NOT NULL\n);\n\nCREATE OR REPLACE TRIGGER trig_commit\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\nBEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n COMMIT;\nEND;\n\nCREATE OR REPLACE TRIGGER trig_rollback\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\nBEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n ROLLBACK;\nEND;'", + "markdown": "Reports usages of transaction management statements like COMMIT or ROLLBACK in trigger bodies.\n\nWith COMMIT or ROLLBACK statements in a trigger body, the trigger will not compile.\nThe fail happens because triggers start during transactions. When the trigger starts the current transaction is still not complete. As\nCOMMIT\nterminates a transaction, both statements (COMMIT and ROLLBACK) would lead to an exception.\nChanges that are executed in a trigger should be committed (or rolled back) by the owning transaction that started the trigger.\n\nExample (Oracle):\n\n CREATE TABLE employee_audit\n (\n id INT NOT NULL,\n update_date DATE NOT NULL,\n old_name VARCHAR2(100),\n new_name VARCHAR2(100)\n );\n\n CREATE TABLE employees\n (\n id INT NOT NULL,\n name VARCHAR2(100) NOT NULL\n );\n\n CREATE OR REPLACE TRIGGER trig_commit\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\n BEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n COMMIT;\n END;\n\n CREATE OR REPLACE TRIGGER trig_rollback\n AFTER UPDATE OF name\n ON employees\n FOR EACH ROW\n BEGIN\n INSERT INTO employee_audit VALUES (:old.id, SYSDATE, :old.name, :new.name);\n ROLLBACK;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlTransactionStatementInTrigger", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OraMissingBodyInspection", + "shortDescription": { + "text": "Missing body for package/object type specification" + }, + "fullDescription": { + "text": "Reports package and object type specifications that are missing body declarations. Package specifications and object types that declare routines as well as package specifications with cursors must have body declarations where those routines and cursors are implemented. Absence of a body leads to a runtime error when routines or cursors are invoked in program code. Example (Oracle): 'CREATE OR REPLACE PACKAGE ppp IS\n FUNCTION foo(a INT) RETURN INT;\nEND;'", + "markdown": "Reports package and object type specifications that are missing body declarations.\n\nPackage specifications and object types that declare routines as well as package specifications with cursors must have body\ndeclarations where those routines and cursors are implemented. Absence of a body leads to a runtime error when routines or cursors are\ninvoked in program code.\n\nExample (Oracle):\n\n CREATE OR REPLACE PACKAGE ppp IS\n FUNCTION foo(a INT) RETURN INT;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlMissingBody", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Oracle", + "index": 109, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlCheckUsingColumnsInspection", + "shortDescription": { + "text": "Check using clause columns" + }, + "fullDescription": { + "text": "Reports columns in the USING clause that does not exist in both tables. Example (MySQL): 'CREATE TABLE t1 (i INT, j INT);\nCREATE TABLE t2 (k INT, l INT);\nSELECT * FROM t1 JOIN t2 USING (j);' In USING clauses, a column name must be present in both tables, and the SELECT query will automatically join those tables by using the given column name. As we do not have the 'j' column in 't2', we can rewrite the query using ON. The ON clause can join tables where the column names do not match in both tables. 'SELECT * FROM t1 JOIN t2 ON t1.j = t2.l;'", + "markdown": "Reports columns in the USING clause that does not exist in both tables.\n\nExample (MySQL):\n\n CREATE TABLE t1 (i INT, j INT);\n CREATE TABLE t2 (k INT, l INT);\n SELECT * FROM t1 JOIN t2 USING (j);\n\nIn USING clauses, a column name must be present in both tables, and the SELECT query will automatically join\nthose tables by using the given column name. As we do not have the `j` column in `t2`, we can\nrewrite the query using ON. The ON clause can join tables where the column names do not match in both tables.\n\n SELECT * FROM t1 JOIN t2 ON t1.j = t2.l;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlCheckUsingColumns", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlConstantConditionInspection", + "shortDescription": { + "text": "Constant condition" + }, + "fullDescription": { + "text": "Reports conditions in WHERE or JOIN clauses that are always TRUE or always FALSE. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nSELECT a FROM t1 WHERE 'Cat' = 'Cat';' The ''Cat' = 'Cat'' is always true and will be reported.", + "markdown": "Reports conditions in WHERE or JOIN clauses that are always TRUE or always FALSE.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n SELECT a FROM t1 WHERE 'Cat' = 'Cat';\n\nThe `'Cat' = 'Cat'` is always true and will be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlConstantCondition", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlInsertIntoGeneratedColumnInspection", + "shortDescription": { + "text": "Insertion into generated columns" + }, + "fullDescription": { + "text": "Reports INSERT statements that assign values to generated columns. Generated columns can be read, but their values can not be directly written. Example (PostgreSQL): 'CREATE TABLE foo\n(\n col1 INT,\n col2 INT GENERATED ALWAYS AS (col1 + 1) STORED\n);\nINSERT INTO foo(col1, col2) VALUES (1, 2);'\n You cannot insert '2' into the 'col2' column because this column is generated. For this script to work, you can change '2' to DEFAULT. 'INSERT INTO foo(col1, col2) VALUES (1, DEFAULT);'", + "markdown": "Reports INSERT statements that assign values to generated columns. Generated columns can be read, but their values can not be directly written.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo\n (\n col1 INT,\n col2 INT GENERATED ALWAYS AS (col1 + 1) STORED\n );\n INSERT INTO foo(col1, col2) VALUES (1, 2);\n\nYou cannot insert `2` into the `col2` column because this column is generated.\nFor this script to work, you can change `2` to DEFAULT.\n`INSERT INTO foo(col1, col2) VALUES (1, DEFAULT);`" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlInsertIntoGeneratedColumn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MsOrderByInspection", + "shortDescription": { + "text": "ORDER BY in queries" + }, + "fullDescription": { + "text": "Reports usages when the 'ORDER BY' clause is used without 'TOP', 'OFFSET', or 'FOR XML' in views, inline functions, derived tables, subqueries, and common table expressions. For more information about usages of 'ORDER BY', see SELECT - ORDER BY Clause (Transact-SQL) at docs.microsoft.com. Example (Microsoft SQL server): 'CREATE TABLE foo (a INT NOT NULL, b INT NOT NULL);\n\nSELECT *\nFROM (SELECT a, b\nFROM foo A\nWHERE a < 89\nORDER BY b) ALIAS;' In a subquery, ORDER BY will be highlighted as an error. You can add TOP, OFFSET, or FOR XML to a subquery. Alternatively, use the Delete element quick-fix to delete the ORDER BY section. After the quick-fix is applied: 'SELECT *\nFROM (SELECT a, b\nFROM foo A\nWHERE a < 89) ALIAS;'", + "markdown": "Reports usages when the `ORDER BY` clause is used without `TOP`, `OFFSET`, or `FOR XML` in views, inline functions, derived tables, subqueries, and common table expressions.\n\nFor more information about usages of `ORDER BY`, see [SELECT - ORDER BY Clause (Transact-SQL) at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/queries/select-order-by-clause-transact-sql).\n\nExample (Microsoft SQL server):\n\n CREATE TABLE foo (a INT NOT NULL, b INT NOT NULL);\n\n SELECT *\n FROM (SELECT a, b\n FROM foo A\n WHERE a < 89\n ORDER BY b) ALIAS;\n\nIn a subquery, ORDER BY will be highlighted as an error. You can add TOP, OFFSET, or FOR XML to a subquery.\nAlternatively, use the **Delete element** quick-fix to delete the ORDER BY section.\n\nAfter the quick-fix is applied:\n\n SELECT *\n FROM (SELECT a, b\n FROM foo A\n WHERE a < 89) ALIAS;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "MsOrderBy", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "SQL server", + "index": 92, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDeprecateTypeInspection", + "shortDescription": { + "text": "Deprecated type" + }, + "fullDescription": { + "text": "Reports usages of types that are deprecated and might disappear in future versions of DBMS. Reported types: LONG in Oracle (see Deprecated and Desupported Features at docs.oracle.com). TEXT, NTEXT, and IMAGE in Microsoft SQL Server (see Deprecated Database Engine Features in SQL Server 2016 at docs.microsoft.com). Example (Oracle): 'CREATE TABLE ot.foo(\na NUMBER GENERATED BY DEFAULT AS IDENTITY,\nb LONG NOT NULL\n);'", + "markdown": "Reports usages of types that are deprecated and might disappear in future versions of DBMS.\n\nReported types:\n\n* LONG in Oracle (see [Deprecated\n and Desupported Features at docs.oracle.com](https://docs.oracle.com/cd/A91202_01/901_doc/server.901/a90120/ch4_dep.htm#6690)).\n* TEXT, NTEXT, and IMAGE in Microsoft SQL Server (see [Deprecated Database Engine Features in SQL Server 2016 at docs.microsoft.com](https://docs.microsoft.com/en-us/sql/database-engine/deprecated-database-engine-features-in-sql-server-2016?view=sql-server-ver15)).\n\nExample (Oracle):\n\n CREATE TABLE ot.foo(\n a NUMBER GENERATED BY DEFAULT AS IDENTITY,\n b LONG NOT NULL\n );\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDeprecateType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlGotoInspection", + "shortDescription": { + "text": "Usages of GOTO statements" + }, + "fullDescription": { + "text": "Reports usages of backward GOTO statements and GOTO statements used to exit a loop. The extensive use of GOTO statements is generally not recommended. For details, see GOTO statement in SQL procedures at ibm.com. Instead of jumping back to a previous statement using GOTO, consider using a loop. Instead of exiting the WHILE loop with GOTO, consider using other control-of-flow statements (for example, RETURN or BREAK). Example (Oracle): 'CREATE PROCEDURE test(n INT) AS\nDECLARE\n x INT;\nBEGIN\n x := 0;\n GOTO a;\n <> x := 1;\n IF (n = 0) THEN\n GOTO a;\n END IF;\n WHILE TRUE\n LOOP\n GOTO b;\n END LOOP;\n <> x := 3;\nEND;'", + "markdown": "Reports usages of backward GOTO statements and GOTO statements used to exit a loop.\n\nThe extensive use of GOTO statements is generally\nnot recommended. For details, see [GOTO statement in\nSQL\nprocedures at ibm.com](https://www.ibm.com/docs/no/db2/11.5?topic=procedures-goto-statement-in-sql).\n\nInstead of jumping back to a previous statement using GOTO, consider using a loop.\n\nInstead of exiting the WHILE loop with GOTO, consider using other control-of-flow statements (for example, RETURN or BREAK).\n\nExample (Oracle):\n\n CREATE PROCEDURE test(n INT) AS\n DECLARE\n x INT;\n BEGIN\n x := 0;\n GOTO a;\n <> x := 1;\n IF (n = 0) THEN\n GOTO a;\n END IF;\n WHILE TRUE\n LOOP\n GOTO b;\n END LOOP;\n <> x := 3;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlGoto", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MysqlLoadDataPathInspection", + "shortDescription": { + "text": "LOAD statement path" + }, + "fullDescription": { + "text": "Reports paths that start with the tilde character in LOAD statements. Example (MySQL): 'CREATE TABLE table_name (id int);\nLOAD DATA LOCAL INFILE '~/Documents/some_file.txt'\nINTO TABLE table_name FIELDS TERMINATED BY ',' LINES TERMINATED BY '\\n'\nIGNORE 1 LINES;' Instead of the tilde character, use a full path to the file.", + "markdown": "Reports paths that start with the tilde character in LOAD statements.\n\nExample (MySQL):\n\n CREATE TABLE table_name (id int);\n LOAD DATA LOCAL INFILE '~/Documents/some_file.txt'\n INTO TABLE table_name FIELDS TERMINATED BY ',' LINES TERMINATED BY '\\n'\n IGNORE 1 LINES;\n\nInstead of the tilde character, use a full path to the file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MysqlLoadDataPath", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MySQL", + "index": 118, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDtInspection", + "shortDescription": { + "text": "Ill-formed date/time literals" + }, + "fullDescription": { + "text": "Reports errors in date and time literals. This inspection is available in MySQL, Oracle, Db2, and H2. Example (MySQL): 'SELECT TIME '10 -12:13:14' FROM dual;\nSELECT TIME ' 12 : 13 : 14 ' FROM dual;\nSELECT TIME '12 13 14' FROM dual;\nSELECT TIME '12-13-14' FROM dual;\nSELECT TIME '12.13.14' FROM dual;\nSELECT TIME '12:13:' FROM dual;\nSELECT TIME '12:13' FROM dual;\nSELECT TIME '12:' FROM dual;' In this example, dates ignore the MySQL standard for date and time literals. Therefore, they will be highlighted. For more information about date and time literals in MySQL, see Date and Time Literals at dev.mysql.com. The following date and type literals are valid for MySQL. 'SELECT TIME '12:13:14' FROM dual;\nSELECT TIME '12:13:14.555' FROM dual;\nSELECT TIME '12:13:14.' FROM dual;\nSELECT TIME '-12:13:14' FROM dual;\nSELECT TIME '10 12:13:14' FROM dual;\nSELECT TIME '-10 12:13:14' FROM dual;'", + "markdown": "Reports errors in date and time literals. This inspection is available in MySQL, Oracle, Db2, and H2.\n\nExample (MySQL):\n\n SELECT TIME '10 -12:13:14' FROM dual;\n SELECT TIME ' 12 : 13 : 14 ' FROM dual;\n SELECT TIME '12 13 14' FROM dual;\n SELECT TIME '12-13-14' FROM dual;\n SELECT TIME '12.13.14' FROM dual;\n SELECT TIME '12:13:' FROM dual;\n SELECT TIME '12:13' FROM dual;\n SELECT TIME '12:' FROM dual;\n\nIn this example, dates ignore the MySQL standard for date and time literals. Therefore, they will be highlighted.\nFor more information about date and time literals in MySQL, see [Date and Time Literals at dev.mysql.com](https://dev.mysql.com/doc/refman/8.0/en/date-and-time-literals.html).\n\nThe following date and type literals are valid for MySQL.\n\n SELECT TIME '12:13:14' FROM dual;\n SELECT TIME '12:13:14.555' FROM dual;\n SELECT TIME '12:13:14.' FROM dual;\n SELECT TIME '-12:13:14' FROM dual;\n SELECT TIME '10 12:13:14' FROM dual;\n SELECT TIME '-10 12:13:14' FROM dual;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDateTime", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlNoDataSourceInspection", + "shortDescription": { + "text": "No data sources configured" + }, + "fullDescription": { + "text": "Reports the absence of data sources in the Database tool window (View | Tool Windows | Database).", + "markdown": "Reports the absence of data sources in the **Database** tool window (**View \\| Tool Windows \\| Database**)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlNoDataSourceInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlConstantExpressionInspection", + "shortDescription": { + "text": "Constant expression" + }, + "fullDescription": { + "text": "Reports conditions and expressions that are always true, false or null. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nSELECT a FROM t1 WHERE 'Cat' = 'Cat';\nSELECT a FROM t1 WHERE 'Cat' = null;' The ''Cat' = 'Cat'' is always true and will be reported. The ''Cat' = null' is always null and will be reported.", + "markdown": "Reports conditions and expressions that are always true, false or null.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n SELECT a FROM t1 WHERE 'Cat' = 'Cat';\n SELECT a FROM t1 WHERE 'Cat' = null;\n\nThe `'Cat' = 'Cat'` is always true and will be reported.\n\nThe `'Cat' = null` is always null and will be reported." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlConstantExpression", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OraUnmatchedForwardDeclarationInspection", + "shortDescription": { + "text": "Forward declaration without definition" + }, + "fullDescription": { + "text": "Reports declarations of procedures and functions that are missing their implementation in code. In Oracle, you can declare a procedure or a function without its body, and write the implementation later. The inspection will report names of such procedures or functions that are left without implementation. Example (Oracle): 'DECLARE PROCEDURE foo(a int, b varchar2);\nBEGIN\n NULL;\nEND;' The 'foo' procedure is declared but is missing implementation. We can add the implementation to get rid of the error. 'DECLARE PROCEDURE foo(a int, b varchar2);\n PROCEDURE foo(a int, b varchar2) IS\nBEGIN\n NULL;\nEND;\nBEGIN\n NULL;\nEND;'", + "markdown": "Reports declarations of procedures and functions that are missing their implementation in code.\n\nIn Oracle, you can declare a procedure or a function without its body, and write the implementation later. The inspection will report names\nof such procedures or functions that are left without implementation.\n\nExample (Oracle):\n\n DECLARE PROCEDURE foo(a int, b varchar2);\n BEGIN\n NULL;\n END;\n\nThe `foo` procedure is declared but is missing implementation. We can add the implementation to get rid of the error.\n\n DECLARE PROCEDURE foo(a int, b varchar2);\n PROCEDURE foo(a int, b varchar2) IS\n BEGIN\n NULL;\n END;\n BEGIN\n NULL;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "SqlUnmatchedForwardDeclaration", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Oracle", + "index": 109, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlWithoutWhereInspection", + "shortDescription": { + "text": "Delete or update statement without where clauses" + }, + "fullDescription": { + "text": "Reports usages of DELETE or UPDATE statements without WHERE clauses. Without WHERE clauses, DELETE drops all the data from the table, and UPDATE overwrites values for all the table rows. Example (MySQL): 'CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\nupdate t1 set a = 'Smith';\ndelete from t1;'", + "markdown": "Reports usages of DELETE or UPDATE statements without WHERE clauses.\n\nWithout WHERE clauses, DELETE drops all the data from the table, and UPDATE overwrites values for all the table rows.\n\nExample (MySQL):\n\n CREATE TABLE t1 (a TEXT, b INT, c BOOLEAN);\n update t1 set a = 'Smith';\n delete from t1;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlWithoutWhere", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSSideEffectsInspection", + "shortDescription": { + "text": "Statement with side effects" + }, + "fullDescription": { + "text": "Reports statements that can cause side effects while the data source is in read-only mode. For more information about enabling read-only mode, see Enable read-only mode for a connection in the IDE documentation. The Disable read-only mode quick-fix turns off the read-only mode for the respective data source. Example: 'db.my_collection.insertOne()'", + "markdown": "Reports statements that can cause side effects while the data source is in read-only mode.\n\nFor more information about enabling read-only mode, see\n[Enable\nread-only mode for a connection in the IDE documentation](https://www.jetbrains.com/help/datagrip/configuring-database-connections.html#enable-read-only-mode-for-a-connection).\n\nThe **Disable read-only mode** quick-fix turns off the read-only mode for the respective data source.\n\nExample:\n\n\n db.my_collection.insertOne()\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSSideEffects", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSExtSideEffectsInspection", + "shortDescription": { + "text": "Statement with side effects" + }, + "fullDescription": { + "text": "Reports statements that may cause side effects while the data source is in read-only mode. The quick-fix turns off the read-only mode for the respective data source. Example: 'db.my_collection.insertOne()'", + "markdown": "Reports statements that may cause side effects while the data source is in read-only mode.\n\nThe quick-fix turns off the read-only mode for the respective data source.\n\nExample:\n\n\n db.my_collection.insertOne()\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSSideEffects", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlUnusedSubqueryItemInspection", + "shortDescription": { + "text": "Unused subquery item" + }, + "fullDescription": { + "text": "Reports columns, aliases, and other subquery items that are not referenced in the outer query expression. Example (PostgreSQL): 'CREATE TABLE for_subquery(id INT);\nSELECT a, q FROM (SELECT 1 AS a, 10 AS b, 2 + 3 AS q, id\n FROM for_subquery) x;' We reference 'a' and 'q' aliases from a subquery. But the 'b' alias and the 'id' column are not referenced in the outer SELECT statement. Therefore, 'b' and 'id' are grayed out.", + "markdown": "Reports columns, aliases, and other subquery items that are not referenced in the outer query expression.\n\nExample (PostgreSQL):\n\n CREATE TABLE for_subquery(id INT);\n SELECT a, q FROM (SELECT 1 AS a, 10 AS b, 2 + 3 AS q, id\n FROM for_subquery) x;\n\nWe reference `a` and `q` aliases from a subquery. But the `b` alias and the `id` column are\nnot referenced in the outer SELECT statement. Therefore, `b` and `id` are grayed out." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlUnused", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlSideEffectsInspection", + "shortDescription": { + "text": "Statement with side effects" + }, + "fullDescription": { + "text": "Reports statements that might lead to modification of a database during a read-only connection. To enable read-only mode for a connection, right-click a data source in the Database tool window (View | Tool Windows | Database) and select Properties. In the Data Sources and Drivers dialog, click the Options tab and select the Read-only checkbox. Example (MySQL): 'CREATE TABLE foo(a INT);\nINSERT INTO foo VALUES (1);' As 'CREATE TABLE' and 'INSERT INTO' statements lead to a database modification, these statements will be highlighted in read-only connection mode.", + "markdown": "Reports statements that might lead to modification of a database during a read-only connection.\n\nTo enable read-only mode for a\nconnection,\nright-click a data source in the **Database** tool window (**View \\| Tool Windows \\| Database** ) and select **Properties** .\nIn the **Data Sources and Drivers** dialog, click the **Options** tab and select the **Read-only** checkbox.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT);\n INSERT INTO foo VALUES (1);\n\nAs `CREATE TABLE` and `INSERT INTO` statements lead to a database modification, these statements will be highlighted\nin read-only connection mode." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlSideEffects", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlJoinWithoutOnInspection", + "shortDescription": { + "text": "Unsafe 'join' clause in 'delete' statement" + }, + "fullDescription": { + "text": "Reports missing conditional checks for statements that might modify the whole database. For example, usages of JOIN clauses inside DELETE statements without ON or WHERE. Without conditional checks on JOIN, DELETE drops contents of the entire table. Example (MySQL): 'CREATE TABLE foo (a INT,b INT,c INT);\nCREATE TABLE bar (a INT,b INT,c INT);\n\nDELETE table1 FROM foo table1 INNER JOIN bar table2;'", + "markdown": "Reports missing conditional checks for statements that might modify the whole database.\n\nFor example, usages of JOIN clauses inside DELETE statements without ON or WHERE. Without conditional checks on JOIN, DELETE drops\ncontents of the entire table.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT,b INT,c INT);\n CREATE TABLE bar (a INT,b INT,c INT);\n\n DELETE table1 FROM foo table1 INNER JOIN bar table2;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlJoinWithoutOn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDropIndexedColumnInspection", + "shortDescription": { + "text": "Index is dependent on column" + }, + "fullDescription": { + "text": "Reports cases when you try to drop columns from indexed tables. This inspection is available in Microsoft SQL Server and Sybase ASE. Example (Microsoft SQL Server): 'CREATE TABLE test_index\n(\ncol INT NOT NULL,\ncol2 INT NOT NULL,\ncol3 INT NOT NULL UNIQUE,\ncol4 VARCHAR(200)\n);\n\nCREATE UNIQUE INDEX aaaa ON test_index (col, col2);\n\nALTER TABLE test_index\nDROP COLUMN col;' You cannot delete the 'col' column because it is in the indexed table. To delete the column, you need to delete the 'aaaa' index first (for example, DROP INDEX aaaa).", + "markdown": "Reports cases when you try to drop columns from indexed tables. This inspection is available in Microsoft SQL Server and Sybase ASE.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE test_index\n (\n col INT NOT NULL,\n col2 INT NOT NULL,\n col3 INT NOT NULL UNIQUE,\n col4 VARCHAR(200)\n );\n\n CREATE UNIQUE INDEX aaaa ON test_index (col, col2);\n\n ALTER TABLE test_index\n DROP COLUMN col;\n\nYou cannot delete the `col` column because it is in the indexed table. To delete the column, you need to delete the\n`aaaa` index first (for example, DROP INDEX aaaa)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDropIndexedColumn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlTypeInspection", + "shortDescription": { + "text": "Types compatibility" + }, + "fullDescription": { + "text": "Reports type-related errors.", + "markdown": "Reports type-related errors." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlType", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlUnicodeStringLiteralInspection", + "shortDescription": { + "text": "Unicode usage in SQL" + }, + "fullDescription": { + "text": "Reports string literals that use national characters without the 'N' prefix. Without the N prefix, the string is converted to the default code page of the database. This default code page may not recognize certain characters. For more information, see nchar and nvarchar (Transact-SQL) at docs.microsoft.com. Example (Microsoft SQL Server): 'SELECT 'abcde' AS a;\nSELECT N'abcde' AS b;\nSELECT 'абвгд' AS c;\nSELECT N'абвгд' AS d;' The 'SELECT 'абвгд' AS c;' does not have the 'N' prefix, the ''абвгд'' part will be highlighted.", + "markdown": "Reports string literals that use national characters without the `N` prefix.\n\nWithout the N prefix, the string is converted to the default\ncode page of the database. This default code page may not recognize certain characters. For more information, see\n[nchar and nvarchar\n(Transact-SQL)\nat docs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/data-types/nchar-and-nvarchar-transact-sql).\n\nExample (Microsoft SQL Server):\n\n SELECT 'abcde' AS a;\n SELECT N'abcde' AS b;\n SELECT 'абвгд' AS c;\n SELECT N'абвгд' AS d;\n\nThe `SELECT 'абвгд' AS c;` does not have the `N` prefix, the `'абвгд'` part will be highlighted." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlUnicodeStringLiteral", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlUnusedVariableInspection", + "shortDescription": { + "text": "Unused variable" + }, + "fullDescription": { + "text": "Reports unused arguments, variables, or parameters. Example (PostgreSQL): 'CREATE FUNCTION foo(PARAMUSED INT, PARAMUNUSED INT) RETURNS INT AS\n$$\nBEGIN\n RETURN PARAMUSED;\nEND\n$$ LANGUAGE plpgsql;' The 'PARAMUNUSED' parameter is not used in the function and might be deleted.", + "markdown": "Reports unused arguments, variables, or parameters.\n\nExample (PostgreSQL):\n\n CREATE FUNCTION foo(PARAMUSED INT, PARAMUNUSED INT) RETURNS INT AS\n $$\n BEGIN\n RETURN PARAMUSED;\n END\n $$ LANGUAGE plpgsql;\n\nThe `PARAMUNUSED` parameter is not used in the function and might be deleted." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlUnused", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "PgSelectFromProcedureInspection", + "shortDescription": { + "text": "Postgres: Select from procedure call" + }, + "fullDescription": { + "text": "Reports situations when you make SELECT from a function or a DBLINK without an alias with a type (for example, 'AS t1(s VARCHAR)'). This requirement does not apply to scalar functions. Example (PostgreSQL): 'CREATE FUNCTION produce_a_table() RETURNS RECORD AS $$\nSELECT 1;\n$$ LANGUAGE sql;\nSELECT * FROM produce_a_table() AS s (c1 INT);\nSELECT * FROM produce_a_table() AS s (c1);\nSELECT * FROM DBLINK('dbname=mydb', 'SELECT proname, prosrc FROM pg_proc') AS t1;' The 'AS s (c1 INT)' has a typed alias, while 'AS s (c1)' and 'AS t1' do not. In this case, the second call of 'produce_a_table()' and 'DBLINK()' will be highlighted.", + "markdown": "Reports situations when you make SELECT from a function or a DBLINK without an alias with a type (for example, `AS t1(s VARCHAR)`).\n\nThis requirement does not apply to scalar functions.\n\nExample (PostgreSQL):\n\n CREATE FUNCTION produce_a_table() RETURNS RECORD AS $$\n SELECT 1;\n $$ LANGUAGE sql;\n SELECT * FROM produce_a_table() AS s (c1 INT);\n SELECT * FROM produce_a_table() AS s (c1);\n SELECT * FROM DBLINK('dbname=mydb', 'SELECT proname, prosrc FROM pg_proc') AS t1;\n\nThe `AS s (c1 INT)` has a typed alias, while `AS s (c1)` and `AS t1` do not.\nIn this case, the second call of `produce_a_table()` and `DBLINK()` will be highlighted." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "PgSelectFromProcedure", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "PostgreSQL", + "index": 129, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlStorageInspection", + "shortDescription": { + "text": "SQL source modification detection" + }, + "fullDescription": { + "text": "Reports situations when source code of a database object has been changed. The inspection is triggered when you perform database or object introspection. The introspection is run when you open source code of an object, run statements, and perform code refactoring. Also, you can run introspection by right-clicking an object and selecting Refresh. The inspection covers the following situations: Object source code was changed in the database but code in the editor was not updated. Works in PostgreSQL, Microsoft SQL Server, Oracle, and Sybase ASE. You changed the object source code, introspected the database, but source code has been already changed by someone else. The database introspector was updated in the IDE and you need to download new object properties that were missing in the previous introspector version.", + "markdown": "Reports situations when source code of a database object has been changed.\n\nThe inspection is triggered when you perform database or object introspection. The introspection is run when you open source code of an\nobject, run statements, and perform code refactoring.\nAlso, you can run introspection by right-clicking an object and selecting **Refresh**.\n\nThe inspection covers the following situations:\n\n* Object source code was changed in the database but code in the editor was not updated. Works in PostgreSQL, Microsoft SQL Server, Oracle, and Sybase ASE.\n* You changed the object source code, introspected the database, but source code has been already changed by someone else.\n* The database introspector was updated in the IDE and you need to download new object properties that were missing in the previous introspector version." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlStorageInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlSignatureInspection", + "shortDescription": { + "text": "Function signature" + }, + "fullDescription": { + "text": "Reports signature issues for built-in functions. The inspection will report a wrong number of arguments, invalid keywords, wrong data types, and other issues. Example (MySQL): 'CREATE TABLE foo (a INT, b INT, c INT)\n\nSELECT IFNULL() FROM foo; -- error\nSELECT IFNULL(a) FROM foo; -- error\nSELECT IFNULL(a, b) FROM foo; -- OK\nSELECT IFNULL(a, b, c) FROM foo; -- error' In MySQL, the 'IFNULL()' function accepts strictly two arguments. So, only the 'SELECT IFNULL(a, b) FROM foo;' query is correct.", + "markdown": "Reports signature issues for built-in functions.\n\nThe inspection will report a wrong number of arguments, invalid keywords, wrong data types, and other issues.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT, b INT, c INT)\n\n SELECT IFNULL() FROM foo; -- error\n SELECT IFNULL(a) FROM foo; -- error\n SELECT IFNULL(a, b) FROM foo; -- OK\n SELECT IFNULL(a, b, c) FROM foo; -- error\n\nIn MySQL, the `IFNULL()` function accepts strictly two arguments. So, only the `SELECT IFNULL(a, b) FROM foo;`\nquery is correct." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlSignature", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlRedundantOrderingDirectionInspection", + "shortDescription": { + "text": "Redundant ordering direction" + }, + "fullDescription": { + "text": "Reports redundant ordering directions like ASC and DESC in ORDER BY clauses. Example (MySQL): 'CREATE TABLE foo(a INT, b INT, c INT);\nSELECT * FROM foo ORDER BY a ASC, b DESC, c ASC;' The ORDER BY keyword sorts the records in the ascending order by default. So, the 'ASC' keyword for 'a' and 'c' columns is redundant.", + "markdown": "Reports redundant ordering directions like ASC and DESC in ORDER BY clauses.\n\nExample (MySQL):\n\n CREATE TABLE foo(a INT, b INT, c INT);\n SELECT * FROM foo ORDER BY a ASC, b DESC, c ASC;\n\nThe ORDER BY keyword sorts the records in the ascending order by default. So, the `ASC` keyword for `a` and\n`c` columns is redundant." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlRedundantOrderingDirection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "OraOverloadInspection", + "shortDescription": { + "text": "Overloading errors" + }, + "fullDescription": { + "text": "Reports invalid cases of subprogram overloading in Oracle. Example (Oracle): 'DECLARE\n SUBTYPE fff IS BINARY_INTEGER;\n SUBTYPE ggg IS NATURAL;\n PROCEDURE foo (a IN ggg) IS BEGIN NULL; END;\n PROCEDURE foo (a IN fff) IS BEGIN NULL; END;\nBEGIN\n NULL;\nEND;' You cannot overload subprograms which parameters differ only in subtypes. For example, you cannot overload procedures where one accepts a BINARY INTEGER parameter and the other accepts a NATURAL parameter. For more information about restrictions on procedure overloading, see Restrictions on Overloading at docs.oracle.com.", + "markdown": "Reports invalid cases of subprogram overloading in Oracle.\n\nExample (Oracle):\n\n DECLARE\n SUBTYPE fff IS BINARY_INTEGER;\n SUBTYPE ggg IS NATURAL;\n PROCEDURE foo (a IN ggg) IS BEGIN NULL; END;\n PROCEDURE foo (a IN fff) IS BEGIN NULL; END;\n BEGIN\n NULL;\n END;\n\nYou cannot overload subprograms which parameters differ only in subtypes. For example, you cannot overload procedures where one accepts a\nBINARY INTEGER parameter and the other accepts a NATURAL parameter. For more information about restrictions on procedure overloading,\nsee [Restrictions on Overloading at docs.oracle.com](https://docs.oracle.com/cd/B19306_01/appdev.102/b14261/subprograms.htm)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlOverload", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Oracle", + "index": 109, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MysqlSpaceAfterFunctionNameInspection", + "shortDescription": { + "text": "Whitespace between the function name and the open parenthesis" + }, + "fullDescription": { + "text": "Reports any whitespace in a function call between the function name and the open parenthesis, which is not supported by default. Example (MySQL): 'SELECT MAX (qty) FROM orders;'", + "markdown": "Reports any whitespace in a function call between the function name and the open parenthesis, which is not supported by default.\n\nExample (MySQL):\n\n SELECT MAX (qty) FROM orders;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "MysqlSpaceAfterFunctionName", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "MySQL", + "index": 118, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlAutoIncrementDuplicateInspection", + "shortDescription": { + "text": "Auto-increment duplicate" + }, + "fullDescription": { + "text": "Reports tables that contain two columns with an automatic increment. In MySQL, Microsoft SQL Server, and Db2 dialects, a table can have only one field with a auto-increment option, and this field must be a key. Example (MySQL): 'CREATE TABLE my_table\n(\n id INT AUTO_INCREMENT,\n c2 INT AUTO_INCREMENT,\n);' The AUTO_INCREMENT constraint for 'c2' will be highlighted as 'c1' already has this constraint. To fix the warning, you can make 'id' a primary key and delete AUTO_INCREMENT for 'c2'. 'CREATE TABLE my_table\n(\n id INT AUTO_INCREMENT PRIMARY KEY,\n c2 INT,\n);'", + "markdown": "Reports tables that contain two columns with an automatic increment. In MySQL, Microsoft SQL Server, and Db2 dialects, a table can have only one field with a auto-increment option, and this field must be a key.\n\nExample (MySQL):\n\n CREATE TABLE my_table\n (\n id INT AUTO_INCREMENT,\n c2 INT AUTO_INCREMENT,\n );\n\nThe AUTO_INCREMENT constraint for `c2` will be highlighted as `c1` already has this constraint. To fix the warning,\nyou can make `id` a primary key and delete AUTO_INCREMENT for `c2`.\n\n CREATE TABLE my_table\n (\n id INT AUTO_INCREMENT PRIMARY KEY,\n c2 INT,\n );\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlAutoIncrementDuplicate", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlStringLengthExceededInspection", + "shortDescription": { + "text": "Implicit string truncation" + }, + "fullDescription": { + "text": "Reports variables that exceed the defined length in characters. Example (Microsoft SQL Server): 'CREATE PROCEDURE test() AS\nBEGIN\nDECLARE myVarOk VARCHAR(5) = 'abcde';\nDECLARE myVarExceeded VARCHAR(5) = 'abcde12345';\n\nSET myVarOk = 'xyz';\nSET myVarExceeded = '123456789';\nEND;' The 'myVarExceeded' variable is defined as 'VARCHAR(5)' but both assigned values (''abcde12345'' and ''123456789'') exceed this limitation. You can truncate assigned values or increase the defined length. To increase the length, use the Increase type length quick-fix. After the quick-fix is applied: 'CREATE PROCEDURE test() AS\nBEGIN\nDECLARE myVarOk VARCHAR(5) = 'abcde';\nDECLARE myVarExceeded VARCHAR(10) = 'abcde12345';\n\nSET myVarOk = 'xyz';\nSET myVarExceeded = '123456789';\nEND;'", + "markdown": "Reports variables that exceed the defined length in characters.\n\nExample (Microsoft SQL Server):\n\n CREATE PROCEDURE test() AS\n BEGIN\n DECLARE myVarOk VARCHAR(5) = 'abcde';\n DECLARE myVarExceeded VARCHAR(5) = 'abcde12345';\n\n SET myVarOk = 'xyz';\n SET myVarExceeded = '123456789';\n END;\n\nThe `myVarExceeded` variable is defined as `VARCHAR(5)` but both assigned values (`'abcde12345'` and\n`'123456789'`) exceed this limitation. You can truncate assigned values or increase the defined length.\nTo increase the length, use the **Increase type length** quick-fix.\n\nAfter the quick-fix is applied:\n\n CREATE PROCEDURE test() AS\n BEGIN\n DECLARE myVarOk VARCHAR(5) = 'abcde';\n DECLARE myVarExceeded VARCHAR(10) = 'abcde12345';\n\n SET myVarOk = 'xyz';\n SET myVarExceeded = '123456789';\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlStringLengthExceeded", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlCallNotationInspection", + "shortDescription": { + "text": "Using of named and positional arguments" + }, + "fullDescription": { + "text": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2. Example (In PostgreSQL): 'CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n$$\nBEGIN\n RETURN a + b + c;\nEND\n$$;\nSELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\nSELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\nSELECT foo(b => 2, 1, 3);'", + "markdown": "Reports calls in which positional arguments go after the named ones. Works in PostgreSQL, Oracle, and Db2.\n\nExample (In PostgreSQL):\n\n CREATE FUNCTION foo(a int, b int, c int) RETURNS int\n LANGUAGE plpgsql AS\n $$\n BEGIN\n RETURN a + b + c;\n END\n $$;\n SELECT foo(a => 1, b => 2, c => 3);\n -- `3` goes after the named argument\n SELECT foo(1, b => 2, 3);\n -- `1` and `3` go after the named argument\n SELECT foo(b => 2, 1, 3);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "SqlCallNotation", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MysqlParsingInspection", + "shortDescription": { + "text": "Unsupported syntax in pre-8.0 versions" + }, + "fullDescription": { + "text": "Reports invalid usages of UNION in queries. The inspection works in MySQL versions that are earlier than 8.0. Example (MySQL): 'SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;'", + "markdown": "Reports invalid usages of UNION in queries.\n\nThe inspection works in MySQL versions that are earlier than 8.0.\n\nExample (MySQL):\n\n\n SELECT * FROM (SELECT 1 UNION (SELECT 1 UNION SELECT 2)) a;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MysqlParsing", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MySQL", + "index": 118, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlShadowingAliasInspection", + "shortDescription": { + "text": "Column is shadowed by alias" + }, + "fullDescription": { + "text": "Reports SELECT aliases with names that match column names in the FROM clause. Example (MySQL): 'CREATE TABLE foo (a INT, b INT, c INT);\nSELECT a b, c FROM foo;' The 'a' column uses the 'b' alias but the 'b' name is also used by the column from the 'foo' table.", + "markdown": "Reports SELECT aliases with names that match column names in the FROM clause.\n\nExample (MySQL):\n\n CREATE TABLE foo (a INT, b INT, c INT);\n SELECT a b, c FROM foo;\n\nThe `a` column uses the `b` alias but the `b` name is also used by the column from the `foo`\ntable." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlShadowingAlias", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlUnreachableCodeInspection", + "shortDescription": { + "text": "Unreachable code" + }, + "fullDescription": { + "text": "Reports unreachable statements inside SQL routines. Example (Microsoft SQL Server): 'CREATE FUNCTION foo() RETURNS INT AS\nBEGIN\n THROW;\n RETURN 1;\nEND;' In Microsoft SQL Server, the 'THROW' statement raises an exception and transfers execution to the CATCH block of the TRY...CATCH construct. Therefore, the 'RETURN 1;' part will never be executed.", + "markdown": "Reports unreachable statements inside SQL routines.\n\nExample (Microsoft SQL Server):\n\n CREATE FUNCTION foo() RETURNS INT AS\n BEGIN\n THROW;\n RETURN 1;\n END;\n\nIn Microsoft SQL Server, the `THROW` statement raises an exception and transfers execution to the CATCH block of the TRY...CATCH\nconstruct. Therefore, the `RETURN 1;` part will never be executed." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlUnreachable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlResolveInspection", + "shortDescription": { + "text": "Unresolved reference" + }, + "fullDescription": { + "text": "Reports unresolved SQL references. Example (MySQL): 'CREATE TABLE users(id INT, name VARCHAR(40));\nCREATE TABLE admins(id INT, col1 INT);\n\nSELECT users.id, admins.id FROM admins WHERE admins.id > 1;' The 'users.id' column is unresolved because the 'users' table is missing in the FROM clause.", + "markdown": "Reports unresolved SQL references.\n\nExample (MySQL):\n\n CREATE TABLE users(id INT, name VARCHAR(40));\n CREATE TABLE admins(id INT, col1 INT);\n\n SELECT users.id, admins.id FROM admins WHERE admins.id > 1;\n\nThe `users.id` column is unresolved because the `users` table is missing in the FROM clause." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "SqlResolve", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlRedundantLimitInspection", + "shortDescription": { + "text": "Redundant row limiting in queries" + }, + "fullDescription": { + "text": "Reports redundant row limiting clauses like FETCH and LIMIT in queries. Example (PostgreSQL): 'CREATE TABLE foo(a INT);\n\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo LIMIT 2);\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo FETCH FIRST 2 ROWS ONLY);' To fix the warning, you can add OFFSET to limiting clauses. If OFFSET is missing, then LIMIT is redundant because the usage of LIMIT does not influence the operation result of EXISTS. In case with OFFSET, we skip first 'N' rows and this will influence the output. 'SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW LIMIT 2);\nSELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW FETCH FIRST 2 ROWS ONLY);'", + "markdown": "Reports redundant row limiting clauses like FETCH and LIMIT in queries.\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT);\n\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo LIMIT 2);\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo FETCH FIRST 2 ROWS ONLY);\n\nTo fix the warning, you can add OFFSET to limiting clauses. If OFFSET is missing, then LIMIT is redundant because\nthe usage of LIMIT does not influence the operation result of EXISTS. In case with OFFSET, we skip first `N` rows and this will\ninfluence the output.\n\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW LIMIT 2);\n SELECT * FROM foo WHERE EXISTS(SELECT * FROM foo OFFSET 1 ROW FETCH FIRST 2 ROWS ONLY);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlRedundantLimit", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDerivedTableAliasInspection", + "shortDescription": { + "text": "Each derived table should have alias" + }, + "fullDescription": { + "text": "Reports derived tables without aliases. Example (MySQL): 'CREATE TABLE table1 (id INT, name VARCHAR(20), cats FLOAT);\nCREATE TABLE table2 (id INT, age INTEGER);\n\nSELECT id AS ID, name, cats, age\nFROM (SELECT table1.id, name, cats, age\nFROM table1\nJOIN table2 ON table1.id = table2.id);' According to Derived Tables at dev.mysql.com, an alias is mandatory. You can add the alias by using the Introduce alias quick-fix. After the quick-fix is applied: 'SELECT id AS ID, name, cats, age\nFROM (SELECT table1.id, name, cats, age\nFROM table1\nJOIN table2 ON table1.id = table2.id);'", + "markdown": "Reports derived tables without aliases.\n\nExample (MySQL):\n\n CREATE TABLE table1 (id INT, name VARCHAR(20), cats FLOAT);\n CREATE TABLE table2 (id INT, age INTEGER);\n\n SELECT id AS ID, name, cats, age\n FROM (SELECT table1.id, name, cats, age\n FROM table1\n JOIN table2 ON table1.id = table2.id);\n\nAccording to [Derived Tables at dev.mysql.com](https://dev.mysql.com/doc/refman/8.0/en/derived-tables.html), an alias is\nmandatory. You can add the alias by using the **Introduce alias** quick-fix.\n\nAfter the quick-fix is applied:\n\n SELECT id AS ID, name, cats, age\n FROM (SELECT table1.id, name, cats, age\n FROM table1\n JOIN table2 ON table1.id = table2.id);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDerivedTableAlias", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlCaseVsCoalesceInspection", + "shortDescription": { + "text": "Using CASE instead of COALESCE function and vice versa" + }, + "fullDescription": { + "text": "Reports situations when CASE and COALESCE calls are interchangeable. This inspection has the following intention actions: Replace with 'COALESCE' call and the opposite one Replace with CASE expression. Example (MySQL): 'SELECT\n -- this CASE may be replaced by COALESCE\n\tCASE\n\t\tWHEN C1 IS NOT NULL THEN C1\n\t\tELSE 0\n\t\tEND\nFROM dual;' In the example, the CASE statement can be replaced with 'SELECT COALESCE(C1, 0)' that produces the same output. If you prefer using CASE expressions, select the Prefer CASE expressions over COALESCE function option on the inspection page.", + "markdown": "Reports situations when CASE and COALESCE calls are interchangeable. This inspection has the following intention actions: **Replace\nwith 'COALESCE' call** and the opposite one **Replace with CASE expression** .\n\nExample (MySQL):\n\n SELECT\n -- this CASE may be replaced by COALESCE\n \tCASE\n \t\tWHEN C1 IS NOT NULL THEN C1\n \t\tELSE 0\n \t\tEND\n FROM dual;\n\nIn the example, the CASE statement can be replaced with `SELECT COALESCE(C1, 0)` that produces the same output.\n\nIf you prefer using CASE expressions, select the **Prefer CASE expressions over COALESCE function** option on\nthe inspection page." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlCaseVsCoalesce", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlRedundantCodeInCoalesceInspection", + "shortDescription": { + "text": "Redundant code in COALESCE call" + }, + "fullDescription": { + "text": "Reports all the arguments except for the first expression that does not evaluate to NULL in COALESCE functions. Example (MySQL): 'SELECT COALESCE(NULL, NULL, NULL, 42, NULL, 'string') as a;' The first NOT NULL argument is '42', all other arguments will be grayed out.", + "markdown": "Reports all the arguments except for the first expression that does not evaluate to NULL in COALESCE functions.\n\nExample (MySQL):\n\n SELECT COALESCE(NULL, NULL, NULL, 42, NULL, 'string') as a;\n\nThe first NOT NULL argument is `42`, all other arguments will be grayed out." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlRedundantCodeInCoalesce", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlAggregatesInspection", + "shortDescription": { + "text": "Aggregate-related problems" + }, + "fullDescription": { + "text": "Reports invalid usages of SQL aggregate functions. The following situations are considered: Columns that are used in HAVING and ORDER BY clauses but are missed in GROUP BY clauses. 'CREATE TABLE foo(id INT PRIMARY KEY, a INT, b INT);\nSELECT a, MAX(b) FROM foo GROUP BY a HAVING b > 0;\nSELECT * FROM foo GROUP BY a ORDER BY b;' This rule does not apply when grouping is made by the primary key. 'SELECT * FROM foo GROUP BY id ORDER BY b;' Aggregate functions in a wrong context. Usually, you can use aggregate functions in the following contexts: a list of expressions in SELECT; in HAVING and ORDER BY sections; and other dialect-specific cases. The following queries will display an error. 'SELECT a FROM foo WHERE MAX(b) > 0;\nSELECT a FROM foo GROUP BY MAX(a);' Nested calls of aggregate functions. 'SELECT MAX(SUM(a)) FROM foo GROUP BY a;' This rule does not apply to analytic functions. The following query is valid and correct. 'SELECT MAX(SUM(a) OVER ()) FROM foo;' Usages of HAVING without aggregate functions. In this case, consider rewriting your code using the WHERE section. 'SELECT a, MAX(b) FROM foo GROUP BY a HAVING a > 0;'", + "markdown": "Reports invalid usages of SQL aggregate functions.\n\nThe following situations are considered:\n\n* Columns that are used in HAVING and ORDER BY clauses but are missed in GROUP BY clauses.\n\n CREATE TABLE foo(id INT PRIMARY KEY, a INT, b INT);\n SELECT a, MAX(b) FROM foo GROUP BY a HAVING b > 0;\n SELECT * FROM foo GROUP BY a ORDER BY b;\n\n This rule does not apply when grouping is made by the primary key.\n\n SELECT * FROM foo GROUP BY id ORDER BY b;\n\n* Aggregate functions in a wrong context. Usually, you can use aggregate functions in the following contexts: a list of expressions in\n SELECT; in HAVING and ORDER BY sections; and other dialect-specific cases. The following queries will display an error.\n\n SELECT a FROM foo WHERE MAX(b) > 0;\n SELECT a FROM foo GROUP BY MAX(a);\n\n* Nested calls of aggregate functions.\n\n SELECT MAX(SUM(a)) FROM foo GROUP BY a;\n\n This rule does not apply to analytic functions. The following query is valid and correct.\n\n SELECT MAX(SUM(a) OVER ()) FROM foo;\n\n* Usages of HAVING without aggregate functions. In this case, consider rewriting your code using the WHERE section.\n\n SELECT a, MAX(b) FROM foo GROUP BY a HAVING a > 0;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlAggregates", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlMissingColumnAliasesInspection", + "shortDescription": { + "text": "Missing column aliases" + }, + "fullDescription": { + "text": "Reports queries without explicit aliases in output expressions (for example, in the SELECT statement). Example (PostgreSQL): 'CREATE TABLE foo(a INT, b INT);\n\nSELECT 1, a + 1 AS A2, MAX(b) AS M\nFROM foo;'", + "markdown": "Reports queries without explicit aliases in output expressions (for example, in the SELECT statement).\n\nExample (PostgreSQL):\n\n CREATE TABLE foo(a INT, b INT);\n\n SELECT 1, a + 1 AS A2, MAX(b) AS M\n FROM foo;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlMissingColumnAliases", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlAddNotNullColumnInspection", + "shortDescription": { + "text": "Adding not null column without default value" + }, + "fullDescription": { + "text": "Reports attempts to create NOT NULL columns without DEFAULT values. Example (Microsoft SQL Server): 'CREATE TABLE foo (a INT, b INT)\n\nALTER TABLE foo ADD c INT NOT NULL;' By default, a column holds NULL values. In the example, we use the NOT NULL constraint that enforces a column not to accept NULL values. If we prohibit to use NULL values, we must set the DEFAULT value that SQL can use when we create a new record. 'ALTER TABLE foo ADD c INT NOT NULL DEFAULT 42;' You can quickly add the DEFAULT value by using the Add DEFAULT value quick-fix.", + "markdown": "Reports attempts to create NOT NULL columns without DEFAULT values.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE foo (a INT, b INT)\n\n ALTER TABLE foo ADD c INT NOT NULL;\n\nBy default, a column holds NULL values. In the example, we use the NOT NULL constraint that enforces a column not to accept NULL values.\nIf we prohibit to use NULL values, we must set the DEFAULT value that SQL can use when we create a new record.\n\n ALTER TABLE foo ADD c INT NOT NULL DEFAULT 42;\n\nYou can quickly add the DEFAULT value by using the **Add DEFAULT value** quick-fix." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlAddNotNullColumn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "MongoJSExtResolveInspection", + "shortDescription": { + "text": "Resolution problems" + }, + "fullDescription": { + "text": "Reports unresolved references in MongoDB and JavaScript code.", + "markdown": "Reports unresolved references in MongoDB and JavaScript code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "MongoJSResolve", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "MongoJS", + "index": 81, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlIllegalCursorStateInspection", + "shortDescription": { + "text": "Illegal cursor state" + }, + "fullDescription": { + "text": "Reports illegal cursor states inside SQL routines. A routine has CLOSE or FETCH statements but a cursor might be closed. A routine has the OPEN statement but a cursor might be opened. Example (Microsoft SQL Server): 'CREATE TABLE t(col INT);\n\nCREATE PROCEDURE foo() AS\nBEGIN\nDECLARE my_cursor CURSOR FOR SELECT * FROM t;\nDECLARE a INT;\nFETCH my_cursor INTO a;\nCLOSE my_cursor;\nEND;' According to CLOSE (Transact-SQL) at docs.microsoft.com, CLOSE must be issued on an open cursor, and CLOSE is not allowed on cursors that have only been declared or are already closed. So, we need to open the cursor to fix the warning. 'CREATE PROCEDURE foo() AS\nBEGIN\nDECLARE my_cursor CURSOR FOR SELECT * FROM t;\nDECLARE a INT;\nOPEN my_cursor;\nFETCH my_cursor INTO a;\nCLOSE my_cursor;\nEND;'", + "markdown": "Reports illegal cursor states inside SQL routines.\n\n* A routine has CLOSE or FETCH statements but a cursor might be closed.\n* A routine has the OPEN statement but a cursor might be opened.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE t(col INT);\n\n CREATE PROCEDURE foo() AS\n BEGIN\n DECLARE my_cursor CURSOR FOR SELECT * FROM t;\n DECLARE a INT;\n FETCH my_cursor INTO a;\n CLOSE my_cursor;\n END;\n\nAccording to [CLOSE (Transact-SQL) at\ndocs.microsoft.com](https://docs.microsoft.com/en-us/sql/t-sql/language-elements/close-transact-sql), CLOSE must be issued on an open cursor, and CLOSE is not allowed on cursors that have only been declared or are\nalready closed. So, we need to open the cursor to fix the warning.\n\n CREATE PROCEDURE foo() AS\n BEGIN\n DECLARE my_cursor CURSOR FOR SELECT * FROM t;\n DECLARE a INT;\n OPEN my_cursor;\n FETCH my_cursor INTO a;\n CLOSE my_cursor;\n END;\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlIllegalCursorState", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlDuplicateColumnInspection", + "shortDescription": { + "text": "Duplicating column name in SELECT" + }, + "fullDescription": { + "text": "Reports duplicated names of column aliases in SELECT lists. Example (Sybase ASE): 'CREATE TABLE t1 (a TEXT, b INT, c INT);\n\nSELECT a AS x, b AS x FROM t1;' The 'x' alias name is used for 'a' and 'b' columns. These assignments are highlighted as errors because you cannot use identical alias names for columns in Sybase ASE.", + "markdown": "Reports duplicated names of column aliases in SELECT lists.\n\nExample (Sybase ASE):\n\n CREATE TABLE t1 (a TEXT, b INT, c INT);\n\n SELECT a AS x, b AS x FROM t1;\n\nThe `x` alias name is used for `a` and `b` columns. These assignments are highlighted as errors because\nyou cannot use identical alias names for columns in Sybase ASE." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlDuplicateColumn", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "SqlIdentifierInspection", + "shortDescription": { + "text": "Identifier should be quoted" + }, + "fullDescription": { + "text": "Reports situations when you use SQL reserved keywords as identifier names in your query. Example (Microsoft SQL Server): 'CREATE TABLE select (identity INT IDENTITY NOT NULL, order INT NOT NULL);' We use 'select', 'identity', and 'order' as table and column names. But they are also reserved keywords in Microsoft SQL Server. Therefore, in order to use them as object names in the query, you must quote these identifiers. To quote them, you can use the Quote identifier quick-fix. After the quick-fix is applied: 'CREATE TABLE [select] ([identity] INT IDENTITY NOT NULL, [order] INT NOT NULL);'", + "markdown": "Reports situations when you use SQL reserved keywords as identifier names in your query.\n\nExample (Microsoft SQL Server):\n\n CREATE TABLE select (identity INT IDENTITY NOT NULL, order INT NOT NULL);\n\nWe use `select`, `identity`, and `order` as table and column names.\nBut they are also reserved keywords in Microsoft SQL Server.\nTherefore, in order to use them as object names in the query, you must quote these identifiers. To quote them, you can use the\n**Quote identifier** quick-fix.\n\nAfter the quick-fix is applied:\n\n CREATE TABLE [select] ([identity] INT IDENTITY NOT NULL, [order] INT NOT NULL);\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "SqlIdentifier", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "SQL", + "index": 23, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.intellij.css", + "version": "232.9083.8", + "rules": [ + { + "id": "CssInvalidFunction", + "shortDescription": { + "text": "Invalid function" + }, + "fullDescription": { + "text": "Reports an unknown CSS function or an incorrect function parameter.", + "markdown": "Reports an unknown [CSS function](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions) or an incorrect function parameter." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssInvalidFunction", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssConvertColorToRgbInspection", + "shortDescription": { + "text": "Color could be replaced with rgb()" + }, + "fullDescription": { + "text": "Reports an 'hsl()' or 'hwb()' color function or a hexadecimal color notation. Suggests replacing such color value with an equivalent 'rgb()' or 'rgba()' color function. Example: '#0c0fff' After the quick-fix is applied: 'rgb(12, 15, 255)'.", + "markdown": "Reports an `hsl()` or `hwb()` color function or a hexadecimal color notation.\n\nSuggests replacing such color value with an equivalent `rgb()` or `rgba()` color function.\n\n**Example:**\n\n #0c0fff\n\nAfter the quick-fix is applied:\n\n rgb(12, 15, 255).\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssConvertColorToRgbInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssOverwrittenProperties", + "shortDescription": { + "text": "Overwritten property" + }, + "fullDescription": { + "text": "Reports a duplicated CSS property within a ruleset. Respects shorthand properties. Example: '.foo {\n margin-bottom: 1px;\n margin-bottom: 1px; /* duplicates margin-bottom */\n margin: 0; /* overrides margin-bottom */\n}'", + "markdown": "Reports a duplicated CSS property within a ruleset. Respects shorthand properties.\n\n**Example:**\n\n\n .foo {\n margin-bottom: 1px;\n margin-bottom: 1px; /* duplicates margin-bottom */\n margin: 0; /* overrides margin-bottom */\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssOverwrittenProperties", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidNestedSelector", + "shortDescription": { + "text": "Invalid nested selector" + }, + "fullDescription": { + "text": "Reports a nested selector starting with an identifier or a functional notation.", + "markdown": "Reports a nested selector starting with an identifier or a functional notation." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssInvalidNestedSelector", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidHtmlTagReference", + "shortDescription": { + "text": "Invalid type selector" + }, + "fullDescription": { + "text": "Reports a CSS type selector that matches an unknown HTML element.", + "markdown": "Reports a CSS [type selector](https://developer.mozilla.org/en-US/docs/Web/CSS/Type_selectors) that matches an unknown HTML element." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssInvalidHtmlTagReference", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssMissingSemicolon", + "shortDescription": { + "text": "Missing semicolon" + }, + "fullDescription": { + "text": "Reports a missing semicolon at the end of a declaration.", + "markdown": "Reports a missing semicolon at the end of a declaration." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssMissingSemicolon", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Code style issues", + "index": 101, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssUnknownTarget", + "shortDescription": { + "text": "Unresolved file reference" + }, + "fullDescription": { + "text": "Reports an unresolved file reference, for example, an incorrect path in an '@import' statement.", + "markdown": "Reports an unresolved file reference, for example, an incorrect path in an `@import` statement." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssUnknownTarget", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidCharsetRule", + "shortDescription": { + "text": "Misplaced or incorrect @charset" + }, + "fullDescription": { + "text": "Reports a misplaced '@charset' at-rule or an incorrect charset value.", + "markdown": "Reports a misplaced `@charset` at-rule or an incorrect charset value." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssInvalidCharsetRule", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidPseudoSelector", + "shortDescription": { + "text": "Invalid pseudo-selector" + }, + "fullDescription": { + "text": "Reports an incorrect CSS pseudo-class pseudo-element.", + "markdown": "Reports an incorrect CSS [pseudo-class](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes) [pseudo-element](https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssInvalidPseudoSelector", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssBrowserCompatibilityForProperties", + "shortDescription": { + "text": "Property is incompatible with selected browsers" + }, + "fullDescription": { + "text": "Reports a CSS property that is not supported by the specified browsers. Based on the MDN Compatibility Data.", + "markdown": "Reports a CSS property that is not supported by the specified browsers. Based on the [MDN Compatibility Data](https://github.com/mdn/browser-compat-data)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssBrowserCompatibilityForProperties", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidMediaFeature", + "shortDescription": { + "text": "Invalid media feature" + }, + "fullDescription": { + "text": "Reports an unknown CSS media feature or an incorrect media feature value.", + "markdown": "Reports an unknown [CSS media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries) or an incorrect media feature value." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssInvalidMediaFeature", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssUnresolvedCustomProperty", + "shortDescription": { + "text": "Unresolved custom property" + }, + "fullDescription": { + "text": "Reports an unresolved reference to a custom property among the arguments of the 'var()' function.", + "markdown": "Reports an unresolved reference to a [custom property](https://developer.mozilla.org/en-US/docs/Web/CSS/--*) among the arguments of the `var()` function." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssUnresolvedCustomProperty", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssUnknownProperty", + "shortDescription": { + "text": "Unknown property" + }, + "fullDescription": { + "text": "Reports an unknown CSS property or a property used in a wrong context. Add the unknown property to the 'Custom CSS properties' list to skip validation.", + "markdown": "Reports an unknown CSS property or a property used in a wrong context.\n\nAdd the unknown property to the 'Custom CSS properties' list to skip validation." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssUnknownProperty", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssMissingComma", + "shortDescription": { + "text": "Missing comma in selector list" + }, + "fullDescription": { + "text": "Reports a multi-line selector. Most likely this means that several single-line selectors are actually intended but a comma is missing at the end of one or several lines. Example: 'input /* comma has probably been forgotten */\n.button {\n margin: 1px;\n}'", + "markdown": "Reports a multi-line selector. Most likely this means that several single-line selectors are actually intended but a comma is missing at the end of one or several lines.\n\n**Example:**\n\n\n input /* comma has probably been forgotten */\n .button {\n margin: 1px;\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssMissingComma", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Probable bugs", + "index": 122, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssUnusedSymbol", + "shortDescription": { + "text": "Unused selector" + }, + "fullDescription": { + "text": "Reports a CSS class or an element IDs that appears in selectors but is not used in HTML. Note that complete inspection results are available only when running it via Code | Inspect Code or Code | Analyze Code | Run Inspection by Name. Due to performance reasons, style sheet files are not inspected on the fly.", + "markdown": "Reports a CSS class or an element IDs that appears in selectors but is not used in HTML.\n\n\nNote that complete inspection results are available only when running it via **Code \\| Inspect Code** or\n**Code \\| Analyze Code \\| Run Inspection by Name**.\nDue to performance reasons, style sheet files are not inspected on the fly." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssUnusedSymbol", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssNonIntegerLengthInPixels", + "shortDescription": { + "text": "Non-integer length in pixels" + }, + "fullDescription": { + "text": "Reports a non-integer length in pixels. Example: 'width: 3.14px'", + "markdown": "Reports a non-integer length in pixels.\n\n**Example:**\n\n width: 3.14px\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CssNonIntegerLengthInPixels", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Probable bugs", + "index": 122, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssConvertColorToHexInspection", + "shortDescription": { + "text": "Color could be replaced with #-hex" + }, + "fullDescription": { + "text": "Reports an 'rgb()', 'hsl()', or other color function. Suggests replacing a color function with an equivalent hexadecimal notation. Example: 'rgb(12, 15, 255)' After the quick-fix is applied: '#0c0fff'.", + "markdown": "Reports an `rgb()`, `hsl()`, or other color function.\n\nSuggests replacing a color function with an equivalent hexadecimal notation.\n\n**Example:**\n\n rgb(12, 15, 255)\n\nAfter the quick-fix is applied:\n\n #0c0fff.\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssConvertColorToHexInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidAtRule", + "shortDescription": { + "text": "Unknown at-rule" + }, + "fullDescription": { + "text": "Reports an unknown CSS at-rule.", + "markdown": "Reports an unknown [CSS at-rule](https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssInvalidAtRule", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssNegativeValue", + "shortDescription": { + "text": "Negative property value" + }, + "fullDescription": { + "text": "Reports a negative value of a CSS property that is not expected to be less than zero, for example, object width or height.", + "markdown": "Reports a negative value of a CSS property that is not expected to be less than zero, for example, object width or height." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssNegativeValue", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssNoGenericFontName", + "shortDescription": { + "text": "Missing generic font family name" + }, + "fullDescription": { + "text": "Verifies that the 'font-family' property contains a generic font family name as a fallback alternative. Generic font family names are: 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace'.", + "markdown": "Verifies that the [font-family](https://developer.mozilla.org/en-US/docs/Web/CSS/font-family) property contains a generic font family name as a fallback alternative.\n\n\nGeneric font family names are: `serif`, `sans-serif`, `cursive`, `fantasy`,\nand `monospace`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssNoGenericFontName", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Probable bugs", + "index": 122, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssRedundantUnit", + "shortDescription": { + "text": "Redundant measure unit" + }, + "fullDescription": { + "text": "Reports a measure unit of a zero value where units are not required by the specification. Example: 'width: 0px'", + "markdown": "Reports a measure unit of a zero value where units are not required by the specification.\n\n**Example:**\n\n width: 0px\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssRedundantUnit", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Code style issues", + "index": 101, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidPropertyValue", + "shortDescription": { + "text": "Invalid property value" + }, + "fullDescription": { + "text": "Reports an incorrect CSS property value.", + "markdown": "Reports an incorrect CSS property value." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssInvalidPropertyValue", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssReplaceWithShorthandUnsafely", + "shortDescription": { + "text": "Properties may probably be replaced with a shorthand" + }, + "fullDescription": { + "text": "Reports a set of longhand CSS properties and suggests replacing an incomplete set of longhand CSS properties with a shorthand form, which is however not 100% equivalent in this case. For example, 2 properties: 'outline-color' and 'outline-style' may be replaced with a single 'outline'. Such replacement is not 100% equivalent because shorthands reset all omitted sub-values to their initial states. In this example, switching to the 'outline' shorthand means that 'outline-width' is also set to its initial value, which is 'medium'. This inspection doesn't handle full sets of longhand properties (when switching to shorthand is 100% safe). For such cases see the 'Properties may be safely replaced with a shorthand' inspection instead.", + "markdown": "Reports a set of longhand CSS properties and suggests replacing an incomplete set of longhand CSS properties with a shorthand form, which is however not 100% equivalent in this case.\n\n\nFor example, 2 properties: `outline-color` and `outline-style` may be replaced with a single `outline`.\nSuch replacement is not 100% equivalent because shorthands reset all omitted sub-values to their initial states.\nIn this example, switching to the `outline` shorthand means that `outline-width` is also set to its initial value,\nwhich is `medium`.\n\n\nThis inspection doesn't handle full sets of longhand properties (when switching to shorthand is 100% safe).\nFor such cases see the 'Properties may be safely replaced with a shorthand' inspection instead." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CssReplaceWithShorthandUnsafely", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssInvalidImport", + "shortDescription": { + "text": "Misplaced @import" + }, + "fullDescription": { + "text": "Reports a misplaced '@import' statement. According to the specification, '@import' rules must precede all other types of rules, except '@charset' rules.", + "markdown": "Reports a misplaced `@import` statement.\n\n\nAccording to the [specification](https://developer.mozilla.org/en-US/docs/Web/CSS/@import),\n`@import` rules must precede all other types of rules, except `@charset` rules." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CssInvalidImport", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssUnresolvedClassInComposesRule", + "shortDescription": { + "text": "Unresolved class in 'composes' rule" + }, + "fullDescription": { + "text": "Reports a CSS class reference in the 'composes' rule that cannot be resolved to any valid target. Example: '.className {/* ... */}\n\n .otherClassName {\n composes: className;\n }'", + "markdown": "Reports a CSS class reference in the ['composes'](https://github.com/css-modules/css-modules#composition) rule that cannot be resolved to any valid target.\n\n**Example:**\n\n\n .className {/* ... */}\n\n .otherClassName {\n composes: className;\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "CssUnresolvedClassInComposesRule", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Invalid elements", + "index": 28, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CssReplaceWithShorthandSafely", + "shortDescription": { + "text": "Properties may be safely replaced with a shorthand" + }, + "fullDescription": { + "text": "Reports a set of longhand properties. Suggests replacing a complete set of longhand CSS properties with an equivalent shorthand form. For example, 4 properties: 'padding-top', 'padding-right', 'padding-bottom', and 'padding-left' can be safely replaced with a single 'padding' property. Note that this inspection doesn't show up if the set of longhand properties is incomplete (e.g. only 3 'padding-xxx' properties in a ruleset) because switching to a shorthand may change the result. For such cases consider the 'Properties may probably be replaced with a shorthand' inspection.", + "markdown": "Reports a set of longhand properties. Suggests replacing a complete set of longhand CSS properties with an equivalent shorthand form.\n\n\nFor example, 4 properties: `padding-top`, `padding-right`, `padding-bottom`, and\n`padding-left`\ncan be safely replaced with a single `padding` property.\n\n\nNote that this inspection doesn't show up if the set of longhand properties is incomplete\n(e.g. only 3 `padding-xxx` properties in a ruleset)\nbecause switching to a shorthand may change the result.\nFor such cases consider the 'Properties may probably be replaced with a shorthand'\ninspection." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "CssReplaceWithShorthandSafely", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "CSS", + "index": 27, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.intellij.properties", + "version": "232.9083.8", + "rules": [ + { + "id": "UseEllipsisInPropertyInspection", + "shortDescription": { + "text": "Three dot characters instead of the ellipsis" + }, + "fullDescription": { + "text": "Reports three \"dot\" characters which are used instead of the ellipsis character for UTF-8 properties files.", + "markdown": "Reports three \"dot\" characters which are used instead of the ellipsis character for UTF-8 properties files." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UseEllipsisInPropertyInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "AlphaUnsortedPropertiesFile", + "shortDescription": { + "text": "Properties file or resource bundle is alphabetically unsorted" + }, + "fullDescription": { + "text": "Reports alphabetically unsorted resource bundles or .properties files.", + "markdown": "Reports alphabetically unsorted resource bundles or .properties files." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "AlphaUnsortedPropertiesFile", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "UnusedProperty", + "shortDescription": { + "text": "Unused property" + }, + "fullDescription": { + "text": "Reports properties that are not referenced outside of the .properties file they are contained in.", + "markdown": "Reports properties that are not referenced outside of the .properties file they are contained in." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnusedProperty", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "TrailingSpacesInProperty", + "shortDescription": { + "text": "Trailing spaces in property" + }, + "fullDescription": { + "text": "Reports properties whose keys or values end with a whitespace.", + "markdown": "Reports properties whose keys or values end with a whitespace." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TrailingSpacesInProperty", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "WrongPropertyKeyValueDelimiter", + "shortDescription": { + "text": "Property key/value delimiter doesn't match code style settings" + }, + "fullDescription": { + "text": "Reports properties in which key or value delimiters do not match code style settings.", + "markdown": "Reports properties in which key or value delimiters do not match code style settings." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "WrongPropertyKeyValueDelimiter", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DuplicatePropertyInspection", + "shortDescription": { + "text": "Duplicate property" + }, + "fullDescription": { + "text": "Reports duplicate property keys with different values, duplicate keys, or duplicate property values. Example: 'property1=value;\nproperty2=value;' The Options list allows selecting the area in which the inspection should search for duplicates.", + "markdown": "Reports duplicate property keys with different values, duplicate keys, or duplicate property values.\n\nExample:\n\n\n property1=value;\n property2=value;\n\nThe **Options** list allows selecting the area in which the inspection should search for duplicates." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DuplicatePropertyInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Properties files", + "index": 33, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "XPathView", + "version": "232.9083.8", + "rules": [ + { + "id": "XsltUnusedDeclaration", + "shortDescription": { + "text": "Unused variable or parameter" + }, + "fullDescription": { + "text": "Reports local variables and parameters that are never used.", + "markdown": "Reports local variables and parameters that are never used." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XsltUnusedDeclaration", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XSLT", + "index": 38, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "RedundantTypeConversion", + "shortDescription": { + "text": "Redundant type conversion" + }, + "fullDescription": { + "text": "Reports unnecessary type conversions. Type conversions are unnecessary when the argument type of a 'string()', 'number()', or 'boolean()' function is already the same as the function's return type or if the expected expression type is 'any'. Suggests removing the unnecessary conversion.", + "markdown": "Reports unnecessary type conversions. Type conversions are unnecessary when the argument type of a `string()`, `number()`, or `boolean()` function is already the same as the function's return type or if the expected expression type is `any`. Suggests removing the unnecessary conversion." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "RedundantTypeConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XPath", + "index": 78, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CheckNodeTest", + "shortDescription": { + "text": "Unknown element or attribute name" + }, + "fullDescription": { + "text": "Reports names of elements or attributes that are used in an XPath-expression but are missing in the associated XML files and are not defined in the referenced schemas. Such names are often the result of typos and would otherwise probably only be discovered at runtime. Example: '' If the 'h' is bound to the XHTML namespace, the inspection will report this part of the 'match' expression as an unknown element name because the correct name of the element is \"textarea\".", + "markdown": "Reports names of elements or attributes that are used in an XPath-expression but are missing in the associated XML files and are not defined in the referenced schemas. Such names are often the result of typos and would otherwise probably only be discovered at runtime.\n\n**Example:**\n\n\n \n\n\nIf the `h` is bound to the XHTML namespace, the inspection will report this part of the `match` expression as an\nunknown element name because the correct name of the element is \"textarea\"." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CheckNodeTest", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XPath", + "index": 78, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XsltDeclarations", + "shortDescription": { + "text": "Incorrect declaration" + }, + "fullDescription": { + "text": "Reports duplicate declarations and illegal identifiers in XSLT variables, parameters, and named templates:", + "markdown": "Reports duplicate declarations and illegal identifiers in XSLT variables, parameters, and named templates:" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XsltDeclarations", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XSLT", + "index": 38, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HardwiredNamespacePrefix", + "shortDescription": { + "text": "Hardcoded namespace prefix" + }, + "fullDescription": { + "text": "Reports comparisons of the 'name()' function with a string that contains a colon (':'). Such usages usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that uses another prefix for the same namespace. Example: '...'", + "markdown": "Reports comparisons of the `name()` function with a string that contains a colon (`:`). Such usages usually indicate a hardcoded namespace prefix in the comparison. As a result, the code will break when run against XML that uses another prefix for the same namespace.\n\n**Example:**\n\n\n ...\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HardwiredNamespacePrefix", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XPath", + "index": 78, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ImplicitTypeConversion", + "shortDescription": { + "text": "Implicit type conversion" + }, + "fullDescription": { + "text": "Reports implicit conversions between the predefined XPath-types 'STRING', 'NUMBER', 'BOOLEAN', and 'NODESET'. Helps to write XSLT scripts that are more expressive about types and prevents subtle bugs: Example: '' is not the same as '' The first test checks whether the element \"foo\" exists ('count(foo) > 0)'; the latter one however is only true if the element actually contains any text ('string-length(foo) > 0'). Suggests making the type conversion more explicit. Use the following options to configure the inspection: Enable or disable implicit conversions between certain types Always report explicit conversions that do not result in the actually expected type, for example, '' Ignore conversion from 'NODESET' to 'BOOLEAN' by using the 'string()' function as a shortcut for writing 'string-length() > 0'.", + "markdown": "Reports implicit conversions between the predefined XPath-types `STRING`, `NUMBER`, `BOOLEAN`, and `NODESET`. Helps to write XSLT scripts that are more expressive about types and prevents subtle bugs:\n\n**Example:**\n\n\n \n\nis not the same as\n\n\n \n\n\nThe first test checks whether the element \"foo\" exists (`count(foo) > 0)`; the latter one however is only\ntrue if the element actually contains any text (`string-length(foo) > 0`). Suggests making\nthe type conversion more explicit.\n\n\nUse the following options to configure the inspection:\n\n* Enable or disable implicit conversions between certain types\n* Always report explicit conversions that do not result in the actually expected type, for example, ``\n* Ignore conversion from `NODESET` to `BOOLEAN` by using the `string()` function as a shortcut for writing `string-length() > 0`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ImplicitTypeConversion", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XPath", + "index": 78, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "IndexZeroUsage", + "shortDescription": { + "text": "XPath predicate with index 0" + }, + "fullDescription": { + "text": "Reports usages of '0' in a predicate index or in a comparison with the function 'position()'. Such usage is almost always a bug because in XPath, the index starts at '1', not at '0'. Example: '//someelement[position() = 0]' or '//something[0]'", + "markdown": "Reports usages of `0` in a predicate index or in a comparison with the function `position()`. Such usage is almost always a bug because in XPath, the index starts at `1`, *not* at `0`.\n\n**Example:**\n\n\n //someelement[position() = 0] or //something[0]\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "IndexZeroUsage", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XPath", + "index": 78, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XsltTemplateInvocation", + "shortDescription": { + "text": "Incorrect template invocation" + }, + "fullDescription": { + "text": "Reports missing arguments, passing arguments that are not declared, and passing arguments for parameters more than once in named XSLT template invocations. Parameters declared with a default value are optional and will not be reported as missing.", + "markdown": "Reports missing arguments, passing arguments that are not declared, and passing arguments for parameters more than once in named XSLT template invocations.\n\n\nParameters declared with a default value are optional and will not be reported as missing." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "XsltTemplateInvocation", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "XSLT", + "index": 38, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "XsltVariableShadowing", + "shortDescription": { + "text": "Shadowed variable" + }, + "fullDescription": { + "text": "Reports shadowed XSLT variables.", + "markdown": "Reports shadowed XSLT variables." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "XsltVariableShadowing", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "XSLT", + "index": 38, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.intellij.grazie.pro", + "version": "0.3.236", + "rules": [ + { + "id": "IdentifierGrammar", + "shortDescription": { + "text": "Identifier grammar" + }, + "fullDescription": { + "text": "Check some grammatical errors in symbol names in the code.", + "markdown": "Check some grammatical errors in symbol names in the code." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "IdentifierGrammar", + "ideaSeverity": "TYPO", + "qodanaSeverity": "Low" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "ValeProblem", + "shortDescription": { + "text": "Vale inspection" + }, + "fullDescription": { + "text": "Checks file text with Vale external tool.", + "markdown": "Checks file text with Vale external tool." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "ValeProblem", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "Style", + "shortDescription": { + "text": "Style" + }, + "fullDescription": { + "text": "Check the writing style defined in: Grazie Professional rule files (e.g. '.grazie.en.yaml' for English) for this project or its specific subdirectories. To create such a file, invoke New menu on any (e.g. root) directory of the project. Style rules in Editor | Natural languages | Rules settings This inspection only returns results via Code | Analyze Code | Run Inspection By Name... or in offline analysis. Editor highlighting of style issues is performed independently of this inspection's settings.", + "markdown": "Check the writing style defined in:\n\n* Grazie Professional rule files (e.g. `.grazie.en.yaml` for English) for this project or its specific subdirectories. To create such a file, invoke **New** menu on any (e.g. root) directory of the project.\n* *Style* rules in *Editor \\| Natural languages \\| Rules* settings\n\nThis inspection only returns results via **Code \\| Analyze Code \\| Run Inspection By Name...** or in offline analysis. Editor highlighting of style issues is performed independently of this inspection's settings." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "Style", + "ideaSeverity": "TYPO", + "qodanaSeverity": "Low" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "StructuralWrap", + "shortDescription": { + "text": "Structural wrap" + }, + "fullDescription": { + "text": "Checks that natural language text is formatted according to Semantic Line Break specification. Inserting line breaks after each substantial unit of thought can make reading easier. It can also result in more stable VCS line history.", + "markdown": "Checks that natural language text is formatted according to [Semantic Line Break](https://sembr.org/) specification. Inserting line breaks after each substantial unit of thought can make reading easier. It can also result in more stable VCS line history." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "StructuralWrap", + "ideaSeverity": "TYPO", + "qodanaSeverity": "Low" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.intellij.qodana", + "version": "232.9083.8", + "rules": [ + { + "id": "JsCoverageInspection", + "shortDescription": { + "text": "Check JavaScript and TypeScript source code coverage" + }, + "fullDescription": { + "text": "Reports methods, classes and files whose coverage is below a certain threshold.", + "markdown": "Reports methods, classes and files whose coverage is below a certain threshold." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "JsCoverageInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Code Coverage", + "index": 47, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "QodanaSanity", + "shortDescription": { + "text": "Sanity" + }, + "fullDescription": { + "text": "Reports issues essential to this file like syntax errors, unresolved methods and variables, etc...", + "markdown": "Reports issues essential to this file like syntax errors, unresolved methods and variables, etc..." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "QodanaSanity", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Qodana", + "index": 130, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.jetbrains.plugins.jade", + "version": "232.9083.8", + "rules": [ + { + "id": "JadeTabsAndSpaces", + "shortDescription": { + "text": "Tabs and spaces both used" + }, + "fullDescription": { + "text": "Reports use of spaces and tabs for indentation in a Pug file.", + "markdown": "Reports use of spaces and tabs for indentation in a Pug file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "JadeTabsAndSpaces", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Pug/Jade", + "index": 62, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "HtmlTools", + "version": "232.9083.8", + "rules": [ + { + "id": "HtmlRequiredSummaryAttribute", + "shortDescription": { + "text": "Missing required 'summary' attribute" + }, + "fullDescription": { + "text": "Reports a missing 'summary' attribute in a 'table' tag. Suggests adding a'summary' attribute. Based on WCAG 2.0: H73.", + "markdown": "Reports a missing `summary` attribute in a `table` tag. Suggests adding a`summary` attribute. Based on WCAG 2.0: [H73](https://www.w3.org/TR/WCAG20-TECHS/H73.html)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "HtmlRequiredSummaryAttribute", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlNonExistentInternetResource", + "shortDescription": { + "text": "Unresolved web link" + }, + "fullDescription": { + "text": "Reports an unresolved web link. Works by making network requests in the background.", + "markdown": "Reports an unresolved web link. Works by making network requests in the background." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlNonExistentInternetResource", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlRequiredTitleAttribute", + "shortDescription": { + "text": "Missing required 'title' attribute" + }, + "fullDescription": { + "text": "Reports a missing title attribute 'frame', 'iframe', 'dl', and 'a' tags. Suggests adding a title attribute. Based on WCAG 2.0: H33, H40, and H64.", + "markdown": "Reports a missing title attribute `frame`, `iframe`, `dl`, and `a` tags. Suggests adding a title attribute. Based on WCAG 2.0: [H33](https://www.w3.org/TR/WCAG20-TECHS/H33.html), [H40](https://www.w3.org/TR/WCAG20-TECHS/H40.html), and [H64](https://www.w3.org/TR/WCAG20-TECHS/H64.html)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "HtmlRequiredTitleAttribute", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlRequiredAltAttribute", + "shortDescription": { + "text": "Missing required 'alt' attribute" + }, + "fullDescription": { + "text": "Reports a missing 'alt' attribute in a 'img' or 'applet' tag or in a 'area' element of an image map. Suggests adding a required attribute with a text alternative for the contents of the tag. Based on WCAG 2.0: H24, H35, H36, H37.", + "markdown": "Reports a missing `alt` attribute in a `img` or `applet` tag or in a `area` element of an image map. Suggests adding a required attribute with a text alternative for the contents of the tag. Based on WCAG 2.0: [H24](https://www.w3.org/TR/WCAG20-TECHS/H24.html), [H35](https://www.w3.org/TR/WCAG20-TECHS/H35.html), [H36](https://www.w3.org/TR/WCAG20-TECHS/H36.html), [H37](https://www.w3.org/TR/WCAG20-TECHS/H37.html)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlRequiredAltAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlPresentationalElement", + "shortDescription": { + "text": "Presentational tag" + }, + "fullDescription": { + "text": "Reports a presentational HTML tag. Suggests replacing the presentational tag with a CSS or another tag.", + "markdown": "Reports a presentational HTML tag. Suggests replacing the presentational tag with a CSS or another tag." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "HtmlPresentationalElement", + "ideaSeverity": "INFORMATION", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlDeprecatedTag", + "shortDescription": { + "text": "Obsolete tag" + }, + "fullDescription": { + "text": "Reports an obsolete HTML5 tag. Suggests replacing the obsolete tag with a CSS or another tag.", + "markdown": "Reports an obsolete HTML5 tag. Suggests replacing the obsolete tag with a CSS or another tag." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlDeprecatedTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlFormInputWithoutLabel", + "shortDescription": { + "text": "Missing associated label" + }, + "fullDescription": { + "text": "Reports a form element ('input', 'textarea', or 'select') without an associated label. Suggests creating a new label. Based on WCAG 2.0: H44.", + "markdown": "Reports a form element (`input`, `textarea`, or `select`) without an associated label. Suggests creating a new label. Based on WCAG 2.0: [H44](https://www.w3.org/TR/WCAG20-TECHS/H44.html). " + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlFormInputWithoutLabel", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlRequiredTitleElement", + "shortDescription": { + "text": "Missing required 'title' element" + }, + "fullDescription": { + "text": "Reports a missing 'title' element inside a 'head' section. Suggests adding a 'title' element. The title should describe the document. Based on WCAG 2.0: H25.", + "markdown": "Reports a missing `title` element inside a `head` section. Suggests adding a `title` element. The title should describe the document. Based on WCAG 2.0: [H25](https://www.w3.org/TR/WCAG20-TECHS/H25.html)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlRequiredTitleElement", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlDeprecatedAttribute", + "shortDescription": { + "text": "Obsolete attribute" + }, + "fullDescription": { + "text": "Reports an obsolete HTML5 attribute.", + "markdown": "Reports an obsolete HTML5 attribute." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlDeprecatedAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "CheckImageSize", + "shortDescription": { + "text": "Mismatched image size" + }, + "fullDescription": { + "text": "Reports a 'width' and 'height' attribute value of a 'img' tag that is different from the actual width and height of the referenced image.", + "markdown": "Reports a `width` and `height` attribute value of a `img` tag that is different from the actual width and height of the referenced image." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "CheckImageSize", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML", + "index": 9, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "HtmlRequiredLangAttribute", + "shortDescription": { + "text": "Missing required 'lang' attribute" + }, + "fullDescription": { + "text": "Reports a missing 'lang' (or 'xml:lang') attribute in a 'html' tag. Suggests adding a required attribute to state the default language of the document. Based on WCAG 2.0: H57.", + "markdown": "Reports a missing `lang` (or `xml:lang`) attribute in a `html` tag. Suggests adding a required attribute to state the default language of the document. Based on WCAG 2.0: [H57](https://www.w3.org/TR/WCAG20-TECHS/H57.html)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HtmlRequiredLangAttribute", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "HTML/Accessibility", + "index": 74, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.jetbrains.plugins.vue", + "version": "232.9083.8", + "rules": [ + { + "id": "VueMissingComponentImportInspection", + "shortDescription": { + "text": "Missing component import" + }, + "fullDescription": { + "text": "Reports Vue components, which require to be imported in Vue templates. It provides a quick fix to add the missing import.", + "markdown": "Reports Vue components, which require to be imported in Vue templates. It provides a quick fix to add the missing import." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "VueMissingComponentImportInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VueDeprecatedSymbol", + "shortDescription": { + "text": "Deprecated symbol" + }, + "fullDescription": { + "text": "Reports a deprecated Vue symbol.", + "markdown": "Reports a deprecated Vue symbol." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "VueDeprecatedSymbol", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VueUnrecognizedDirective", + "shortDescription": { + "text": "Unrecognized directive" + }, + "fullDescription": { + "text": "Reports an unrecognized Vue directive.", + "markdown": "Reports an unrecognized Vue directive." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "VueUnrecognizedDirective", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VueDuplicateTag", + "shortDescription": { + "text": "Duplicate template/script tag" + }, + "fullDescription": { + "text": "Reports multiple usages of the 'template' or 'script' tag in a Vue file. Vue Component specification indicates that each '*.vue' file can contain at most one 'template' or 'script' block at a time.", + "markdown": "Reports multiple usages of the `template` or `script` tag in a Vue file.\n\n[Vue Component specification](https://vue-loader.vuejs.org/spec.html) indicates that each `*.vue` file can contain at most one `template` or `script` block at a time." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "VueDuplicateTag", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VueDataFunction", + "shortDescription": { + "text": "Data function" + }, + "fullDescription": { + "text": "Reports a Vue component data property that is not a function. Suggests wrapping an object literal with a function. When defining a component, 'data' must be declared as a function that returns the initial data object, because the same definition will be used for creating numerous instances. If a plain object is still used for 'data', that very object will be shared by reference across all instances created! With a 'data' function, every time a new instance is created we can simply call it to return a fresh copy of the initial data.", + "markdown": "Reports a Vue component [data](https://vuejs.org/v2/api/#data) property that is not a function. Suggests wrapping an object literal with a function.\n\nWhen defining a component, `data` must be declared as a function that returns the initial data object, because the same definition will be used for creating numerous instances. If a plain object is still used for `data`, that very object will be shared by reference across all instances created! With a `data` function, every time a new instance is created we can simply call it to return a fresh copy of the initial data." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "VueDataFunction", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "VueUnrecognizedSlot", + "shortDescription": { + "text": "Unrecognized slot" + }, + "fullDescription": { + "text": "Reports an unrecognized Vue slot.", + "markdown": "Reports an unrecognized Vue slot." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "VueUnrecognizedSlot", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "Vue", + "index": 80, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.jetbrains.plugins.yaml", + "version": "232.9083.8", + "rules": [ + { + "id": "YAMLIncompatibleTypes", + "shortDescription": { + "text": "Suspicious type mismatch" + }, + "fullDescription": { + "text": "Reports a mismatch between a scalar value type in YAML file and types of the values in the similar positions. Example: 'myElements:\n - value1\n - value2\n - false # <- reported, because it is a boolean value, while other values are strings'", + "markdown": "Reports a mismatch between a scalar value type in YAML file and types of the values in the similar positions.\n\n**Example:**\n\n\n myElements:\n - value1\n - value2\n - false # <- reported, because it is a boolean value, while other values are strings\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "YAMLIncompatibleTypes", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLUnresolvedAlias", + "shortDescription": { + "text": "Unresolved alias" + }, + "fullDescription": { + "text": "Reports unresolved aliases in YAML files. Example: 'some_key: *unknown_alias'", + "markdown": "Reports unresolved aliases in YAML files.\n\n**Example:**\n\n\n some_key: *unknown_alias\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "YAMLUnresolvedAlias", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLDuplicatedKeys", + "shortDescription": { + "text": "Duplicated YAML keys" + }, + "fullDescription": { + "text": "Reports duplicated keys in YAML files. Example: 'same_key: some value\n same_key: another value'", + "markdown": "Reports duplicated keys in YAML files.\n\n**Example:**\n\n\n same_key: some value\n same_key: another value\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "YAMLDuplicatedKeys", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLSchemaValidation", + "shortDescription": { + "text": "Validation by JSON Schema" + }, + "fullDescription": { + "text": "Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified. Scheme example: '{\n \"properties\": {\n \"SomeNumberProperty\": {\n \"type\": \"number\"\n }\n }\n }' The following is an example with the corresponding warning: 'SomeNumberProperty: hello world'", + "markdown": "Reports inconsistencies between a YAML file and a JSON Schema if the schema is specified.\n\n**Scheme example:**\n\n\n {\n \"properties\": {\n \"SomeNumberProperty\": {\n \"type\": \"number\"\n }\n }\n }\n\n**The following is an example with the corresponding warning:**\n\n\n SomeNumberProperty: hello world\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "YAMLSchemaValidation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLSchemaDeprecation", + "shortDescription": { + "text": "Deprecated YAML key" + }, + "fullDescription": { + "text": "Reports deprecated keys in YAML files. Deprecation is checked only if there exists a JSON schema associated with the corresponding YAML file. Note that the deprecation mechanism is not defined in the JSON Schema specification yet, and this inspection uses a non-standard 'deprecationMessage' extension. Scheme deprecation example: '{\n \"properties\": {\n \"SomeDeprecatedProperty\": {\n \"deprecationMessage\": \"Baz\",\n \"description\": \"Foo bar\"\n }\n }\n }' The following is an example with the corresponding warning: 'SomeDeprecatedProperty: some value'", + "markdown": "Reports deprecated keys in YAML files.\n\nDeprecation is checked only if there exists a JSON schema associated with the corresponding YAML file.\n\nNote that the deprecation mechanism is not defined in the JSON Schema specification yet,\nand this inspection uses a non-standard `deprecationMessage` extension.\n\n**Scheme deprecation example:**\n\n\n {\n \"properties\": {\n \"SomeDeprecatedProperty\": {\n \"deprecationMessage\": \"Baz\",\n \"description\": \"Foo bar\"\n }\n }\n }\n\n**The following is an example with the corresponding warning:**\n\n\n SomeDeprecatedProperty: some value\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "YAMLSchemaDeprecation", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLRecursiveAlias", + "shortDescription": { + "text": "Recursive alias" + }, + "fullDescription": { + "text": "Reports recursion in YAML aliases. Alias can't be recursive and be used inside the data referenced by a corresponding anchor. Example: 'some_key: &some_anchor\n sub_key1: value1\n sub_key2: *some_anchor'", + "markdown": "Reports recursion in YAML aliases.\n\nAlias can't be recursive and be used inside the data referenced by a corresponding anchor.\n\n**Example:**\n\n\n some_key: &some_anchor\n sub_key1: value1\n sub_key2: *some_anchor\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "YAMLRecursiveAlias", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "YAMLUnusedAnchor", + "shortDescription": { + "text": "Unused anchor" + }, + "fullDescription": { + "text": "Reports unused anchors. Example: 'some_key: &some_anchor\n key1: value1'", + "markdown": "Reports unused anchors.\n\n**Example:**\n\n\n some_key: &some_anchor\n key1: value1\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "YAMLUnusedAnchor", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "YAML", + "index": 85, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "intellij.webpack", + "version": "232.9083.8", + "rules": [ + { + "id": "WebpackConfigHighlighting", + "shortDescription": { + "text": "Webpack config compliance with JSON Schema" + }, + "fullDescription": { + "text": "Validates options in webpack config files (which name should start with `webpack`, e.g. `webpack.config.js`) against webpack options schema. Disable this inspection to turn off validation and code completion inside the configuration object.", + "markdown": "Validates options in webpack config files (which name should start with \\`webpack\\`, e.g. \\`webpack.config.js\\`) against [webpack options schema](https://github.com/webpack/webpack/blob/master/schemas/WebpackOptions.json). \n\nDisable this inspection to turn off validation and code completion inside the configuration object." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "WebpackConfigHighlighting", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/General", + "index": 16, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.jetbrains.sh", + "version": "232.9083.8", + "rules": [ + { + "id": "ShellCheck", + "shortDescription": { + "text": "ShellCheck" + }, + "fullDescription": { + "text": "Reports shell script bugs detected by the integrated ShellCheck static analysis tool.", + "markdown": "Reports shell script bugs detected by the integrated [ShellCheck](https://github.com/koalaman/shellcheck) static analysis tool." + }, + "defaultConfiguration": { + "enabled": false, + "level": "error", + "parameters": { + "suppressToolId": "ShellCheck", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "Shell script", + "index": 98, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.jetbrains.plugins.less", + "version": "232.9083.8", + "rules": [ + { + "id": "LessResolvedByNameOnly", + "shortDescription": { + "text": "Missing import" + }, + "fullDescription": { + "text": "Reports a reference to a variable or mixin that is declared in another file, which is not explicitly imported in the current file. Example: '* {\n margin: @var-in-other-file;\n}'", + "markdown": "Reports a reference to a variable or mixin that is declared in another file, which is not explicitly [imported](http://lesscss.org/features/#import-atrules-feature) in the current file.\n\n**Example:**\n\n\n * {\n margin: @var-in-other-file;\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "LessResolvedByNameOnly", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "Less", + "index": 107, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LessUnresolvedVariable", + "shortDescription": { + "text": "Unresolved variable" + }, + "fullDescription": { + "text": "Reports a reference to a Less variable that is not resolved. Example: '* {\n margin: @unknown-var;\n}'", + "markdown": "Reports a reference to a [Less variable](http://lesscss.org/features/#variables-feature) that is not resolved.\n\n**Example:**\n\n\n * {\n margin: @unknown-var;\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LessUnresolvedVariable", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Less", + "index": 107, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "LessUnresolvedMixin", + "shortDescription": { + "text": "Unresolved mixin" + }, + "fullDescription": { + "text": "Reports a reference to a Less mixin that is not resolved. Example: '* {\n .unknown-mixin();\n}'", + "markdown": "Reports a reference to a [Less mixin](http://lesscss.org/features/#mixins-feature) that is not resolved.\n\n**Example:**\n\n\n * {\n .unknown-mixin();\n }\n" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LessUnresolvedMixin", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Less", + "index": 107, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "tanvd.grazi", + "version": "232.8660.88", + "rules": [ + { + "id": "LanguageDetectionInspection", + "shortDescription": { + "text": "Natural language detection" + }, + "fullDescription": { + "text": "Detects natural languages and suggests enabling corresponding grammar and spelling checks.", + "markdown": "Detects natural languages and suggests enabling corresponding grammar and spelling checks." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "LanguageDetectionInspection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "GrazieInspection", + "shortDescription": { + "text": "Grammar" + }, + "fullDescription": { + "text": "Reports grammar mistakes in your text. You can configure the inspection in Settings | Editor | Natural Languages | Grammar.", + "markdown": "Reports grammar mistakes in your text. You can configure the inspection in [Settings \\| Editor \\| Natural Languages \\| Grammar](settings://reference.settingsdialog.project.grazie)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "GrazieInspection", + "ideaSeverity": "GRAMMAR_ERROR", + "qodanaSeverity": "Info" + } + }, + "relationships": [ + { + "target": { + "id": "Proofreading", + "index": 45, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.jetbrains.rider-cpp", + "version": "232.9083.8", + "rules": [ + { + "id": "UnrealJsonLocalInspectionTool", + "shortDescription": { + "text": "Unreal Engine json inspection" + }, + "fullDescription": { + "text": "RIDER-83134", + "markdown": "[RIDER-83134](https://youtrack.jetbrains.com/issue/RIDER-83134/)" + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "UnrealJsonLocalInspectionTool", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Unreal Engine", + "index": 111, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "Karma", + "version": "232.9083.8", + "rules": [ + { + "id": "KarmaConfigFile", + "shortDescription": { + "text": "Invalid Karma configuration file" + }, + "fullDescription": { + "text": "Reports a potential error in a file path ('basePath', 'files') for a Karma configuration file, for example, 'karma.conf.js'.", + "markdown": "Reports a potential error in a file path ('basePath', 'files') for a Karma configuration file, for example, `karma.conf.js`." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "KarmaConfigFile", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Unit testing", + "index": 116, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.jetbrains.plugins.ini4idea", + "version": "232.9083.8", + "rules": [ + { + "id": "DuplicateSectionInFile", + "shortDescription": { + "text": "Duplicate section in file" + }, + "fullDescription": { + "text": "Reports duplicate sections in the 'ini' file.", + "markdown": "Reports duplicate sections in the `ini` file." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DuplicateSectionInFile", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Ini files", + "index": 123, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + }, + { + "id": "DuplicateKeyInSection", + "shortDescription": { + "text": "Duplicate directive in section" + }, + "fullDescription": { + "text": "Reports duplicate properties in the 'ini' file section.", + "markdown": "Reports duplicate properties in the `ini` file section." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "DuplicateKeyInSection", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Ini files", + "index": 123, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "tslint", + "version": "232.9083.8", + "rules": [ + { + "id": "TsLint", + "shortDescription": { + "text": "TSLint" + }, + "fullDescription": { + "text": "Reports a discrepancy detected by the TSLint linter. The highlighting is based on the rule severity specified in the TSLint configuration file for each individual rule. Clear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all TSLint rules.", + "markdown": "Reports a discrepancy detected by the [TSLint](https://github.com/palantir/tslint) linter. \n\nThe highlighting is based on the rule severity specified in the [TSLint configuration file](https://palantir.github.io/tslint/usage/configuration/) for each individual rule. \n\nClear the 'Use rule severity from the configuration file' checkbox to use the severity configured in this inspection for all TSLint rules." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "TsLint", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "JavaScript and TypeScript/Code quality tools", + "index": 61, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "org.intellij.intelliLang", + "version": "232.9083.8", + "rules": [ + { + "id": "InjectedReferences", + "shortDescription": { + "text": "Injected references" + }, + "fullDescription": { + "text": "Reports unresolved references injected by Language Injections. Example: '@Language(\"file-reference\")\n String fileName = \"/home/user/nonexistent.file\"; // highlighted if file doesn't exist'", + "markdown": "Reports unresolved references injected by [Language Injections](https://www.jetbrains.com/help/idea/using-language-injections.html).\n\nExample:\n\n\n @Language(\"file-reference\")\n String fileName = \"/home/user/nonexistent.file\"; // highlighted if file doesn't exist\n" + }, + "defaultConfiguration": { + "enabled": true, + "level": "error", + "parameters": { + "suppressToolId": "InjectedReferences", + "ideaSeverity": "ERROR", + "qodanaSeverity": "Critical" + } + }, + "relationships": [ + { + "target": { + "id": "General", + "index": 41, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "W3Validators", + "version": "232.9083.8", + "rules": [ + { + "id": "W3CssValidation", + "shortDescription": { + "text": "W3C CSS validator" + }, + "fullDescription": { + "text": "Reports a discrepancy detected by the W3C CSS Validator.", + "markdown": "Reports a discrepancy detected by the [W3C CSS Validator](https://jigsaw.w3.org/css-validator/)." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "W3CssValidation", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "CSS/Code quality tools", + "index": 113, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.intellij.plugins.watcher", + "version": "232.9083.8", + "rules": [ + { + "id": "TaskProblemsInspection", + "shortDescription": { + "text": "File watcher problems" + }, + "fullDescription": { + "text": "Reports an error detected by the output filters from a File Watcher. A File Watcher tracks changes in files and executes the configured command when a change is detected.", + "markdown": "Reports an error detected by the output filters from a File Watcher.\n\n\nA File Watcher tracks changes in files and executes the configured command when a change is detected." + }, + "defaultConfiguration": { + "enabled": false, + "level": "note", + "parameters": { + "suppressToolId": "TaskProblemsInspection", + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate" + } + }, + "relationships": [ + { + "target": { + "id": "File Watchers", + "index": 131, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + }, + { + "name": "com.dmarcotte.handlebars", + "version": "232.9083.8", + "rules": [ + { + "id": "HbEmptyBlock", + "shortDescription": { + "text": "Missing block helper argument" + }, + "fullDescription": { + "text": "Reports an 'if', 'each', or 'with' block helper without an argument.", + "markdown": "Reports an `if`, `each`, or `with` block helper without an argument." + }, + "defaultConfiguration": { + "enabled": false, + "level": "warning", + "parameters": { + "suppressToolId": "HbEmptyBlock", + "ideaSeverity": "WARNING", + "qodanaSeverity": "High" + } + }, + "relationships": [ + { + "target": { + "id": "Handlebars/Mustache", + "index": 141, + "toolComponent": { + "name": "QDNET" + } + }, + "kinds": [ + "superset" + ] + } + ] + } + ], + "language": "en-US", + "contents": [ + "localizedData", + "nonLocalizedData" + ], + "isComprehensive": false + } + ] + }, + "invocations": [ + { + "exitCode": 0, + "toolExecutionNotifications": [ + { + "message": { + "text": "Reporting from [] 'sanity' inspections was suspended due to high problems count." + }, + "level": "error" + } + ], + "executionSuccessful": true + } + ], + "language": "en-US", + "versionControlProvenance": [ + { + "repositoryUri": "https://github.com/hxdnshx/MaaAssistantArknights.git", + "revisionId": "b8f21ffb887efc83b4ad71dd2d0d55dfcf987361", + "branch": "refs/heads/dev", + "properties": { + "repoUrl": "https://github.com/hxdnshx/MaaAssistantArknights.git", + "lastAuthorName": "Infko", + "vcsType": "Git", + "lastAuthorEmail": "recollectionforgot@gmail.com" + } + } + ], + "results": [ + { + "ruleId": "AccessToModifiedClosure", + "kind": "fail", + "level": "warning", + "message": { + "text": "Captured variable is modified in the outer scope", + "markdown": "Captured variable is modified in the outer scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 726, + "startColumn": 91, + "charOffset": 29924, + "charLength": 1, + "snippet": { + "text": "i" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 724, + "startColumn": 1, + "charOffset": 29732, + "charLength": 324, + "snippet": { + "text": " {\r\n Execute.OnUIThread(() => Instances.TaskQueueViewModel.AddLog(\r\n LocalizationHelper.GetString(\"WaitForEmulator\") + \": \" + (delay - i) + \"s\"));\r\n _logger.Information(\"Waiting for the emulator to start: \" + (delay - i) + \"s\");\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "389caa54b121fe79ec1345fd1225fd0467fccd06d9c45d9483ef3a1389f90b1c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 312, + "startColumn": 46, + "charOffset": 12274, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 310, + "startColumn": 1, + "charOffset": 12108, + "charLength": 195, + "snippet": { + "text": " (int)User32.MB_RESULT.IDCANCEL => MessageBoxResult.Cancel,\r\n 0 => MessageBoxResult.None,\r\n _ => (MessageBoxResult)button,\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "00468b968c5fa1e0a73e2377947f0266d12a804995ede6edea926e9caa4e55bc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2439, + "startColumn": 62, + "charOffset": 92252, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2437, + "startColumn": 1, + "charOffset": 92043, + "charLength": 225, + "snippet": { + "text": " { \"Nox\", new List { \"127.0.0.1:62001\", \"127.0.0.1:59865\" } },\r\n { \"XYAZ\", new List { \"127.0.0.1:21503\" } },\r\n { \"WSA\", new List { \"127.0.0.1:58526\" } },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "063a2a71b00d4d5c4e9f5fc0bf3930a930fff44d9dbb7aedeefdedb1d720bb20" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 621, + "startColumn": 59, + "charOffset": 20171, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 619, + "startColumn": 1, + "charOffset": 20036, + "charLength": 150, + "snippet": { + "text": " /// \r\n [Description(\"未激活时闪烁直到窗口被激活或收到停止\")]\r\n FLASHW_TIMERNOFG = FLASHW_TRAY | FLASHW_PARAM2,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0d5e2c36721a53d79aad5d4f36a74651b01b0fd65c5d245899b058af98d87d8f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 371, + "startColumn": 19, + "charOffset": 12867, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 369, + "startColumn": 1, + "charOffset": 12798, + "charLength": 84, + "snippet": { + "text": " /// 原生下载器\r\n /// \r\n Native,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0f27b86ec889d474ebf9dce860cbbadcb99cdb809bf803b47d520a4674baa6e8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1112, + "startColumn": 41, + "charOffset": 46295, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1110, + "startColumn": 1, + "charOffset": 46184, + "charLength": 179, + "snippet": { + "text": " {\r\n FileName = \"explorer\",\r\n Arguments = args,\r\n };\r\n Process.Start(info);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0f35751d21d694db966c0b8603241d6c542b44aaaf132cd87b73f3fae6cfb4a2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1463, + "startColumn": 44, + "charOffset": 60137, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1461, + "startColumn": 1, + "charOffset": 60001, + "charLength": 156, + "snippet": { + "text": " [\"mode\"] = is_custom ? 10000 : 0,\r\n [\"filename\"] = filename,\r\n [\"plan_index\"] = plan_index,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "119a4ef4753edc39052c76496c2687ede0436af79ceefd155c0ad58e1cb3ae3f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2968, + "startColumn": 25, + "charOffset": 111387, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2966, + "startColumn": 1, + "charOffset": 111321, + "charLength": 81, + "snippet": { + "text": " Clear,\r\n Inverse,\r\n ClearInverse,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "12c5e38eccf62159449cf4bbdd9ae331b307e6247456c76a210ef7ee0d711dcb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 370, + "startColumn": 75, + "charOffset": 12921, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 368, + "startColumn": 1, + "charOffset": 12787, + "charLength": 154, + "snippet": { + "text": " var dialog = new OpenFileDialog\r\n {\r\n Filter = \"JSON|*.json|Video|*.mp4;*.m4s;*.mkv;*.flv;*.avi\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1413e92f5f9276ac397db9803151a99b259a5ed84036bca4be58caee8289dd36" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1003, + "startColumn": 49, + "charOffset": 39514, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1001, + "startColumn": 1, + "charOffset": 39297, + "charLength": 278, + "snippet": { + "text": " Message = string.Format(LocalizationHelper.GetString(\"AddConfigSuccess\"), NewConfigurationName),\r\n IconKey = \"HangoverGeometry\",\r\n IconBrushKey = \"PallasBrush\",\r\n };\r\n Growl.Info(growinfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1453305b77164c2044244292bf508508c13939536c632de899b0af027bbabb00" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1436, + "startColumn": 31, + "charOffset": 58790, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1434, + "startColumn": 1, + "charOffset": 58678, + "charLength": 157, + "snippet": { + "text": " task_params[\"recruitment_time\"] = new JObject\r\n {\r\n [\"3\"] = 60, // 1:00\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "14b51deb599d2bca650295cf7737ad417f2844ccd2a39d0e4993474bd5a927f9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 238, + "startColumn": 46, + "charOffset": 11024, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 236, + "startColumn": 1, + "charOffset": 10747, + "charLength": 325, + "snippet": { + "text": " UtcStartTime = GetDateTime(stageObj[\"Activity\"], \"UtcStartTime\"),\r\n UtcExpireTime = GetDateTime(stageObj[\"Activity\"], \"UtcExpireTime\"),\r\n },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "15c8770afc360885d6569428d5cace57a81ed0a683dc2890440b27ba29bb6063" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 93, + "startColumn": 89, + "charOffset": 3037, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 91, + "startColumn": 1, + "charOffset": 2873, + "charLength": 269, + "snippet": { + "text": " var dictionary = new ResourceDictionary\r\n {\r\n Source = new Uri($@\"Res\\Localizations\\{cur}.xaml\", UriKind.Relative),\r\n };\r\n Application.Current.Resources.MergedDictionaries.Add(dictionary);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "15dc1731ccbb6de71c2d20079f289e7eb85830df77e55726e240f153a365ac25" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 173, + "startColumn": 23, + "charOffset": 5919, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 171, + "startColumn": 1, + "charOffset": 5840, + "charLength": 99, + "snippet": { + "text": " \"Reception\",\r\n \"Office\",\r\n \"Dorm\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "16118fdd302a5dd807fc910fa0a603dd75f159e8d60aa024f7ae37919860a87b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1663, + "startColumn": 35, + "charOffset": 60461, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1661, + "startColumn": 1, + "charOffset": 60347, + "charLength": 129, + "snippet": { + "text": " /// Computer shutdown without Persist.\r\n /// \r\n ShutdownWithoutPersist,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "163a1bd99bac0e743c574c4435c7710d000feee468dc5c900b8a6a6a14efae9f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1374, + "startColumn": 48, + "charOffset": 50717, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1372, + "startColumn": 1, + "charOffset": 50562, + "charLength": 242, + "snippet": { + "text": " Arguments = $\"stop -i {emuIndex}\",\r\n CreateNoWindow = true,\r\n UseShellExecute = false,\r\n };\r\n var process = Process.Start(startInfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "16fcde49c574d5b1bd6c0dba184652a061df8f3366e81c97e7fa7bd3d7f51508" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/MaaUrls.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 70, + "startColumn": 41, + "charOffset": 3169, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 68, + "startColumn": 1, + "charOffset": 3032, + "charLength": 158, + "snippet": { + "text": " { \"ko-kr\", \"ko-kr/1.2-FAQ.html\" },\r\n { \"zh-tw\", \"zh-tw/1.2-常見問題.html\" },\r\n { \"pallas\", \"KeepDrinking\" },\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "18c496ffa720b0e5362167d0992c0b137723ec4aa939b99e22b90654a29670d2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 523, + "startColumn": 67, + "charOffset": 22426, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 521, + "startColumn": 1, + "charOffset": 22283, + "charLength": 197, + "snippet": { + "text": " {\r\n FileName = StartsWithScript,\r\n WindowStyle = ProcessWindowStyle.Minimized,\r\n\r\n // FileName = \"cmd.exe\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1ce87970adc96d2daae9f6ce91a20d8be722fbc0e4cd7b4e642ee9c9dcddbb56" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 179, + "startColumn": 132, + "charOffset": 6658, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 177, + "startColumn": 1, + "charOffset": 6423, + "charLength": 255, + "snippet": { + "text": " hwndParent = ownerWindow.Handle,\r\n nDefaultButton = (int)defaultButton,\r\n dwFlags = ComCtl32.TASKDIALOG_FLAGS.TDF_POSITION_RELATIVE_TO_WINDOW | ComCtl32.TASKDIALOG_FLAGS.TDF_SIZE_TO_CONTENT,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1ed4d67c8aace446a1a09e0b56ba7f7a43ed8f5c16868d2e3dcbaf75a0841cf4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 40, + "startColumn": 37, + "charOffset": 1336, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 38, + "startColumn": 1, + "charOffset": 1234, + "charLength": 118, + "snippet": { + "text": " { \"ja-jp\", \"日本語\" },\r\n { \"ko-kr\", \"한국어\" },\r\n { \"pallas\", \"🍻🍻🍻🍻\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1f8ee0e0434644d17c373089a174e3146a4a70c01e961d0c31dddde6eaec5a5c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 303, + "startColumn": 157, + "charOffset": 14664, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 301, + "startColumn": 1, + "charOffset": 14192, + "charLength": 492, + "snippet": { + "text": " new GenericCombinedData { Display = LocalizationHelper.GetString(\"UpdateCheckNightly\"), Value = UpdateVersionType.Nightly },\r\n new GenericCombinedData { Display = LocalizationHelper.GetString(\"UpdateCheckBeta\"), Value = UpdateVersionType.Beta },\r\n new GenericCombinedData { Display = LocalizationHelper.GetString(\"UpdateCheckStable\"), Value = UpdateVersionType.Stable },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "204b3f5fa400b0a5a4941f86b010eae5f582d0e3a64fd578ad3e3004fa665479" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 305, + "startColumn": 151, + "charOffset": 15671, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 303, + "startColumn": 1, + "charOffset": 15337, + "charLength": 367, + "snippet": { + "text": " // 周一和周日的关卡提示\r\n { \"Pormpt1\", new StageInfo { Tip = LocalizationHelper.GetString(\"Pormpt1\"), OpenDays = new[] { DayOfWeek.Monday }, IsHidden = true } },\r\n { \"Pormpt2\", new StageInfo { Tip = LocalizationHelper.GetString(\"Pormpt2\"), OpenDays = new[] { DayOfWeek.Sunday }, IsHidden = true } },\r\n })\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "21a2f5bb8fd014e38fd930c39645421fae979b2df0e29fe260b166e3cde314b0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 809, + "startColumn": 68, + "charOffset": 32899, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 807, + "startColumn": 1, + "charOffset": 32755, + "charLength": 223, + "snippet": { + "text": " {\r\n Process = p,\r\n Path = (string)mo[\"ExecutablePath\"],\r\n };\r\n foreach (var item in query)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "21c63487022c1869d862b7ea40d8843c0ec7c77640d2eb017f5aee495949c0cc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1014, + "startColumn": 49, + "charOffset": 39940, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1012, + "startColumn": 1, + "charOffset": 39727, + "charLength": 274, + "snippet": { + "text": " Message = string.Format(LocalizationHelper.GetString(\"ConfigExists\"), NewConfigurationName),\r\n IconKey = \"HangoverGeometry\",\r\n IconBrushKey = \"PallasBrush\",\r\n };\r\n Growl.Info(growinfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "25c1bb384f91cb97060780dc30c22a36f26ce7b3ca04600286300a2b6ad7455b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1325, + "startColumn": 48, + "charOffset": 48651, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1323, + "startColumn": 1, + "charOffset": 48492, + "charLength": 246, + "snippet": { + "text": " Arguments = $\"quit -index:{emuIndex}\",\r\n CreateNoWindow = true,\r\n UseShellExecute = false,\r\n };\r\n var process = Process.Start(startInfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2b9ed1f9b4afa917334e33c5fe0e4b109a85fb47c0d3d73f0d0b2617c095a1ae" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 212, + "startColumn": 100, + "charOffset": 8515, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 210, + "startColumn": 1, + "charOffset": 8190, + "charLength": 345, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"PureGold\"), Value = \"PureGold\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"OriginStone\"), Value = \"OriginStone\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"Chip\"), Value = \"Chip\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2cbcacf6bdb0c916d34f6ee29afc3442096734aaa447cd73612ca9c314f18819" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 548, + "startColumn": 67, + "charOffset": 23153, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 546, + "startColumn": 1, + "charOffset": 23012, + "charLength": 195, + "snippet": { + "text": " {\r\n FileName = EndsWithScript,\r\n WindowStyle = ProcessWindowStyle.Minimized,\r\n\r\n // FileName = \"cmd.exe\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2f15e6f6bc0fd03c6543178c6bfff1aef54d4c988df80cd693d7e7221d9423c2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3204, + "startColumn": 114, + "charOffset": 119710, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3202, + "startColumn": 1, + "charOffset": 119509, + "charLength": 221, + "snippet": { + "text": " RoguelikeSquadList = new ObservableCollection\r\n {\r\n new CombinedData { Display = LocalizationHelper.GetString(\"DefaultSquad\"), Value = string.Empty },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2f21d4b3755b388b7c351b953363ea768979ffa8f5142fc17cf510fc2e8dd334" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 252, + "startColumn": 114, + "charOffset": 11349, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 250, + "startColumn": 1, + "charOffset": 10994, + "charLength": 375, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"RoguelikeThemePhantom\"), Value = \"Phantom\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"RoguelikeThemeMizuki\"), Value = \"Mizuki\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"RoguelikeThemeSami\"), Value = \"Sami\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "31c469606ded8e422d911813f6ef69e59dd25b69273287fb50fb1e0bdbd5f7ea" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 366, + "startColumn": 55, + "charOffset": 12001, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 364, + "startColumn": 1, + "charOffset": 11838, + "charLength": 183, + "snippet": { + "text": "\r\n RightButtonContent = _buttonRightText ?? NotificationConstants.DefaultRightButtonContent,\r\n RightButtonAction = _buttonRightAction,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "33a3a48886483420aebc1849be8fcb2aac0f9feb4a025714a6abde3f7c01dbef" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 348, + "startColumn": 164, + "charOffset": 13367, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 346, + "startColumn": 1, + "charOffset": 12839, + "charLength": 651, + "snippet": { + "text": " // new GenericCombData { Display = Localization.GetString(\"ExitEmulatorAndSelfAndHibernate\") + \"*\", Value = ActionType.ExitEmulatorAndSelfAndHibernateWithoutPersist },\r\n new GenericCombinedData { Display = LocalizationHelper.GetString(\"HibernateWithoutPersist\"), Value = ActionType.HibernateWithoutPersist },\r\n new GenericCombinedData { Display = LocalizationHelper.GetString(\"ShutdownWithoutPersist\"), Value = ActionType.ShutdownWithoutPersist },\r\n };\r\n var temp_order_list = new List(new DragItemViewModel[task_list.Length]);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3579b16848a9c3946f1ef874567e0461f9942c31ffbd415e6a01e740642ba75b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 264, + "startColumn": 30, + "charOffset": 12264, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 262, + "startColumn": 1, + "charOffset": 12035, + "charLength": 261, + "snippet": { + "text": " UtcStartTime = GetDateTime(stageObj[\"Activity\"], \"UtcStartTime\"),\r\n UtcExpireTime = GetDateTime(stageObj[\"Activity\"], \"UtcExpireTime\"),\r\n },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3630f33ba903876ffbea102bc3dbb08fc7d909bd2bb39e49354b071c4e5afdc9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 184, + "startColumn": 44, + "charOffset": 7193, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 182, + "startColumn": 1, + "charOffset": 7073, + "charLength": 140, + "snippet": { + "text": " var resourceCollection = new StageActivityInfo()\r\n {\r\n IsResourceCollection = true,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3d0dcb6d7dce73ce4a39d0e9dd802cd873a120eb584f88b910a46a0fb0a1f56f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1429, + "startColumn": 32, + "charOffset": 58568, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1427, + "startColumn": 1, + "charOffset": 58455, + "charLength": 158, + "snippet": { + "text": " task_params[\"recruitment_time\"] = new JObject\r\n {\r\n [\"3\"] = 460, // 7:40\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3d395a045cedbe67bb4f769acbb72ed3b2efbcbd6f984e864ac4cd30252feea5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1211, + "startColumn": 48, + "charOffset": 44060, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1209, + "startColumn": 1, + "charOffset": 43890, + "charLength": 257, + "snippet": { + "text": " Arguments = $\"api -v {emuIndex} shutdown_player\",\r\n CreateNoWindow = true,\r\n UseShellExecute = false,\r\n };\r\n var process = Process.Start(startInfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3ea28cb09a0fe26c920f32ec005cf2c05ccce924774305036d3bd3250617b7d8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 87, + "startColumn": 74, + "charOffset": 2646, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 85, + "startColumn": 1, + "charOffset": 2510, + "charLength": 217, + "snippet": { + "text": " JObject json = new JObject\r\n {\r\n [\"allFileDownloadComplete\"] = allFileDownloadComplete,\r\n };\r\n return JsonConvert.SerializeObject(json);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3fb17b7f97d5d453cb90576259afa53f6571f1b4132187729a073db3b10a4b94" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3214, + "startColumn": 117, + "charOffset": 120106, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3212, + "startColumn": 1, + "charOffset": 119886, + "charLength": 269, + "snippet": { + "text": " foreach (var item in new ObservableCollection\r\n {\r\n new CombinedData { Display = LocalizationHelper.GetString(\"ResearchSquad\"), Value = \"研究分队\" },\r\n })\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4042c661b4606b26f7bcff53b94eb02d3ff54a667ca3c54e9badfa6e875120dd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/MaaUrls.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 50, + "startColumn": 143, + "charOffset": 2267, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 48, + "startColumn": 1, + "charOffset": 1963, + "charLength": 320, + "snippet": { + "text": " {\r\n \"zh-cn\" => \"https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/new?assignees=&labels=bug&template=cn-bug-report.yaml\",\r\n _ => \"https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/new?assignees=&labels=bug&template=en-bug-report.yaml\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4b804ed02648a72139670b2c4b307464ef21cdeed70b967129c10abd67c2bfd0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 633, + "startColumn": 42, + "charOffset": 26074, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 631, + "startColumn": 1, + "charOffset": 25967, + "charLength": 131, + "snippet": { + "text": " Process process = new Process\r\n {\r\n StartInfo = startInfo,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4e35c11a4696e7d26c62aa9b22d26f4813d056dce6901b7948275e8d092647dc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 201, + "startColumn": 138, + "charOffset": 7644, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 199, + "startColumn": 1, + "charOffset": 7251, + "charLength": 413, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"243_4\"), Value = \"243_layout_4_times_a_day.json\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"252_3\"), Value = \"252_layout_3_times_a_day.json\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"333_3\"), Value = \"333_layout_for_Orundum_3_times_a_day.json\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4f4687cbe4a295d3d9d77f340183951a0c9f1481f18e53832b6c8cd757b16727" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ItemListHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 35, + "startColumn": 36, + "charOffset": 1227, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 33, + "startColumn": 1, + "charOffset": 1116, + "charLength": 127, + "snippet": { + "text": " { \"en-us\", \"YoStarEN\" },\r\n { \"ja-jp\", \"YoStarJP\" },\r\n { \"ko-kr\", \"YoStarKR\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4fff5640361957703749982fd95f40eee7f5c39d162d0387d18d58dc58cd5964" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1269, + "startColumn": 48, + "charOffset": 46417, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1267, + "startColumn": 1, + "charOffset": 46257, + "charLength": 247, + "snippet": { + "text": " Arguments = $\"quit --index {emuIndex}\",\r\n CreateNoWindow = true,\r\n UseShellExecute = false,\r\n };\r\n var process = Process.Start(startInfo);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5114642163db8c023e3b1300e617034d8c539a21fe0be89b216482f141c83785" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/MaaUrls.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 60, + "startColumn": 41, + "charOffset": 2760, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 58, + "startColumn": 1, + "charOffset": 2597, + "charLength": 179, + "snippet": { + "text": " { \"ko-kr\", \"ko-kr/2.5-OVERSEAS_CLIENTS_ADAPTATION.html\" },\r\n { \"zh-tw\", \"zh-tw/2.5-外服適配教程.html\" },\r\n { \"pallas\", \"KeepDrinking\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "55307d9d939593207de27f04c652eba36f500c4f84aef2d271a3efb2c1ffd264" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1690, + "startColumn": 85, + "charOffset": 69194, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1688, + "startColumn": 1, + "charOffset": 69052, + "charLength": 240, + "snippet": { + "text": " var task_params = new JObject\r\n {\r\n [\"task_names\"] = new JArray { once ? \"GachaOnce\" : \"GachaTenTimes\" },\r\n };\r\n AsstTaskId id = AsstAppendTaskWithEncoding(\"Custom\", task_params);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "55aec87420281c291384c99c9147c2988e0126b31a2e86cf28a09bf555b7b517" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2516, + "startColumn": 79, + "charOffset": 94656, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2514, + "startColumn": 1, + "charOffset": 94518, + "charLength": 158, + "snippet": { + "text": " var dialog = new OpenFileDialog\r\n {\r\n Filter = LocalizationHelper.GetString(\"ADBProgram\") + \"|*.exe\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5730dff7f42d2ed67957daee7e4e2bd96773e22dd438da217e588ac235d8ffda" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3230, + "startColumn": 117, + "charOffset": 120947, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3228, + "startColumn": 1, + "charOffset": 120591, + "charLength": 405, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"IS2NewSquad2\"), Value = \"物尽其用分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"IS2NewSquad3\"), Value = \"以人为本分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"ResearchSquad\"), Value = \"研究分队\" },\r\n })\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6022666dd7489e8941533c53e8b2be21a60c14a8a309b2263eccec08e8c5a43e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1943, + "startColumn": 28, + "charOffset": 69358, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1941, + "startColumn": 1, + "charOffset": 69270, + "charLength": 104, + "snippet": { + "text": " { \"SK\", \"SK-5\" },\r\n { \"碳\", \"SK-5\" },\r\n { \"炭\", \"SK-5\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "66989edacbefc35ee656d3bce3ef33b5c4d81ebe1373e930210fefede820022d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 447, + "startColumn": 113, + "charOffset": 17137, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 445, + "startColumn": 1, + "charOffset": 16901, + "charLength": 256, + "snippet": { + "text": " RemainingSanityStageList = new ObservableCollection(_stageManager.GetStageList())\r\n {\r\n [0] = new CombinedData { Display = LocalizationHelper.GetString(\"NoUse\"), Value = string.Empty },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "687e61bd93676c89cbfffdffb673841f41f002d7d45f4a3cd9920cf937711d9e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 274, + "startColumn": 100, + "charOffset": 12927, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 272, + "startColumn": 1, + "charOffset": 12608, + "charLength": 339, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"YoStarJP\"), Value = \"YoStarJP\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"YoStarKR\"), Value = \"YoStarKR\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"txwy\"), Value = \"txwy\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6b8d332f075bedaca7109f3a7cb60f82de506b0fd22357ffc0a8d4901820f67a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 237, + "startColumn": 115, + "charOffset": 10976, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 235, + "startColumn": 1, + "charOffset": 10638, + "charLength": 432, + "snippet": { + "text": " StageName = stageObj[\"Activity\"]?[\"StageName\"]?.ToString(),\r\n UtcStartTime = GetDateTime(stageObj[\"Activity\"], \"UtcStartTime\"),\r\n UtcExpireTime = GetDateTime(stageObj[\"Activity\"], \"UtcExpireTime\"),\r\n },\r\n };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "72ef7ee49e0916e4099ae46045eca06894019d77e7ee691a6a33455011861f58" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1242, + "startColumn": 18, + "charOffset": 50683, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1240, + "startColumn": 1, + "charOffset": 50624, + "charLength": 74, + "snippet": { + "text": " Depot,\r\n OperBox,\r\n Gacha,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "75d1613d8446bbc9478a01e013c9a10a9c03dd221202c95914bc3f3bc07790af" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 837, + "startColumn": 91, + "charOffset": 33856, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 835, + "startColumn": 1, + "charOffset": 33706, + "charLength": 170, + "snippet": { + "text": " var dialog = new OpenFileDialog\r\n {\r\n Filter = LocalizationHelper.GetString(\"Executable\") + \"|*.exe;*.bat;*.lnk\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "79c9eb11db9b6fc453c0be7425c3a1c9213827f24b0b34d2d2988aed4b43c563" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 764, + "startColumn": 40, + "charOffset": 31085, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 762, + "startColumn": 1, + "charOffset": 30958, + "charLength": 147, + "snippet": { + "text": " RedirectStandardOutput = true,\r\n CreateNoWindow = true,\r\n UseShellExecute = false,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "79ce88a8b3b6a518dbe83adc4601ed34bfcce97d4fceee6844fb6c624bfbc8da" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3246, + "startColumn": 116, + "charOffset": 121786, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3244, + "startColumn": 1, + "charOffset": 121431, + "charLength": 404, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"IS3NewSquad2\"), Value = \"生活至上分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"IS3NewSquad3\"), Value = \"科学主义分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"IS3NewSquad4\"), Value = \"特训分队\" },\r\n })\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7b9d8d58f670d799652c4c66c8e4d8baf40427ae89ee3fc02d6cda2f432fbc41" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 769, + "startColumn": 45, + "charOffset": 31208, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 767, + "startColumn": 1, + "charOffset": 31106, + "charLength": 122, + "snippet": { + "text": " Process process = new Process\r\n {\r\n StartInfo = processStartInfo,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7e3aec159f3257e2a54f582085198e3ff8b8bf1980f05eafd07b8d322089a7c3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 86, + "startColumn": 59, + "charOffset": 2791, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 84, + "startColumn": 1, + "charOffset": 2617, + "charLength": 194, + "snippet": { + "text": " \"zh-tw\" => new[] { \"zh-cn\", _culture, },\r\n \"en-us\" => new[] { \"zh-cn\", _culture, },\r\n _ => new[] { \"zh-cn\", \"en-us\", _culture, },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "81efd56ffd20e45733ee090ddb5b1ddc76b959dbba6d97ccfeb97101bb47b337" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2292, + "startColumn": 48, + "charOffset": 82070, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2290, + "startColumn": 1, + "charOffset": 81925, + "charLength": 191, + "snippet": { + "text": " Description = desc,\r\n DescriptionPost = descPost,\r\n PeriodList = periodList,\r\n });\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "82d4b8f79628c939f580319388aa34d1585b2e5b1b8e1e6100f4d1649473941e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1846, + "startColumn": 23, + "charOffset": 72989, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1844, + "startColumn": 1, + "charOffset": 72921, + "charLength": 79, + "snippet": { + "text": " /// 原子任务手动停止\r\n /// \r\n SubTaskStopped,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "85a860ad00e3bd3e0d8573b992f2e85786a4dcbda0fdb0c9302bdde209f97f13" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 129, + "startColumn": 18, + "charOffset": 4162, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 127, + "startColumn": 1, + "charOffset": 3993, + "charLength": 189, + "snippet": { + "text": " MaaHotKeyAction.LinkStart,\r\n new MaaHotKey(Key.L, ModifierKeys.Control | ModifierKeys.Shift | ModifierKeys.Alt)\r\n },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8ea446af0b61fad6b641bb99459b39f22fefc9e738c0a83c3733def94d2aa289" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 289, + "startColumn": 112, + "charOffset": 13656, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 287, + "startColumn": 1, + "charOffset": 13339, + "charLength": 337, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"Light\"), Value = \"Light\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"Dark\"), Value = \"Dark\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"SyncWithOS\"), Value = \"SyncWithOS\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8eef683960740714e4e7f4ea295f963f541165a8436199cf6edcb14237ef36a3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1392, + "startColumn": 82, + "charOffset": 56807, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1390, + "startColumn": 1, + "charOffset": 56607, + "charLength": 296, + "snippet": { + "text": " [\"buy_first\"] = new JArray { first_list },\r\n [\"blacklist\"] = new JArray { blacklist },\r\n [\"force_shopping_if_credit_full\"] = force_shopping_if_credit_full,\r\n };\r\n AsstTaskId id = AsstAppendTaskWithEncoding(\"Mall\", task_params);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8f1125331d50fdfd64c88ddd7cdf2bd38476f5d6b0303556088e8b62689c03d9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 63, + "startColumn": 33, + "charOffset": 2302, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 61, + "startColumn": 1, + "charOffset": 2128, + "charLength": 211, + "snippet": { + "text": " \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r\n }\r\n },\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "92ceb0ad85c6f9132905c01ca8830eef479aa42405752d7cd72f78e2ca3c8128" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1351, + "startColumn": 48, + "charOffset": 55204, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1349, + "startColumn": 1, + "charOffset": 55094, + "charLength": 209, + "snippet": { + "text": " {\r\n [\"client_type\"] = client_type,\r\n [\"start_game_enabled\"] = enable,\r\n };\r\n AsstTaskId id = AsstAppendTaskWithEncoding(\"StartUp\", task_params);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "934dbaed0bddbf71addf954a2af15ab1820e3d7e74cc86992ae1f2b4805ad380" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1169, + "startColumn": 48, + "charOffset": 42535, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1167, + "startColumn": 1, + "charOffset": 42354, + "charLength": 218, + "snippet": { + "text": " \"BlueStacks\" => KillEmulatorBlueStacks(),\r\n \"MuMuEmulator12\" => KillEmulatorMuMuEmulator12(),\r\n _ => KillEmulatorbyWindow(),\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "964f2194a5e23478a3ef087fe744ed05c177cf260fb7ce9ac93485eff6c36ef8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 296, + "startColumn": 114, + "charOffset": 14076, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 294, + "startColumn": 1, + "charOffset": 13751, + "charLength": 345, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"Clear\"), Value = \"Clear\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"Inverse\"), Value = \"Inverse\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"Switchable\"), Value = \"ClearInverse\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "96896b66fc07b345f6f923d05bcef8cba07e844437876213cd1cc163251751ff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1261, + "startColumn": 58, + "charOffset": 51500, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1259, + "startColumn": 1, + "charOffset": 51372, + "charLength": 165, + "snippet": { + "text": " task_params[\"drops\"] = new JObject\r\n {\r\n [drops_item_id] = drops_item_quantity,\r\n };\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9810adb85e38ce0eeffb6aa208d5725e1c7170617e786c649ad4e53241bc55c0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2901, + "startColumn": 23, + "charOffset": 109135, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2899, + "startColumn": 1, + "charOffset": 109054, + "charLength": 96, + "snippet": { + "text": " /// 与操作系统的深色模式同步。\r\n /// \r\n SyncWithOS,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b878646f21c19009ece694c3d425c0affe4676fe386a2548cf7ff458c99b27f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 475, + "startColumn": 31, + "charOffset": 16083, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 473, + "startColumn": 1, + "charOffset": 15990, + "charLength": 109, + "snippet": { + "text": " \"char_509_acast\",\r\n \"char_508_aguard\",\r\n \"char_1001_amiya2\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b9c5dd6df83bd64e525c42141c22ee8e3e9759db73f0f48992e9830a38963f3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1272, + "startColumn": 25, + "charOffset": 49090, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1270, + "startColumn": 1, + "charOffset": 49019, + "charLength": 86, + "snippet": { + "text": " None,\r\n SelectedIndex,\r\n ScrollOffset,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9c1b24ab1fd81e1efee95f19be8a078eb3e83924d809b8edf7f807d8790fd7ed" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1255, + "startColumn": 45, + "charOffset": 51250, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1253, + "startColumn": 1, + "charOffset": 51126, + "charLength": 230, + "snippet": { + "text": " [\"stone\"] = max_stone,\r\n [\"times\"] = max_times,\r\n [\"report_to_penguin\"] = true,\r\n };\r\n if (drops_item_quantity != 0 && !string.IsNullOrWhiteSpace(drops_item_id))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9d5e286dce16ebb7af8080beb3567f821bb59a6382abbb4b86f4378ae55cde48" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1242, + "startColumn": 87, + "charOffset": 48223, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1240, + "startColumn": 1, + "charOffset": 48077, + "charLength": 166, + "snippet": { + "text": " var dialog = new OpenFileDialog\r\n {\r\n Filter = LocalizationHelper.GetString(\"CustomInfrastFile\") + \"|*.json\",\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9de16369db8411b0869ad0f3f56f6ce833871345a626de310bd93a07344d3198" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 892, + "startColumn": 32, + "charOffset": 35569, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 890, + "startColumn": 1, + "charOffset": 35468, + "charLength": 117, + "snippet": { + "text": " { \"YoStarJP\", \"JP\" },\r\n { \"YoStarKR\", \"KR\" },\r\n { \"txwy\", \"ZH_TW\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a7742af849542b90f811a8419925225732ce9b02bcb6dd88ab847ab967f3884b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 171, + "startColumn": 129, + "charOffset": 6480, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 169, + "startColumn": 1, + "charOffset": 6263, + "charLength": 237, + "snippet": { + "text": " // 这里会被 “剩余理智” 复用,第一个必须是 string.Empty 的\r\n // 「当前/上次」关卡导航\r\n { string.Empty, new StageInfo { Display = LocalizationHelper.GetString(\"DefaultStage\"), Value = string.Empty } },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ab1ef9a045a46280fdf05bfef62cbf14baf2669ad645fc0d6eabbc6496818547" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 266, + "startColumn": 74, + "charOffset": 10159, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 264, + "startColumn": 1, + "charOffset": 9941, + "charLength": 264, + "snippet": { + "text": " { ConfigurationKeys.ConfigurationMap, _kvsMap },\r\n { ConfigurationKeys.CurrentConfiguration, _current },\r\n { ConfigurationKeys.GlobalConfiguration, _globalKvs },\r\n }, Formatting.Indented);\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b0f09d1264d93a7f4e5695581c78de8b7cbeee416e9f340cb4e38db7b853edb0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 227, + "startColumn": 144, + "charOffset": 9864, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 225, + "startColumn": 1, + "charOffset": 9481, + "charLength": 403, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"Compatible\"), Value = \"Compatible\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"SecondResolution\"), Value = \"SecondResolution\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"GeneralWithoutScreencapErr\"), Value = \"GeneralWithoutScreencapErr\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b5df3ce34e6db275973674f0c4959837f2478d617a179e2006b6b03390d7398d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2587, + "startColumn": 20, + "charOffset": 91915, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2585, + "startColumn": 1, + "charOffset": 91788, + "charLength": 175, + "snippet": { + "text": " \"30135\", // D32钢\r\n \"30145\", // 晶体电子单元\r\n \"30155\", // 烧结核凝晶\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b789b88104df890b08e931ddf1df47b4485bbaf30f7d7bcaad913917439d36f7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 329, + "startColumn": 32, + "charOffset": 11362, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 327, + "startColumn": 1, + "charOffset": 11278, + "charLength": 132, + "snippet": { + "text": " \"Mall\",\r\n \"Mission\",\r\n \"AutoRoguelike\",\r\n\r\n // \"ReclamationAlgorithm\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b99996383e3a8c3d961e9637b872c9ae6fb99ebebf76d139c42a7edfc2805cd6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1636, + "startColumn": 45, + "charOffset": 67223, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1634, + "startColumn": 1, + "charOffset": 67091, + "charLength": 184, + "snippet": { + "text": " [\"expedite_times\"] = 0,\r\n [\"report_to_penguin\"] = true,\r\n [\"report_to_yituliu\"] = true,\r\n };\r\n int recruitmentTime;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ba8e72b61c95202bd691052812529e3bb2e732a71f506b857a21ae28a81ad172" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1575, + "startColumn": 34, + "charOffset": 65246, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1573, + "startColumn": 1, + "charOffset": 65098, + "charLength": 168, + "snippet": { + "text": " [\"investments_count\"] = invests,\r\n [\"stop_when_investment_full\"] = stop_when_full,\r\n [\"theme\"] = theme,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bdc84892a22bda42a09349fe707afb2662347c2bfe80a6ebcd53b40bcf4547ce" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1871, + "startColumn": 26, + "charOffset": 73653, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1869, + "startColumn": 1, + "charOffset": 73504, + "charLength": 161, + "snippet": { + "text": " /// Indicates whether the ADB server process should be killed when the instance is exited.\r\n /// \r\n KillAdbOnExit = 5,\r\n }\r\n}\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c1a789598ca450a8edd42ee7c6748a7689b522e06a60a71887ff6e7925710d74" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1722, + "startColumn": 40, + "charOffset": 70396, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1720, + "startColumn": 1, + "charOffset": 70299, + "charLength": 205, + "snippet": { + "text": " var task_params = new JObject\r\n {\r\n [\"filename\"] = filename,\r\n };\r\n AsstTaskId id = AsstAppendTaskWithEncoding(\"VideoRecognition\", task_params);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c40845b298ad12892c8030c39645b5215fe62ce0ef7f90d600c577baa9cc5901" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 45, + "startColumn": 58, + "charOffset": 1577, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 43, + "startColumn": 1, + "charOffset": 1463, + "charLength": 151, + "snippet": { + "text": " {\r\n \".\\\\HD-Adb.exe\",\r\n \".\\\\Engine\\\\ProgramFiles\\\\HD-Adb.exe\",\r\n }\r\n },\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c483f0594e17134e18a57da33e7d8336fbe67421ae4a120d1164abfeba63f79a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Extensions/DateTimeExtension.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 30, + "charOffset": 1278, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1184, + "charLength": 110, + "snippet": { + "text": " { \"YoStarEN\", -7 },\r\n { \"YoStarJP\", 9 },\r\n { \"YoStarKR\", 9 },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c5d8438f265c86130e949b042f7ad7f1511e43454b5f6f319b5584a274a5909c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 55, + "startColumn": 33, + "charOffset": 2003, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 53, + "startColumn": 1, + "charOffset": 1829, + "charLength": 211, + "snippet": { + "text": " \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r\n }\r\n },\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c81fe858b5cc88f296a665bc6261c054dd7ae397556b3034305d691121a3598e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1423, + "startColumn": 44, + "charOffset": 58378, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1421, + "startColumn": 1, + "charOffset": 58239, + "charLength": 200, + "snippet": { + "text": " [\"expedite\"] = use_expedited,\r\n [\"expedite_times\"] = max_times,\r\n [\"skip_robot\"] = skip_robot,\r\n };\r\n if (is_level3_use_short_time)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cbc706f9b0a4aa7be932cc707c127c0ddeec25cd171480c89a1ed1bc33464e02" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 208, + "startColumn": 17, + "charOffset": 6508, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 206, + "startColumn": 1, + "charOffset": 6431, + "charLength": 92, + "snippet": { + "text": " /// \r\n [Description(\"无声\")]\r\n None,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cd753a9db782f80254ece821492096b0bcb07e615d3b116cce22ce8fcf78c6cb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 59, + "charOffset": 2398, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 2305, + "charLength": 109, + "snippet": { + "text": " }\r\n },\r\n { \"XYAZ\", new List { \".\\\\adb.exe\" } },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce59530cab61460eaaee7124829d99d97a87fd19d07b0da1261344812c946650" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 495, + "startColumn": 37, + "charOffset": 21297, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 493, + "startColumn": 1, + "charOffset": 21145, + "charLength": 176, + "snippet": { + "text": " \"StartsWithScript\" => RunStartCommand,\r\n \"EndsWithScript\" => RunEndCommand,\r\n _ => () => false,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d6e3caa033f556b15d0d6ebb2e53f05f5009d819074732588fbbd67bd5711c73" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 339, + "startColumn": 25, + "charOffset": 10971, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 337, + "startColumn": 1, + "charOffset": 10819, + "charLength": 168, + "snippet": { + "text": " HorizontalAlignment = HorizontalAlignment.Stretch,\r\n VerticalTextAlignment = VerticalAlignment.Stretch,\r\n Opacity = 1d,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d99057a1c75fc4325ba011faf85e42feaed1b16fee5a0f1d2a82483fee89f753" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 527, + "startColumn": 22, + "charOffset": 22568, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 525, + "startColumn": 1, + "charOffset": 22431, + "charLength": 193, + "snippet": { + "text": " // FileName = \"cmd.exe\",\r\n // Arguments = $\"/c {StartsWithScript}\",\r\n },\r\n };\r\n process.Start();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ddeee724274351909bd61474f72825d9f2beefcdbd31d6822d593c9c0085e135" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 486, + "startColumn": 27, + "charOffset": 21019, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 484, + "startColumn": 1, + "charOffset": 20827, + "charLength": 212, + "snippet": { + "text": " \"StartsWithScript\" => !string.IsNullOrWhiteSpace(StartsWithScript),\r\n \"EndsWithScript\" => !string.IsNullOrWhiteSpace(EndsWithScript),\r\n _ => false,\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "df110d03b478cacc04414eafc33b316135ae0bfc237f627a52f894fda29f73a9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 234, + "startColumn": 107, + "charOffset": 10288, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 232, + "startColumn": 1, + "charOffset": 9952, + "charLength": 356, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"MiniTouchMode\"), Value = \"minitouch\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"MaaTouchMode\"), Value = \"maatouch\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"AdbTouchMode\"), Value = \"adb\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e2b463ee881e5f3e12381f9c9ab4edda22a4dd668e6a360e7d6cdd4d6e08198a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 363, + "startColumn": 35, + "charOffset": 12712, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 361, + "startColumn": 1, + "charOffset": 12625, + "charLength": 102, + "snippet": { + "text": " /// 新版正在构建中\r\n /// \r\n NewVersionIsBeingBuilt,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e38c3685faf65af9cc1ec2c756eb45b1c37414527e92eb80ee9af626392eb878" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 552, + "startColumn": 22, + "charOffset": 23293, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 550, + "startColumn": 1, + "charOffset": 23158, + "charLength": 191, + "snippet": { + "text": " // FileName = \"cmd.exe\",\r\n // Arguments = $\"/c {EndsWithScript}\",\r\n },\r\n };\r\n process.Start();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e5c3ffb30ada6e57d3c98ab88243fe49b5e48b7e21ab1d2923989e052fc8117a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 242, + "startColumn": 114, + "charOffset": 10722, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 240, + "startColumn": 1, + "charOffset": 10479, + "charLength": 327, + "snippet": { + "text": " {\r\n new CombinedData { Display = LocalizationHelper.GetString(\"RoguelikeStrategyExp\"), Value = \"0\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"RoguelikeStrategyGold\"), Value = \"1\" },\r\n\r\n // new CombData { Display = \"两者兼顾,投资过后退出\", Value = \"2\" } // 弃用\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e63ac4cced9cacb16197986a8b873b8156fe466a2a5b1b240b37d72b00a2ea3d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2047, + "startColumn": 19, + "charOffset": 77182, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2045, + "startColumn": 1, + "charOffset": 77115, + "charLength": 82, + "snippet": { + "text": " /// 稳定版\r\n /// \r\n Stable,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e750b3db51d3a3c1854b71541af53a5153c14486ff7d4eaa853a52be466765b2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 263, + "startColumn": 99, + "charOffset": 12232, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 261, + "startColumn": 1, + "charOffset": 11942, + "charLength": 352, + "snippet": { + "text": " StageName = stageObj[\"Activity\"]?[\"StageName\"]?.ToString(),\r\n UtcStartTime = GetDateTime(stageObj[\"Activity\"], \"UtcStartTime\"),\r\n UtcExpireTime = GetDateTime(stageObj[\"Activity\"], \"UtcExpireTime\"),\r\n },\r\n };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ec6e0687ad27c5d1db3f9ae5e39bd980da59a1613292e287306d95f133d637b3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 152, + "startColumn": 35, + "charOffset": 5531, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 150, + "startColumn": 1, + "charOffset": 5413, + "charLength": 209, + "snippet": { + "text": " CancelContent = cancel,\r\n YesContent = yes,\r\n NoContent = no,\r\n };\r\n return HandyControl.Controls.MessageBox.Show(info);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ee298e979e4b046a681c50581d21abf501d07cf096adabca0f6d08ddc7bacbc0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 126, + "startColumn": 93, + "charOffset": 4270, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 124, + "startColumn": 1, + "charOffset": 4102, + "charLength": 237, + "snippet": { + "text": " var dictionary = new ResourceDictionary\r\n {\r\n Source = new Uri($@\"Res\\Localizations\\{culture}.xaml\", UriKind.Relative),\r\n };\r\n if (dictionary.Contains(key))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0106fa317620249e85cbad8710745b22778b6f6f372422c73ad9784fe688860" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 263, + "startColumn": 114, + "charOffset": 12074, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 261, + "startColumn": 1, + "charOffset": 11717, + "charLength": 377, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"SlowAndSteadyWinsTheRace\"), Value = \"稳扎稳打\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"OvercomingYourWeaknesses\"), Value = \"取长补短\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"AsYourHeartDesires\"), Value = \"随心所欲\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0e733392acec978b9854e4f4e95d28f2b3e4bace4e78b1bbc97e098a98bbc2e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1455, + "startColumn": 29, + "charOffset": 54022, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1453, + "startColumn": 1, + "charOffset": 53917, + "charLength": 169, + "snippet": { + "text": " \"明日方舟 - MuMu模拟器\",\r\n \"BlueStacks App Player\",\r\n \"BlueStacks\",\r\n };\r\n foreach (string i in windowname)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2df2a8bdfa07a69162f912c572dbd10166220ea7a0141043bf002e566c09391" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyAction.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 18, + "charOffset": 839, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 768, + "charLength": 83, + "snippet": { + "text": " /// Starts the link.\r\n /// \r\n LinkStart,\r\n }\r\n}\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f59b9a1d0d4297d63b04a87096e68a96524056a437ab19a006888382f33ba666" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3266, + "startColumn": 113, + "charOffset": 123130, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3264, + "startColumn": 1, + "charOffset": 122767, + "charLength": 396, + "snippet": { + "text": " new CombinedData { Display = LocalizationHelper.GetString(\"TacticalRangedOperative\"), Value = \"远程战术分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"TacticalDestructionOperative\"), Value = \"破坏战术分队\" },\r\n new CombinedData { Display = LocalizationHelper.GetString(\"First-ClassSquad\"), Value = \"高规格分队\" },\r\n })\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f68a5a0519d48ee6cb89352cfdd3d0366d26e8a2981d29444942e3d17b0dca2d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 31, + "charOffset": 1246, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1109, + "charLength": 153, + "snippet": { + "text": " { \"NemuPlayer\", \"MuMuEmulator\" },\r\n { \"MuMuPlayer\", \"MuMuEmulator12\" }, // MuMu 12\r\n { \"MEmu\", \"XYAZ\" },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f8c3fb315006d046d92ce36e67234e5a994e04f42e37761b70adb35a0b414f20" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInMultilineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1711, + "startColumn": 44, + "charOffset": 70029, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1709, + "startColumn": 1, + "charOffset": 69900, + "charLength": 223, + "snippet": { + "text": " [\"filename\"] = filename,\r\n [\"formation\"] = formation,\r\n [\"loop_times\"] = loop_times,\r\n };\r\n AsstTaskId id = AsstAppendTaskWithEncoding(type, task_params);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f91c91909fd0ac7f9f78537975ee5e93ea9b1c685a9f4df7617c7e157a3edeed" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/HttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 135, + "startColumn": 97, + "charOffset": 4459, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 133, + "startColumn": 1, + "charOffset": 4331, + "charLength": 177, + "snippet": { + "text": " try\r\n {\r\n var request = new HttpRequestMessage { RequestUri = uri, Method = HttpMethod.Get, };\r\n\r\n if (extraHeader != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "058089c4230b4f8d657c796f724a2416de04685bc875b2ebfb345d543f4eb653" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/HttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 83, + "startColumn": 98, + "charOffset": 2634, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 81, + "startColumn": 1, + "charOffset": 2505, + "charLength": 178, + "snippet": { + "text": " try\r\n {\r\n var request = new HttpRequestMessage { RequestUri = uri, Method = HttpMethod.Head, };\r\n\r\n if (extraHeader != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0ca5dfe5a249df81965d5dec32e8f4d1230deff82d0dc0a9a818896bb1cf6b4a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 85, + "startColumn": 53, + "charOffset": 2727, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 83, + "startColumn": 1, + "charOffset": 2569, + "charLength": 240, + "snippet": { + "text": " \"zh-cn\" => new[] { _culture },\r\n \"zh-tw\" => new[] { \"zh-cn\", _culture, },\r\n \"en-us\" => new[] { \"zh-cn\", _culture, },\r\n _ => new[] { \"zh-cn\", \"en-us\", _culture, },\r\n };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "36f60cdacb43893087cdfd48f254103e75c1a74cbf7c3c25d823f193b790b786" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 152, + "startColumn": 117, + "charOffset": 5105, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 150, + "startColumn": 1, + "charOffset": 4976, + "charLength": 204, + "snippet": { + "text": " }\r\n\r\n private static readonly string[] _PallasChars = { \"💃\", \"🕺\", \"🍷\", \"🍸\", \"🍺\", \"🍻\", \"🍷\", \"🍸\", \"🍺\", \"🍻\", };\r\n private static readonly Random _PallasRand = new Random();\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3f1c3de328923cb2f7f563ad0c94dbe766d3f87aa4b283bff421373c7c5a4790" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 86, + "startColumn": 56, + "charOffset": 2788, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 84, + "startColumn": 1, + "charOffset": 2617, + "charLength": 194, + "snippet": { + "text": " \"zh-tw\" => new[] { \"zh-cn\", _culture, },\r\n \"en-us\" => new[] { \"zh-cn\", _culture, },\r\n _ => new[] { \"zh-cn\", \"en-us\", _culture, },\r\n };\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8586d2472bfcdbcce162b21ad131e6afd5081502fb4b4991b349f00ddcc187b5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 84, + "startColumn": 53, + "charOffset": 2669, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 82, + "startColumn": 1, + "charOffset": 2554, + "charLength": 239, + "snippet": { + "text": " {\r\n \"zh-cn\" => new[] { _culture },\r\n \"zh-tw\" => new[] { \"zh-cn\", _culture, },\r\n \"en-us\" => new[] { \"zh-cn\", _culture, },\r\n _ => new[] { \"zh-cn\", \"en-us\", _culture, },\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "99506ffc5af37eca00e84502912636a4c3ae7c78d2771630de21cf9d75bcd545" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ArrangeTrailingCommaInSinglelineLists", + "kind": "fail", + "level": "note", + "message": { + "text": "Remove trailing comma to conform to code style", + "markdown": "Remove trailing comma to conform to code style" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/HttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 256, + "startColumn": 75, + "charOffset": 9464, + "charLength": 1, + "snippet": { + "text": "," + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 254, + "startColumn": 1, + "charOffset": 9333, + "charLength": 175, + "snippet": { + "text": " private HttpClient BuildHttpClient()\r\n {\r\n var handler = new HttpClientHandler { AllowAutoRedirect = true, };\r\n\r\n var proxy = GetProxy();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cca7d1b390450d23e0b99a70604d1f8d7062d2ca73109ab0ae2c64ff9bff06f7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 536, + "startColumn": 47, + "charOffset": 18046, + "charLength": 27, + "snippet": { + "text": "(string)operBoxData[\"name\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 534, + "startColumn": 1, + "charOffset": 17890, + "charLength": 259, + "snippet": { + "text": " foreach (JObject operBoxData in OperBoxDataArray.Cast())\r\n {\r\n _operBoxPotential.Add((string)operBoxData[\"name\"], (int)operBoxData[\"potential\"]);\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1001c270cd72242a33621f3398f08e92f707bd47a04221214e7ce3cf4aaf54eb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 305, + "startColumn": 43, + "charOffset": 10514, + "charLength": 14, + "snippet": { + "text": "json[\"groups\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 303, + "startColumn": 1, + "charOffset": 10404, + "charLength": 199, + "snippet": { + "text": " if (json.ContainsKey(\"groups\"))\r\n {\r\n foreach (var group in json[\"groups\"].Cast())\r\n {\r\n count++;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2143a483a94fb81117251d1247a06c09ef0ce9c3bde11b5c36b92e91fba5d37b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2701, + "startColumn": 39, + "charOffset": 101870, + "charLength": 7, + "snippet": { + "text": "AdbPath" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2699, + "startColumn": 1, + "charOffset": 101807, + "charLength": 136, + "snippet": { + "text": " }\r\n\r\n File.Copy(NewAdb, AdbPath, true);\r\n replaced = true;\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2cd71b7bf9fea0e70348b62215e23ddeb6cc4aa28c5daacdbcacc57048c103bd" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1317, + "startColumn": 51, + "charOffset": 48284, + "charLength": 11, + "snippet": { + "text": "emuLocation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1315, + "startColumn": 1, + "charOffset": 48095, + "charLength": 270, + "snippet": { + "text": " string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"NoxConsole.exe\");\r\n\r\n if (File.Exists(consolePath))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "442550ddece1740b2fc84bdf96053ec141ea51c4daae9016fa17eb8b01a03200" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1366, + "startColumn": 51, + "charOffset": 50359, + "charLength": 11, + "snippet": { + "text": "emuLocation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1364, + "startColumn": 1, + "charOffset": 50170, + "charLength": 265, + "snippet": { + "text": " string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"memuc.exe\");\r\n\r\n if (File.Exists(consolePath))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "85860d2724391c912ea90c491877df5ff00ef1e5a75c2f1fa94f0cf290c0c933" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 297, + "startColumn": 38, + "charOffset": 10194, + "charLength": 13, + "snippet": { + "text": "json[\"opers\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 295, + "startColumn": 1, + "charOffset": 10066, + "charLength": 208, + "snippet": { + "text": " AddLog(string.Empty, UiLogColor.Message);\r\n int count = 0;\r\n foreach (var oper in json[\"opers\"].Cast())\r\n {\r\n count++;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "860af22d338f6547e4dad7063a2a5a764b29f3ccc9448f75a16d622633b145ce" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/MaaApiService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 49, + "startColumn": 47, + "charOffset": 1635, + "charLength": 13, + "snippet": { + "text": "directoryPath" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 47, + "startColumn": 1, + "charOffset": 1515, + "charLength": 157, + "snippet": { + "text": " if (!Directory.Exists(directoryPath))\r\n {\r\n Directory.CreateDirectory(directoryPath);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b70f2a5c5697a2cb3040fa8f783fe14e4368e62561c50de01a162fd2b3c58ac" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1261, + "startColumn": 51, + "charOffset": 46050, + "charLength": 11, + "snippet": { + "text": "emuLocation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1259, + "startColumn": 1, + "charOffset": 45861, + "charLength": 269, + "snippet": { + "text": " string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"ldconsole.exe\");\r\n\r\n if (File.Exists(consolePath))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9ff23b27aeb96f2675de659ac81457c8ab68eb57999a9ff3088dc9cdd626b1ac" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2698, + "startColumn": 35, + "charOffset": 101781, + "charLength": 7, + "snippet": { + "text": "AdbPath" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2696, + "startColumn": 1, + "charOffset": 101676, + "charLength": 155, + "snippet": { + "text": " if (!File.Exists(adbBack))\r\n {\r\n File.Copy(AdbPath, adbBack, true);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c35375b54678f92e5cfa721e0aa55a02dd6f044b6fb1e998ad463326ba8296c1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1409, + "startColumn": 51, + "charOffset": 52181, + "charLength": 11, + "snippet": { + "text": "emuLocation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1407, + "startColumn": 1, + "charOffset": 51992, + "charLength": 269, + "snippet": { + "text": " string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"bsconsole.exe\");\r\n\r\n if (File.Exists(consolePath))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e82aaf862a1bf724b514086d4a2a0b9bb20e58cd6f052e7b275463e5a77d2aca" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1203, + "startColumn": 51, + "charOffset": 43681, + "charLength": 11, + "snippet": { + "text": "emuLocation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1201, + "startColumn": 1, + "charOffset": 43492, + "charLength": 271, + "snippet": { + "text": " string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"MuMuManager.exe\");\r\n\r\n if (File.Exists(consolePath))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ed76bcb24db5e6d3c9fa08ea671a9404204d3b748d43df3a00c1e270ffc94317" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AssignNullToNotNullAttribute", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'null' assignment to non-nullable entity", + "markdown": "Possible 'null' assignment to non-nullable entity" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 270, + "startColumn": 55, + "charOffset": 9900, + "charLength": 29, + "snippet": { + "text": "Path.GetDirectoryName(moveTo)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 268, + "startColumn": 1, + "charOffset": 9789, + "charLength": 172, + "snippet": { + "text": " else\r\n {\r\n Directory.CreateDirectory(Path.GetDirectoryName(moveTo));\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f9bea91d110d15117ebf855c01ae47f98f525893702a1aba20604f36b695d43b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AsyncVoidLambda", + "kind": "fail", + "level": "warning", + "message": { + "text": "Avoid using 'async' lambda when delegate type returns 'void'", + "markdown": "Avoid using 'async' lambda when delegate type returns 'void'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 452, + "startColumn": 40, + "charOffset": 16445, + "charLength": 5, + "snippet": { + "text": "async" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 450, + "startColumn": 1, + "charOffset": 16371, + "charLength": 187, + "snippet": { + "text": " AsstStop();\r\n\r\n Execute.OnUIThread(async () =>\r\n {\r\n if (Instances.SettingsViewModel.RetryOnDisconnected)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d4800bc66454264b390a9f61111d873db17beacd50b66873876d66d00a564de2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AsyncVoidLambda", + "kind": "fail", + "level": "warning", + "message": { + "text": "Avoid using 'async' lambda when delegate type returns 'void'", + "markdown": "Avoid using 'async' lambda when delegate type returns 'void'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 292, + "startColumn": 32, + "charOffset": 10349, + "charLength": 5, + "snippet": { + "text": "async" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 290, + "startColumn": 1, + "charOffset": 10046, + "charLength": 392, + "snippet": { + "text": " this.AsstSetInstanceOption(InstanceOptionKey.DeploymentWithPause, Instances.SettingsViewModel.DeploymentWithPause ? \"1\" : \"0\");\r\n this.AsstSetInstanceOption(InstanceOptionKey.AdbLiteEnabled, Instances.SettingsViewModel.AdbLiteEnabled ? \"1\" : \"0\");\r\n Execute.OnUIThread(async () =>\r\n {\r\n if (Instances.SettingsViewModel.RunDirectly)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e42e37160c5e7f8bde1ef78bf104653cf3636a9b7d564aed50a77c8c3020123e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1810, + "startColumn": 52, + "charOffset": 68733, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1808, + "startColumn": 1, + "charOffset": 68665, + "charLength": 136, + "snippet": { + "text": " }\r\n\r\n public TimerProperties[] Timers { get; set; } = new TimerProperties[8];\r\n\r\n public TimerModel()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "504374d22f33dae878776b236496afb474a902c2b5f35ae65e1a6ae4f06627bd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2568, + "startColumn": 51, + "charOffset": 91083, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2566, + "startColumn": 1, + "charOffset": 90960, + "charLength": 183, + "snippet": { + "text": " /// Gets or sets the list of all drops.\r\n /// \r\n public List AllDrops { get; set; } = new List();\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6b807eedbdd5704697ff4edba9a1cc63588306a14155384cceee47fe994fbf08" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 80, + "charOffset": 1417, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1258, + "charLength": 191, + "snippet": { + "text": " /// Gets or sets the view models of log items.\r\n /// \r\n public ObservableCollection LogItemViewModels { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "75b759371dd10e9ec43cb83c5c45b893b143c4f8653fc738476b86064eaf786c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1738, + "startColumn": 43, + "charOffset": 66291, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1736, + "startColumn": 1, + "charOffset": 66228, + "charLength": 109, + "snippet": { + "text": " }\r\n\r\n public int TimerId { get; set; }\r\n\r\n private bool _isOn;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7b4bebeac330b9b3ee5c12905c1e66170722ea7ab4c4f5c2c1205f68fb1b78ec" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1826, + "startColumn": 46, + "charOffset": 69424, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1824, + "startColumn": 1, + "charOffset": 69366, + "charLength": 244, + "snippet": { + "text": " }\r\n\r\n public TimerModel TimerModels { get; set; } = new TimerModel();\r\n\r\n private bool _forceScheduledStart = Convert.ToBoolean(ConfigurationHelper.GetGlobalValue(ConfigurationKeys.ForceScheduledStart, bool.FalseString));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b31433d0ab43b376884fa10c2bcfb3b9a169b1c1f41112bbcad9678822b33a86" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2195, + "startColumn": 77, + "charOffset": 77689, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2193, + "startColumn": 1, + "charOffset": 77600, + "charLength": 194, + "snippet": { + "text": " }\r\n\r\n public List CustomInfrastPlanInfoList { get; set; } = new List();\r\n\r\n private bool _customInfrastPlanHasPeriod = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bb1aadce25d6421124ab5c5ff9d49e9878cbcc8cec1b031eaf78d3df17a4a5b3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "AutoPropertyCanBeMadeGetOnly.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Auto-property can be made get-only", + "markdown": "Auto-property can be made get-only" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2174, + "startColumn": 92, + "charOffset": 77039, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2172, + "startColumn": 1, + "charOffset": 76935, + "charLength": 214, + "snippet": { + "text": " }\r\n\r\n public ObservableCollection> CustomInfrastPlanList { get; set; } = new ObservableCollection>();\r\n\r\n public struct CustomInfrastPlanInfo\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bce8af519aee851a60be0ace5c949714d2b2c6df647bc30d0b366975e6525573" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CSharpWarnings__CS0162", + "kind": "fail", + "level": "warning", + "message": { + "text": "Code is unreachable", + "markdown": "Code is unreachable" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1509, + "startColumn": 20, + "charOffset": 55881, + "charLength": 5, + "snippet": { + "text": "false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1507, + "startColumn": 1, + "charOffset": 55828, + "charLength": 99, + "snippet": { + "text": " }\r\n }\r\n while (false);\r\n\r\n return KillEmulator();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7f2c398b0625e7b6c4579ab4b662fa5f74a41b501827e8b5832ebb28d747579e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2235, + "startColumn": 38, + "charOffset": 79182, + "charLength": 24, + "snippet": { + "text": "plan.ContainsKey(\"name\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2233, + "startColumn": 1, + "charOffset": 79071, + "charLength": 433, + "snippet": { + "text": " {\r\n var plan = (JObject)plan_list[i];\r\n string display = plan.ContainsKey(\"name\") ? plan[\"name\"].ToString() : (\"Plan \" + ((char)('A' + i)).ToString());\r\n CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0da8cbed67d75c4fe7d56a9fe201ad0d39ac2cc5be843cabc2ca02c6190f1dd5" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ItemListHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 81, + "startColumn": 20, + "charOffset": 2882, + "charLength": 28, + "snippet": { + "text": "ArkItems.ContainsKey(itemId)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 79, + "startColumn": 1, + "charOffset": 2795, + "charLength": 184, + "snippet": { + "text": " public static string GetItemName(string itemId)\r\n {\r\n return ArkItems.ContainsKey(itemId)\r\n ? ArkItems[itemId].Name\r\n : itemId;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2866648b9c01a37b3d2348374bb5c6fc9c9d3e8ac97197d6edd79b1480aa92b0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2237, + "startColumn": 35, + "charOffset": 79423, + "charLength": 31, + "snippet": { + "text": "plan.ContainsKey(\"description\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2235, + "startColumn": 1, + "charOffset": 79145, + "charLength": 491, + "snippet": { + "text": " string display = plan.ContainsKey(\"name\") ? plan[\"name\"].ToString() : (\"Plan \" + ((char)('A' + i)).ToString());\r\n CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r\n string descPost = plan.ContainsKey(\"description_post\") ? plan[\"description_post\"].ToString() : string.Empty;\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2dbd67b11e27692d00e51021d1d6cd706c01a56571915a35ff19795a6c6147c6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 242, + "startColumn": 36, + "charOffset": 8060, + "charLength": 24, + "snippet": { + "text": "doc.ContainsKey(\"title\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 240, + "startColumn": 1, + "charOffset": 7977, + "charLength": 182, + "snippet": { + "text": "\r\n string title = string.Empty;\r\n if (doc != null && doc.ContainsKey(\"title\"))\r\n {\r\n title = doc[\"title\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4654e9e060ac013dc26f451234128d5012106951dc77381e4e1856d179af52d2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2246, + "startColumn": 25, + "charOffset": 79902, + "charLength": 26, + "snippet": { + "text": "plan.ContainsKey(\"period\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2244, + "startColumn": 1, + "charOffset": 79796, + "charLength": 224, + "snippet": { + "text": "\r\n var periodList = new List();\r\n if (plan.ContainsKey(\"period\"))\r\n {\r\n var periodArray = (JArray)plan[\"period\"];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c54d2780055190e6f57935507afc5fba7dec9d4168604ed9f08286457f4597f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 100, + "startColumn": 20, + "charOffset": 2837, + "charLength": 40, + "snippet": { + "text": "_actionHotKeyMapping.ContainsKey(action)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 98, + "startColumn": 1, + "charOffset": 2747, + "charLength": 183, + "snippet": { + "text": " public MaaHotKey GetOrNull(MaaHotKeyAction action)\r\n {\r\n return _actionHotKeyMapping.ContainsKey(action) ? _actionHotKeyMapping[action] : null;\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "784dbf560ca58f98a37484bc73c86b36568660346bf1e6a9ff12f5b1bc9542e6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 333, + "startColumn": 29, + "charOffset": 11669, + "charLength": 29, + "snippet": { + "text": "json.ContainsKey(\"equipment\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 331, + "startColumn": 1, + "charOffset": 11612, + "charLength": 218, + "snippet": { + "text": " }\r\n\r\n if (json.ContainsKey(\"equipment\"))\r\n {\r\n AddLog(\"开局装备(横向):\\n\" + json[\"equipment\"].ToString(), UiLogColor.Message);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7befb9b8f8937b35b2ce2a3f20885b880a0d77fc194d144f868ff93a15e1f6b1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2238, + "startColumn": 39, + "charOffset": 79543, + "charLength": 36, + "snippet": { + "text": "plan.ContainsKey(\"description_post\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2236, + "startColumn": 1, + "charOffset": 79278, + "charLength": 409, + "snippet": { + "text": " CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r\n string descPost = plan.ContainsKey(\"description_post\") ? plan[\"description_post\"].ToString() : string.Empty;\r\n\r\n if (_customInfrastInfoOutput)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a7fe396548de11d8ad91d2a5ae488350bcc754b3d1b7024081dd3e43dcd18a78" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 338, + "startColumn": 29, + "charOffset": 11888, + "charLength": 28, + "snippet": { + "text": "json.ContainsKey(\"strategy\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 336, + "startColumn": 1, + "charOffset": 11831, + "charLength": 210, + "snippet": { + "text": " }\r\n\r\n if (json.ContainsKey(\"strategy\"))\r\n {\r\n AddLog(\"开局策略:\" + json[\"strategy\"].ToString(), UiLogColor.Message);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ab5d7b527f791378a809b6c3b1df7fb1ebcdeb4c3e484c0b9e72a2f40a98862d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2225, + "startColumn": 25, + "charOffset": 78790, + "charLength": 31, + "snippet": { + "text": "root.ContainsKey(\"description\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2223, + "startColumn": 1, + "charOffset": 78593, + "charLength": 318, + "snippet": { + "text": " AddLog(LocalizationHelper.GetString(\"CustomInfrastTitle\"), UiLogColor.Message);\r\n AddLog(root[\"title\"].ToString(), UiLogColor.Info);\r\n if (root.ContainsKey(\"description\"))\r\n {\r\n AddLog(root[\"description\"].ToString());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b273b3799f4f97779a9154477b460aea3379f67dd9f0cd3d5b2fd8372b59ebd3" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 328, + "startColumn": 29, + "charOffset": 11455, + "charLength": 28, + "snippet": { + "text": "json.ContainsKey(\"tool_men\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 326, + "startColumn": 1, + "charOffset": 11375, + "charLength": 236, + "snippet": { + "text": " TaskType = \"SSSCopilot\";\r\n\r\n if (json.ContainsKey(\"tool_men\"))\r\n {\r\n AddLog(\"编队工具人:\\n\" + json[\"tool_men\"].ToString(), UiLogColor.Message);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bc950319b36d723175fa9f020553f74bd576daf25f37875b0c832e7fc37d028c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1954, + "startColumn": 17, + "charOffset": 69620, + "charLength": 39, + "snippet": { + "text": "stageDictionary.ContainsKey(upperValue)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1952, + "startColumn": 1, + "charOffset": 69552, + "charLength": 177, + "snippet": { + "text": "\r\n string upperValue = value.ToUpper();\r\n if (stageDictionary.ContainsKey(upperValue))\r\n {\r\n return stageDictionary[upperValue];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c6c5330f58c75a320b4e07f7b0e98849a47a1f6b8551585a1fe5c1c94aaaebd9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 321, + "startColumn": 21, + "charOffset": 11209, + "charLength": 24, + "snippet": { + "text": "json.ContainsKey(\"type\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 319, + "startColumn": 1, + "charOffset": 11107, + "charLength": 204, + "snippet": { + "text": " AddLog(string.Format(\"共 {0} 名干员\", count), UiLogColor.Message);\r\n\r\n if (json.ContainsKey(\"type\"))\r\n {\r\n var type = json[\"type\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dac49a63632c918b6cc720c0004a7e5174cab51f221b9c6cb80af2a3665f6afe" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 303, + "startColumn": 21, + "charOffset": 10424, + "charLength": 26, + "snippet": { + "text": "json.ContainsKey(\"groups\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 301, + "startColumn": 1, + "charOffset": 10383, + "charLength": 163, + "snippet": { + "text": " }\r\n\r\n if (json.ContainsKey(\"groups\"))\r\n {\r\n foreach (var group in json[\"groups\"].Cast())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "deff33b115a53eab0ccedb04a99b8e1d44df5e669e59060311f6471abec18b30" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CanSimplifyDictionaryLookupWithTryGetValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "Dictionary lookup can be simplified with 'TryGetValue'", + "markdown": "Dictionary lookup can be simplified with 'TryGetValue'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 259, + "startColumn": 36, + "charOffset": 8630, + "charLength": 26, + "snippet": { + "text": "doc.ContainsKey(\"details\")" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 257, + "startColumn": 1, + "charOffset": 8545, + "charLength": 190, + "snippet": { + "text": "\r\n string details = string.Empty;\r\n if (doc != null && doc.ContainsKey(\"details\"))\r\n {\r\n details = doc[\"details\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e4dbf74572e03b3933446e6309bd59c068512b30821e2a07aa8f325081f25f2e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'MaaApiService' is never instantiated", + "markdown": "Class 'MaaApiService' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/MaaApiService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 23, + "startColumn": 18, + "charOffset": 735, + "charLength": 13, + "snippet": { + "text": "MaaApiService" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 21, + "startColumn": 1, + "charOffset": 681, + "charLength": 143, + "snippet": { + "text": "namespace MaaWpfGui.Services.Web\r\n{\r\n public class MaaApiService : IMaaApiService\r\n {\r\n private const string CacheDir = \"cache/\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "15205b7f6ebe21f2eca0dabc1d1b471300941e869f86c691ce927c0f58069044" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'RecognizerViewModel' is never instantiated", + "markdown": "Class 'RecognizerViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 18, + "charOffset": 1049, + "charLength": 19, + "snippet": { + "text": "RecognizerViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 976, + "charLength": 132, + "snippet": { + "text": " /// The view model of recruit.\r\n /// \r\n public class RecognizerViewModel : Screen\r\n {\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1d5f11f331a69ad3466ad8938ac1e9e4b1db14cc4e3cb7e5858dbc1509c7f177" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'TrayIcon' is never instantiated", + "markdown": "Class 'TrayIcon' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 26, + "startColumn": 18, + "charOffset": 778, + "charLength": 8, + "snippet": { + "text": "TrayIcon" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 24, + "startColumn": 1, + "charOffset": 726, + "charLength": 137, + "snippet": { + "text": " /// 托盘图标。\r\n /// \r\n public class TrayIcon\r\n {\r\n private readonly NotifyIcon _notifyIcon = new NotifyIcon();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "39287fa70334feb6f24dd1aa8a08267ad5159d6fe7246c62b143f442ea55eaac" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'CopilotViewModel' is never instantiated", + "markdown": "Class 'CopilotViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 37, + "startColumn": 18, + "charOffset": 1146, + "charLength": 16, + "snippet": { + "text": "CopilotViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 35, + "startColumn": 1, + "charOffset": 1073, + "charLength": 159, + "snippet": { + "text": " /// The view model of copilot.\r\n /// \r\n public class CopilotViewModel : Screen\r\n {\r\n private readonly RunningState runningState;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4a713972f9c1c596086f313dd55a2744f7f598b6eb52203fc974cf9408fd229c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'ArkItem' is never instantiated", + "markdown": "Class 'ArkItem' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 18, + "startColumn": 18, + "charOffset": 620, + "charLength": 7, + "snippet": { + "text": "ArkItem" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 16, + "startColumn": 1, + "charOffset": 572, + "charLength": 107, + "snippet": { + "text": "namespace MaaWpfGui.Models\r\n{\r\n public class ArkItem\r\n {\r\n [JsonPropertyName(\"classifyType\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "50c0eb8d82c8b61d5fc75c86e7e0bcc174fc9e7fa2e98dab6ecf441bc4802c86" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'HttpService' is never instantiated", + "markdown": "Class 'HttpService' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/HttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 31, + "startColumn": 18, + "charOffset": 935, + "charLength": 11, + "snippet": { + "text": "HttpService" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 29, + "startColumn": 1, + "charOffset": 881, + "charLength": 265, + "snippet": { + "text": "namespace MaaWpfGui.Services.Web\r\n{\r\n public class HttpService : IHttpService\r\n {\r\n private const string UserAgent = \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36 Edg/97.0.1072.76\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "57b2539acaf642a556810570fc1c47b77ac80c792e01ee3834e5409444b1ae83" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'TaskQueueViewModel' is never instantiated", + "markdown": "Class 'TaskQueueViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 18, + "charOffset": 1432, + "charLength": 18, + "snippet": { + "text": "TaskQueueViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1356, + "charLength": 160, + "snippet": { + "text": " /// The view model of task queue.\r\n /// \r\n public class TaskQueueViewModel : Screen\r\n {\r\n private readonly IContainer _container;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e2286ce95d67f2f8ca7b73b14915fa4cb0b020f22f70073c943fb214cc7b1bd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'WindowManager' is never instantiated", + "markdown": "Class 'WindowManager' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 18, + "charOffset": 885, + "charLength": 13, + "snippet": { + "text": "WindowManager" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 837, + "charLength": 232, + "snippet": { + "text": "namespace MaaWpfGui.Helper\r\n{\r\n public class WindowManager : Stylet.WindowManager\r\n {\r\n public WindowManager(IViewManager viewManager, Func messageBoxViewModelFactory, IWindowManagerConfig config)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "67690f2a9bf2eef419a83523cc9fdc7d665eb71e8e26f8711c95e94cad219e9f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'MaaHotKeyActionHandler' is never instantiated", + "markdown": "Class 'MaaHotKeyActionHandler' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyActionHandler.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 21, + "startColumn": 18, + "charOffset": 694, + "charLength": 22, + "snippet": { + "text": "MaaHotKeyActionHandler" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 19, + "startColumn": 1, + "charOffset": 636, + "charLength": 167, + "snippet": { + "text": "namespace MaaWpfGui.Services.HotKeys\r\n{\r\n public class MaaHotKeyActionHandler : IMaaHotKeyActionHandler\r\n {\r\n private readonly RunningState runningState;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6b1083ef43ec4c609b4b3a4f649f293b553de2ec9d9bd3848c942244306f65dc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'RootViewModel' is never instantiated", + "markdown": "Class 'RootViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RootViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 26, + "startColumn": 18, + "charOffset": 800, + "charLength": 13, + "snippet": { + "text": "RootViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 24, + "startColumn": 1, + "charOffset": 733, + "charLength": 156, + "snippet": { + "text": " /// The root view model.\r\n /// \r\n public class RootViewModel : Conductor.Collection.OneActive\r\n {\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b8b92797a11db15a68d327cccef64ccc246e6ad155234bcf28b65f67b5dc095e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'MainWindowManager' is never instantiated", + "markdown": "Class 'MainWindowManager' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/MainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 22, + "startColumn": 18, + "charOffset": 716, + "charLength": 17, + "snippet": { + "text": "MainWindowManager" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 20, + "startColumn": 1, + "charOffset": 673, + "charLength": 112, + "snippet": { + "text": "{\r\n /// \r\n public class MainWindowManager : IMainWindowManager\r\n {\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "de6d294bedee8354487f23da4820e167640e1639e79eefd9b2849797c6ed40b1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'StageManager' is never instantiated", + "markdown": "Class 'StageManager' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 37, + "startColumn": 18, + "charOffset": 1072, + "charLength": 12, + "snippet": { + "text": "StageManager" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 35, + "startColumn": 1, + "charOffset": 1012, + "charLength": 116, + "snippet": { + "text": " /// Stage manager\r\n /// \r\n public class StageManager\r\n {\r\n [DllImport(\"MaaCore.dll\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e12afed805c15694f2b922dfae66569408db154b00020134cc2ef64e74ee18b9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'SettingsViewModel' is never instantiated", + "markdown": "Class 'SettingsViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 18, + "charOffset": 1605, + "charLength": 17, + "snippet": { + "text": "SettingsViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1531, + "charLength": 161, + "snippet": { + "text": " /// The view model of settings.\r\n /// \r\n public class SettingsViewModel : Screen\r\n {\r\n private readonly RunningState runningState;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e15d297f82458acbfb0e3ff807a84f6392acd73ba147cc0a9e8493fdce6c4d1c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'MaaHotKeyManager' is never instantiated", + "markdown": "Class 'MaaHotKeyManager' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 23, + "startColumn": 18, + "charOffset": 754, + "charLength": 16, + "snippet": { + "text": "MaaHotKeyManager" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 21, + "startColumn": 1, + "charOffset": 696, + "charLength": 190, + "snippet": { + "text": "namespace MaaWpfGui.Services.HotKeys\r\n{\r\n public class MaaHotKeyManager : IMaaHotKeyManager\r\n {\r\n private readonly Dictionary _actionHotKeyMapping =\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e6dca8a483c6183da277a2c0de8f400b9ae32e897a68e707718ded504b6f716e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'AsstProxy' is never instantiated", + "markdown": "Class 'AsstProxy' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 48, + "startColumn": 18, + "charOffset": 1406, + "charLength": 9, + "snippet": { + "text": "AsstProxy" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 46, + "startColumn": 1, + "charOffset": 1347, + "charLength": 129, + "snippet": { + "text": " /// MaaCore 代理类。\r\n /// \r\n public class AsstProxy\r\n {\r\n private readonly RunningState runningState;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ee2674a7b47cbc6973d27018b298a29037220230e9dc60ca7d582899f1d65090" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassNeverInstantiated.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'VersionUpdateViewModel' is never instantiated", + "markdown": "Class 'VersionUpdateViewModel' is never instantiated" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 18, + "charOffset": 1299, + "charLength": 22, + "snippet": { + "text": "VersionUpdateViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1219, + "charLength": 172, + "snippet": { + "text": " /// The view model of version update.\r\n /// \r\n public class VersionUpdateViewModel : Screen\r\n {\r\n private readonly RunningState runningState;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ff63726ad1088dd624c94b4e01614b6a2170567d2974be5b5e262a76455b854e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ClassWithVirtualMembersNeverInherited.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Class 'RunningState' has some virtual members but no inheritors", + "markdown": "Class 'RunningState' has some virtual members but no inheritors" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/States/RunningState.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 19, + "startColumn": 18, + "charOffset": 632, + "charLength": 12, + "snippet": { + "text": "RunningState" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 17, + "startColumn": 1, + "charOffset": 584, + "charLength": 115, + "snippet": { + "text": "namespace MaaWpfGui.States\r\n{\r\n public class RunningState\r\n {\r\n private static RunningState instance;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7fb140fc3821418430775ae451f06c45db3d299c8148406e4cd461bd15a64ca4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CoVariantArrayConversion", + "kind": "fail", + "level": "warning", + "message": { + "text": "Co-variant array conversion from string[] to object[] can cause run-time exception on write operation", + "markdown": "Co-variant array conversion from string\\[\\] to object\\[\\] can cause run-time exception on write operation" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1455, + "startColumn": 43, + "charOffset": 59677, + "charLength": 5, + "snippet": { + "text": "order" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1453, + "startColumn": 1, + "charOffset": 59577, + "charLength": 203, + "snippet": { + "text": " var task_params = new JObject\r\n {\r\n [\"facility\"] = new JArray(order),\r\n [\"drones\"] = uses_of_drones,\r\n [\"threshold\"] = dorm_threshold,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6a45a5253b5e3db94faa1469c44a6fb7980b430b6b1499af7e7fed3d568641aa" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConditionIsAlwaysTrueOrFalse", + "kind": "fail", + "level": "warning", + "message": { + "text": "Expression is always true", + "markdown": "Expression is always true" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 71, + "startColumn": 187, + "charOffset": 3217, + "charLength": 8, + "snippet": { + "text": "hasValue" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 69, + "startColumn": 1, + "charOffset": 2981, + "charLength": 338, + "snippet": { + "text": " if (hasValue)\r\n {\r\n _logger.Debug(\"Read global configuration key {Key} with current configuration value {Value}, configuration hit: {HasValue}, configuration value {Value}\", key, value, hasValue, value);\r\n SetGlobalValue(key, value);\r\n return value;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c2399d34dee45363074d6fcf363f51ec65c8cc0eefa495f65a62726f7ee29ca7" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConditionIsAlwaysTrueOrFalse", + "kind": "fail", + "level": "warning", + "message": { + "text": "Expression is always false", + "markdown": "Expression is always false" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 222, + "startColumn": 37, + "charOffset": 9594, + "charLength": 14, + "snippet": { + "text": "isDebugVersion" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 220, + "startColumn": 1, + "charOffset": 9388, + "charLength": 429, + "snippet": { + "text": " {\r\n // &&(!minResourceRequiredParsed || curResourceVersionObj.CompareSortOrderTo(minResourceRequiredObj) < 0)\r\n if (isDebugVersion || curVersionObj.CompareSortOrderTo(minRequiredObj) < 0)\r\n {\r\n if (!tempStage.ContainsKey(LocalizationHelper.GetString(\"UnsupportedStages\")))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d7b78d3277a72471a5156c08d97d2aac968018a69a8bd58feeeaa747c1cc310a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConstantConditionalAccessQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Conditional access qualifier expression is known to be not null", + "markdown": "Conditional access qualifier expression is known to be not null" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 257, + "startColumn": 44, + "charOffset": 11742, + "charLength": 1, + "snippet": { + "text": "?" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 255, + "startColumn": 1, + "charOffset": 11543, + "charLength": 317, + "snippet": { + "text": " Display = stageObj?[\"Display\"]?.ToString() ?? string.Empty,\r\n Value = stageObj[\"Value\"].ToString(),\r\n Drop = stageObj?[\"Drop\"]?.ToString(),\r\n Activity = new StageActivityInfo()\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "21ab46422642618a443a65a08d774592614966f967b599083b99027bb557ede3" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConstantConditionalAccessQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Conditional access qualifier expression is known to be not null", + "markdown": "Conditional access qualifier expression is known to be not null" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 190, + "startColumn": 89, + "charOffset": 7491, + "charLength": 1, + "snippet": { + "text": "?" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 188, + "startColumn": 1, + "charOffset": 7289, + "charLength": 287, + "snippet": { + "text": " => DateTime.ParseExact(keyValuePairs[key].ToString(),\r\n \"yyyy/MM/dd HH:mm:ss\",\r\n CultureInfo.InvariantCulture).AddHours(-Convert.ToInt32(keyValuePairs?[\"TimeZone\"].ToString() ?? \"0\"));\r\n\r\n if (activity?[clientType] != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "619c7350d4e5f4560a9206c8cd2e936b0e9e08d3e22944bc89800d9af5ae7d84" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConstantNullCoalescingCondition", + "kind": "fail", + "level": "warning", + "message": { + "text": "'??' left operand is never null", + "markdown": "'??' left operand is never null" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 190, + "startColumn": 117, + "charOffset": 7519, + "charLength": 3, + "snippet": { + "text": "\"0\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 188, + "startColumn": 1, + "charOffset": 7289, + "charLength": 287, + "snippet": { + "text": " => DateTime.ParseExact(keyValuePairs[key].ToString(),\r\n \"yyyy/MM/dd HH:mm:ss\",\r\n CultureInfo.InvariantCulture).AddHours(-Convert.ToInt32(keyValuePairs?[\"TimeZone\"].ToString() ?? \"0\"));\r\n\r\n if (activity?[clientType] != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "47f2e6685b7fdfa136e57ffcda32f39b413af66058b1084fae21947b8fd3c814" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToConditionalTernaryExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into '?:' expression", + "markdown": "Convert into '?:' expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 621, + "startColumn": 17, + "charOffset": 25646, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 619, + "startColumn": 1, + "charOffset": 25609, + "charLength": 159, + "snippet": { + "text": " }\r\n\r\n if (arguments.Length != 0)\r\n {\r\n startInfo = new ProcessStartInfo(fileName, arguments);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2ff3b0b00aa18a81db1aa6fa71b23c9a2bda5eb22a66efebc291bd39c6f8921d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToConditionalTernaryExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into '?:' expression", + "markdown": "Convert into '?:' expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1523, + "startColumn": 13, + "charOffset": 56305, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1521, + "startColumn": 1, + "charOffset": 56159, + "charLength": 239, + "snippet": { + "text": " string port;\r\n string address = ConfigurationHelper.GetValue(ConfigurationKeys.ConnectAddress, string.Empty);\r\n if (address.StartsWith(\"127\"))\r\n {\r\n port = address.Substring(10);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "36bb29f07cb1bb1b28b9753240a6d3e30a284cada10b232eb4dc74ebef0a7aa6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToConditionalTernaryExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into '?:' expression", + "markdown": "Convert into '?:' expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 235, + "startColumn": 17, + "charOffset": 8980, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 233, + "startColumn": 1, + "charOffset": 8943, + "charLength": 239, + "snippet": { + "text": " }\r\n\r\n if (parsed.ContainsKey(ConfigurationKeys.GlobalConfiguration))\r\n {\r\n _globalKvs = parsed[ConfigurationKeys.GlobalConfiguration].ToObject>();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a8da5dd415e7be70fc78ae97f7e3f4d428e0e19b7a6b3accb861846d51104d12" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToConditionalTernaryExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into '?:' expression", + "markdown": "Convert into '?:' expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 434, + "startColumn": 13, + "charOffset": 16477, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 432, + "startColumn": 1, + "charOffset": 16402, + "charLength": 228, + "snippet": { + "text": " var rss = RemainingSanityStage ?? string.Empty;\r\n\r\n if (hideUnavailableStage)\r\n {\r\n StageList = new ObservableCollection(_stageManager.GetStageList(_curDayOfWeek));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b81487831ffa09dd2018a76428f2f7c3cae1c61c890a1441508fa44a8c5f08e8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 107, + "startColumn": 13, + "charOffset": 3977, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 105, + "startColumn": 1, + "charOffset": 3885, + "charLength": 221, + "snippet": { + "text": " public string GetAdbPathByEmulatorName(string emulatorName)\r\n {\r\n if (_adbAbsolutePathDict.Keys.Contains(emulatorName))\r\n {\r\n return _adbAbsolutePathDict[emulatorName];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "067be6848367a513519e61306aee0956e844543587c598790481884265ff45d1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 111, + "startColumn": 13, + "charOffset": 4504, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 109, + "startColumn": 1, + "charOffset": 4388, + "charLength": 215, + "snippet": { + "text": " public static string Brush2HexString(SolidColorBrush brush, bool keepAlpha = false)\r\n {\r\n if (brush != null)\r\n {\r\n return Color2HexString(brush.Color, keepAlpha);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0b05574a22a27306f5740d037e95683807ab8b9f4154017bee0962e6ca3c879c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 506, + "startColumn": 13, + "charOffset": 19061, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 504, + "startColumn": 1, + "charOffset": 19021, + "charLength": 113, + "snippet": { + "text": "\r\n // yj历的4/22点\r\n if (min == 0 && hour == 18)\r\n {\r\n return true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "117971723e170956aa4bab3e7f3bde312824d9bbe619b131d5e253f311d7a0f2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/StageInfo.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 144, + "startColumn": 13, + "charOffset": 4496, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 142, + "startColumn": 1, + "charOffset": 4451, + "charLength": 130, + "snippet": { + "text": "\r\n // resource stage\r\n if (OpenDays != null && OpenDays.Any())\r\n {\r\n return true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1713a5b5e48006d2f239856abeea3538581ab96d85a4b6eeb5f4a5dbb982b340" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/MainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 130, + "startColumn": 13, + "charOffset": 4190, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 128, + "startColumn": 1, + "charOffset": 4161, + "charLength": 123, + "snippet": { + "text": " }\r\n\r\n if (MainWindow.Visibility != Visibility.Visible)\r\n {\r\n return null;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2e5d9ff609480020ac4c658f50fdccded2180e91daf6da763fb77acfa4f369ae" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 235, + "startColumn": 17, + "charOffset": 7861, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 233, + "startColumn": 1, + "charOffset": 7781, + "charLength": 173, + "snippet": { + "text": " {\r\n string resource = \"\\\\resource\";\r\n if (!Directory.Exists(path + resource))\r\n {\r\n return true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d835aef976fd20bcb8d73633557f0d30ea665c7247d4f948d706bea022e5eb15" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 101, + "startColumn": 17, + "charOffset": 3468, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 99, + "startColumn": 1, + "charOffset": 3420, + "charLength": 183, + "snippet": { + "text": " get\r\n {\r\n if (!Enum.TryParse(_actionAfterCompleted, out ActionType action))\r\n {\r\n return ActionType.DoNothing;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2a78ad23ac306a5c8eb62337e4332a71682af13714f3c052b0a6822c3f0cd68" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToReturnStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'return' statement", + "markdown": "Convert into 'return' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 101, + "startColumn": 13, + "charOffset": 4185, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 99, + "startColumn": 1, + "charOffset": 4079, + "charLength": 214, + "snippet": { + "text": " public static string Color2HexString(Color color, bool keepAlpha = false)\r\n {\r\n if (keepAlpha)\r\n {\r\n return $\"#{color.A:X2}{color.R:X2}{color.G:X2}{color.B:X2}\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fb5696659e1fd650bf321a52917e6522e69cbf8b947a97e63214c64b83e28d82" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 820, + "startColumn": 13, + "charOffset": 33558, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 818, + "startColumn": 1, + "charOffset": 33479, + "charLength": 168, + "snippet": { + "text": " string taskChain = details[\"taskchain\"].ToString();\r\n\r\n if (taskChain == \"Recruit\")\r\n {\r\n ProcRecruitCalcMsg(details);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "167322db89d0599f01327d504b5acf16554779facbcbfb3d47257bfe513eb6b6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 529, + "startColumn": 21, + "charOffset": 19765, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 527, + "startColumn": 1, + "charOffset": 19697, + "charLength": 196, + "snippet": { + "text": "\r\n case AsstMsg.TaskChainStart:\r\n if (taskChain == \"Fight\")\r\n {\r\n Instances.TaskQueueViewModel.FightTaskRunning = true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "550e8953c20d4fffec6a637cb3431757ef20404a349055a117152f6a9180ed87" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 481, + "startColumn": 13, + "charOffset": 17737, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 479, + "startColumn": 1, + "charOffset": 17658, + "charLength": 149, + "snippet": { + "text": " string taskChain = details[\"taskchain\"].ToString();\r\n\r\n if (taskChain == \"CloseDown\")\r\n {\r\n return;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5790845129ffef5bb7e7019a2bcec0e8883a7d0b9b72fc13e1c29b6510fd9025" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 830, + "startColumn": 13, + "charOffset": 33859, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 828, + "startColumn": 1, + "charOffset": 33791, + "charLength": 193, + "snippet": { + "text": "\r\n var subTaskDetails = details[\"details\"];\r\n if (taskChain == \"Depot\")\r\n {\r\n Instances.RecognizerViewModel.DepotParse((JObject)subTaskDetails);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "997729c300602c1bc3253e953d6a3e5a14668fbcc79db4c0efba699471fb5689" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 680, + "startColumn": 13, + "charOffset": 26682, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 678, + "startColumn": 1, + "charOffset": 26607, + "charLength": 194, + "snippet": { + "text": " string subTask = details[\"subtask\"].ToString();\r\n\r\n if (subTask == \"ProcessTask\")\r\n {\r\n string taskName = details[\"details\"][\"task\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aaf167d91f8022bd0b00fc0290b761abf5a630fa339db86b95f9f0c108dca438" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 542, + "startColumn": 21, + "charOffset": 20313, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 540, + "startColumn": 1, + "charOffset": 20241, + "charLength": 211, + "snippet": { + "text": "\r\n case AsstMsg.TaskChainCompleted:\r\n if (taskChain == \"Infrast\")\r\n {\r\n Instances.TaskQueueViewModel.IncreaseCustomInfrastPlanIndex();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "af49762d89528ae7d1b53a5c92900c816da69c13f1c374e49ee3280e1ed320a9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfStatementToSwitchStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert 'if' statement into 'switch' statement", + "markdown": "Convert 'if' statement into 'switch' statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 835, + "startColumn": 17, + "charOffset": 30043, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 833, + "startColumn": 1, + "charOffset": 29999, + "charLength": 145, + "snippet": { + "text": "\r\n ++count;\r\n if (item.OriginalName == \"Base\")\r\n {\r\n taskRet &= appendInfrast();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c84da8756acdd9a9cd9df1f7322e8ba2702ea126ab1d8d3ebf1c657965d3b418" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertIfToOrExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into '||' expression", + "markdown": "Convert into '\\|\\|' expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 585, + "startColumn": 21, + "charOffset": 22980, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 583, + "startColumn": 1, + "charOffset": 22914, + "charLength": 224, + "snippet": { + "text": "\r\n bool buy_wine = false;\r\n if (_latestTaskId.ContainsKey(TaskType.Mall) && Instances.SettingsViewModel.DidYouBuyWine())\r\n {\r\n buy_wine = true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b1793dca28d59ba101ddd93e21de26005bdce0afc81b34ce58d9d2f80bebadf4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToAutoPropertyWhenPossible", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into auto-property", + "markdown": "Convert into auto-property" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 403, + "startColumn": 21, + "charOffset": 14427, + "charLength": 9, + "snippet": { + "text": "Connected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 401, + "startColumn": 1, + "charOffset": 14364, + "charLength": 115, + "snippet": { + "text": " private bool connected = false;\r\n\r\n public bool Connected\r\n {\r\n get => connected;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "17588458f34280190d659e64dd72877d3e785174aeec874e783ee77205c05a9c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToAutoPropertyWithPrivateSetter", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into auto-property with private setter", + "markdown": "Convert into auto-property with private setter" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowHandle.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 23, + "charOffset": 734, + "charLength": 6, + "snippet": { + "text": "Handle" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 677, + "charLength": 168, + "snippet": { + "text": " private IntPtr _handle;\r\n\r\n public IntPtr Handle => _handle;\r\n\r\n public static WindowHandle None => new WindowHandle() { _handle = IntPtr.Zero };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1bd5c3f0a20ada2fc5f7c6cbe6f27ccc8b59428765b5c1f9b197d60b4ab4ee4b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 87, + "startColumn": 39, + "charOffset": 2744, + "charLength": 13, + "snippet": { + "text": "PallasLangKey" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 85, + "startColumn": 1, + "charOffset": 2644, + "charLength": 151, + "snippet": { + "text": " /// The Pallas language key.\r\n /// \r\n public static readonly string PallasLangKey = \"pallas\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a8582b736fd99a039a5e05d17f20f0edb7d972ddd65f192ede84a63a6c639ef7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 231, + "startColumn": 20, + "charOffset": 9624, + "charLength": 13, + "snippet": { + "text": "defaultDouble" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 229, + "startColumn": 1, + "charOffset": 9491, + "charLength": 530, + "snippet": { + "text": " int screenHeight = int.Parse(ConfigurationHelper.GetValue(ConfigurationKeys.MonitorHeight, \"-1\"));\r\n\r\n double defaultDouble = -114514;\r\n double left = double.Parse(ConfigurationHelper.GetValue(ConfigurationKeys.PositionLeft, defaultDouble.ToString(CultureInfo.InvariantCulture)), CultureInfo.InvariantCulture);\r\n double top = double.Parse(ConfigurationHelper.GetValue(ConfigurationKeys.PositionTop, defaultDouble.ToString(CultureInfo.InvariantCulture)), CultureInfo.InvariantCulture);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0526bb9d1b58500b08ee4c67efc6c6c92a1d79df769932e13207511840f6ec1a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2546, + "startColumn": 20, + "charOffset": 95512, + "charLength": 18, + "snippet": { + "text": "officialClientType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2544, + "startColumn": 1, + "charOffset": 95476, + "charLength": 178, + "snippet": { + "text": " }\r\n\r\n string officialClientType = \"Official\";\r\n string bilibiliClientType = \"Bilibili\";\r\n string jsonPath = \"resource/version.json\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "13d1b02f72d4d3daacca298cf04b48405f7513558b49d6e3493da6661cc64520" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1137, + "startColumn": 40, + "charOffset": 43974, + "charLength": 12, + "snippet": { + "text": "_userDefined" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1135, + "startColumn": 1, + "charOffset": 43813, + "charLength": 217, + "snippet": { + "text": " private string _defaultInfrast = ConfigurationHelper.GetValue(ConfigurationKeys.DefaultInfrast, _userDefined);\r\n\r\n private static readonly string _userDefined = \"user_defined\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1954d8d1960b983dcbd1c199eb0f2f17323309c40a85679b35a5901023e733ff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/Bootstrapper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 73, + "startColumn": 20, + "charOffset": 2470, + "charLength": 14, + "snippet": { + "text": "logBakFilename" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 71, + "startColumn": 1, + "charOffset": 2398, + "charLength": 222, + "snippet": { + "text": "\r\n string logFilename = \"debug/gui.log\";\r\n string logBakFilename = \"debug/gui.bak.log\";\r\n if (File.Exists(logFilename) && new FileInfo(logFilename).Length > 4 * 1024 * 1024)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "21afc999e282b6bbdd2a6256272e418537273c123eee6ac6f0013bf9cb53c55b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 92, + "startColumn": 17, + "charOffset": 2761, + "charLength": 8, + "snippet": { + "text": "filePath" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 90, + "startColumn": 1, + "charOffset": 2728, + "charLength": 208, + "snippet": { + "text": " }\r\n\r\n var filePath = \"cache/allFileDownloadComplete.json\";\r\n File.WriteAllText(filePath, generateJsonString(false));\r\n UpdateStageInternal(await LoadWebStages());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2a4e491d5489cb9c41aafcb1ab32cea5213337df073ac8126113616e443ce940" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 120, + "startColumn": 20, + "charOffset": 3710, + "charLength": 18, + "snippet": { + "text": "lastUpdateTimeFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 118, + "startColumn": 1, + "charOffset": 3624, + "charLength": 314, + "snippet": { + "text": " {\r\n // Check if we need to update from the web\r\n string lastUpdateTimeFile = \"lastUpdateTime.json\";\r\n string allFileDownloadCompleteFile = \"allFileDownloadComplete.json\";\r\n JObject localLastUpdatedJson = Instances.MaaApiService.LoadApiCache(lastUpdateTimeFile);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5f1dca9869105f24d588daea579c74a87e887a60f39ce177169b9164dd98d51f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 121, + "startColumn": 20, + "charOffset": 3774, + "charLength": 27, + "snippet": { + "text": "allFileDownloadCompleteFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 119, + "startColumn": 1, + "charOffset": 3635, + "charLength": 421, + "snippet": { + "text": " // Check if we need to update from the web\r\n string lastUpdateTimeFile = \"lastUpdateTime.json\";\r\n string allFileDownloadCompleteFile = \"allFileDownloadComplete.json\";\r\n JObject localLastUpdatedJson = Instances.MaaApiService.LoadApiCache(lastUpdateTimeFile);\r\n JObject allFileDownloadCompleteJson = Instances.MaaApiService.LoadApiCache(allFileDownloadCompleteFile);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5f8154564c49a21899116c7793ce89496c40d810f9ef675aa38f910f0259220f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2547, + "startColumn": 20, + "charOffset": 95565, + "charLength": 18, + "snippet": { + "text": "bilibiliClientType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2545, + "startColumn": 1, + "charOffset": 95491, + "charLength": 283, + "snippet": { + "text": "\r\n string officialClientType = \"Official\";\r\n string bilibiliClientType = \"Bilibili\";\r\n string jsonPath = \"resource/version.json\";\r\n if (!(ClientType == string.Empty || ClientType == officialClientType || ClientType == bilibiliClientType))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "668b1a7edbe81ac9753553c43bef8d73204c4d7426e0289f8198375a2b36a40d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2649, + "startColumn": 40, + "charOffset": 99796, + "charLength": 23, + "snippet": { + "text": "AdbMaaMirrorDownloadUrl" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2647, + "startColumn": 1, + "charOffset": 99614, + "charLength": 364, + "snippet": { + "text": "\r\n private static readonly string GoogleAdbDownloadUrl = \"https://dl.google.com/android/repository/platform-tools-latest-windows.zip\";\r\n private static readonly string AdbMaaMirrorDownloadUrl = \"https://ota.maa.plus/MaaAssistantArknights/api/binaries/adb-windows.zip\";\r\n private static readonly string GoogleAdbFilename = \"adb-windows.zip\";\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6a9d01b93f0b01d5ba85608ac61434bf2a4b36451e4127298b7eef1b7cbdbd05" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 635, + "startColumn": 33, + "charOffset": 20814, + "charLength": 12, + "snippet": { + "text": "CopilotUiUrl" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 633, + "startColumn": 1, + "charOffset": 20769, + "charLength": 204, + "snippet": { + "text": " }\r\n\r\n private readonly string CopilotUiUrl = MaaUrls.PrtsPlus;\r\n private string _url = MaaUrls.PrtsPlus;\r\n private string _urlText = LocalizationHelper.GetString(\"PrtsPlus\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6f48db53faeb07d5acef7b659872b49a212fb6f0a9d8645f67cc6c04e24d7da1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2650, + "startColumn": 40, + "charOffset": 99937, + "charLength": 17, + "snippet": { + "text": "GoogleAdbFilename" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2648, + "startColumn": 1, + "charOffset": 99616, + "charLength": 402, + "snippet": { + "text": " private static readonly string GoogleAdbDownloadUrl = \"https://dl.google.com/android/repository/platform-tools-latest-windows.zip\";\r\n private static readonly string AdbMaaMirrorDownloadUrl = \"https://ota.maa.plus/MaaAssistantArknights/api/binaries/adb-windows.zip\";\r\n private static readonly string GoogleAdbFilename = \"adb-windows.zip\";\r\n\r\n public async void ReplaceADB()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "89f10fba6ce9cb18e63e30e1e853670292920a5a9c384303e83cba069b2d963f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 249, + "startColumn": 20, + "charOffset": 8442, + "charLength": 18, + "snippet": { + "text": "officialClientType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 247, + "startColumn": 1, + "charOffset": 8338, + "charLength": 192, + "snippet": { + "text": " string globalCache = mainCache + \"\\\\resource\\\\global\\\\\" + clientType;\r\n\r\n string officialClientType = \"Official\";\r\n string bilibiliClientType = \"Bilibili\";\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a6dd9ee544ae19462e2f9ff50cf976fdedfc8163d5b1f0de39b69d4fdeb22960" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 250, + "startColumn": 20, + "charOffset": 8495, + "charLength": 18, + "snippet": { + "text": "bilibiliClientType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 248, + "startColumn": 1, + "charOffset": 8421, + "charLength": 135, + "snippet": { + "text": "\r\n string officialClientType = \"Official\";\r\n string bilibiliClientType = \"Bilibili\";\r\n\r\n bool loaded;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b1da206898af526f34bbb2b60d3a01037fa350934d102602e7240d0e87a8ad29" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 234, + "startColumn": 24, + "charOffset": 7819, + "charLength": 8, + "snippet": { + "text": "resource" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 232, + "startColumn": 1, + "charOffset": 7727, + "charLength": 193, + "snippet": { + "text": " static bool LoadResIfExists(string path)\r\n {\r\n string resource = \"\\\\resource\";\r\n if (!Directory.Exists(path + resource))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bbdce5b30cb9240b63907fb55303f9151648c392a57092c4ef80ce2ed6bc118e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1510, + "startColumn": 17, + "charOffset": 62336, + "charLength": 4, + "snippet": { + "text": "type" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1508, + "startColumn": 1, + "charOffset": 62247, + "charLength": 180, + "snippet": { + "text": " bool is_custom, string filename, int plan_index)\r\n {\r\n var type = TaskType.Infrast;\r\n if (!_latestTaskId.ContainsKey(type))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c8e529d8777c870b751d89e9df7f134a80f352713c7521ef7b02e2c8555c6758" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/Bootstrapper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 72, + "startColumn": 20, + "charOffset": 2419, + "charLength": 11, + "snippet": { + "text": "logFilename" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 70, + "startColumn": 1, + "charOffset": 2383, + "charLength": 222, + "snippet": { + "text": " }\r\n\r\n string logFilename = \"debug/gui.log\";\r\n string logBakFilename = \"debug/gui.bak.log\";\r\n if (File.Exists(logFilename) && new FileInfo(logFilename).Length > 4 * 1024 * 1024)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce7289691cc19991762cd7446eaf23c21df54541fe693bdc646aef6996af5770" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2648, + "startColumn": 40, + "charOffset": 99655, + "charLength": 20, + "snippet": { + "text": "GoogleAdbDownloadUrl" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2646, + "startColumn": 1, + "charOffset": 99603, + "charLength": 373, + "snippet": { + "text": " }\r\n\r\n private static readonly string GoogleAdbDownloadUrl = \"https://dl.google.com/android/repository/platform-tools-latest-windows.zip\";\r\n private static readonly string AdbMaaMirrorDownloadUrl = \"https://ota.maa.plus/MaaAssistantArknights/api/binaries/adb-windows.zip\";\r\n private static readonly string GoogleAdbFilename = \"adb-windows.zip\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da040d27cb661724799101d600ee835c6a760ce1e3e01955ab0520722a34b4f7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Extensions/DateTimeExtension.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 37, + "charOffset": 796, + "charLength": 14, + "snippet": { + "text": "YJDayStartHour" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 710, + "charLength": 227, + "snippet": { + "text": " public static class DateTimeExtension\r\n {\r\n private static readonly int YJDayStartHour = 4;\r\n\r\n private static string ClientType => ConfigurationHelper.GetValue(ConfigurationKeys.ClientType, string.Empty);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e0f4feb372d3e83430ac2f410d30c7fba9cd56d9187575b3b56eeff43bdf4722" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 799, + "startColumn": 17, + "charOffset": 32277, + "charLength": 14, + "snippet": { + "text": "wmiQueryString" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 797, + "startColumn": 1, + "charOffset": 32032, + "charLength": 461, + "snippet": { + "text": " // The following query string does what I want, but WMI does not accept it.\r\n // var wmiQueryString = string.Format(\"SELECT ProcessId, CommandLine FROM Win32_Process WHERE ExecutablePath='{0}'\", adbPath);\r\n var wmiQueryString = \"SELECT ProcessId, ExecutablePath, CommandLine FROM Win32_Process\";\r\n using (var searcher = new ManagementObjectSearcher(wmiQueryString))\r\n using (var results = searcher.Get())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "eb3d0e0eae632637233d5c6e8ef917e2df180a9796c87f614264e357f72e9f27" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToConstant.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into constant", + "markdown": "Convert into constant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 555, + "startColumn": 33, + "charOffset": 18522, + "charLength": 17, + "snippet": { + "text": "_copilotRatingUrl" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 553, + "startColumn": 1, + "charOffset": 18444, + "charLength": 238, + "snippet": { + "text": " private bool _isVideoTask = false;\r\n\r\n private readonly string _copilotRatingUrl = \"https://prts.maa.plus/copilot/rating\";\r\n private readonly List _recentlyRatedCopilotId = new List(); // TODO: 可能考虑加个持久化\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fd01283bf757ea4b586de64f7cb3ae426309c89a6c528722987d5205693ed204" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToLambdaExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Use lambda expression", + "markdown": "Use lambda expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2614, + "startColumn": 17, + "charOffset": 92617, + "charLength": 6, + "snippet": { + "text": "return" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2612, + "startColumn": 1, + "charOffset": 92549, + "charLength": 227, + "snippet": { + "text": " AllDrops.Sort((a, b) =>\r\n {\r\n return string.Compare(a.Value, b.Value, StringComparison.Ordinal);\r\n });\r\n DropsList = new ObservableCollection(AllDrops);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "77ce3a640cfb4c723c09b45389ed2bde2528d002853c9c208724753a54c6cdaa" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToUsingDeclaration", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'using' declaration", + "markdown": "Convert into 'using' declaration" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 123, + "startColumn": 13, + "charOffset": 4507, + "charLength": 5, + "snippet": { + "text": "using" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 121, + "startColumn": 1, + "charOffset": 4435, + "charLength": 182, + "snippet": { + "text": " {\r\n var addresses = new List();\r\n using (Process process = new Process())\r\n {\r\n process.StartInfo.FileName = adbPath;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3fbe1c1a8a891bf8ccd677678f8548e0264a7318d5479dedc453bb32796ce195" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToUsingDeclaration", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'using' declaration", + "markdown": "Convert into 'using' declaration" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 800, + "startColumn": 13, + "charOffset": 32375, + "charLength": 5, + "snippet": { + "text": "using" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 798, + "startColumn": 1, + "charOffset": 32121, + "charLength": 387, + "snippet": { + "text": " // var wmiQueryString = string.Format(\"SELECT ProcessId, CommandLine FROM Win32_Process WHERE ExecutablePath='{0}'\", adbPath);\r\n var wmiQueryString = \"SELECT ProcessId, ExecutablePath, CommandLine FROM Win32_Process\";\r\n using (var searcher = new ManagementObjectSearcher(wmiQueryString))\r\n using (var results = searcher.Get())\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "76ed2cca7ca608ac277e02e6d30ff102708e90bfb3550d828f51115f4ef81e19" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ConvertToUsingDeclaration", + "kind": "fail", + "level": "note", + "message": { + "text": "Convert into 'using' declaration", + "markdown": "Convert into 'using' declaration" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 42, + "startColumn": 21, + "charOffset": 1361, + "charLength": 5, + "snippet": { + "text": "using" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 40, + "startColumn": 1, + "charOffset": 1214, + "charLength": 258, + "snippet": { + "text": " var encoder = new BmpBitmapEncoder();\r\n encoder.Frames.Add(BitmapFrame.Create(image));\r\n using (MemoryStream ms = new MemoryStream())\r\n {\r\n encoder.Save(ms);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "93562c80e4f1388b93a72ba85fd3c7ca205c47526a29eb48d35edada7c7e5f32" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "CppDeclarationHidesLocal", + "kind": "fail", + "level": "warning", + "message": { + "text": "Declaration of 'loaded' hides previous local declaration", + "markdown": "Declaration of 'loaded' hides previous local declaration" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/Cpp/main.cpp", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 28, + "startColumn": 14, + "charOffset": 827, + "charLength": 6, + "snippet": { + "text": "loaded" + }, + "sourceLanguage": "Cpp" + }, + "contextRegion": { + "startLine": 26, + "startColumn": 1, + "charOffset": 676, + "charLength": 293, + "snippet": { + "text": " for (const auto& client : { \"YoStarJP\", \"YoStarEN\", \"YoStarKR\", \"txwy\" }) {\n const auto overseas_path = overseas_dir / client;\n bool loaded = AsstLoadResource(cur_path.string().c_str());\n // 增量更新外服的资源\n loaded &= AsstLoadResource(overseas_path.string().c_str());" + }, + "sourceLanguage": "C++" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaSample", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e390a90cdb2c567e116954e2ee84f23be1b1e3b8ff3e3f6f590747a5fafa5814" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Cpp", + ".NETFramework 0.0" + ] + } + }, + { + "ruleId": "CppRedundantElaboratedTypeSpecifier", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant elaborated type specifier", + "markdown": "Redundant elaborated type specifier" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "include/AsstCaller.h", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 7, + "startColumn": 9, + "charOffset": 84, + "charLength": 6, + "snippet": { + "text": "struct" + }, + "sourceLanguage": "Cpp" + }, + "contextRegion": { + "startLine": 5, + "startColumn": 1, + "charOffset": 56, + "charLength": 85, + "snippet": { + "text": "\nstruct AsstExtAPI;\ntypedef struct AsstExtAPI* AsstHandle;\n\ntypedef uint8_t AsstBool;" + }, + "sourceLanguage": "C++" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaCore", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "287d605d14495bab85dec97201ba0e0699f3473e082679cede051bcf9271c798" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "Cpp", + ".NETFramework 0.0" + ] + } + }, + { + "ruleId": "CppTooWideScopeInitStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Variable 'loaded' can be moved to if-init-statement", + "markdown": "Variable 'loaded' can be moved to if-init-statement" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/Cpp/main.cpp", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 17, + "startColumn": 10, + "charOffset": 390, + "charLength": 6, + "snippet": { + "text": "loaded" + }, + "sourceLanguage": "Cpp" + }, + "contextRegion": { + "startLine": 15, + "startColumn": 1, + "charOffset": 338, + "charLength": 200, + "snippet": { + "text": "\n // 这里默认读取的是可执行文件同目录下 resource 文件夹里的资源\n bool loaded = AsstLoadResource(cur_path.string().c_str());\n if (!loaded) {\n std::cerr << \"-------- load resource failed --------\" << std::endl;" + }, + "sourceLanguage": "C++" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaSample", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d0420d6e15bc3442d4fd07e562f1e8c66b7038fdfc874ee292d99482dab7d12d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "Cpp", + ".NETFramework 0.0" + ] + } + }, + { + "ruleId": "EmptyConstructor", + "kind": "fail", + "level": "warning", + "message": { + "text": "Empty constructor is redundant. The compiler generates the same by default.", + "markdown": "Empty constructor is redundant. The compiler generates the same by default." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/MaaApiService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 28, + "startColumn": 16, + "charOffset": 932, + "charLength": 13, + "snippet": { + "text": "MaaApiService" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 26, + "startColumn": 1, + "charOffset": 825, + "charLength": 145, + "snippet": { + "text": " private const string MaaApi = \"https://ota.maa.plus/MaaAssistantArknights/api/\";\r\n\r\n public MaaApiService()\r\n {\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3794bcd9936b4ea01ceb58fc1a4965d65ccb07d1da1bedbda7c7569fe876cb98" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "EmptyGeneralCatchClause", + "kind": "fail", + "level": "warning", + "message": { + "text": "Empty general catch clause suppresses any errors", + "markdown": "Empty general catch clause suppresses any errors" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 822, + "startColumn": 25, + "charOffset": 33429, + "charLength": 5, + "snippet": { + "text": "catch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 820, + "startColumn": 1, + "charOffset": 33321, + "charLength": 168, + "snippet": { + "text": " item.Process.WaitForExit();\r\n }\r\n catch\r\n {\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c57c0b6fb922fd9b5714c4c3a7b8d3ad2ef075ccbbf24d616480858a87cca6c1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "EmptyGeneralCatchClause", + "kind": "fail", + "level": "warning", + "message": { + "text": "Empty general catch clause suppresses any errors", + "markdown": "Empty general catch clause suppresses any errors" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 50, + "startColumn": 17, + "charOffset": 1613, + "charLength": 5, + "snippet": { + "text": "catch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 48, + "startColumn": 1, + "charOffset": 1544, + "charLength": 125, + "snippet": { + "text": " return data;\r\n }\r\n catch (Exception)\r\n {\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d6ed7f8ca0db2efeaec2fea7348ab2c36a02c8bec6d05705b31a75af64ee1e18" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 307, + "startColumn": 13, + "charOffset": 14755, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 305, + "startColumn": 1, + "charOffset": 14683, + "charLength": 206, + "snippet": { + "text": "\r\n var languageList = new List();\r\n foreach (var pair in LocalizationHelper.SupportedLanguages)\r\n {\r\n if (pair.Key == PallasLangKey && !Cheers)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5cd45c1f36be4780cecbf81b9bbc3352ad4f1730300567ffe5154a5c7902efc6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Loop can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2320, + "startColumn": 17, + "charOffset": 82981, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2318, + "startColumn": 1, + "charOffset": 82889, + "charLength": 248, + "snippet": { + "text": " foreach (var plan in CustomInfrastPlanInfoList)\r\n {\r\n foreach (var period in plan.PeriodList)\r\n {\r\n if (timeLess(period.BeginHour, period.BeginMinute, now.Hour, now.Minute) &&\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8833670bba857d62327d311e80829946565784f46d3c7a9033e0b95c9735fbab" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1178, + "startColumn": 17, + "charOffset": 48617, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1176, + "startColumn": 1, + "charOffset": 48511, + "charLength": 285, + "snippet": { + "text": " if (!ret && Instances.SettingsViewModel.AutoDetectConnection)\r\n {\r\n foreach (var address in Instances.SettingsViewModel.DefaultAddress[Instances.SettingsViewModel.ConnectConfig])\r\n {\r\n if (runningState.GetIdle())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "379c9152b357a7b20606d2b8800957c31d0bd4d817536090c9b94536740f3683" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 872, + "startColumn": 17, + "charOffset": 34923, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 870, + "startColumn": 1, + "charOffset": 34875, + "charLength": 155, + "snippet": { + "text": " get\r\n {\r\n foreach (var item in ClientTypeList)\r\n {\r\n if (item.Value == ClientType)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "54c6137bafeec5ba145396d534630c8c865ee1878743ce5ea68d729b304be971" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2532, + "startColumn": 13, + "charOffset": 95053, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2530, + "startColumn": 1, + "charOffset": 94939, + "charLength": 219, + "snippet": { + "text": " var rvm = (RootViewModel)this.Parent;\r\n var connectConfigName = string.Empty;\r\n foreach (var data in ConnectConfigList)\r\n {\r\n if (data.Value == ConnectConfig)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "865c8df3a8a899b1cee6150ddb28766d59905804ed2002e159ed2b503a241216" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 86, + "startColumn": 21, + "charOffset": 3208, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 84, + "startColumn": 1, + "charOffset": 3072, + "charLength": 303, + "snippet": { + "text": " emulators.Add(emulatorId);\r\n var processPath = process.MainModule.FileName;\r\n foreach (var path in _adbRelativePathDict[emulatorId])\r\n {\r\n var adbPath = Path.GetDirectoryName(processPath) + \"\\\\\" + path;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "933768a48dc3ed3f31bd33f0eaa1e7bb5cc4da5fcdaeb7777b4b2041f889e791" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 351, + "startColumn": 13, + "charOffset": 17164, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 349, + "startColumn": 1, + "charOffset": 17038, + "charLength": 227, + "snippet": { + "text": " var builder = new StringBuilder();\r\n var sideStoryFlags = new Dictionary();\r\n foreach (var item in _stages)\r\n {\r\n if (item.Value.IsStageOpen(dayOfWeek))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bcb793380873cacdfbc6e0af5b71cf858a6fe6abf4f13cc2904e4f11045ef400" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2489, + "startColumn": 17, + "charOffset": 93901, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2487, + "startColumn": 1, + "charOffset": 93827, + "charLength": 181, + "snippet": { + "text": " else if (addresses.Count > 1)\r\n {\r\n foreach (var address in addresses)\r\n {\r\n if (address == \"emulator-5554\")\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c8f68731bb548ba26a8b494e62300c2c278bdc4bc0d5b460a6238599e550b470" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 578, + "startColumn": 13, + "charOffset": 19387, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 576, + "startColumn": 1, + "charOffset": 19328, + "charLength": 150, + "snippet": { + "text": " string operNotHaveNames = \"\\t\";\r\n\r\n foreach (var tuple in operNotHave)\r\n {\r\n var name = tuple.Item1;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce58ce73678558dcc00c8d442f4d9d708480b29dfe23bdb03065ea971e97ec63" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2318, + "startColumn": 13, + "charOffset": 82901, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2316, + "startColumn": 1, + "charOffset": 82850, + "charLength": 171, + "snippet": { + "text": "\r\n var now = DateTime.Now;\r\n foreach (var plan in CustomInfrastPlanInfoList)\r\n {\r\n foreach (var period in plan.PeriodList)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e31a5c286af07701779ad258f79f6319c372fc09af0f8b3d2ec62df7bc9a1da1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 591, + "startColumn": 13, + "charOffset": 19815, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 589, + "startColumn": 1, + "charOffset": 19730, + "charLength": 173, + "snippet": { + "text": " newline_flag = 0;\r\n string operHaveNames = \"\\t\";\r\n foreach (var tuple in operHave)\r\n {\r\n var name = tuple.Item1;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "eb1850e59041ba6accc572b8bd5ad5e35a01c45947f0f9d9d758ec5c70111658" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ForeachCanBePartlyConvertedToQueryUsingAnotherGetEnumerator", + "kind": "fail", + "level": "note", + "message": { + "text": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used", + "markdown": "Part of loop's body can be converted into LINQ-expression but another 'GetEnumerator' method will be used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/LocalizationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 56, + "startColumn": 17, + "charOffset": 1752, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 54, + "startColumn": 1, + "charOffset": 1715, + "charLength": 188, + "snippet": { + "text": " }\r\n\r\n foreach (var lang in SupportedLanguages)\r\n {\r\n var key = lang.Key.Contains(\"-\") ? lang.Key.Split('-')[0] : lang.Key;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "eddea3652e437effc66d13c4e8c50a94ecfa3ffad07f3c2bfbf550432f460a39" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InlineTemporaryVariable", + "kind": "fail", + "level": "note", + "message": { + "text": "Inline temporary variable", + "markdown": "Inline temporary variable" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 171, + "startColumn": 21, + "charOffset": 5459, + "charLength": 13, + "snippet": { + "text": "tempCopilotId" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 169, + "startColumn": 1, + "charOffset": 5282, + "charLength": 330, + "snippet": { + "text": " var copilotIdStr = filename.ToLower().Remove(0, CopilotIdPrefix.Length);\r\n int.TryParse(copilotIdStr, out var numberStyles);\r\n int tempCopilotId = numberStyles;\r\n jsonStr = await RequestCopilotServer(tempCopilotId);\r\n if (!string.IsNullOrEmpty(jsonStr))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "30edb5a6d6de80be78620c4881433b533c73ad5f7e7c07c0a9afbf834a33da27" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InlineTemporaryVariable", + "kind": "fail", + "level": "note", + "message": { + "text": "Inline temporary variable", + "markdown": "Inline temporary variable" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 182, + "startColumn": 21, + "charOffset": 5908, + "charLength": 13, + "snippet": { + "text": "tempCopilotId" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 180, + "startColumn": 1, + "charOffset": 5810, + "charLength": 251, + "snippet": { + "text": " {\r\n int.TryParse(filename, out var numberStyles);\r\n int tempCopilotId = numberStyles;\r\n jsonStr = await RequestCopilotServer(tempCopilotId);\r\n if (!string.IsNullOrEmpty(jsonStr))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a04971fcf074a04663f9affdb4ae8250c7543d72c689f4faa97e07e64b0134d9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvalidXmlDocComment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Syntax error", + "markdown": "Syntax error" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/IMainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 58, + "startColumn": 79, + "charOffset": 1845, + "charLength": 4, + "snippet": { + "text": "null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 56, + "startColumn": 1, + "charOffset": 1692, + "charLength": 218, + "snippet": { + "text": " /// Get the main window if it is visible.\r\n /// \r\n /// The if it is visible, or . \r\n Window GetWindowIfVisible();\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0c0ddca90fdd8d035743b38d9e1ee969c750d60c7ae624f2bacb52209ab33d28" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvalidXmlDocComment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Cannot resolve symbol 'Wpf'", + "markdown": "Cannot resolve symbol 'Wpf'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 126, + "startColumn": 54, + "charOffset": 4196, + "charLength": 3, + "snippet": { + "text": "Wpf" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 124, + "startColumn": 1, + "charOffset": 4074, + "charLength": 345, + "snippet": { + "text": " /// 通知标题\r\n /// \r\n /// Toast通知,基于 实现,方便管理通知样式。\r\n /// 建议使用 调用,如果不使用 调用,建议手动调用 方法释放。\r\n /// 在线程中必须使用 Dispatcher.Invoke 相关方法调用。\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ad66347db540b37cb197636dfdd4527ea67f8fb28089902bde9d59f122e420d0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvalidXmlDocComment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Syntax error", + "markdown": "Syntax error" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/IMainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 58, + "startColumn": 83, + "charOffset": 1849, + "charLength": 1, + "snippet": { + "text": "\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 56, + "startColumn": 1, + "charOffset": 1692, + "charLength": 218, + "snippet": { + "text": " /// Get the main window if it is visible.\r\n /// \r\n /// The if it is visible, or . \r\n Window GetWindowIfVisible();\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e89d26ff159b66373e16353aa291ae5a22d2e5a8d930b93314b33c064d24af6b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 175, + "startColumn": 17, + "charOffset": 7196, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 173, + "startColumn": 1, + "charOffset": 7104, + "charLength": 237, + "snippet": { + "text": " {\r\n // get the aero snap position of the window\r\n if (wp.ShowCmd == SwShownormal && GetWindowRect(window.Handle, out Rect rect))\r\n {\r\n wp.NormalPosition = rect;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "063f2af69f30536f2c873d6959fbd098c86570763b673c30acea5db284603926" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 87, + "startColumn": 17, + "charOffset": 3818, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 85, + "startColumn": 1, + "charOffset": 3781, + "charLength": 149, + "snippet": { + "text": " }\r\n\r\n if (_minimizeDirectly && _minimizeToTray)\r\n {\r\n window.ShowInTaskbar = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "079568f5de25c156fb0437a50b55ff1f6121feab070302602afb070504172e94" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 261, + "startColumn": 21, + "charOffset": 9506, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 259, + "startColumn": 1, + "charOffset": 9404, + "charLength": 221, + "snippet": { + "text": " {\r\n string path = Path.Combine(curDir, file);\r\n if (File.Exists(path))\r\n {\r\n string moveTo = Path.Combine(oldFileDir, file);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "08fe51445e9abd48e9085a4cff678dfaac9fcb978b1953aedb7cefb231bba5bb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 13, + "charOffset": 2888, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 2607, + "charLength": 373, + "snippet": { + "text": " var hasValue = _globalKvs.TryGetValue(key, out var value);\r\n _logger.Debug(\"Read global configuration key {Key} with default value {DefaultValue}, configuration hit: {HasValue}, configuration value {Value}\", key, defaultValue, hasValue, value);\r\n if (!hasValue)\r\n {\r\n hasValue = _kvs.TryGetValue(key, out value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0beaf042fc1e8a7787f8cdfd6866505d44916e559678b7fe7976916f9d4671ab" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 81, + "startColumn": 17, + "charOffset": 2920, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 79, + "startColumn": 1, + "charOffset": 2840, + "charLength": 231, + "snippet": { + "text": " foreach (var process in allProcess)\r\n {\r\n if (_emulatorIdDict.Keys.Contains(process.ProcessName))\r\n {\r\n var emulatorId = _emulatorIdDict[process.ProcessName];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "20f8da3aeed4f8d233b9709eccf5bd7ab0fa543e4f5e7a2badb75a13e41e8705" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 751, + "startColumn": 17, + "charOffset": 27400, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 749, + "startColumn": 1, + "charOffset": 27363, + "charLength": 205, + "snippet": { + "text": " }\r\n\r\n if (name.Contains(\"ota\") && name.Contains($\"{cur_version_lower}_{latest_version_lower}\"))\r\n {\r\n _assetsObject = curAssets as JObject;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "25c737655f69a50bdc118d89a6fbe0649d8c36f8d6a500f358dd401398d8b33c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 421, + "startColumn": 17, + "charOffset": 14432, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 419, + "startColumn": 1, + "charOffset": 14356, + "charLength": 165, + "snippet": { + "text": " foreach (var ext in SupportExt)\r\n {\r\n if (filenameLower.EndsWith(ext))\r\n {\r\n support = true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2c633eb1a6861cb2cdfdd0ab4f8435d983d74667dce8f20ce6bdccb757b3cb0b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1149, + "startColumn": 17, + "charOffset": 47653, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1147, + "startColumn": 1, + "charOffset": 47541, + "charLength": 199, + "snippet": { + "text": " connectedAddress == Instances.SettingsViewModel.ConnectAddress)\r\n {\r\n if (ForcedReloadResource)\r\n {\r\n if (!LoadResource())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2f7d2d7eef16ff04e06861428f07c96254c77e6c57a1c4289202d7420745d7ad" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1186, + "startColumn": 21, + "charOffset": 49035, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1184, + "startColumn": 1, + "charOffset": 48875, + "charLength": 271, + "snippet": { + "text": "\r\n ret = AsstConnect(_handle, Instances.SettingsViewModel.AdbPath, address, Instances.SettingsViewModel.ConnectConfig);\r\n if (ret)\r\n {\r\n Instances.SettingsViewModel.ConnectAddress = address;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "38a54c657478f973f8e1122752d1539b95a4b39aa1ed92194dc35d0d9b4c67f1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1959, + "startColumn": 13, + "charOffset": 69759, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1957, + "startColumn": 1, + "charOffset": 69730, + "charLength": 116, + "snippet": { + "text": " }\r\n\r\n if (StageList != null)\r\n {\r\n foreach (var item in StageList)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3ab508416c11487187eda4f0549bff5b8d53f8e58c18062cc5e0d2449497047e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 244, + "startColumn": 13, + "charOffset": 10721, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 242, + "startColumn": 1, + "charOffset": 10593, + "charLength": 212, + "snippet": { + "text": "\r\n var screen = System.Windows.Forms.Screen.AllScreens.FirstOrDefault(x => x.DeviceName == screenName);\r\n if (screen != null)\r\n {\r\n var screenRect = screen.Bounds;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "401f9f1b5a623e8be5e34474ddeda92b00685d26352c5d658568ff8f9610a5a9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 390, + "startColumn": 13, + "charOffset": 13505, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 388, + "startColumn": 1, + "charOffset": 13443, + "charLength": 234, + "snippet": { + "text": "\r\n bool done = (bool)details[\"done\"];\r\n if (done)\r\n {\r\n DepotInfo = LocalizationHelper.GetString(\"IdentificationCompleted\") + \"\\n\" + LocalizationHelper.GetString(\"DepotRecognitionTip\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "468ecb3b5bd9a1669c2660a92c4381dacde05bc4666587819bca0b788872c122" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 64, + "startColumn": 13, + "charOffset": 2025, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 62, + "startColumn": 1, + "charOffset": 1962, + "charLength": 157, + "snippet": { + "text": " public bool CheckToastSystem()\r\n {\r\n if (!_systemToastCheckInited)\r\n {\r\n _systemToastCheckInited = true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4cd3f57a0b33e7402b778056a41dd1ed537f183e9606ca64754ce5e5b0a55310" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 531, + "startColumn": 17, + "charOffset": 17767, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 529, + "startColumn": 1, + "charOffset": 17730, + "charLength": 159, + "snippet": { + "text": " }\r\n\r\n if (_operBoxPotential == null)\r\n {\r\n _operBoxPotential = new Dictionary();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5793fa404c099687148900df424bcba5b661b095b3136604b1d0e4fe0beaef96" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1460, + "startColumn": 17, + "charOffset": 54163, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1458, + "startColumn": 1, + "charOffset": 54087, + "charLength": 182, + "snippet": { + "text": " {\r\n hwnd = FindWindow(null, i);\r\n if (hwnd != IntPtr.Zero)\r\n {\r\n GetWindowThreadProcessId(hwnd, out pid);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "59349b25c759dd5250b6e1539bb85271c7e1d58ea5b498a3154b02ed82e78cbb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 172, + "startColumn": 13, + "charOffset": 7056, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 170, + "startColumn": 1, + "charOffset": 6947, + "charLength": 232, + "snippet": { + "text": " private bool GetWindowPlacement(WindowHandle window, out WindowPlacement wp)\r\n {\r\n if (GetWindowPlacement(window.Handle, out wp))\r\n {\r\n // get the aero snap position of the window\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e8324fb6914e6cef18cb07176b4211a7f776bfb977d2d2c2d0c67ec91186e6b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 353, + "startColumn": 17, + "charOffset": 17226, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 351, + "startColumn": 1, + "charOffset": 17152, + "charLength": 211, + "snippet": { + "text": " foreach (var item in _stages)\r\n {\r\n if (item.Value.IsStageOpen(dayOfWeek))\r\n {\r\n if (!string.IsNullOrEmpty(item.Value.Activity?.StageName)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "68c512db88690a18ca4be1ea3e4e026b97060847ce135d20a6c05764b5f9fbb7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 121, + "startColumn": 13, + "charOffset": 4749, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 119, + "startColumn": 1, + "charOffset": 4672, + "charLength": 150, + "snippet": { + "text": " public static Color String2Color(string str)\r\n {\r\n if (!string.IsNullOrWhiteSpace(str))\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "68d8e3becae14f17eb4aa7fd2ed141fc8e140096bcb57ef1d9e37efbf03c2916" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 733, + "startColumn": 17, + "charOffset": 24112, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 731, + "startColumn": 1, + "charOffset": 24016, + "charLength": 188, + "snippet": { + "text": " {\r\n var image = Instances.AsstProxy.AsstGetImage();\r\n if (!GachaImage.IsEqual(image))\r\n {\r\n GachaImage = image;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6d3ef19efc38cd2494076b00780babf95835267110e4888df4dc229f124dac91" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2660, + "startColumn": 17, + "charOffset": 94206, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2658, + "startColumn": 1, + "charOffset": 94130, + "charLength": 177, + "snippet": { + "text": " foreach (var item in DropsList)\r\n {\r\n if (DropsItemName == item.Display)\r\n {\r\n DropsItemId = item.Value;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7404f3564738bbfc23470b7bcfd93cb54f32051961010e5f0b7c93092d94d48f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 582, + "startColumn": 17, + "charOffset": 19561, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 580, + "startColumn": 1, + "charOffset": 19438, + "charLength": 216, + "snippet": { + "text": " var name = tuple.Item1;\r\n operNotHaveNames += PadRightEx(name, 12) + \"\\t\";\r\n if (newline_flag++ == 3)\r\n {\r\n operNotHaveNames += \"\\n\\t\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "74fd0454f1b475f3eb785d70b70ccd1d00c0f367c7809aac6929fbdbe80d63ea" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 49, + "startColumn": 13, + "charOffset": 2096, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 47, + "startColumn": 1, + "charOffset": 2011, + "charLength": 312, + "snippet": { + "text": " {\r\n var mainWindow = Application.Current.MainWindow;\r\n if (mainWindow.WindowState == WindowState.Normal)\r\n {\r\n // In Stylet, CreateWindow().WindowStartupLocation is CenterScreen or CenterOwner (if w.WSLoc == Manual && w.Left == NaN && w.Top == NaN && ...)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "788bfa26b827742fffdf0f222c331ffdce26edf73c3e446dff7732dac26fd283" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1008, + "startColumn": 13, + "charOffset": 35448, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1006, + "startColumn": 1, + "charOffset": 35387, + "charLength": 137, + "snippet": { + "text": " public void SetFightParams()\r\n {\r\n if (EnableSetFightParams)\r\n {\r\n int medicine = 0;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "795cebdf33848e12f403bd9afa09429de7e3248e245651d5843853dd81a133c3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 489, + "startColumn": 13, + "charOffset": 21052, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 487, + "startColumn": 1, + "charOffset": 21022, + "charLength": 103, + "snippet": { + "text": " };\r\n\r\n if (enable)\r\n {\r\n Func func = str switch\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7b34de3b7d721e3122684c9c9fa1c3431eab8cd1edc19abef7bdc7ef2e6c0b72" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 295, + "startColumn": 13, + "charOffset": 10372, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 293, + "startColumn": 1, + "charOffset": 10343, + "charLength": 131, + "snippet": { + "text": " }\r\n\r\n if (timeToStart)\r\n {\r\n if (Instances.SettingsViewModel.ForceScheduledStart)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "804fb47d5716c2f7ed5da71c4d7c9af4e4c1777c639a11361c308136d149718d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3138, + "startColumn": 13, + "charOffset": 117612, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3136, + "startColumn": 1, + "charOffset": 117497, + "charLength": 214, + "snippet": { + "text": " iconKey: \"DrunkAndStaggeringGeometry\",\r\n iconBrushKey: \"PallasBrush\");\r\n if (result == MessageBoxResult.OK)\r\n {\r\n Application.Current.Shutdown();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "84872d5c9799e1523cc7813d5f892c917d381bb4c5c9df4e958b16478f4e62e9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1405, + "startColumn": 13, + "charOffset": 51950, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1403, + "startColumn": 1, + "charOffset": 51851, + "charLength": 212, + "snippet": { + "text": " {\r\n Process[] processes = Process.GetProcessesByName(\"HD-Player\");\r\n if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "848abe3957f769c0fdd51bd041de53b61b36f62933a544f1ca395998365075de" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 664, + "startColumn": 17, + "charOffset": 22175, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 662, + "startColumn": 1, + "charOffset": 22103, + "charLength": 147, + "snippet": { + "text": " SetAndNotify(ref _gachaDone, value);\r\n\r\n if (stop)\r\n {\r\n _gachaImageTimer.Stop();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "861e5090c02652901618e0fdb4cbbbbe667f24ca7dabffa88bfcdefa7923c1fc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1119, + "startColumn": 13, + "charOffset": 39958, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1117, + "startColumn": 1, + "charOffset": 39929, + "charLength": 123, + "snippet": { + "text": " }\r\n\r\n if (Instances.SettingsViewModel.ChooseLevel5)\r\n {\r\n reqList.Add(5);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "902351798d5bb21fa3aa0add3e8d064f3336a0cbeb9557d0133cf6c604a7d310" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1313, + "startColumn": 13, + "charOffset": 48053, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1311, + "startColumn": 1, + "charOffset": 47969, + "charLength": 197, + "snippet": { + "text": "\r\n Process[] processes = Process.GetProcessesByName(\"Nox\");\r\n if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9445f627755a378dc5348865a1afed21dfc9e88c9a8246d1a1b1c407c6729ee1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 595, + "startColumn": 17, + "charOffset": 19983, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 593, + "startColumn": 1, + "charOffset": 19863, + "charLength": 210, + "snippet": { + "text": " var name = tuple.Item1;\r\n operHaveNames += PadRightEx(name, 12) + \"\\t\";\r\n if (newline_flag++ == 3)\r\n {\r\n operHaveNames += \"\\n\\t\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9693f289480dd60ed3ac0f8a156537d4f0abdb8c06f696f8cd0178e34b8cc6ba" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1793, + "startColumn": 17, + "charOffset": 65214, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1791, + "startColumn": 1, + "charOffset": 65134, + "charLength": 157, + "snippet": { + "text": " {\r\n SetAndNotify(ref _idle, value);\r\n if (value)\r\n {\r\n FightTaskRunning = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9daf52691fc20a6f3fdd981e70a2f3ec7ecb1853a2e8d321bd929e95b07a263d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 13, + "charOffset": 1139, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1073, + "charLength": 121, + "snippet": { + "text": " {\r\n byte[] data = new byte[] { };\r\n if (image != null)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a9b5b41039cff133130f85cd5a9dd6c6ed5d3677af20239e76014aa82e79fae0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1906, + "startColumn": 17, + "charOffset": 68247, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1904, + "startColumn": 1, + "charOffset": 68199, + "charLength": 164, + "snippet": { + "text": " get\r\n {\r\n if (Instances.SettingsViewModel.UseAlternateStage)\r\n {\r\n if (IsStageOpen(Stage1))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aec9308090015fd63d8b29856a8b25cbedb21a2252298595c3a9fed435232fc9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 186, + "startColumn": 25, + "charOffset": 7898, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 184, + "startColumn": 1, + "charOffset": 7687, + "charLength": 339, + "snippet": { + "text": " var taskbarWidth = currentRect.Left - currentWp.NormalPosition.Left;\r\n var taskbarHeight = currentRect.Top - currentWp.NormalPosition.Top;\r\n if (taskbarWidth != 0 || taskbarHeight != 0)\r\n {\r\n rect.Left -= taskbarWidth;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aef7878e189ccd75db1f243ca225e7b1933fa5e63c275a7010d3f7b638b83482" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 874, + "startColumn": 17, + "charOffset": 31359, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 872, + "startColumn": 1, + "charOffset": 31322, + "charLength": 146, + "snippet": { + "text": " }\r\n\r\n if (!taskRet)\r\n {\r\n AddLog(item.OriginalName + \"Error\", UiLogColor.Error);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b79d867107edde55ccb375d810f8c063e01f0d7700abc50679222c421d52d0e8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 257, + "startColumn": 17, + "charOffset": 8750, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 255, + "startColumn": 1, + "charOffset": 8678, + "charLength": 260, + "snippet": { + "text": " for (int i = 0; i < 8; ++i)\r\n {\r\n if (Instances.SettingsViewModel.TimerModels.Timers[i].IsOn)\r\n {\r\n DateTime startTime = new DateTime(currentTime.Year, currentTime.Month, currentTime.Day,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c112be98a1c7d5e963bba11823bb0f7a92b85fcd0f49bc4866a8ff61225e7f7a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 616, + "startColumn": 13, + "charOffset": 22945, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 614, + "startColumn": 1, + "charOffset": 22845, + "charLength": 199, + "snippet": { + "text": " MessageBoxButton.OKCancel,\r\n MessageBoxImage.Question);\r\n if (result == MessageBoxResult.OK)\r\n {\r\n Application.Current.Shutdown();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c23ad76e0106989738eb4d1150887c1cfac7de656bdeb1b6728e68be68b7b63f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2601, + "startColumn": 21, + "charOffset": 97925, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2599, + "startColumn": 1, + "charOffset": 97837, + "charLength": 225, + "snippet": { + "text": " foreach (var line in all_lines)\r\n {\r\n if (line.StartsWith(\"bst.installed_images\"))\r\n {\r\n var images = line.Split('\"')[1].Split(',');\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c3e190d605923b6ca3bde9d32cc1f5fa19c6d157b40ab37453fb81bb5a2c7cbf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 532, + "startColumn": 17, + "charOffset": 19861, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 530, + "startColumn": 1, + "charOffset": 19824, + "charLength": 236, + "snippet": { + "text": " }\r\n\r\n if (_stageManager.GetStageInfo(stage)?.IsActivityClosed() == true)\r\n {\r\n builder.Append(stage).Append(\": \").AppendLine(LocalizationHelper.GetString(\"ClosedStage\"));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c68866324f9bc5ad37a960f8fecccc3ef1878b0637968fd29077b6ae1485a846" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1570, + "startColumn": 21, + "charOffset": 57887, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1568, + "startColumn": 1, + "charOffset": 57762, + "charLength": 460, + "snippet": { + "text": " line = reg.Replace(line, \",\");\r\n string[] arr = line.Split(',');\r\n if (!Convert.ToBoolean(string.Compare(arr[1], address, StringComparison.Ordinal)) || !Convert.ToBoolean(string.Compare(arr[1], \"[::]:\" + port, StringComparison.Ordinal)) || !Convert.ToBoolean(string.Compare(arr[1], \"0.0.0.0:\" + port, StringComparison.Ordinal)))\r\n {\r\n pid = int.Parse(arr[4]);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cfe9641664b8688370af59d00655dc7e4aefe319b8c92313ebd06e7d5d9ba21d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 448, + "startColumn": 13, + "charOffset": 15266, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 446, + "startColumn": 1, + "charOffset": 15171, + "charLength": 153, + "snippet": { + "text": " {\r\n var comboBox = sender as System.Windows.Controls.ComboBox;\r\n if (comboBox != null)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d2ad47ea88aeb903148f88c3929e9aa574e3ef2401807f7afc9d09caeda0730c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1199, + "startColumn": 13, + "charOffset": 43450, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1197, + "startColumn": 1, + "charOffset": 43359, + "charLength": 204, + "snippet": { + "text": "\r\n Process[] processes = Process.GetProcessesByName(\"MuMuPlayer\");\r\n if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d90ad175bdb5c5c1a99922c628373f43883f576abcfc7cc56593f80da27a7e78" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 309, + "startColumn": 17, + "charOffset": 10907, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 307, + "startColumn": 1, + "charOffset": 10870, + "charLength": 147, + "snippet": { + "text": " }\r\n\r\n if (Instances.SettingsViewModel.RunDirectly)\r\n {\r\n // 重置按钮状态,不影响LinkStart判断\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da3e613dc2cfe1fcd86160649ced500cd9a4ee059686ce4f34523a2ea3973269" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 403, + "startColumn": 13, + "charOffset": 13870, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 401, + "startColumn": 1, + "charOffset": 13785, + "charLength": 252, + "snippet": { + "text": " public void DropFile(object sender, DragEventArgs e)\r\n {\r\n if (e.Data.GetDataPresent(DataFormats.FileDrop))\r\n {\r\n var filename = ((Array)e.Data.GetData(DataFormats.FileDrop))?.GetValue(0).ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dbbb5e4efd4c50f6e2da148cabf4cf93c3e107dc823050338d616f3d64fef3fb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 125, + "startColumn": 13, + "charOffset": 4207, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 123, + "startColumn": 1, + "charOffset": 3939, + "charLength": 438, + "snippet": { + "text": " JObject allFileDownloadCompleteJson = Instances.MaaApiService.LoadApiCache(allFileDownloadCompleteFile);\r\n JObject webLastUpdatedJson = await Instances.MaaApiService.RequestMaaApiWithCache(lastUpdateTimeFile).ConfigureAwait(false);\r\n if (localLastUpdatedJson != null && webLastUpdatedJson != null)\r\n {\r\n long localTimestamp = localLastUpdatedJson[\"timestamp\"].ToObject();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "de1585b72001bf463276553399ff3b0d5d879dd8417f660d66e3ae1cd29bf99a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 132, + "startColumn": 13, + "charOffset": 4615, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 130, + "startColumn": 1, + "charOffset": 4563, + "charLength": 202, + "snippet": { + "text": " public void Sober()\r\n {\r\n if (Cheers && Language == PallasLangKey)\r\n {\r\n ConfigurationHelper.SetValue(ConfigurationKeys.Localization, SoberLanguage);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "df3a63047cea3d02c6136376e56af2e163318790ff2a6cb5eb955ca7b7de31ff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1257, + "startColumn": 13, + "charOffset": 45819, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1255, + "startColumn": 1, + "charOffset": 45730, + "charLength": 202, + "snippet": { + "text": "\r\n Process[] processes = Process.GetProcessesByName(\"dnplayer\");\r\n if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e7e66dbb5d56225e2a5cf6d52a1e7f6da130a661d649ff480c037aba1a3ccfc2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 247, + "startColumn": 17, + "charOffset": 10822, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 245, + "startColumn": 1, + "charOffset": 10742, + "charLength": 255, + "snippet": { + "text": " {\r\n var screenRect = screen.Bounds;\r\n if (screenRect.Height == screenHeight && screenRect.Width == screenWidth)\r\n {\r\n window.WindowStartupLocation = WindowStartupLocation.Manual;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ede119405f5d6af5f358a731f04aae40fa21e66ad278d457e03555d760fe5703" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1566, + "startColumn": 17, + "charOffset": 57678, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1564, + "startColumn": 1, + "charOffset": 57641, + "charLength": 172, + "snippet": { + "text": " }\r\n\r\n if (line.StartsWith(\"TCP\", StringComparison.OrdinalIgnoreCase))\r\n {\r\n line = reg.Replace(line, \",\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ef5d4211702d19b66e1bae65f6a78dfc07c4b3515f73d948752eb2c886c56678" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2322, + "startColumn": 21, + "charOffset": 83061, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2320, + "startColumn": 1, + "charOffset": 82965, + "charLength": 286, + "snippet": { + "text": " foreach (var period in plan.PeriodList)\r\n {\r\n if (timeLess(period.BeginHour, period.BeginMinute, now.Hour, now.Minute) &&\r\n timeLess(now.Hour, now.Minute, period.EndHour, period.EndMinute))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f091ba4e47db8619efa8ea158a10298be45149d74b3c96ecd6add59046121082" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 180, + "startColumn": 21, + "charOffset": 7444, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 178, + "startColumn": 1, + "charOffset": 7342, + "charLength": 321, + "snippet": { + "text": "\r\n // rect is screen coordinates, wp is workspace coordinates\r\n if (SetWindowPlacement(window.Handle, ref wp)\r\n && GetWindowPlacement(window.Handle, out WindowPlacement currentWp)\r\n && GetWindowRect(window.Handle, out Rect currentRect))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0cde0d270ad5aed19e7f0e3e468f4869e22ff61812a2e16f653042c0b4854f1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2612, + "startColumn": 17, + "charOffset": 98326, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2610, + "startColumn": 1, + "charOffset": 98250, + "charLength": 183, + "snippet": { + "text": " foreach (var line in all_lines)\r\n {\r\n if (line.StartsWith(_bluestacksKeyWord))\r\n {\r\n var sp = line.Split('\"');\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f1f57fb007b7f4ebeddb4c597e8bfef321863603837aeaee139f60b082e6bf97" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1362, + "startColumn": 13, + "charOffset": 50128, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1360, + "startColumn": 1, + "charOffset": 50043, + "charLength": 198, + "snippet": { + "text": "\r\n Process[] processes = Process.GetProcessesByName(\"MEmu\");\r\n if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f415406cca2009a91d4310fe160a2034ad92df4656c45cbb3c1330a154bc2512" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 454, + "startColumn": 25, + "charOffset": 16505, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 452, + "startColumn": 1, + "charOffset": 16406, + "charLength": 315, + "snippet": { + "text": " Execute.OnUIThread(async () =>\r\n {\r\n if (Instances.SettingsViewModel.RetryOnDisconnected)\r\n {\r\n Instances.TaskQueueViewModel.AddLog(LocalizationHelper.GetString(\"TryToStartEmulator\"), UiLogColor.Error);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f54fa7f151160a0460cae8d3cbf402c9b3c31c88507fbd5af052d86a34fd9594" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 813, + "startColumn": 21, + "charOffset": 33018, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 811, + "startColumn": 1, + "charOffset": 32934, + "charLength": 222, + "snippet": { + "text": " foreach (var item in query)\r\n {\r\n if (item.Path == adbPath)\r\n {\r\n // Some emulators start their adb with administrator privilege.\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fb547ea7fcb946f54bf0b74805a98941b48dac482527978f8707826bc3e3e96e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "InvertIf", + "kind": "fail", + "level": "note", + "message": { + "text": "Invert 'if' statement to reduce nesting", + "markdown": "Invert 'if' statement to reduce nesting" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/States/RunningState.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 17, + "charOffset": 1127, + "charLength": 2, + "snippet": { + "text": "if" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1079, + "charLength": 123, + "snippet": { + "text": " set\r\n {\r\n if (_idle != value)\r\n {\r\n _idle = value;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fdcb9acff6d9ff32f3f2b74746f1db4cdea62885b0b8488b21048e79e98518ad" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "JoinDeclarationAndInitializer", + "kind": "fail", + "level": "note", + "message": { + "text": "Join declaration and assignment", + "markdown": "Join declaration and assignment" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1356, + "startColumn": 17, + "charOffset": 49890, + "charLength": 8, + "snippet": { + "text": "emuIndex" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1354, + "startColumn": 1, + "charOffset": 49789, + "charLength": 208, + "snippet": { + "text": " {\r\n string address = Instances.SettingsViewModel.ConnectAddress;\r\n int emuIndex;\r\n string portStr = address.Split(':')[1];\r\n int port = int.Parse(portStr);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "acdfb33ad5b49a842200dadcc934213311f77c3f194f39be0fa07908c38cf7ac" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 13, + "charOffset": 1656, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1552, + "charLength": 220, + "snippet": { + "text": " Encoding coding = Encoding.GetEncoding(\"gb2312\");\r\n int dcount = 0;\r\n foreach (char ch in str.ToCharArray())\r\n {\r\n if (coding.GetByteCount(ch.ToString()) == 2)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "26ee35ff0b3b3e52172db475197e84fe180865cf2fc6a0702a84fd70a1670e2e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 271, + "startColumn": 25, + "charOffset": 9037, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 269, + "startColumn": 1, + "charOffset": 8842, + "charLength": 320, + "snippet": { + "text": " JArray tags = (JArray)subTaskDetails[\"tags\"];\r\n string info_content = LocalizationHelper.GetString(\"RecruitTagsDetected\");\r\n foreach (var tag_name in tags)\r\n {\r\n string tag_str = tag_name.ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "67d75f48970c9a6401b9f84d4edd4ca5e5fcca5e77b559694540fbc82ad8012a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1092, + "startColumn": 13, + "charOffset": 42546, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1090, + "startColumn": 1, + "charOffset": 42474, + "charLength": 177, + "snippet": { + "text": " {\r\n var orderList = new List();\r\n foreach (var item in InfrastItemViewModels)\r\n {\r\n if (item.IsChecked == false)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6de10a31053c778d675d9bd741815d9c75b6db34359f4f49ba8b9bfa1d3faf93" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 136, + "startColumn": 17, + "charOffset": 5158, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 134, + "startColumn": 1, + "charOffset": 4993, + "charLength": 287, + "snippet": { + "text": " _logger.Information(adbPath + \" devices | output:\\n\" + output);\r\n var outLines = output.Split(new[] { '\\r', '\\n' });\r\n foreach (var line in outLines)\r\n {\r\n if (line.StartsWith(\"List of devices attached\") ||\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6deb4aec1f3e19cf4c0170be7f927f6caaea72bfa9241be5ce30fad2ea389a2e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 419, + "startColumn": 13, + "charOffset": 14368, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 417, + "startColumn": 1, + "charOffset": 14268, + "charLength": 197, + "snippet": { + "text": " var filenameLower = filename.ToLower();\r\n bool support = false;\r\n foreach (var ext in SupportExt)\r\n {\r\n if (filenameLower.EndsWith(ext))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7b5bee1eba581d044437745cf8dbf40410d9b742af3b4cea5858b7d2d823351a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2610, + "startColumn": 13, + "charOffset": 98262, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2608, + "startColumn": 1, + "charOffset": 98233, + "charLength": 134, + "snippet": { + "text": " }\r\n\r\n foreach (var line in all_lines)\r\n {\r\n if (line.StartsWith(_bluestacksKeyWord))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8285c1e63d93ea201ed2a0818e63b6c46d01f513c7bb149c213b1d8bd006ead5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 960, + "startColumn": 25, + "charOffset": 39689, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 958, + "startColumn": 1, + "charOffset": 39529, + "charLength": 274, + "snippet": { + "text": " JArray selected = (JArray)subTaskDetails[\"tags\"];\r\n string selected_log = string.Empty;\r\n foreach (var tag in selected)\r\n {\r\n selected_log += tag + \"\\n\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8679c7609c7ffb81b3301c6d68b892e25e3e56732724cbb5ffe8f853fe9c7a23" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1061, + "startColumn": 21, + "charOffset": 43822, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1059, + "startColumn": 1, + "charOffset": 43698, + "charLength": 253, + "snippet": { + "text": " case \"CustomInfrastRoomOperators\":\r\n string nameStr = string.Empty;\r\n foreach (var name in subTaskDetails[\"names\"])\r\n {\r\n nameStr += name.ToString() + \", \";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c3a04a063fbe278c35c9dd27e3c00ed9b20643cc16b66488e56c58993f7ead15" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 310, + "startColumn": 25, + "charOffset": 10756, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 308, + "startColumn": 1, + "charOffset": 10604, + "charLength": 332, + "snippet": { + "text": " string group_name = group[\"name\"] + \": \";\r\n var operInfos = new List();\r\n foreach (var oper in group[\"opers\"]!.Cast())\r\n {\r\n operInfos.Add(string.Format(\"{0} {1}\", oper[\"name\"], oper[\"skill\"]));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce02daf9f35164b4e243eec9fb83d49af554c6f3aebb29b9e1b8534cc7db68c4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 291, + "startColumn": 29, + "charOffset": 9895, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 289, + "startColumn": 1, + "charOffset": 9729, + "charLength": 304, + "snippet": { + "text": " int tag_level = (int)combs[\"level\"];\r\n resultContent += tag_level + \" ★ Tags: \";\r\n foreach (var tag in (JArray)combs[\"tags\"])\r\n {\r\n resultContent += tag + \" \";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da52f4235cf865209235628020959c9d5d4f654ef0a94ffeeaf45bc127d66e8b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Properties/ScrollViewerBinding.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 327, + "startColumn": 17, + "charOffset": 12023, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 325, + "startColumn": 1, + "charOffset": 11932, + "charLength": 193, + "snippet": { + "text": " var point = new Point(10, scrollViewer.VerticalOffset);\r\n\r\n foreach (var child in stackPanel.Children)\r\n {\r\n // 以 Divider 为定位元素\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ee1cc7bc7d2aa3ab66c7c6d68846ea5c267d9bad27078be6613191c1c1325410" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3187, + "startColumn": 13, + "charOffset": 119168, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3185, + "startColumn": 1, + "charOffset": 119044, + "charLength": 224, + "snippet": { + "text": "\r\n var wine_list = new[] { \"酒\", \"drink\", \"wine\", \"beer\", \"술\", \"🍷\", \"🍸\", \"🍺\", \"🍻\", \"🥃\", \"🍶\" };\r\n foreach (var wine in wine_list)\r\n {\r\n if (CreditFirstList.Contains(wine))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ef73d8e962c77e94b02d8fb7c1e9255256ee4dcf0e881a2f3e1b5212a3cdfb04" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "LoopCanBeConvertedToQuery", + "kind": "fail", + "level": "note", + "message": { + "text": "Loop can be converted into LINQ-expression", + "markdown": "Loop can be converted into LINQ-expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 888, + "startColumn": 25, + "charOffset": 36451, + "charLength": 7, + "snippet": { + "text": "foreach" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 886, + "startColumn": 1, + "charOffset": 36296, + "charLength": 280, + "snippet": { + "text": " JArray tags = (JArray)subTaskDetails[\"tags\"];\r\n string log_content = string.Empty;\r\n foreach (var tag_name in tags)\r\n {\r\n string tag_str = tag_name.ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f858cdea72986e4dde122b3b358c877bb2a17945473847da94525693c77b4739" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CheckToastSystem' can be made static", + "markdown": "Method 'CheckToastSystem' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 62, + "startColumn": 21, + "charOffset": 1982, + "charLength": 16, + "snippet": { + "text": "CheckToastSystem" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 60, + "startColumn": 1, + "charOffset": 1873, + "charLength": 182, + "snippet": { + "text": " /// \r\n /// The toast system is initialized.\r\n public bool CheckToastSystem()\r\n {\r\n if (!_systemToastCheckInited)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "07eb15daeaf7329f35cc8c76efe59cce7768d71897cade84ef3cdbdf5e812175" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ManualUpdate' can be made static", + "markdown": "Method 'ManualUpdate' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2177, + "startColumn": 27, + "charOffset": 81776, + "charLength": 12, + "snippet": { + "text": "ManualUpdate" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2175, + "startColumn": 1, + "charOffset": 81632, + "charLength": 258, + "snippet": { + "text": " /// \r\n /// A representing the asynchronous operation.\r\n public async Task ManualUpdate()\r\n {\r\n var ret = await Instances.VersionUpdateViewModel.CheckAndDownloadUpdate();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0b8b9bc3e74b982810ba7ef4f65d89fa13c5b9eb003ca30c6e9722f292bd194c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'BaseTextSettings' can be made static", + "markdown": "Property 'BaseTextSettings' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 330, + "startColumn": 36, + "charOffset": 10533, + "charLength": 16, + "snippet": { + "text": "BaseTextSettings" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 328, + "startColumn": 1, + "charOffset": 10428, + "charLength": 206, + "snippet": { + "text": " /// \r\n /// 创建一个基本文本字体样式。\r\n public TextContentSettings BaseTextSettings => new TextContentSettings()\r\n {\r\n FontStyle = FontStyles.Normal,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "14884a0d1ba0cc63f0604188e6d407d5ecc96ddfb20ab726f152da275496ad54" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'VersionId' can be made static", + "markdown": "Property 'VersionId' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 75, + "startColumn": 23, + "charOffset": 2334, + "charLength": 9, + "snippet": { + "text": "VersionId" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 73, + "startColumn": 1, + "charOffset": 2254, + "charLength": 226, + "snippet": { + "text": " /// Gets the version id.\r\n /// \r\n public string VersionId => s_versionId;\r\n\r\n private static readonly string s_versionInfo = LocalizationHelper.GetString(\"Version\") + \": \" + s_versionId;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "239384a79ca8d70afcc652ca7cd59e14a1f19093958319e93ae19811e87d06bd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'LoadResource' can be made static", + "markdown": "Method 'LoadResource' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 230, + "startColumn": 21, + "charOffset": 7700, + "charLength": 12, + "snippet": { + "text": "LoadResource" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 228, + "startColumn": 1, + "charOffset": 7618, + "charLength": 162, + "snippet": { + "text": " /// \r\n /// 是否成功。\r\n public bool LoadResource()\r\n {\r\n static bool LoadResIfExists(string path)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "28f251221c8ed5ea140f8108378df3776bef633c4e02c4ca457c0385bdbf0430" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'CustomInfrastPlanDataContext' can be made static", + "markdown": "Property 'CustomInfrastPlanDataContext' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1118, + "startColumn": 35, + "charOffset": 43249, + "charLength": 28, + "snippet": { + "text": "CustomInfrastPlanDataContext" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1116, + "startColumn": 1, + "charOffset": 43202, + "charLength": 230, + "snippet": { + "text": " }\r\n\r\n public TaskQueueViewModel CustomInfrastPlanDataContext { get => Instances.TaskQueueViewModel; }\r\n\r\n private string _usesOfDrones = ConfigurationHelper.GetValue(ConfigurationKeys.UsesOfDrones, \"Money\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "64728d7fc7964bbc22c03437f6124899da814d6ebeb09789a7be8e5230675053" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'TaskSettingDataContext' can be made static", + "markdown": "Property 'TaskSettingDataContext' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 64, + "startColumn": 34, + "charOffset": 2153, + "charLength": 22, + "snippet": { + "text": "TaskSettingDataContext" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 62, + "startColumn": 1, + "charOffset": 2006, + "charLength": 235, + "snippet": { + "text": " public TaskSettingVisibilityInfo TaskSettingVisibilities { get; } = TaskSettingVisibilityInfo.Current;\r\n\r\n public SettingsViewModel TaskSettingDataContext { get => Instances.SettingsViewModel; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6c6972966c24aeca321b3514e4c8feaf7fbf01ac6c8d8645aead6c628e7d0b86" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SwitchDarkMode' can be made static", + "markdown": "Method 'SwitchDarkMode' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2942, + "startColumn": 21, + "charOffset": 110525, + "charLength": 14, + "snippet": { + "text": "SwitchDarkMode" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2940, + "startColumn": 1, + "charOffset": 110492, + "charLength": 102, + "snippet": { + "text": " }\r\n\r\n public void SwitchDarkMode()\r\n {\r\n DarkModeType darkModeType =\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "808684aa2e11e727f73928d449fbe62e4ed10a9073ab1141ee035ace71ff424b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'PlayNotificationSound' can be made static", + "markdown": "Method 'PlayNotificationSound' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 218, + "startColumn": 24, + "charOffset": 6753, + "charLength": 21, + "snippet": { + "text": "PlayNotificationSound" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 216, + "startColumn": 1, + "charOffset": 6658, + "charLength": 198, + "snippet": { + "text": " /// \r\n /// 提示音类型\r\n protected void PlayNotificationSound(NotificationSounds sounds = NotificationSounds.None)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9cc6360ae791418959e70423429ed55c1e12a7862e492683d7044e7fc0702f22" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulator' can be made static", + "markdown": "Method 'KillEmulator' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1518, + "startColumn": 21, + "charOffset": 56106, + "charLength": 12, + "snippet": { + "text": "KillEmulator" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1516, + "startColumn": 1, + "charOffset": 55993, + "charLength": 165, + "snippet": { + "text": " /// \r\n /// Whether the operation is successful.\r\n public bool KillEmulator()\r\n {\r\n int pid = 0;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cae0d210f1afe029deb1965c7f7deb746eb71ebba5da29445f434700b2786400" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'LanguageInfo' can be made static", + "markdown": "Property 'LanguageInfo' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3081, + "startColumn": 23, + "charOffset": 115701, + "charLength": 12, + "snippet": { + "text": "LanguageInfo" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3079, + "startColumn": 1, + "charOffset": 115618, + "charLength": 124, + "snippet": { + "text": " /// Gets the language info.\r\n /// \r\n public string LanguageInfo\r\n {\r\n get\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cc6022f5bd2a84ac0f74f27709ba0473b521933416018ef43cbb26a49e42a815" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GetAdbAddresses' can be made static", + "markdown": "Method 'GetAdbAddresses' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 120, + "startColumn": 29, + "charOffset": 4402, + "charLength": 15, + "snippet": { + "text": "GetAdbAddresses" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 118, + "startColumn": 1, + "charOffset": 4258, + "charLength": 236, + "snippet": { + "text": " /// The ADB path.\r\n /// The list of ADB addresses.\r\n public List GetAdbAddresses(string adbPath)\r\n {\r\n var addresses = new List();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d9c77e169d34c677b4cc79a27183ae95e8b6efa42464dc798d2d7a7792c759bc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SerializeInfrastTaskParams' can be made static", + "markdown": "Method 'SerializeInfrastTaskParams' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1450, + "startColumn": 25, + "charOffset": 59303, + "charLength": 26, + "snippet": { + "text": "SerializeInfrastTaskParams" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1448, + "startColumn": 1, + "charOffset": 59266, + "charLength": 310, + "snippet": { + "text": " }\r\n\r\n private JObject SerializeInfrastTaskParams(string[] order, string uses_of_drones, double dorm_threshold, bool dorm_filter_not_stationed_enabled, bool dorm_dorm_trust_enabled, bool originium_shard_auto_replenishment,\r\n bool is_custom, string filename, int plan_index)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0f7e0343a61d32509510677417a3cb459be537750ea972ab391f3e1a63364257" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OnNotifyIconDoubleClick' can be made static", + "markdown": "Method 'OnNotifyIconDoubleClick' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 118, + "startColumn": 22, + "charOffset": 4120, + "charLength": 23, + "snippet": { + "text": "OnNotifyIconDoubleClick" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 116, + "startColumn": 1, + "charOffset": 4086, + "charLength": 146, + "snippet": { + "text": " }\r\n\r\n private void OnNotifyIconDoubleClick(object sender, EventArgs e)\r\n {\r\n Instances.MainWindowManager.Show();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "13c93dd7e8af2c9bd21875b619d0554a234bae88815121248278b0b19f1a8ef1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AppendRoguelike' can be made static", + "markdown": "Method 'AppendRoguelike' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1130, + "startColumn": 22, + "charOffset": 40511, + "charLength": 15, + "snippet": { + "text": "AppendRoguelike" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1128, + "startColumn": 1, + "charOffset": 40477, + "charLength": 147, + "snippet": { + "text": " }\r\n\r\n private bool AppendRoguelike()\r\n {\r\n int.TryParse(Instances.SettingsViewModel.RoguelikeMode, out var mode);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "13e283a5cdda735f399abb4cc3fc6f411cde1e344a50ca15e9fe0d89e7a0f51b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'App_exit' can be made static", + "markdown": "Method 'App_exit' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 108, + "startColumn": 22, + "charOffset": 3837, + "charLength": 8, + "snippet": { + "text": "App_exit" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 106, + "startColumn": 1, + "charOffset": 3803, + "charLength": 150, + "snippet": { + "text": " }\r\n\r\n private void App_exit(object sender, EventArgs e)\r\n {\r\n System.Windows.Application.Current.MainWindow.Close();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "26528160a96d2ef0072966d7fd73d2f76d34d4895c688c8b4dbe5929aca748d5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CheckAndUpdateNow' can be made static", + "markdown": "Method 'CheckAndUpdateNow' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RootViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 52, + "startColumn": 22, + "charOffset": 1638, + "charLength": 17, + "snippet": { + "text": "CheckAndUpdateNow" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 50, + "startColumn": 1, + "charOffset": 1604, + "charLength": 139, + "snippet": { + "text": " }\r\n\r\n private bool CheckAndUpdateNow()\r\n {\r\n return Instances.VersionUpdateViewModel.CheckAndUpdateNow();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "29501733d74c74faf5ab32d23a887821268f795f527f8ee30c1d4498d41ab5b8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GetAppIcon' can be made static", + "markdown": "Method 'GetAppIcon' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 103, + "startColumn": 29, + "charOffset": 3425, + "charLength": 10, + "snippet": { + "text": "GetAppIcon" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 101, + "startColumn": 1, + "charOffset": 3353, + "charLength": 113, + "snippet": { + "text": " /// 应用图标资源\r\n /// \r\n private ImageSource GetAppIcon()\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "30a9cd3d3eaab6782cc6c5c8ace6fd92d9148e100f5cf99e483d0768c9a20513" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CheckWebUpdate' can be made static", + "markdown": "Method 'CheckWebUpdate' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 117, + "startColumn": 34, + "charOffset": 3606, + "charLength": 14, + "snippet": { + "text": "CheckWebUpdate" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 115, + "startColumn": 1, + "charOffset": 3560, + "charLength": 130, + "snippet": { + "text": " }\r\n\r\n private async Task CheckWebUpdate()\r\n {\r\n // Check if we need to update from the web\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "44bef83e5d69fcce777773cd2b534b237daaa8338f60a3a94cd2b14b9ba2a8fc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ProcRecruitCalcMsg' can be made static", + "markdown": "Method 'ProcRecruitCalcMsg' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1091, + "startColumn": 22, + "charOffset": 45431, + "charLength": 18, + "snippet": { + "text": "ProcRecruitCalcMsg" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1089, + "startColumn": 1, + "charOffset": 45397, + "charLength": 149, + "snippet": { + "text": " }\r\n\r\n private void ProcRecruitCalcMsg(JObject details)\r\n {\r\n Instances.RecognizerViewModel.procRecruitMsg(details);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "462e6dee4d6e2d8836e31ed5f67b3b8485e0679879eea422b1e503d2c2575135" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CreateInitialHotKeys' can be made static", + "markdown": "Method 'CreateInitialHotKeys' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 118, + "startColumn": 56, + "charOffset": 3665, + "charLength": 20, + "snippet": { + "text": "CreateInitialHotKeys" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 116, + "startColumn": 1, + "charOffset": 3597, + "charLength": 172, + "snippet": { + "text": " }\r\n\r\n private Dictionary CreateInitialHotKeys()\r\n {\r\n var hotKeys = new Dictionary\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "493b7a5b5c77a988253a70c9811f23184fd66db150a7693bb6aa6ffd9d194617" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DeleteOldConfiguration' can be made static", + "markdown": "Method 'DeleteOldConfiguration' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 262, + "startColumn": 22, + "charOffset": 11398, + "charLength": 22, + "snippet": { + "text": "DeleteOldConfiguration" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 260, + "startColumn": 1, + "charOffset": 11316, + "charLength": 197, + "snippet": { + "text": " /// 兼容旧配置,过几个版本删(请直接revert)\r\n /// \r\n private void DeleteOldConfiguration()\r\n {\r\n ConfigurationHelper.DeleteValue(ConfigurationKeys.MonitorNumber);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4b1ef096842af33a2df9411d291711c4998a91d379f3aa3d6bfa4e2757aadf21" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartTask' can be made static", + "markdown": "Method 'StartTask' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 88, + "startColumn": 22, + "charOffset": 3154, + "charLength": 9, + "snippet": { + "text": "StartTask" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 86, + "startColumn": 1, + "charOffset": 3120, + "charLength": 139, + "snippet": { + "text": " }\r\n\r\n private void StartTask(object sender, EventArgs e)\r\n {\r\n // taskQueueViewModel意外为null了是不是也可以考虑Log一下\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4d0b5d516c33575f43423639be7d0e9a16b644b24e337524c49d3e7c618841d1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'NeedToCheckForUpdates' can be made static", + "markdown": "Method 'NeedToCheckForUpdates' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 499, + "startColumn": 22, + "charOffset": 18861, + "charLength": 21, + "snippet": { + "text": "NeedToCheckForUpdates" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 497, + "startColumn": 1, + "charOffset": 18827, + "charLength": 124, + "snippet": { + "text": " }\r\n\r\n private bool NeedToCheckForUpdates()\r\n {\r\n var now = DateTime.UtcNow.ToYJDateTime();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5bf12d89c316b5f92230d36eab2678cfd85701abd66ac1561f5c98b410cc5113" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SerializeFightTaskParams' can be made static", + "markdown": "Method 'SerializeFightTaskParams' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1247, + "startColumn": 25, + "charOffset": 50840, + "charLength": 24, + "snippet": { + "text": "SerializeFightTaskParams" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1245, + "startColumn": 1, + "charOffset": 50699, + "charLength": 329, + "snippet": { + "text": " private readonly Dictionary _latestTaskId = new Dictionary();\r\n\r\n private JObject SerializeFightTaskParams(string stage, int max_medicine, int max_stone, int max_times, string drops_item_id, int drops_item_quantity)\r\n {\r\n var task_params = new JObject\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "619a92d673413ac7de2d1cf9d563fac8615255c6b518d72ea294df201e2807dc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DownloadGithubAssets' can be made static", + "markdown": "Method 'DownloadGithubAssets' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 791, + "startColumn": 34, + "charOffset": 28812, + "charLength": 20, + "snippet": { + "text": "DownloadGithubAssets" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 789, + "startColumn": 1, + "charOffset": 28658, + "charLength": 302, + "snippet": { + "text": " /// Github Assets 对象\r\n /// 操作成功返回 true,反之则返回 false\r\n private async Task DownloadGithubAssets(string url, JObject assetsObject)\r\n {\r\n _logItemViewModels = Instances.TaskQueueViewModel.LogItemViewModels;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6d79398f5a67c734b00d87ce5c20ca5f985abc0610980a235d42187ffe486e40" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'MoveWindowToDisplay' can be made static", + "markdown": "Method 'MoveWindowToDisplay' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 22, + "charOffset": 1975, + "charLength": 19, + "snippet": { + "text": "MoveWindowToDisplay" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1874, + "charLength": 209, + "snippet": { + "text": " /// Center other windows in MaaWpfGui.RootView\r\n /// \r\n private void MoveWindowToDisplay(Window window)\r\n {\r\n var mainWindow = Application.Current.MainWindow;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6f54ab37608d9b60e15a3d6b0d69a707e99e76d55d0bd7e608ee7c11c3985e57" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetPallasLanguage' can be made static", + "markdown": "Method 'SetPallasLanguage' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3129, + "startColumn": 22, + "charOffset": 117161, + "charLength": 17, + "snippet": { + "text": "SetPallasLanguage" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3127, + "startColumn": 1, + "charOffset": 117127, + "charLength": 155, + "snippet": { + "text": " }\r\n\r\n private void SetPallasLanguage()\r\n {\r\n ConfigurationHelper.SetValue(ConfigurationKeys.Localization, PallasLangKey);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "735abbca144191d99f7f529b91a4b207ecdbae8a5e0ae38aab65ede6f0ae3d00" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AppendReclamation' can be made static", + "markdown": "Method 'AppendReclamation' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1141, + "startColumn": 22, + "charOffset": 41368, + "charLength": 17, + "snippet": { + "text": "AppendReclamation" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1139, + "startColumn": 1, + "charOffset": 41334, + "charLength": 130, + "snippet": { + "text": " }\r\n\r\n private bool AppendReclamation()\r\n {\r\n return Instances.AsstProxy.AsstAppendReclamation();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "78a03a93f27b4d1d7d4bae8add94fa841008fb6e519da52b1b4d427859dfe4cf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ProcVideoRecMsg' can be made static", + "markdown": "Method 'ProcVideoRecMsg' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1096, + "startColumn": 22, + "charOffset": 45581, + "charLength": 15, + "snippet": { + "text": "ProcVideoRecMsg" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1094, + "startColumn": 1, + "charOffset": 45547, + "charLength": 133, + "snippet": { + "text": " }\r\n\r\n private void ProcVideoRecMsg(JObject details)\r\n {\r\n string what = details[\"what\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7b247ab41a8ee3fb364a7b7cacb04b570959e6056ae0a0d696587ba97f485fba" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ProcSubTaskError' can be made static", + "markdown": "Method 'ProcSubTaskError' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 642, + "startColumn": 22, + "charOffset": 25033, + "charLength": 16, + "snippet": { + "text": "ProcSubTaskError" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 640, + "startColumn": 1, + "charOffset": 24999, + "charLength": 140, + "snippet": { + "text": " }\r\n\r\n private void ProcSubTaskError(JObject details)\r\n {\r\n string subTask = details[\"subtask\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8da0dcd72ab88da5340d78311d64775502f720bea1953ce5a63ebf1ab9f910ac" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'LoadLocalStages' can be made static", + "markdown": "Method 'LoadLocalStages' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 111, + "startColumn": 25, + "charOffset": 3420, + "charLength": 15, + "snippet": { + "text": "LoadLocalStages" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 109, + "startColumn": 1, + "charOffset": 3383, + "charLength": 146, + "snippet": { + "text": " }\r\n\r\n private JObject LoadLocalStages()\r\n {\r\n JObject activity = Instances.MaaApiService.LoadApiCache(StageApi);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "95160d6f836775ba194cc50de15fbb8ef1e539608522959a6b97a4be29fcc611" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'isNightlyVersion' can be made static", + "markdown": "Method 'isNightlyVersion' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 887, + "startColumn": 22, + "charOffset": 32264, + "charLength": 16, + "snippet": { + "text": "isNightlyVersion" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 885, + "startColumn": 1, + "charOffset": 32230, + "charLength": 122, + "snippet": { + "text": " }\r\n\r\n private bool isNightlyVersion(SemVersion version)\r\n {\r\n if (!version.IsPrerelease)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9d2d287862ee27ab24754a951e4e39ef3e42020487f468906f7d405f0f3e3308" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'appendStart' can be made static", + "markdown": "Method 'appendStart' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 933, + "startColumn": 22, + "charOffset": 33059, + "charLength": 11, + "snippet": { + "text": "appendStart" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 931, + "startColumn": 1, + "charOffset": 33025, + "charLength": 123, + "snippet": { + "text": " }\r\n\r\n private bool appendStart()\r\n {\r\n var mode = Instances.SettingsViewModel.ClientType;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a403ab2402f253a1744a28569c9c0b26ceb29fe5bcac849be8e87f76cf9e6f68" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GetWindowPlacement' can be made static", + "markdown": "Method 'GetWindowPlacement' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 170, + "startColumn": 22, + "charOffset": 6968, + "charLength": 18, + "snippet": { + "text": "GetWindowPlacement" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 168, + "startColumn": 1, + "charOffset": 6934, + "charLength": 169, + "snippet": { + "text": " }\r\n\r\n private bool GetWindowPlacement(WindowHandle window, out WindowPlacement wp)\r\n {\r\n if (GetWindowPlacement(window.Handle, out wp))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a75993a7021248e32bbf111667ae8bfe63618be0a7194998840a8ffbd88c9f11" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'appendRecruit' can be made static", + "markdown": "Method 'appendRecruit' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1097, + "startColumn": 22, + "charOffset": 39361, + "charLength": 13, + "snippet": { + "text": "appendRecruit" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1095, + "startColumn": 1, + "charOffset": 39327, + "charLength": 87, + "snippet": { + "text": " }\r\n\r\n private bool appendRecruit()\r\n {\r\n // for debug\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b3c9d11137853264b2b91e62df2e56e040def8209bec352dbf058dd110340bff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetOldConfiguration' can be made static", + "markdown": "Method 'SetOldConfiguration' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 224, + "startColumn": 22, + "charOffset": 9204, + "charLength": 19, + "snippet": { + "text": "SetOldConfiguration" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 222, + "startColumn": 1, + "charOffset": 9122, + "charLength": 148, + "snippet": { + "text": " /// 兼容旧配置,过几个版本删(请直接revert)\r\n /// \r\n private void SetOldConfiguration(Window window)\r\n {\r\n // 初始化\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bd6efe8d7e4914274348ef4172b05b636f610ee758f5c97508c64514b9eca441" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'NotifyIcon_MouseClick' can be made static", + "markdown": "Method 'NotifyIcon_MouseClick' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 78, + "startColumn": 22, + "charOffset": 2886, + "charLength": 21, + "snippet": { + "text": "NotifyIcon_MouseClick" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 76, + "startColumn": 1, + "charOffset": 2852, + "charLength": 148, + "snippet": { + "text": " }\r\n\r\n private void NotifyIcon_MouseClick(object sender, MouseEventArgs e)\r\n {\r\n if (e.Button != MouseButtons.Left)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bfb006722303e0facd8505dae5d1aadac2c85bf49abef0cd831b1f7fc4e71991" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ForceShow' can be made static", + "markdown": "Method 'ForceShow' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 102, + "startColumn": 22, + "charOffset": 3637, + "charLength": 9, + "snippet": { + "text": "ForceShow" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 100, + "startColumn": 1, + "charOffset": 3603, + "charLength": 137, + "snippet": { + "text": " }\r\n\r\n private void ForceShow(object sender, EventArgs e)\r\n {\r\n Instances.MainWindowManager.ForceShow();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d1c3afc7d0c5a117e2b60595360b507ed92382ee35a4802424b7d04503f24d1e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetHotKey' can be made static", + "markdown": "Method 'SetHotKey' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3163, + "startColumn": 22, + "charOffset": 118429, + "charLength": 9, + "snippet": { + "text": "SetHotKey" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3161, + "startColumn": 1, + "charOffset": 118395, + "charLength": 128, + "snippet": { + "text": " }\r\n\r\n private void SetHotKey(MaaHotKeyAction action, MaaHotKey value)\r\n {\r\n if (value != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d65cc38cac772fa9de4b27ae6700361de726e6d6523c143191acc771f7a13c53" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GetClientType' can be made static", + "markdown": "Method 'GetClientType' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 98, + "startColumn": 24, + "charOffset": 3041, + "charLength": 13, + "snippet": { + "text": "GetClientType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 96, + "startColumn": 1, + "charOffset": 3005, + "charLength": 167, + "snippet": { + "text": " }\r\n\r\n private string GetClientType()\r\n {\r\n var clientType = ConfigurationHelper.GetValue(ConfigurationKeys.ClientType, string.Empty);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "db725e5030d8fd06af1eb4fd38f1662c2c849a4ccad53e7338f955d04d7753f7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StopTask' can be made static", + "markdown": "Method 'StopTask' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 96, + "startColumn": 22, + "charOffset": 3442, + "charLength": 8, + "snippet": { + "text": "StopTask" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 94, + "startColumn": 1, + "charOffset": 3408, + "charLength": 133, + "snippet": { + "text": " }\r\n\r\n private void StopTask(object sender, EventArgs e)\r\n {\r\n Instances.TaskQueueViewModel?.Stop();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e26a59ffb0b845611ec5baa962b81d707a8c143ee63cc1d6b945ef01e6991144" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeMadeStatic.Local", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'InitProxy' can be made static", + "markdown": "Method 'InitProxy' can be made static" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RootViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 28, + "charOffset": 1080, + "charLength": 9, + "snippet": { + "text": "InitProxy" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1040, + "charLength": 118, + "snippet": { + "text": " }\r\n\r\n private async void InitProxy()\r\n {\r\n await Task.Run(Instances.AsstProxy.Init);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e4047c539562d85a07ddf7e76521e97e168701c1bdb80c2b610d5a371bc78f8e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RemainingSanityStageList.set' can be made private", + "markdown": "Accessor 'RemainingSanityStageList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1895, + "startColumn": 83, + "charOffset": 67899, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1893, + "startColumn": 1, + "charOffset": 67804, + "charLength": 276, + "snippet": { + "text": " }\r\n\r\n public ObservableCollection RemainingSanityStageList { get; set; } = new ObservableCollection();\r\n\r\n public ObservableCollection AlternateStageList { get; set; } = new ObservableCollection();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "034993b84f9d415ec5da70ee28dc18b02646b12291becb1a0462dc98f1b4b6e0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'OperBoxResult.set' can be made private", + "markdown": "Accessor 'OperBoxResult.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 491, + "startColumn": 13, + "charOffset": 16486, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 489, + "startColumn": 1, + "charOffset": 16427, + "charLength": 120, + "snippet": { + "text": " {\r\n get => _operBoxResult;\r\n set => SetAndNotify(ref _operBoxResult, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "056572863178cb88dc3d1660c6ca58b9d57705c711bde7c188a8e3374d6b2a21" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RoguelikeModeList.set' can be made private", + "markdown": "Accessor 'RoguelikeModeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 937, + "startColumn": 60, + "charOffset": 37082, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 935, + "startColumn": 1, + "charOffset": 36944, + "charLength": 263, + "snippet": { + "text": " /// Gets or sets the list of roguelike modes.\r\n /// \r\n public List RoguelikeModeList { get; set; }\r\n\r\n private ObservableCollection _roguelikeSquadList = new ObservableCollection();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "05fb869951c6f456b8d220a3f2d13158ac891e7d130e7b3bb49caf6e104ee31e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'ArkPlannerResult' can be made private", + "markdown": "Property 'ArkPlannerResult' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 365, + "startColumn": 9, + "charOffset": 12482, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 363, + "startColumn": 1, + "charOffset": 12401, + "charLength": 167, + "snippet": { + "text": " /// Gets or sets the ArkPlanner result.\r\n /// \r\n public string ArkPlannerResult { get; set; } = string.Empty;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0805837afacd13e6c077f91e37ba7fe85fca63653e4e62cad256edd4b6330829" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'LanguageList.set' can be made private", + "markdown": "Accessor 'LanguageList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1056, + "startColumn": 55, + "charOffset": 41300, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1054, + "startColumn": 1, + "charOffset": 41177, + "charLength": 256, + "snippet": { + "text": " /// Gets or sets the language list.\r\n /// \r\n public List LanguageList { get; set; }\r\n\r\n private int _dormThreshold = Convert.ToInt32(ConfigurationHelper.GetValue(ConfigurationKeys.DormThreshold, \"30\"));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0c4de332ee103704ef23722c26df55cdab5ab1f5d93b18d6adc610fb0d09b061" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Hyperlink_Click' can be made private", + "markdown": "Method 'Hyperlink_Click' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/App.xaml.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 25, + "startColumn": 9, + "charOffset": 763, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 23, + "startColumn": 1, + "charOffset": 704, + "charLength": 183, + "snippet": { + "text": " public partial class App : Application\r\n {\r\n public void Hyperlink_Click(object sender, RoutedEventArgs e)\r\n {\r\n Hyperlink link = sender as Hyperlink;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0ce08d722e5016764696bad4ae3bacbf1d6dcd380d397f509beb59b8f92b3de6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'strlen' can be made private", + "markdown": "Method 'strlen' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 327, + "startColumn": 9, + "charOffset": 11748, + "charLength": 8, + "snippet": { + "text": "internal" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 325, + "startColumn": 1, + "charOffset": 11612, + "charLength": 260, + "snippet": { + "text": " /// \r\n [DllImport(\"ucrtbase.dll\", ExactSpelling = true, CallingConvention = CallingConvention.Cdecl)]\r\n internal static extern int strlen(IntPtr ptr);\r\n\r\n private static string PtrToStringCustom(IntPtr ptr, Encoding enc)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0f843074ad6f00905072ce50d84dab4baeeedff00e84cb3ed8a9dc833863cac6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetInfrastParams' can be made private", + "markdown": "Method 'SetInfrastParams' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1055, + "startColumn": 9, + "charOffset": 36910, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1053, + "startColumn": 1, + "charOffset": 36889, + "charLength": 139, + "snippet": { + "text": " }\r\n\r\n public void SetInfrastParams()\r\n {\r\n var order = Instances.SettingsViewModel.GetInfrastOrderList();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0fb58b74a735048f83c1e73ef593c413f7894ea574f7a2df09072c4410dad21e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'AlternateStageList.set' can be made private", + "markdown": "Accessor 'AlternateStageList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1897, + "startColumn": 77, + "charOffset": 68029, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1895, + "startColumn": 1, + "charOffset": 67817, + "charLength": 288, + "snippet": { + "text": " public ObservableCollection RemainingSanityStageList { get; set; } = new ObservableCollection();\r\n\r\n public ObservableCollection AlternateStageList { get; set; } = new ObservableCollection();\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "10191d6a9503d2321cda65093364aa494a66c877978119277eeb374da2aa428c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'UpdateStageLocal' can be made private", + "markdown": "Method 'UpdateStageLocal' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 71, + "startColumn": 9, + "charOffset": 2156, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 69, + "startColumn": 1, + "charOffset": 2135, + "charLength": 116, + "snippet": { + "text": " }\r\n\r\n public void UpdateStageLocal()\r\n {\r\n UpdateStageInternal(LoadLocalStages());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1054b66b75f0f47de070aae7e34c2ed93a8641d81b65dfd1ec8f39666d52a856" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ConnectAddressHistory.set' can be made private", + "markdown": "Accessor 'ConnectAddressHistory.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2258, + "startColumn": 13, + "charOffset": 84875, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2256, + "startColumn": 1, + "charOffset": 84808, + "charLength": 136, + "snippet": { + "text": " {\r\n get => _connectAddressHistory;\r\n set => SetAndNotify(ref _connectAddressHistory, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "10b8447bb41365e2ca172a57ab5103bdc7246782facc9efd59949dfd2aed8680" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetFightRemainingSanityParams' can be made private", + "markdown": "Method 'SetFightRemainingSanityParams' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1050, + "startColumn": 9, + "charOffset": 36710, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1048, + "startColumn": 1, + "charOffset": 36689, + "charLength": 199, + "snippet": { + "text": " }\r\n\r\n public void SetFightRemainingSanityParams()\r\n {\r\n Instances.AsstProxy.AsstSetFightTaskParams(RemainingSanityStage, 0, 0, int.MaxValue, string.Empty, 0, false);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1947c6354d18b3ca2cdd389707d0344517252c24be297546a5bbe9d5c018814b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'ShouldMinimizeToTaskbar' can be made private", + "markdown": "Property 'ShouldMinimizeToTaskbar' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/MainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 32, + "startColumn": 9, + "charOffset": 1066, + "charLength": 9, + "snippet": { + "text": "protected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 30, + "startColumn": 1, + "charOffset": 955, + "charLength": 189, + "snippet": { + "text": " /// Gets or sets a value indicating whether whether minimize to tray.\r\n /// \r\n protected bool ShouldMinimizeToTaskbar { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1f0046ff8d0d12652cc708b523f7e103e8084580db4414ab92c8e21647a66b9d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UseStone' can be made private", + "markdown": "Property 'UseStone' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2463, + "startColumn": 9, + "charOffset": 87517, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2461, + "startColumn": 1, + "charOffset": 87413, + "charLength": 183, + "snippet": { + "text": " /// Gets or sets a value indicating whether to use originiums.\r\n /// \r\n public bool UseStone\r\n {\r\n get => UseStoneWithNull != false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2102093d5acfe2388d841bad78fe532f667f8a34fac47c350242603a8a0d00bc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'UsesOfDronesList.set' can be made private", + "markdown": "Accessor 'UsesOfDronesList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 922, + "startColumn": 59, + "charOffset": 36559, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 920, + "startColumn": 1, + "charOffset": 36423, + "charLength": 168, + "snippet": { + "text": " /// Gets or sets the list of uses of drones.\r\n /// \r\n public List UsesOfDronesList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "23da5a0fb1a1f05d4a6ae022247a5f09039cb41ede6420c6725f152a99844917" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'TaskItemViewModels.set' can be made private", + "markdown": "Accessor 'TaskItemViewModels.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 57, + "startColumn": 82, + "charOffset": 1893, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 55, + "startColumn": 1, + "charOffset": 1731, + "charLength": 194, + "snippet": { + "text": " /// Gets or sets the view models of task items.\r\n /// \r\n public ObservableCollection TaskItemViewModels { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2417e793030b9b08bd4ab52f8b446993fe8294eecf83e0214c7ab78e2825a5e0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'OperBoxDataArray' can be made private", + "markdown": "Property 'OperBoxDataArray' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 509, + "startColumn": 9, + "charOffset": 17108, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 507, + "startColumn": 1, + "charOffset": 16940, + "charLength": 249, + "snippet": { + "text": " private JArray _operBoxDataArray = (JArray)JsonConvert.DeserializeObject(ConfigurationHelper.GetValue(ConfigurationKeys.OperBoxData, string.Empty));\r\n\r\n public JArray OperBoxDataArray\r\n {\r\n get => _operBoxDataArray;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2454b7c1beb451fa83b3efea6f6ab8e69d919c7cd8288f889b7b0cfd5cbd1d98" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstDestroy' can be made private", + "markdown": "Method 'AsstDestroy' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1761, + "startColumn": 9, + "charOffset": 71352, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1759, + "startColumn": 1, + "charOffset": 71303, + "charLength": 121, + "snippet": { + "text": " /// 销毁。\r\n /// \r\n public void AsstDestroy()\r\n {\r\n AsstDestroy(_handle);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "24d84b2a63cecae2e415d25ba2ada3d74431713dc3c05e8daeede61c7474e4bf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartGacha' can be made private", + "markdown": "Method 'StartGacha' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 692, + "startColumn": 9, + "charOffset": 22803, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 690, + "startColumn": 1, + "charOffset": 22782, + "charLength": 111, + "snippet": { + "text": " }\r\n\r\n public async void StartGacha(bool once = true)\r\n {\r\n GachaDone = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "27df6f89a052d96a0e523a83b3ecec63094a33c6c664c54db439022873bcb63a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'NotOpenYet' can be made private", + "markdown": "Property 'NotOpenYet' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/StageActivityInfo.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 9, + "charOffset": 2242, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 2141, + "charLength": 170, + "snippet": { + "text": " /// Gets a value indicating whether the activity is expired\r\n /// \r\n public bool NotOpenYet => DateTime.UtcNow <= UtcStartTime;\r\n }\r\n}\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "36e3c38dc7a1696299184d86191b960518e4cbc5fa639f28f62607e689821c78" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'InverseClearModeList.set' can be made private", + "markdown": "Accessor 'InverseClearModeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1046, + "startColumn": 63, + "charOffset": 40948, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1044, + "startColumn": 1, + "charOffset": 40803, + "charLength": 177, + "snippet": { + "text": " /// Gets or sets the list of inverse clear modes.\r\n /// \r\n public List InverseClearModeList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "37fab0c544b969920bae5c225d6ce29cf0167c3c353558ade3ce3b6896ed4ddc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'LogItemViewModels.set' can be made private", + "markdown": "Accessor 'LogItemViewModels.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 85, + "startColumn": 80, + "charOffset": 2886, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 83, + "startColumn": 1, + "charOffset": 2727, + "charLength": 319, + "snippet": { + "text": " /// Gets or sets the view models of log items.\r\n /// \r\n public ObservableCollection LogItemViewModels { get; set; }\r\n\r\n private string _actionAfterCompleted = ConfigurationHelper.GetValue(ConfigurationKeys.ActionAfterCompleted, ActionType.DoNothing.ToString());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "412a848ff3602bd14c6de69f307d4772ad8fa873f5f895ac60fe31fe388ea7a9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'ClientName' can be made private", + "markdown": "Property 'ClientName' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 868, + "startColumn": 9, + "charOffset": 34838, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 866, + "startColumn": 1, + "charOffset": 34771, + "charLength": 120, + "snippet": { + "text": " /// Gets the client type.\r\n /// \r\n public string ClientName\r\n {\r\n get\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "47888769e9d85d2fc9694df7ad01c6cb424b7240c53e2ae50a763cbee3c1088a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SwitchDarkMode' can be made private", + "markdown": "Method 'SwitchDarkMode' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2942, + "startColumn": 9, + "charOffset": 110513, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2940, + "startColumn": 1, + "charOffset": 110492, + "charLength": 102, + "snippet": { + "text": " }\r\n\r\n public void SwitchDarkMode()\r\n {\r\n DarkModeType darkModeType =\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "49a2a412a585723fcb11e9557b0de03f3109f4fe56cbe8a50dc4b9b6079c3dc8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'UpdateInstanceSettings' can be made private", + "markdown": "Method 'UpdateInstanceSettings' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2640, + "startColumn": 9, + "charOffset": 99096, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2638, + "startColumn": 1, + "charOffset": 99075, + "charLength": 165, + "snippet": { + "text": " }\r\n\r\n public void UpdateInstanceSettings()\r\n {\r\n Instances.AsstProxy.AsstSetInstanceOption(InstanceOptionKey.TouchMode, TouchMode);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "49c661c527f8e1a7cb2e7b43f33060560ab73616ed79ad13b28f08516331ac3e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DropsList.set' can be made private", + "markdown": "Accessor 'DropsList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2622, + "startColumn": 68, + "charOffset": 92949, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2620, + "startColumn": 1, + "charOffset": 92813, + "charLength": 259, + "snippet": { + "text": " /// Gets or sets the list of drops.\r\n /// \r\n public ObservableCollection DropsList { get; set; }\r\n\r\n private string _dropsItemId = ConfigurationHelper.GetValue(ConfigurationKeys.DropsItemId, string.Empty);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4d8b1a2b56a9dddef1c2cc70f4953bc067ce51c77c515360dbf6d6c2be99b397" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum 'DarkModeType' can be made private", + "markdown": "Enum 'DarkModeType' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2886, + "startColumn": 9, + "charOffset": 108789, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2884, + "startColumn": 1, + "charOffset": 108733, + "charLength": 119, + "snippet": { + "text": " /// 表示深色模式的类型。\r\n /// \r\n public enum DarkModeType\r\n {\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "52919d6dc72ea868340f5836da160007ef5ed85bdfaa5f475ad93bef4097c1ce" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'IsCustomInfrastFileReadOnly.set' can be made private", + "markdown": "Accessor 'IsCustomInfrastFileReadOnly.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1170, + "startColumn": 13, + "charOffset": 45160, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1168, + "startColumn": 1, + "charOffset": 45075, + "charLength": 187, + "snippet": { + "text": " {\r\n get => bool.Parse(_isCustomInfrastFileReadOnly);\r\n set\r\n {\r\n SetAndNotify(ref _isCustomInfrastFileReadOnly, value.ToString());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "53710b4ed6dd97c63142ec81457d0293561d34dc286f0e66060597051abf4aed" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'StagesOfToday.set' can be made private", + "markdown": "Accessor 'StagesOfToday.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 563, + "startColumn": 13, + "charOffset": 20803, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 561, + "startColumn": 1, + "charOffset": 20744, + "charLength": 120, + "snippet": { + "text": " {\r\n get => _stagesOfToday;\r\n set => SetAndNotify(ref _stagesOfToday, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "54249a709643bc0a1e7580098307b97e05f49c4fd4feb048008049119e1f7a3b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UseMedicine' can be made private", + "markdown": "Property 'UseMedicine' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2404, + "startColumn": 9, + "charOffset": 85653, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2402, + "startColumn": 1, + "charOffset": 85551, + "charLength": 187, + "snippet": { + "text": " /// Gets or sets a value indicating whether to use medicine.\r\n /// \r\n public bool UseMedicine\r\n {\r\n get => UseMedicineWithNull != false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "567699b61eafaa62358046f516e2ec9b1c364ab7c1c9bf8c5eeb15485ad80fbb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'IsArm' can be made private", + "markdown": "Property 'IsArm' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 170, + "startColumn": 9, + "charOffset": 5660, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 168, + "startColumn": 1, + "charOffset": 5568, + "charLength": 168, + "snippet": { + "text": " /// Gets a value indicating whether the OS is arm.\r\n /// \r\n public static bool IsArm => OSArchitecture.StartsWith(\"arm\");\r\n\r\n /*\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5bbf85b6f6051bc2d87253bbd30e8936bdd85940ce85b369ca26cf4fd1f5853d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'LoliconResult' can be made private", + "markdown": "Property 'LoliconResult' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 370, + "startColumn": 9, + "charOffset": 12647, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 368, + "startColumn": 1, + "charOffset": 12569, + "charLength": 161, + "snippet": { + "text": " /// Gets or sets the Lolicon result.\r\n /// \r\n public string LoliconResult { get; set; } = string.Empty;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c8986c804112217ab25fcbcc3469c8f8aa838f0ddc2e7fbb759404412097f82" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DarkModeList.set' can be made private", + "markdown": "Accessor 'DarkModeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1041, + "startColumn": 55, + "charOffset": 40770, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1039, + "startColumn": 1, + "charOffset": 40643, + "charLength": 159, + "snippet": { + "text": " /// Gets or sets the list of dark mode.\r\n /// \r\n public List DarkModeList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5eb9627ab876f6a153e04c09108219f7bb4e31cfa90fb9a8b14ff63751f7a5c9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'DefaultHexString' can be made private", + "markdown": "Property 'DefaultHexString' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 97, + "startColumn": 9, + "charOffset": 3953, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 95, + "startColumn": 1, + "charOffset": 3878, + "charLength": 283, + "snippet": { + "text": " public static Color DefaultColor => DefaultBrush.Color;\r\n\r\n public static string DefaultHexString => $\"#{DefaultColor.A:X2}{DefaultColor.R:X2}{DefaultColor.G:X2}{DefaultColor.B:X2}\";\r\n\r\n public static string Color2HexString(Color color, bool keepAlpha = false)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5ebf5ebe7c8987c8470da8865dc351404031df5aadf68ab7028a4cc4bb0e7979" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'StageList.set' can be made private", + "markdown": "Accessor 'StageList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1892, + "startColumn": 13, + "charOffset": 67759, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1890, + "startColumn": 1, + "charOffset": 67704, + "charLength": 112, + "snippet": { + "text": " {\r\n get => _stageList;\r\n set => SetAndNotify(ref _stageList, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "60925edf483916c754e0cfa57f80ef708234f76d979a487a40bab2c2bf60a1f0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'InfrastItemViewModels.set' can be made private", + "markdown": "Accessor 'InfrastItemViewModels.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 917, + "startColumn": 85, + "charOffset": 36390, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 915, + "startColumn": 1, + "charOffset": 36226, + "charLength": 196, + "snippet": { + "text": " /// Gets or sets the infrast item view models.\r\n /// \r\n public ObservableCollection InfrastItemViewModels { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "60a9d38adbe3fb2694fee7405b36ef21985c436f708c07b04c9fde96a6644299" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'OriginalName.set' can be made private", + "markdown": "Accessor 'OriginalName.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 63, + "startColumn": 13, + "charOffset": 2337, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 61, + "startColumn": 1, + "charOffset": 2279, + "charLength": 118, + "snippet": { + "text": " {\r\n get => _originalName;\r\n set => SetAndNotify(ref _originalName, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6353c3750f2e1225593d5f0b9f6463fbe4f39043a89f6125a4ede2685041de9b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'UpdateTag.set' can be made private", + "markdown": "Accessor 'UpdateTag.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 83, + "startColumn": 13, + "charOffset": 2664, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 81, + "startColumn": 1, + "charOffset": 2609, + "charLength": 128, + "snippet": { + "text": " {\r\n get => _updateTag;\r\n set\r\n {\r\n SetAndNotify(ref _updateTag, value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "63fcb69e98f347b93db7fe117bce5ee5dc928e2864d1562db91e56cc91d54a42" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OnPropertyChanged' can be made private", + "markdown": "Method 'OnPropertyChanged' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1733, + "startColumn": 17, + "charOffset": 66048, + "charLength": 9, + "snippet": { + "text": "protected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1731, + "startColumn": 1, + "charOffset": 66011, + "charLength": 216, + "snippet": { + "text": " }\r\n\r\n protected void OnPropertyChanged([CallerMemberName] string name = null)\r\n {\r\n PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "65a2c73079e1c164c3d640631e35863e0ba493a7d37346018dd6d359e514b4b6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RoguelikeSquadList.set' can be made private", + "markdown": "Accessor 'RoguelikeSquadList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 947, + "startColumn": 13, + "charOffset": 37446, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 945, + "startColumn": 1, + "charOffset": 37382, + "charLength": 130, + "snippet": { + "text": " {\r\n get => _roguelikeSquadList;\r\n set => SetAndNotify(ref _roguelikeSquadList, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "674cc153021af34602af0934179e0e489d994346f38406dddfe03cd59d289d8a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'OSArchitecture' can be made private", + "markdown": "Property 'OSArchitecture' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 165, + "startColumn": 9, + "charOffset": 5447, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 163, + "startColumn": 1, + "charOffset": 5376, + "charLength": 191, + "snippet": { + "text": " /// Gets the OS architecture.\r\n /// \r\n public static string OSArchitecture => RuntimeInformation.OSArchitecture.ToString().ToLower();\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6c9ec376bc01e3dae57f360b788dd5981e3f81fec2de6ddd07adb8f7b6ab9fe2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'TimerId' can be made private", + "markdown": "Property 'TimerId' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1738, + "startColumn": 17, + "charOffset": 66265, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1736, + "startColumn": 1, + "charOffset": 66228, + "charLength": 109, + "snippet": { + "text": " }\r\n\r\n public int TimerId { get; set; }\r\n\r\n private bool _isOn;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6f6a4bd237ca764cfa22ec14f71cd807ed527cf44a890d44a75d68032f0e2657" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ClientTypeList.set' can be made private", + "markdown": "Accessor 'ClientTypeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 960, + "startColumn": 57, + "charOffset": 37916, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 958, + "startColumn": 1, + "charOffset": 37780, + "charLength": 228, + "snippet": { + "text": " /// Gets or sets the list of the client types.\r\n /// \r\n public List ClientTypeList { get; set; }\r\n\r\n public ObservableCollection ConfigurationList { get; set; }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6fc8fb5ea161d05b5566526be0d47b97977a3ad9d10775b430a949ba30888c60" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'IsSpecifiedDrops' can be made private", + "markdown": "Property 'IsSpecifiedDrops' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2559, + "startColumn": 9, + "charOffset": 90774, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2557, + "startColumn": 1, + "charOffset": 90664, + "charLength": 205, + "snippet": { + "text": " /// Gets or sets a value indicating whether the drops are specified.\r\n /// \r\n public bool IsSpecifiedDrops\r\n {\r\n get => IsSpecifiedDropsWithNull != false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "77a224dd5e34d45289a81f49ad9213bb6c0e18961d9c9510bee2e595df383cc5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'DefaultColor' can be made private", + "markdown": "Property 'DefaultColor' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 95, + "startColumn": 9, + "charOffset": 3886, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 93, + "startColumn": 1, + "charOffset": 3764, + "charLength": 312, + "snippet": { + "text": " public static SolidColorBrush DefaultBrush => ResourceHelper.GetResource(DefaultKey);\r\n\r\n public static Color DefaultColor => DefaultBrush.Color;\r\n\r\n public static string DefaultHexString => $\"#{DefaultColor.A:X2}{DefaultColor.R:X2}{DefaultColor.G:X2}{DefaultColor.B:X2}\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "77c63527bdc2276aac3061820c1aabdc4b5cc5ce0755f31004398423530d9b74" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Weight.set' can be made private", + "markdown": "Accessor 'Weight.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/LogItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 80, + "startColumn": 13, + "charOffset": 2347, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 78, + "startColumn": 1, + "charOffset": 2295, + "charLength": 111, + "snippet": { + "text": " {\r\n get => _weight;\r\n set => SetAndNotify(ref _weight, value);\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "79161adaaa3f74c85b7b444f26ce77aeeb3a08fa1ae39adac9569bbf04fa8536" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RoguelikeThemeList.set' can be made private", + "markdown": "Accessor 'RoguelikeThemeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 932, + "startColumn": 61, + "charOffset": 36911, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 930, + "startColumn": 1, + "charOffset": 36772, + "charLength": 171, + "snippet": { + "text": " /// Gets or sets the list of roguelike lists.\r\n /// \r\n public List RoguelikeThemeList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7bf02bda9229a396676f145bab88741d95f63e77bb41cd0860ecc351f5c9af9f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CheckToastSystem' can be made private", + "markdown": "Method 'CheckToastSystem' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 62, + "startColumn": 9, + "charOffset": 1970, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 60, + "startColumn": 1, + "charOffset": 1873, + "charLength": 182, + "snippet": { + "text": " /// \r\n /// The toast system is initialized.\r\n public bool CheckToastSystem()\r\n {\r\n if (!_systemToastCheckInited)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7f782a0c8bba241d9cfe9cd5bf41570617413429a9cd91272dc0aa08554757fb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RoguelikeRolesList.set' can be made private", + "markdown": "Accessor 'RoguelikeRolesList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 953, + "startColumn": 61, + "charOffset": 37675, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 951, + "startColumn": 1, + "charOffset": 37536, + "charLength": 218, + "snippet": { + "text": " /// Gets or sets the list of roguelike roles.\r\n /// \r\n public List RoguelikeRolesList { get; set; }\r\n\r\n // public List RoguelikeCoreCharList { get; set; }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "80ae054e7d6874b2b787a5e1296d4482036623bdb30452f2a6182d3ec238b54d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'CustomInfrastPlanInfoList' can be made private", + "markdown": "Property 'CustomInfrastPlanInfoList' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2195, + "startColumn": 9, + "charOffset": 77621, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2193, + "startColumn": 1, + "charOffset": 77600, + "charLength": 194, + "snippet": { + "text": " }\r\n\r\n public List CustomInfrastPlanInfoList { get; set; } = new List();\r\n\r\n private bool _customInfrastPlanHasPeriod = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "81531c4aaaa7c9154136e36be609918401e3df567160f0dccc8190afcce760e0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'GachaInfo.set' can be made private", + "markdown": "Accessor 'GachaInfo.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 679, + "startColumn": 13, + "charOffset": 22556, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 677, + "startColumn": 1, + "charOffset": 22501, + "charLength": 112, + "snippet": { + "text": " {\r\n get => _gachaInfo;\r\n set => SetAndNotify(ref _gachaInfo, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "832602e0fcc6d54ad3d39d7d3253e9e5965ad97f0eafe3a83e9ce772df6f299a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Stopping.set' can be made private", + "markdown": "Accessor 'Stopping.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1809, + "startColumn": 13, + "charOffset": 65635, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1807, + "startColumn": 1, + "charOffset": 65581, + "charLength": 110, + "snippet": { + "text": " {\r\n get => _stopping;\r\n set => SetAndNotify(ref _stopping, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "833444234bee33f5df0cab1b4f54652b6d2d41f50f447937b2198f91666f65d2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DefaultInfrastList.set' can be made private", + "markdown": "Accessor 'DefaultInfrastList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 927, + "startColumn": 61, + "charOffset": 36739, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 925, + "startColumn": 1, + "charOffset": 36592, + "charLength": 179, + "snippet": { + "text": " /// Gets or sets the list of uses of default infrast.\r\n /// \r\n public List DefaultInfrastList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "83f832895218c1b3928c596c59487429c422e020a132294b72f02e5cdb6a2e97" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'CopilotId' can be made private", + "markdown": "Property 'CopilotId' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 587, + "startColumn": 9, + "charOffset": 19458, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 585, + "startColumn": 1, + "charOffset": 19411, + "charLength": 111, + "snippet": { + "text": " private int _copilotId = 0;\r\n\r\n public int CopilotId\r\n {\r\n get => _copilotId;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8871a575036a9ba7420af1d98eef441c5dc31ce140018c436b11a034c57a3396" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ConnectConfigList.set' can be made private", + "markdown": "Accessor 'ConnectConfigList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1031, + "startColumn": 60, + "charOffset": 40448, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1029, + "startColumn": 1, + "charOffset": 40294, + "charLength": 186, + "snippet": { + "text": " /// Gets or sets the list of the configuration of connection.\r\n /// \r\n public List ConnectConfigList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8973760d9a61b81c59bc8c6e690af2e1d23a5588c27658aa7f6effc621fe3650" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorModeSwitcher' can be made private", + "markdown": "Method 'KillEmulatorModeSwitcher' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1156, + "startColumn": 9, + "charOffset": 41911, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1154, + "startColumn": 1, + "charOffset": 41840, + "charLength": 138, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorModeSwitcher()\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8ab2a97d978d8c3bd909f88076258c686645bea126041aa305ab9f06a285438a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorbyWindow' can be made private", + "markdown": "Method 'KillEmulatorbyWindow' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1446, + "startColumn": 9, + "charOffset": 53742, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1444, + "startColumn": 1, + "charOffset": 53641, + "charLength": 173, + "snippet": { + "text": " /// \r\n /// Whether the operation is successful.\r\n public bool KillEmulatorbyWindow()\r\n {\r\n IntPtr hwnd;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8b7a84ba59a3f5c6f6ad5c15243889b90aa7ad20e229d6f8849fcbecb4f087f2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Time.set' can be made private", + "markdown": "Accessor 'Time.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/LogItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 47, + "startColumn": 13, + "charOffset": 1568, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 45, + "startColumn": 1, + "charOffset": 1518, + "charLength": 102, + "snippet": { + "text": " {\r\n get => _time;\r\n set => SetAndNotify(ref _time, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8bd8f1256b58a1ebaf71d49f1bef4c6c27d9fe2acef597e456222dd1fd0846b1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'BaseContent' can be made private", + "markdown": "Method 'BaseContent' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 346, + "startColumn": 9, + "charOffset": 11127, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 344, + "startColumn": 1, + "charOffset": 11037, + "charLength": 195, + "snippet": { + "text": " /// \r\n /// The notification content.\r\n public NotificationContent BaseContent()\r\n {\r\n var content = new NotificationContent()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8cb73383e40e32bb1cb0ebefedf802db6ac0d17eae6e46cc42e468cd2d70fee0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'IsFirstBootAfterUpdate' can be made private", + "markdown": "Property 'IsFirstBootAfterUpdate' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 137, + "startColumn": 9, + "charOffset": 4481, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 135, + "startColumn": 1, + "charOffset": 4359, + "charLength": 213, + "snippet": { + "text": " /// Gets or sets a value indicating whether it is the first boot after updating.\r\n /// \r\n public bool IsFirstBootAfterUpdate\r\n {\r\n get => _isFirstBootAfterUpdate;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8d0a5d218afefd3de83e3b8d7f70655bc5308874860776f8080fd7689f7c76d7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Content.set' can be made private", + "markdown": "Accessor 'Content.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/LogItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 58, + "startColumn": 13, + "charOffset": 1827, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 56, + "startColumn": 1, + "charOffset": 1774, + "charLength": 108, + "snippet": { + "text": " {\r\n get => _content;\r\n set => SetAndNotify(ref _content, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "93d7164eff3b58fadb50e8aafb768bb413ef94458d5f1198c8b80cead294dc06" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'AdbReplaced.set' can be made private", + "markdown": "Accessor 'AdbReplaced.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2735, + "startColumn": 40, + "charOffset": 103042, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2733, + "startColumn": 1, + "charOffset": 102990, + "charLength": 181, + "snippet": { + "text": " }\r\n\r\n public bool AdbReplaced { get; set; } = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.AdbReplaced, false.ToString()));\r\n\r\n /* 界面设置 */\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "94a6652243684ed79a9b424ed4417443adafeb8fbdffd828669463344ca1655a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'SoberLanguage' can be made private", + "markdown": "Property 'SoberLanguage' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3015, + "startColumn": 9, + "charOffset": 113363, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3013, + "startColumn": 1, + "charOffset": 113225, + "charLength": 213, + "snippet": { + "text": " private string _soberLanguage = ConfigurationHelper.GetValue(\"GUI.SoberLanguage\", LocalizationHelper.DefaultLanguage);\r\n\r\n public string SoberLanguage\r\n {\r\n get => _soberLanguage;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9696e5f95d804faa75cbb70d8eac0ecfdcfdf491a635cea3b6bdfbd0c80c4ffe" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'BaseTextSettings' can be made private", + "markdown": "Property 'BaseTextSettings' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 330, + "startColumn": 9, + "charOffset": 10506, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 328, + "startColumn": 1, + "charOffset": 10428, + "charLength": 206, + "snippet": { + "text": " /// \r\n /// 创建一个基本文本字体样式。\r\n public TextContentSettings BaseTextSettings => new TextContentSettings()\r\n {\r\n FontStyle = FontStyles.Normal,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "97ade8f6b7c43b902431e8f9cb8c851b92baea28e15af6c804ae0a9343ec1f3c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'InternalUnregister' can be made private", + "markdown": "Method 'InternalUnregister' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 87, + "startColumn": 9, + "charOffset": 2378, + "charLength": 9, + "snippet": { + "text": "protected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 85, + "startColumn": 1, + "charOffset": 2357, + "charLength": 190, + "snippet": { + "text": " }\r\n\r\n protected void InternalUnregister(MaaHotKeyAction action)\r\n {\r\n if (!_actionHotKeyMapping.ContainsKey(action) || _actionHotKeyMapping[action] == null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9912aa572ac7c9b4215cafd8cde09df7f3fe53aab5d56c37854a94b98b4c0fe3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ClearLog' can be made private", + "markdown": "Method 'ClearLog' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 106, + "startColumn": 9, + "charOffset": 3420, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 104, + "startColumn": 1, + "charOffset": 3363, + "charLength": 131, + "snippet": { + "text": " /// Clears log.\r\n /// \r\n public void ClearLog()\r\n {\r\n LogItemViewModels.Clear();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b88bc6d4994e88ee40876f4e842d1227fa9d29d655a1f749cfb0fc9e5ef30a3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartVideoTask' can be made private", + "markdown": "Method 'StartVideoTask' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 539, + "startColumn": 9, + "charOffset": 18108, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 537, + "startColumn": 1, + "charOffset": 18087, + "charLength": 130, + "snippet": { + "text": " }\r\n\r\n public bool StartVideoTask()\r\n {\r\n return Instances.AsstProxy.AsstStartVideoRec(Filename);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9cd23a592d548c4236a3834c9ce9fbeb4074bf9d4fbc25a33947aec933dd69bb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'OperBoxExportData' can be made private", + "markdown": "Property 'OperBoxExportData' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 505, + "startColumn": 9, + "charOffset": 16875, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 503, + "startColumn": 1, + "charOffset": 16854, + "charLength": 243, + "snippet": { + "text": " }\r\n\r\n public string OperBoxExportData { get; set; } = string.Empty;\r\n\r\n private JArray _operBoxDataArray = (JArray)JsonConvert.DeserializeObject(ConfigurationHelper.GetValue(ConfigurationKeys.OperBoxData, string.Empty));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9ecc7b7b74b1d156592317f75d1ca9302de63d562f189c05c14af112eeb9b0bd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'TouchModeList.set' can be made private", + "markdown": "Accessor 'TouchModeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1036, + "startColumn": 56, + "charOffset": 40610, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1034, + "startColumn": 1, + "charOffset": 40481, + "charLength": 161, + "snippet": { + "text": " /// Gets or sets the list of touch modes\r\n /// \r\n public List TouchModeList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9eed323e625746c502920e426e8b6b784ba599d5838ee6f17b184a44c968fa8f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'InverseShowText.set' can be made private", + "markdown": "Accessor 'InverseShowText.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 671, + "startColumn": 13, + "charOffset": 24759, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 669, + "startColumn": 1, + "charOffset": 24698, + "charLength": 124, + "snippet": { + "text": " {\r\n get => _inverseShowText;\r\n set => SetAndNotify(ref _inverseShowText, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a1c789f45275f82863631ade9ddc9a2d00f381ac1ac236d7678176c014482981" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ToBytes' can be made private", + "markdown": "Method 'ToBytes' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 33, + "startColumn": 9, + "charOffset": 1019, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 31, + "startColumn": 1, + "charOffset": 998, + "charLength": 128, + "snippet": { + "text": " }\r\n\r\n public static byte[] ToBytes(this BitmapImage image)\r\n {\r\n byte[] data = new byte[] { };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a2ef555223e60eb6891189ed2153e9a6ae08bb6d1232bcc1e043e42efbb1e5de" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorXYAZ' can be made private", + "markdown": "Method 'KillEmulatorXYAZ' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1353, + "startColumn": 9, + "charOffset": 49757, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1351, + "startColumn": 1, + "charOffset": 49686, + "charLength": 187, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorXYAZ()\r\n {\r\n string address = Instances.SettingsViewModel.ConnectAddress;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a420d24ccf82da384c18c337a6167cc9a0a19dec5c379cba2783e5a68134e764" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'MainWindow' can be made private", + "markdown": "Property 'MainWindow' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/MainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 27, + "startColumn": 9, + "charOffset": 859, + "charLength": 9, + "snippet": { + "text": "protected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 25, + "startColumn": 1, + "charOffset": 786, + "charLength": 168, + "snippet": { + "text": " /// Gets the main window object\r\n /// \r\n protected static Window MainWindow => Application.Current.MainWindow;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a4b9e8d0d16668ccbc692deb61f73213a8a5d650134939315636619149405764" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Idle' can be made private", + "markdown": "Property 'Idle' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/States/RunningState.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 39, + "startColumn": 9, + "charOffset": 1023, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 37, + "startColumn": 1, + "charOffset": 977, + "charLength": 101, + "snippet": { + "text": " private bool _idle = true;\r\n\r\n public bool Idle\r\n {\r\n get => _idle;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a849a2a3842089de28138937199043141b682aedc89ec364ca0ca3803d44ff67" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ShowMore' can be made private", + "markdown": "Method 'ShowMore' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 469, + "startColumn": 9, + "charOffset": 15621, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 467, + "startColumn": 1, + "charOffset": 15497, + "charLength": 308, + "snippet": { + "text": " /// 播放提示音,不设置就没有声音\r\n /// 通知内容\r\n public void ShowMore(double lifeTime = 12d, uint row = 2,\r\n NotificationSounds sound = NotificationSounds.None,\r\n NotificationContent notificationContent = null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aa1eca8e176e71649d87a49577f039bbb9b507b46f7e95729078e78b755ef116" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'PlayNotificationSound' can be made private", + "markdown": "Method 'PlayNotificationSound' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 218, + "startColumn": 9, + "charOffset": 6738, + "charLength": 9, + "snippet": { + "text": "protected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 216, + "startColumn": 1, + "charOffset": 6658, + "charLength": 198, + "snippet": { + "text": " /// \r\n /// 提示音类型\r\n protected void PlayNotificationSound(NotificationSounds sounds = NotificationSounds.None)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ad5b32d4878c555590b45749e14ea8c77ae0ddf12a1ac8ca7cbb7ef8380bb41f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorMuMuEmulator12' can be made private", + "markdown": "Method 'KillEmulatorMuMuEmulator12' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1183, + "startColumn": 9, + "charOffset": 42895, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1181, + "startColumn": 1, + "charOffset": 42824, + "charLength": 197, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorMuMuEmulator12()\r\n {\r\n string address = Instances.SettingsViewModel.ConnectAddress;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ae64663d2118241a3aafa3a4c574a351c38c841a1dba7c3860751cb882a9dc1f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ColorDistance' can be made private", + "markdown": "Method 'ColorDistance' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 77, + "startColumn": 9, + "charOffset": 3238, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 75, + "startColumn": 1, + "charOffset": 3119, + "charLength": 237, + "snippet": { + "text": " /// The color c2.\r\n /// The distance from 0 to 35.\r\n public static int ColorDistance(Color c1, Color c2)\r\n {\r\n // https://www.compuphase.com/cmetric.htm\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aed2b88ed046894f994a6a12fb55caf2c8ec8d81ce4ed66a0df591c8391a36c2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Hangover' can be made private", + "markdown": "Property 'Hangover' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3119, + "startColumn": 9, + "charOffset": 116882, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3117, + "startColumn": 1, + "charOffset": 116784, + "charLength": 161, + "snippet": { + "text": " /// Gets or sets a value indicating whether to hangover.\r\n /// \r\n public bool Hangover\r\n {\r\n get => _hangover;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b03059b057d927643d0ef6516852a9b418cc656fb74701589abc1c25d5cee88f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorNox' can be made private", + "markdown": "Method 'KillEmulatorNox' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1297, + "startColumn": 9, + "charOffset": 47523, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1295, + "startColumn": 1, + "charOffset": 47452, + "charLength": 186, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorNox()\r\n {\r\n string address = Instances.SettingsViewModel.ConnectAddress;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b6a70dbbd111f404ed303bfcbad32bf2c645d96d9b2391a3ddc0ec9a2e90e0a3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Show' can be made private", + "markdown": "Method 'Show' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 115, + "startColumn": 9, + "charOffset": 3793, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 113, + "startColumn": 1, + "charOffset": 3611, + "charLength": 294, + "snippet": { + "text": " bool useNativeMethod = false) => Show(WindowHandle.None, messageBoxText, caption, buttons, icon, iconKey, iconBrushKey, ok, cancel, yes, no, useNativeMethod);\r\n\r\n public static MessageBoxResult Show(\r\n WindowHandle ownerWindow,\r\n string messageBoxText,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b8f5094fd5ef692e05f252ad64ee1dbb8dc8a871ba666ce623e6efb9ba489b87" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UpdateInfo' can be made private", + "markdown": "Property 'UpdateInfo' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 97, + "startColumn": 9, + "charOffset": 3214, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 95, + "startColumn": 1, + "charOffset": 3139, + "charLength": 128, + "snippet": { + "text": " /// Gets or sets the update info.\r\n /// \r\n public string UpdateInfo\r\n {\r\n get\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bc538eacbf3a9c31fe37a9db529598ea0aa82302a6de0ebee9a402cccea21db7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'OperBoxInfo.set' can be made private", + "markdown": "Accessor 'OperBoxInfo.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 483, + "startColumn": 13, + "charOffset": 16288, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 481, + "startColumn": 1, + "charOffset": 16231, + "charLength": 116, + "snippet": { + "text": " {\r\n get => _operBoxInfo;\r\n set => SetAndNotify(ref _operBoxInfo, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c63913a5995eb8a1927d554cdaf664b29eb72fe868f5080826a8ec61de6cb27d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UpdateUrl' can be made private", + "markdown": "Property 'UpdateUrl' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 126, + "startColumn": 9, + "charOffset": 4037, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 124, + "startColumn": 1, + "charOffset": 3963, + "charLength": 141, + "snippet": { + "text": " /// Gets or sets the update URL.\r\n /// \r\n public string UpdateUrl\r\n {\r\n get => _updateUrl;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c64df152f17beb1470b22d6a4db56ff678a8cd276cb61de9d510405f0b22c3d9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'HasTimesLimited' can be made private", + "markdown": "Property 'HasTimesLimited' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2510, + "startColumn": 9, + "charOffset": 89142, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2508, + "startColumn": 1, + "charOffset": 89025, + "charLength": 210, + "snippet": { + "text": " /// Gets or sets a value indicating whether the number of times is limited.\r\n /// \r\n public bool HasTimesLimited\r\n {\r\n get => HasTimesLimitedWithNull != false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c7c658043071754194d8a8e33915e6ec11a89c56ffaa3830c2bf7ad921934aff" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorLDPlayer' can be made private", + "markdown": "Method 'KillEmulatorLDPlayer' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1239, + "startColumn": 9, + "charOffset": 45160, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1237, + "startColumn": 1, + "charOffset": 45089, + "charLength": 191, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorLDPlayer()\r\n {\r\n string address = Instances.SettingsViewModel.ConnectAddress;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce216e72dc43a83b090ca98d85c76f4f6eacf613855673d8305af2795f733134" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'GachaImage.set' can be made private", + "markdown": "Accessor 'GachaImage.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 725, + "startColumn": 13, + "charOffset": 23852, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 723, + "startColumn": 1, + "charOffset": 23796, + "charLength": 114, + "snippet": { + "text": " {\r\n get => _gachaImage;\r\n set => SetAndNotify(ref _gachaImage, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce6cec63d0a636fbba37efd98aec1da866548e2dd1f0383c7cc9d62af088daad" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DormThresholdLabel.set' can be made private", + "markdown": "Accessor 'DormThresholdLabel.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1082, + "startColumn": 13, + "charOffset": 42215, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1080, + "startColumn": 1, + "charOffset": 42151, + "charLength": 130, + "snippet": { + "text": " {\r\n get => _dormThresholdLabel;\r\n set => SetAndNotify(ref _dormThresholdLabel, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d1707b8ed1af6395ab58f2e30bafe3a85a35dd2657d4f7a8dc3e18aaac52cd36" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'VersionTypeList.set' can be made private", + "markdown": "Accessor 'VersionTypeList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1051, + "startColumn": 84, + "charOffset": 41144, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1049, + "startColumn": 1, + "charOffset": 40981, + "charLength": 195, + "snippet": { + "text": " /// Gets or sets the list of the version type.\r\n /// \r\n public List> VersionTypeList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d326135c9e42013a2278ff5de01fc3289aec7b1f3f196e22f3881a0266748e74" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'UpdateRoguelikeThemeList' can be made private", + "markdown": "Method 'UpdateRoguelikeThemeList' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3198, + "startColumn": 9, + "charOffset": 119406, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3196, + "startColumn": 1, + "charOffset": 119385, + "charLength": 121, + "snippet": { + "text": " }\r\n\r\n public void UpdateRoguelikeThemeList()\r\n {\r\n var roguelikeSquad = RoguelikeSquad;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d32ac6cd825c07c3969a2bea44e03bd5387ca4a21cb69057fbb3983cfc5fbd81" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KillEmulatorBlueStacks' can be made private", + "markdown": "Method 'KillEmulatorBlueStacks' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1402, + "startColumn": 9, + "charOffset": 51813, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1400, + "startColumn": 1, + "charOffset": 51742, + "charLength": 195, + "snippet": { + "text": " /// \r\n /// 是否关闭成功\r\n public bool KillEmulatorBlueStacks()\r\n {\r\n Process[] processes = Process.GetProcessesByName(\"HD-Player\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d64feb6035719d01516573155ac9d6cb3a5c531a3df6165a884282ae349401eb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'TaskItemSelectionChanged' can be made private", + "markdown": "Method 'TaskItemSelectionChanged' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 69, + "startColumn": 9, + "charOffset": 2296, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 67, + "startColumn": 1, + "charOffset": 2242, + "charLength": 166, + "snippet": { + "text": " /// 实时更新任务顺序\r\n /// \r\n public void TaskItemSelectionChanged()\r\n {\r\n Application.Current.Dispatcher.InvokeAsync(() =>\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d6e436ac1a8cdd7048e830c12dab157d489109841a1678e37651d5aec81e130c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetVisible' can be made private", + "markdown": "Method 'SetVisible' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 127, + "startColumn": 9, + "charOffset": 4397, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 125, + "startColumn": 1, + "charOffset": 4299, + "charLength": 190, + "snippet": { + "text": " /// \r\n /// Whether it is visible.\r\n public void SetVisible(bool visible)\r\n {\r\n _notifyIcon.Visible = visible;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da5e47f5cf8e75d05af9bdf27e021f2fa0adee3d8f4efb07390264e21e5f8112" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ClearLog' can be made private", + "markdown": "Method 'ClearLog' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 582, + "startColumn": 9, + "charOffset": 21468, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 580, + "startColumn": 1, + "charOffset": 21411, + "charLength": 131, + "snippet": { + "text": " /// Clears log.\r\n /// \r\n public void ClearLog()\r\n {\r\n LogItemViewModels.Clear();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dcb83554d9e3ce04f54993bd2337fb39f5c607e5196e636b45362797e0b5ccb6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'IsDataFromWeb' can be made private", + "markdown": "Property 'IsDataFromWeb' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 575, + "startColumn": 9, + "charOffset": 19176, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 573, + "startColumn": 1, + "charOffset": 19120, + "charLength": 129, + "snippet": { + "text": " private bool _isDataFromWeb = false;\r\n\r\n public bool IsDataFromWeb\r\n {\r\n get => _isDataFromWeb;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dd88f2b9f7b0dea7965c9f2fd22532c14e3a1602a1bb97421a04c432d0418657" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'OperBoxPotential' can be made private", + "markdown": "Property 'OperBoxPotential' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 522, + "startColumn": 9, + "charOffset": 17538, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 520, + "startColumn": 1, + "charOffset": 17461, + "charLength": 153, + "snippet": { + "text": " private Dictionary _operBoxPotential = null;\r\n\r\n public Dictionary OperBoxPotential\r\n {\r\n get\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e02a9741dabcdbc10145c32a56a964700c684bc10498faf3aa2903c887538cb8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ActionAfterCompletedList.set' can be made private", + "markdown": "Accessor 'ActionAfterCompletedList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 92, + "startColumn": 86, + "charOffset": 3249, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 90, + "startColumn": 1, + "charOffset": 3072, + "charLength": 209, + "snippet": { + "text": " /// Gets or sets the list of the actions after completion.\r\n /// \r\n public List> ActionAfterCompletedList { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e4e50f0780a01d9a186fd61e47d170a384af3a28d2337086ecf56cc7cb3073e1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'String2Color' can be made private", + "markdown": "Method 'String2Color' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 119, + "startColumn": 9, + "charOffset": 4680, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 117, + "startColumn": 1, + "charOffset": 4659, + "charLength": 127, + "snippet": { + "text": " }\r\n\r\n public static Color String2Color(string str)\r\n {\r\n if (!string.IsNullOrWhiteSpace(str))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e60cf2e2e1fee30fd38d7d910dc425fcdec1568114eadc525fb94cb475f94259" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ConfigurationList.set' can be made private", + "markdown": "Accessor 'ConfigurationList.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 962, + "startColumn": 76, + "charOffset": 38001, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 960, + "startColumn": 1, + "charOffset": 37860, + "charLength": 245, + "snippet": { + "text": " public List ClientTypeList { get; set; }\r\n\r\n public ObservableCollection ConfigurationList { get; set; }\r\n\r\n private string _currentConfiguration = ConfigurationHelper.GetCurrentConfiguration();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e62543610b72b0d8cd6b1d3630c58ee0b891a7951c7a0138895116ec94596a19" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Name.set' can be made private", + "markdown": "Accessor 'Name.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 74, + "startColumn": 13, + "charOffset": 2592, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 72, + "startColumn": 1, + "charOffset": 2542, + "charLength": 102, + "snippet": { + "text": " {\r\n get => _name;\r\n set => SetAndNotify(ref _name, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e678ba36a57d7088ca94b844fb1f468c0553dbefc636a7207d8f73258712eca9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'InverseMenuText.set' can be made private", + "markdown": "Accessor 'InverseMenuText.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 682, + "startColumn": 13, + "charOffset": 25261, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 680, + "startColumn": 1, + "charOffset": 25200, + "charLength": 124, + "snippet": { + "text": " {\r\n get => _inverseMenuText;\r\n set => SetAndNotify(ref _inverseMenuText, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e8c2bf58f0796b2f5f6080a75ed8206d0f4143f4b9a65fd1a4b06058eee63fa7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DepotInfo.set' can be made private", + "markdown": "Accessor 'DepotInfo.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 341, + "startColumn": 13, + "charOffset": 11775, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 339, + "startColumn": 1, + "charOffset": 11720, + "charLength": 112, + "snippet": { + "text": " {\r\n get => _depotInfo;\r\n set => SetAndNotify(ref _depotInfo, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ea06947b9e0c89f141a0a5e710b46005920e45b1cb12b6824956da73e9f9528c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstGetImage' can be made private", + "markdown": "Method 'AsstGetImage' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 170, + "startColumn": 9, + "charOffset": 6003, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 168, + "startColumn": 1, + "charOffset": 5930, + "charLength": 202, + "snippet": { + "text": " private static extern unsafe ulong AsstGetNullSize();\r\n\r\n public static unsafe BitmapImage AsstGetImage(AsstHandle handle)\r\n {\r\n byte[] buff = new byte[1280 * 720 * 3];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ea5b57f2f84e210cb287f51302ac2a322cb33bc2f0f6548804cd48bc67879e71" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'UrlText.set' can be made private", + "markdown": "Accessor 'UrlText.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 645, + "startColumn": 13, + "charOffset": 21146, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 643, + "startColumn": 1, + "charOffset": 21093, + "charLength": 108, + "snippet": { + "text": " {\r\n get => _urlText;\r\n set => SetAndNotify(ref _urlText, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ec24f280f71adc7bc56dfbe69c0bec38ac9d8105e783507cd005b733f2ed36d9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ConfirmExit' can be made private", + "markdown": "Method 'ConfirmExit' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 172, + "startColumn": 9, + "charOffset": 5713, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 170, + "startColumn": 1, + "charOffset": 5629, + "charLength": 176, + "snippet": { + "text": " private readonly DispatcherTimer _timer = new DispatcherTimer();\r\n\r\n public bool ConfirmExit()\r\n {\r\n if (Application.Current.IsShuttingDown())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "efc65d2d744b9661bef60b1ecea0b045d68aa628a83afdc62f9a2cdbfc4092a5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetFightParams' can be made private", + "markdown": "Method 'SetFightParams' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1006, + "startColumn": 9, + "charOffset": 35395, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1004, + "startColumn": 1, + "charOffset": 35333, + "charLength": 141, + "snippet": { + "text": " /// Sets parameters.\r\n /// \r\n public void SetFightParams()\r\n {\r\n if (EnableSetFightParams)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0e0fb8a05792fdcbf6841a5c8839d478e9e603da87e038ddd72c0243ecaf59b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'RecruitResult.set' can be made private", + "markdown": "Accessor 'RecruitResult.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 86, + "startColumn": 13, + "charOffset": 2559, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 84, + "startColumn": 1, + "charOffset": 2500, + "charLength": 120, + "snippet": { + "text": " {\r\n get => _recruitResult;\r\n set => SetAndNotify(ref _recruitResult, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f105a5446e0d49b6f54c1a1c6ad5ff57609fbab2b2b66e2c8c0780c29f6f8502" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Url.set' can be made private", + "markdown": "Accessor 'Url.set' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 654, + "startColumn": 13, + "charOffset": 21368, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 652, + "startColumn": 1, + "charOffset": 21319, + "charLength": 205, + "snippet": { + "text": " {\r\n get => _url;\r\n set\r\n {\r\n UrlText = value == CopilotUiUrl ? LocalizationHelper.GetString(\"PrtsPlus\") : LocalizationHelper.GetString(\"VideoLink\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2a1c3cc673a8b12cec652f2bb4a11ea115ca05c8df6fa36e6989641cb640351" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Color2HexString' can be made private", + "markdown": "Method 'Color2HexString' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 99, + "startColumn": 9, + "charOffset": 4087, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 97, + "startColumn": 1, + "charOffset": 3945, + "charLength": 255, + "snippet": { + "text": " public static string DefaultHexString => $\"#{DefaultColor.A:X2}{DefaultColor.R:X2}{DefaultColor.G:X2}{DefaultColor.B:X2}\";\r\n\r\n public static string Color2HexString(Color color, bool keepAlpha = false)\r\n {\r\n if (keepAlpha)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2d5de0514bee00bd4e2855c3f6ebaf70b5be71518f190ee3713b8079af6ccec" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'FlashWindowEx' can be made private", + "markdown": "Method 'FlashWindowEx' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 634, + "startColumn": 9, + "charOffset": 20545, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 632, + "startColumn": 1, + "charOffset": 20454, + "charLength": 265, + "snippet": { + "text": " /// 闪烁次数\r\n /// 是否成功\r\n public static bool FlashWindowEx(IntPtr hWnd = default, FlashType type = FlashType.FLASHW_TIMERNOFG, uint count = 5)\r\n {\r\n var fInfo = default(FLASHWINFO);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f46897715a96758a86c5a5cb24c032bb4d3e28ab4a98b62849cfd7f612601fcd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UpdatePackageName' can be made private", + "markdown": "Property 'UpdatePackageName' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 152, + "startColumn": 9, + "charOffset": 5053, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 150, + "startColumn": 1, + "charOffset": 4963, + "charLength": 173, + "snippet": { + "text": " /// Gets or sets the name of the update package.\r\n /// \r\n public string UpdatePackageName\r\n {\r\n get => _updatePackageName;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f475a89434e6f60aef672535bb64e2411bdebdb8094217e9e5cb5275d412679c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'EnableSetFightParams' can be made private", + "markdown": "Property 'EnableSetFightParams' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1001, + "startColumn": 9, + "charOffset": 35252, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 999, + "startColumn": 1, + "charOffset": 35231, + "charLength": 101, + "snippet": { + "text": " }\r\n\r\n public bool EnableSetFightParams { get; set; } = true;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f5831ef622f259312adaa191bfabeb8f9ac716b9362462468aa1d5b209da4bbc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBePrivate.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'AllDrops' can be made private", + "markdown": "Property 'AllDrops' can be made private" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2568, + "startColumn": 9, + "charOffset": 91041, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2566, + "startColumn": 1, + "charOffset": 90960, + "charLength": 183, + "snippet": { + "text": " /// Gets or sets the list of all drops.\r\n /// \r\n public List AllDrops { get; set; } = new List();\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f98f57bf13e11963cda686e0d6e94c443b29d738305f336d4d5419533fdfcdf1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MemberCanBeProtected.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OnIdleChanged' can be made protected", + "markdown": "Method 'OnIdleChanged' can be made protected" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/States/RunningState.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 61, + "startColumn": 9, + "charOffset": 1519, + "charLength": 6, + "snippet": { + "text": "public" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 59, + "startColumn": 1, + "charOffset": 1455, + "charLength": 182, + "snippet": { + "text": " public event EventHandler IdleChanged;\r\n\r\n public virtual void OnIdleChanged(bool newIdleValue)\r\n {\r\n IdleChanged?.Invoke(this, newIdleValue);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2ecd133df4908b35ea060612199fbc080dee4ae89ddb9b92324683ccfe11515a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MergeCastWithTypeCheck", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge cast with type check", + "markdown": "Merge cast with type check" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Properties/ScrollViewerBinding.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 318, + "startColumn": 72, + "charOffset": 11717, + "charLength": 2, + "snippet": { + "text": "is" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 316, + "startColumn": 1, + "charOffset": 11584, + "charLength": 197, + "snippet": { + "text": " scrollViewer.Loaded += (s, se) =>\r\n {\r\n if (!scrollViewer.HasContent || !(scrollViewer.Content is StackPanel))\r\n {\r\n return;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e83c60192a66c45167dee581ef62e7a7a629c37df150a83f64c8c589f4d96131" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MergeIntoPattern", + "kind": "fail", + "level": "note", + "message": { + "text": "Merge into pattern", + "markdown": "Merge into pattern" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Extensions/DateTimeExtension.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 56, + "startColumn": 34, + "charOffset": 1878, + "charLength": 2, + "snippet": { + "text": "&&" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 54, + "startColumn": 1, + "charOffset": 1772, + "charLength": 140, + "snippet": { + "text": " public static bool IsAprilFoolsDay(this DateTime dt)\r\n {\r\n return dt.Month == 4 && dt.Day == 1;\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4cdb4deedaf9d0068d7e487e927a24b1d25e39ba10ba4070afa1aed27d7a71d5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MethodHasAsyncOverload", + "kind": "fail", + "level": "note", + "message": { + "text": "Method has async overload", + "markdown": "Method has async overload" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 577, + "startColumn": 29, + "charOffset": 21361, + "charLength": 10, + "snippet": { + "text": "OnUIThread" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 575, + "startColumn": 1, + "charOffset": 21178, + "charLength": 352, + "snippet": { + "text": " {\r\n OutputDownloadProgress(downloading: false, output: LocalizationHelper.GetString(\"NewVersionDownloadFailedTitle\"));\r\n Execute.OnUIThread(() =>\r\n {\r\n using var toast = new ToastNotification(LocalizationHelper.GetString(\"NewVersionDownloadFailedTitle\"));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "30a2f73a678187d16265107d9b726a2791bc7e0d3417b0d534e07b9b15da31c4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MethodHasAsyncOverload", + "kind": "fail", + "level": "note", + "message": { + "text": "Method has async overload", + "markdown": "Method has async overload" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2214, + "startColumn": 25, + "charOffset": 83326, + "charLength": 10, + "snippet": { + "text": "OnUIThread" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2212, + "startColumn": 1, + "charOffset": 83248, + "charLength": 190, + "snippet": { + "text": " if (toastMessage != null)\r\n {\r\n Execute.OnUIThread(() =>\r\n {\r\n using var toast = new ToastNotification(toastMessage);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "36a9789690a002fe1aca54ad280aca3f9db81245ccccbb3fa0a3e572b6ac312a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MethodHasAsyncOverload", + "kind": "fail", + "level": "note", + "message": { + "text": "Method has async overload", + "markdown": "Method has async overload" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 465, + "startColumn": 25, + "charOffset": 16566, + "charLength": 10, + "snippet": { + "text": "OnUIThread" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 463, + "startColumn": 1, + "charOffset": 16483, + "charLength": 335, + "snippet": { + "text": " }));\r\n#pragma warning restore IDE0042\r\n Execute.OnUIThread(() =>\r\n {\r\n using var toast = new ToastNotification((otaFound ? LocalizationHelper.GetString(\"NewVersionFoundTitle\") : LocalizationHelper.GetString(\"NewVersionFoundButNoPackageTitle\")) + \" : \" + UpdateTag);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4ef6b75b8c86fafb454e47850bc4c15b11b006bdcaae37f2ffc873c3fab58d09" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'DeleteFileWithBackup' after 'return'", + "markdown": "Put local function 'DeleteFileWithBackup' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 232, + "startColumn": 25, + "charOffset": 8411, + "charLength": 20, + "snippet": { + "text": "DeleteFileWithBackup" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 230, + "startColumn": 1, + "charOffset": 8370, + "charLength": 115, + "snippet": { + "text": " }\r\n\r\n static void DeleteFileWithBackup(string filePath)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "054a8253374aba8b5757f61ace1947a4c9ea89a132f7cf999806a9b756b3ab58" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'GetDateTime' after 'return'", + "markdown": "Put local function 'GetDateTime' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 187, + "startColumn": 29, + "charOffset": 7242, + "charLength": 11, + "snippet": { + "text": "GetDateTime" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 185, + "startColumn": 1, + "charOffset": 7196, + "charLength": 206, + "snippet": { + "text": " };\r\n\r\n static DateTime GetDateTime(JToken keyValuePairs, string key)\r\n => DateTime.ParseExact(keyValuePairs[key].ToString(),\r\n \"yyyy/MM/dd HH:mm:ss\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1decd9ed92068222d2782bd3bdbc18fe3187939572a49bcce8658713eb39943a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'LoadResIfExists' after 'return'", + "markdown": "Put local function 'LoadResIfExists' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 232, + "startColumn": 25, + "charOffset": 7751, + "charLength": 15, + "snippet": { + "text": "LoadResIfExists" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 230, + "startColumn": 1, + "charOffset": 7680, + "charLength": 164, + "snippet": { + "text": " public bool LoadResource()\r\n {\r\n static bool LoadResIfExists(string path)\r\n {\r\n string resource = \"\\\\resource\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "360cce16bc2810f05b1649583810764f96f973a587cb5217e5618368424a4e78" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'timeLess' after 'return'", + "markdown": "Put local function 'timeLess' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2315, + "startColumn": 25, + "charOffset": 82742, + "charLength": 8, + "snippet": { + "text": "timeLess" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2313, + "startColumn": 1, + "charOffset": 82701, + "charLength": 187, + "snippet": { + "text": " }\r\n\r\n static bool timeLess(int lHour, int lMin, int rHour, int rMin) => (lHour != rHour) ? (lHour < rHour) : (lMin <= rMin);\r\n\r\n var now = DateTime.Now;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4b647ae5d4c2e5a2679be1c319ad3631df7b52a1184b2d673f6947555b7ce240" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'FormatText' after 'return'", + "markdown": "Put local function 'FormatText' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3054, + "startColumn": 24, + "charOffset": 114519, + "charLength": 10, + "snippet": { + "text": "FormatText" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3052, + "startColumn": 1, + "charOffset": 114408, + "charLength": 282, + "snippet": { + "text": " ConfigurationHelper.SetValue(ConfigurationKeys.Localization, value);\r\n\r\n string FormatText(string text, string key)\r\n => string.Format(text, LocalizationHelper.GetString(key, value), LocalizationHelper.GetString(key, _language));\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d8dbc84a53a9d211bf0829d14de74998a4f3ca3c75ed886cd112cb33ef5001f9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "MoveLocalFunctionAfterJumpStatement", + "kind": "fail", + "level": "note", + "message": { + "text": "Put local function 'generateJsonString' after 'return'", + "markdown": "Put local function 'generateJsonString' after 'return'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 83, + "startColumn": 27, + "charOffset": 2445, + "charLength": 18, + "snippet": { + "text": "generateJsonString" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 81, + "startColumn": 1, + "charOffset": 2402, + "charLength": 151, + "snippet": { + "text": " }\r\n\r\n static string generateJsonString(bool allFileDownloadComplete)\r\n {\r\n JObject json = new JObject\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ea2ede82c4d37d24340bc92659726808f83a4b9906562a6b146877ffe89656f9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "NotAccessedField.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Field 'hwnd' is assigned but its value is never used", + "markdown": "Field 'hwnd' is assigned but its value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 552, + "startColumn": 27, + "charOffset": 18324, + "charLength": 4, + "snippet": { + "text": "hwnd" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 550, + "startColumn": 1, + "charOffset": 18241, + "charLength": 118, + "snippet": { + "text": " /// 要闪烁或停止的窗口句柄\r\n /// \r\n public IntPtr hwnd;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "84aad81a945e6c25e6059843740f69da866aeb3f78134c94e55c6b4db87d2c0b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "NotAccessedField.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Field 'cbSize' is assigned but its value is never used", + "markdown": "Field 'cbSize' is assigned but its value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 547, + "startColumn": 25, + "charOffset": 18203, + "charLength": 6, + "snippet": { + "text": "cbSize" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 545, + "startColumn": 1, + "charOffset": 18129, + "charLength": 111, + "snippet": { + "text": " /// 结构大小\r\n /// \r\n public uint cbSize;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b8b1f7878c750c34132be320e4021355056af9eaff15a3a67f781cca72a38a96" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "NotAccessedField.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Field 'dwTimeout' is assigned but its value is never used", + "markdown": "Field 'dwTimeout' is assigned but its value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 567, + "startColumn": 25, + "charOffset": 18670, + "charLength": 9, + "snippet": { + "text": "dwTimeout" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 565, + "startColumn": 1, + "charOffset": 18589, + "charLength": 105, + "snippet": { + "text": " /// 窗口闪烁的频率(毫秒)\r\n /// \r\n public uint dwTimeout;\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c762512755ef417baa7e1877aad85ee5303a18a4d1b2ba958e0ccfa9a11470f2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "NotAccessedField.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Field 'dwFlags' is assigned but its value is never used", + "markdown": "Field 'dwFlags' is assigned but its value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 557, + "startColumn": 25, + "charOffset": 18435, + "charLength": 7, + "snippet": { + "text": "dwFlags" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 555, + "startColumn": 1, + "charOffset": 18360, + "charLength": 113, + "snippet": { + "text": " /// 闪烁的类型\r\n /// \r\n public uint dwFlags;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d085b390b87f6579cd559856a0afe0bd712017503350cd7d3475062ea93ce449" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "NotAccessedField.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Field 'uCount' is assigned but its value is never used", + "markdown": "Field 'uCount' is assigned but its value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 562, + "startColumn": 25, + "charOffset": 18551, + "charLength": 6, + "snippet": { + "text": "uCount" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 560, + "startColumn": 1, + "charOffset": 18474, + "charLength": 114, + "snippet": { + "text": " /// 闪烁窗口的次数\r\n /// \r\n public uint uCount;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d665576710e46592aff7e6c3686245a9b0d50a663fb12a2b39adee6d6424d50c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1022, + "startColumn": 44, + "charOffset": 42259, + "charLength": 27, + "snippet": { + "text": "subTaskDetails[\"doc_color\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1020, + "startColumn": 1, + "charOffset": 42143, + "charLength": 300, + "snippet": { + "text": " if (doc.Length != 0)\r\n {\r\n string color = subTaskDetails[\"doc_color\"].ToString();\r\n Instances.CopilotViewModel.AddLog(doc, color.Length == 0 ? UiLogColor.Message : color);\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "04099767d7e256b278352977e3cb0bdd95f1a482fdbec79d3c4c1f99a2b197cc" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 848, + "startColumn": 46, + "charOffset": 34500, + "charLength": 10, + "snippet": { + "text": "statistics" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 846, + "startColumn": 1, + "charOffset": 34319, + "charLength": 296, + "snippet": { + "text": " string all_drops = string.Empty;\r\n JArray statistics = (JArray)subTaskDetails[\"stats\"];\r\n foreach (var item in statistics)\r\n {\r\n string itemName = item[\"itemName\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "07ab5a43baf1699cf14066933a8e37faea9e46526122b1a0980ac4a46e67917d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1201, + "startColumn": 38, + "charOffset": 43529, + "charLength": 23, + "snippet": { + "text": "processes[0].MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1199, + "startColumn": 1, + "charOffset": 43438, + "charLength": 276, + "snippet": { + "text": " if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"MuMuManager.exe\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0922e82d07958cac64f61345aaafe21a7595dcb387326e722fd0f6aac0cf3b08" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 176, + "startColumn": 35, + "charOffset": 6584, + "charLength": 41, + "snippet": { + "text": "Marshal.PtrToStringAnsi(AsstGetVersion())" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 174, + "startColumn": 1, + "charOffset": 6501, + "charLength": 296, + "snippet": { + "text": " var clientType = GetClientType();\r\n\r\n bool isDebugVersion = Marshal.PtrToStringAnsi(AsstGetVersion()).Contains(\"DEBUG\");\r\n bool curVerParsed = SemVersion.TryParse(Marshal.PtrToStringAnsi(AsstGetVersion()), SemVersionStyles.AllowLowerV, out var curVersionObj);\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "09ffb2c806f9aa52c55dedced8068fbb66581105dccd39a7fdddca4d9ac03095" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 256, + "startColumn": 37, + "charOffset": 11668, + "charLength": 8, + "snippet": { + "text": "stageObj" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 254, + "startColumn": 1, + "charOffset": 11516, + "charLength": 313, + "snippet": { + "text": " {\r\n Display = stageObj?[\"Display\"]?.ToString() ?? string.Empty,\r\n Value = stageObj[\"Value\"].ToString(),\r\n Drop = stageObj?[\"Drop\"]?.ToString(),\r\n Activity = new StageActivityInfo()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0c44fdb2c51fc3f9b6dc11d6697922708e1d104ca8d690c0763825e4760b29c9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 731, + "startColumn": 40, + "charOffset": 26794, + "charLength": 14, + "snippet": { + "text": "_latestVersion" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 729, + "startColumn": 1, + "charOffset": 26693, + "charLength": 214, + "snippet": { + "text": "\r\n var cur_version_lower = _curVersion.ToLower();\r\n var latest_version_lower = _latestVersion.ToLower();\r\n foreach (var curAssets in _latestJson[\"assets\"] as JArray)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "15d4faeb3de39c1761bb707853654b925fe5085a4cb6bd52e047c79392ca0aa7" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 59, + "startColumn": 21, + "charOffset": 2015, + "charLength": 3, + "snippet": { + "text": "key" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 57, + "startColumn": 1, + "charOffset": 1954, + "charLength": 110, + "snippet": { + "text": " else\r\n {\r\n key.DeleteValue(\"MeoAsst\");\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "165fadc1f2544907c6d315d0110786b373162fc0448fab2df31c847b29045461" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 49, + "startColumn": 17, + "charOffset": 2100, + "charLength": 10, + "snippet": { + "text": "mainWindow" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 47, + "startColumn": 1, + "charOffset": 2011, + "charLength": 312, + "snippet": { + "text": " {\r\n var mainWindow = Application.Current.MainWindow;\r\n if (mainWindow.WindowState == WindowState.Normal)\r\n {\r\n // In Stylet, CreateWindow().WindowStartupLocation is CenterScreen or CenterOwner (if w.WSLoc == Manual && w.Left == NaN && w.Top == NaN && ...)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "17247ad5f8677194b3a5171febd240be27bb4637510e26e5965471cfe21e8ced" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 340, + "startColumn": 46, + "charOffset": 11991, + "charLength": 16, + "snippet": { + "text": "json[\"strategy\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 338, + "startColumn": 1, + "charOffset": 11860, + "charLength": 231, + "snippet": { + "text": " if (json.ContainsKey(\"strategy\"))\r\n {\r\n AddLog(\"开局策略:\" + json[\"strategy\"].ToString(), UiLogColor.Message);\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1a55899f2feb501d9fc038c1919752c6b0fb0f09f39f42b3bd19315411cae4a4" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2257, + "startColumn": 46, + "charOffset": 80539, + "charLength": 13, + "snippet": { + "text": "periodJson[1]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2255, + "startColumn": 1, + "charOffset": 80414, + "charLength": 289, + "snippet": { + "text": " period.BeginMinute = int.Parse(beginSplited[1]);\r\n\r\n string endTime = periodJson[1].ToString();\r\n var endSplited = endTime.Split(':');\r\n period.EndHour = int.Parse(endSplited[0]);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1c98351740e4a745f572940cb5c716f542dc79fb5ed1f0dd9faf3a57c6da5b04" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2227, + "startColumn": 32, + "charOffset": 78878, + "charLength": 19, + "snippet": { + "text": "root[\"description\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2225, + "startColumn": 1, + "charOffset": 78766, + "charLength": 187, + "snippet": { + "text": " if (root.ContainsKey(\"description\"))\r\n {\r\n AddLog(root[\"description\"].ToString());\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1efe41754f020c19ca2e89fe89022754d1aab5f5097eb6b125691682f56439f6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 208, + "startColumn": 72, + "charOffset": 6860, + "charLength": 19, + "snippet": { + "text": "json[\"status_code\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 206, + "startColumn": 1, + "charOffset": 6567, + "charLength": 417, + "snippet": { + "text": " var jsonResponse = await Instances.HttpService.GetStringAsync(new Uri($@\"https://prts.maa.plus/copilot/get/{copilotID}\"));\r\n var json = (JObject)JsonConvert.DeserializeObject(jsonResponse);\r\n if (json != null && json.ContainsKey(\"status_code\") && json[\"status_code\"].ToString() == \"200\")\r\n {\r\n return json[\"data\"][\"content\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1f5b74be7ab0c4092e6167b48cf73ab7bebfed66cdbba1bb23908ee4e92e08bb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2249, + "startColumn": 52, + "charOffset": 80072, + "charLength": 11, + "snippet": { + "text": "periodArray" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2247, + "startColumn": 1, + "charOffset": 79931, + "charLength": 262, + "snippet": { + "text": " {\r\n var periodArray = (JArray)plan[\"period\"];\r\n foreach (var periodJson in periodArray)\r\n {\r\n var period = default(CustomInfrastPlanInfo.Period);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1fc55cd22d8e8dc514dbf020ab72e91be9435c512b90bb3d0c4c0437e69df34b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 732, + "startColumn": 39, + "charOffset": 26859, + "charLength": 11, + "snippet": { + "text": "_latestJson" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 730, + "startColumn": 1, + "charOffset": 26695, + "charLength": 283, + "snippet": { + "text": " var cur_version_lower = _curVersion.ToLower();\r\n var latest_version_lower = _latestVersion.ToLower();\r\n foreach (var curAssets in _latestJson[\"assets\"] as JArray)\r\n {\r\n string name = curAssets[\"name\"].ToString().ToLower();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "24fb63057927d318d854a5fe5e92eba5248eee16d3216fae4dae92635194e180" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2252, + "startColumn": 48, + "charOffset": 80241, + "charLength": 13, + "snippet": { + "text": "periodJson[0]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2250, + "startColumn": 1, + "charOffset": 80086, + "charLength": 327, + "snippet": { + "text": " {\r\n var period = default(CustomInfrastPlanInfo.Period);\r\n string beginTime = periodJson[0].ToString();\r\n var beginSplited = beginTime.Split(':');\r\n period.BeginHour = int.Parse(beginSplited[0]);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "25aa432d6e1d1e95938da2736db15a9fecaaa3bd89e4215d05789776ff45eb7c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 380, + "startColumn": 34, + "charOffset": 13050, + "charLength": 31, + "snippet": { + "text": "details[\"arkplanner\"][\"object\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 378, + "startColumn": 1, + "charOffset": 12972, + "charLength": 275, + "snippet": { + "text": " {\r\n DepotResult.Clear();\r\n foreach (var item in details[\"arkplanner\"][\"object\"][\"items\"].Cast())\r\n {\r\n DepotResultDate result = new DepotResultDate() { Name = (string)item[\"name\"], Count = (int)item[\"have\"] };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "27548d73d0b2b8f6a877a811938585abf7f427334101a44b4ed50f0bac631579" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 297, + "startColumn": 50, + "charOffset": 10170, + "charLength": 22, + "snippet": { + "text": "(JArray)combs[\"opers\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 295, + "startColumn": 1, + "charOffset": 10065, + "charLength": 230, + "snippet": { + "text": "\r\n resultContent += \"\\n\\t\";\r\n foreach (var oper in (JArray)combs[\"opers\"])\r\n {\r\n int oper_level = (int)oper[\"level\"];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "277c7d6cc03c61c71f1c1d10504c63bfb4ef35c7573d01c12d9d0167e29faa54" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 420, + "startColumn": 40, + "charOffset": 14961, + "charLength": 29, + "snippet": { + "text": "details[\"details\"][\"address\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 418, + "startColumn": 1, + "charOffset": 14809, + "charLength": 306, + "snippet": { + "text": " connected = true;\r\n connectedAdb = details[\"details\"][\"adb\"].ToString();\r\n connectedAddress = details[\"details\"][\"address\"].ToString();\r\n Instances.SettingsViewModel.ConnectAddress = connectedAddress;\r\n break;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "27ca70b4330aa3995ad6f30b15399f512903edb8b025fb842d9302d1f8b36862" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 419, + "startColumn": 36, + "charOffset": 14883, + "charLength": 25, + "snippet": { + "text": "details[\"details\"][\"adb\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 417, + "startColumn": 1, + "charOffset": 14774, + "charLength": 313, + "snippet": { + "text": " case \"Connected\":\r\n connected = true;\r\n connectedAdb = details[\"details\"][\"adb\"].ToString();\r\n connectedAddress = details[\"details\"][\"address\"].ToString();\r\n Instances.SettingsViewModel.ConnectAddress = connectedAddress;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2c1ae6fb81f038320ae4028609266621fecc532c9880ae25691791f5043bb8ea" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1259, + "startColumn": 38, + "charOffset": 45898, + "charLength": 23, + "snippet": { + "text": "processes[0].MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1257, + "startColumn": 1, + "charOffset": 45807, + "charLength": 274, + "snippet": { + "text": " if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"ldconsole.exe\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2d23ddbafb12dde6e5e3f868274b7c9c410c5d96302b677ef328edb241170317" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 250, + "startColumn": 25, + "charOffset": 8326, + "charLength": 3, + "snippet": { + "text": "doc" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 248, + "startColumn": 1, + "charOffset": 8221, + "charLength": 230, + "snippet": { + "text": " {\r\n string title_color = UiLogColor.Message;\r\n if (doc.ContainsKey(\"title_color\"))\r\n {\r\n title_color = doc[\"title_color\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3352aeb8c188d39629d3317146b9119d8a7fa43afd5807c37a02d76bd0d05c5d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2221, + "startColumn": 49, + "charOffset": 78546, + "charLength": 4, + "snippet": { + "text": "root" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2219, + "startColumn": 1, + "charOffset": 78419, + "charLength": 274, + "snippet": { + "text": " var root = (JObject)JsonConvert.DeserializeObject(jsonStr);\r\n\r\n if (_customInfrastInfoOutput && root.ContainsKey(\"title\"))\r\n {\r\n AddLog(LocalizationHelper.GetString(\"CustomInfrastTitle\"), UiLogColor.Message);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "337eff6872350c05f978bfbb3c09466819f98b5013926355b47844d16a314ede" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 888, + "startColumn": 50, + "charOffset": 36476, + "charLength": 4, + "snippet": { + "text": "tags" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 886, + "startColumn": 1, + "charOffset": 36296, + "charLength": 280, + "snippet": { + "text": " JArray tags = (JArray)subTaskDetails[\"tags\"];\r\n string log_content = string.Empty;\r\n foreach (var tag_name in tags)\r\n {\r\n string tag_str = tag_name.ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "340cdf02cc15a4bcd0ea06f64d4d0264e5f4085cebc8b723faa8a492fbefa106" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 850, + "startColumn": 47, + "charOffset": 34586, + "charLength": 16, + "snippet": { + "text": "item[\"itemName\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 848, + "startColumn": 1, + "charOffset": 34455, + "charLength": 305, + "snippet": { + "text": " foreach (var item in statistics)\r\n {\r\n string itemName = item[\"itemName\"].ToString();\r\n int totalQuantity = (int)item[\"quantity\"];\r\n int addQuantity = (int)item[\"addQuantity\"];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4012652017e3cb4fadab9e280777ec1c2e36997214c36e776cc9fdea3664beb7" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2224, + "startColumn": 28, + "charOffset": 78721, + "charLength": 13, + "snippet": { + "text": "root[\"title\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2222, + "startColumn": 1, + "charOffset": 78574, + "charLength": 272, + "snippet": { + "text": " {\r\n AddLog(LocalizationHelper.GetString(\"CustomInfrastTitle\"), UiLogColor.Message);\r\n AddLog(root[\"title\"].ToString(), UiLogColor.Info);\r\n if (root.ContainsKey(\"description\"))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "438fa9045251cebbf8e50726ad6d7ec01e471746cbab3e4308c4da25ca2a61ab" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 109, + "startColumn": 21, + "charOffset": 3658, + "charLength": 4, + "snippet": { + "text": "icon" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 107, + "startColumn": 1, + "charOffset": 3482, + "charLength": 287, + "snippet": { + "text": " var icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);\r\n var imageSource = Imaging.CreateBitmapSourceFromHIcon(\r\n icon.Handle,\r\n Int32Rect.Empty,\r\n BitmapSizeOptions.FromEmptyOptions());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "44187c6eea8ff433d6505cc91857674fa08bab862c52a73a696d6bb63399a1af" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 902, + "startColumn": 42, + "charOffset": 37097, + "charLength": 21, + "snippet": { + "text": "subTaskDetails[\"tag\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 900, + "startColumn": 1, + "charOffset": 36990, + "charLength": 272, + "snippet": { + "text": " case \"RecruitSpecialTag\":\r\n {\r\n string special = subTaskDetails[\"tag\"].ToString();\r\n if (special == \"支援机械\" && Instances.SettingsViewModel.NotChooseLevel1 == false)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4574ae9adbb5d27670144c4eeb4a51bad2b7cc7aa47636c2a8969ca2bfad8eca" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 570, + "startColumn": 25, + "charOffset": 21763, + "charLength": 14, + "snippet": { + "text": "finished_tasks" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 568, + "startColumn": 1, + "charOffset": 21598, + "charLength": 298, + "snippet": { + "text": " bool isMainTaskQueueAllCompleted = true;\r\n var finished_tasks = details[\"finished_tasks\"] as JArray;\r\n if (finished_tasks.Count == 1)\r\n {\r\n var unique_finished_task = (AsstTaskId)finished_tasks[0];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "486c4fa6611786e7b34db2abc291a5a84541444443089b9706799e388a577aeb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 271, + "startColumn": 50, + "charOffset": 9062, + "charLength": 4, + "snippet": { + "text": "tags" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 269, + "startColumn": 1, + "charOffset": 8842, + "charLength": 320, + "snippet": { + "text": " JArray tags = (JArray)subTaskDetails[\"tags\"];\r\n string info_content = LocalizationHelper.GetString(\"RecruitTagsDetected\");\r\n foreach (var tag_name in tags)\r\n {\r\n string tag_str = tag_name.ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5280d2ac891beec00efe9eb2eb9783d9bf04f80995100ee53b1a961b2116a5d2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1061, + "startColumn": 42, + "charOffset": 43843, + "charLength": 23, + "snippet": { + "text": "subTaskDetails[\"names\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1059, + "startColumn": 1, + "charOffset": 43698, + "charLength": 253, + "snippet": { + "text": " case \"CustomInfrastRoomOperators\":\r\n string nameStr = string.Empty;\r\n foreach (var name in subTaskDetails[\"names\"])\r\n {\r\n nameStr += name.ToString() + \", \";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "542880acbf45a41e24c37d99d5af7dbf332947b373911e1f37ec3924781d9aaf" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 734, + "startColumn": 31, + "charOffset": 26938, + "charLength": 17, + "snippet": { + "text": "curAssets[\"name\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 732, + "startColumn": 1, + "charOffset": 26821, + "charLength": 210, + "snippet": { + "text": " foreach (var curAssets in _latestJson[\"assets\"] as JArray)\r\n {\r\n string name = curAssets[\"name\"].ToString().ToLower();\r\n\r\n if (IsArm ^ name.Contains(\"arm\"))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "54469c89209ea886ccaf8118cf628893eb0689b1c43b6ce87a16f99ff6269aea" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1003, + "startColumn": 37, + "charOffset": 41388, + "charLength": 20, + "snippet": { + "text": "subTaskDetails[\"id\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1001, + "startColumn": 1, + "charOffset": 41294, + "charLength": 219, + "snippet": { + "text": " case \"PenguinId\":\r\n {\r\n string id = subTaskDetails[\"id\"].ToString();\r\n Instances.SettingsViewModel.PenguinId = id;\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "58021aaa99a30ecfe36899016cdd1f1a0b54e9fbb0e8adddd0010122100a391a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2559, + "startColumn": 43, + "charOffset": 96212, + "charLength": 24, + "snippet": { + "text": "versionJson?[\"activity\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2557, + "startColumn": 1, + "charOffset": 95993, + "charLength": 301, + "snippet": { + "text": " JObject versionJson = (JObject)JsonConvert.DeserializeObject(File.ReadAllText(jsonPath));\r\n var poolTime = (ulong)versionJson?[\"gacha\"][\"time\"];\r\n var activityTime = (ulong)versionJson?[\"activity\"][\"time\"];\r\n\r\n if (poolTime > activityTime)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5a80a8b46181cc9d72afc98b6088071791f654dc6db6db9db4c2be8a871081f0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1103, + "startColumn": 36, + "charOffset": 45794, + "charLength": 30, + "snippet": { + "text": "details[\"details\"][\"filename\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1101, + "startColumn": 1, + "charOffset": 45710, + "charLength": 226, + "snippet": { + "text": " {\r\n case \"Finished\":\r\n var filename = details[\"details\"][\"filename\"].ToString();\r\n Instances.CopilotViewModel.AddLog(\"Save to: \" + filename, UiLogColor.Info);\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5b14df3a6f6e7b425cf3a0396db8f38a292f4eba0563200f284e5db36e92c3ed" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1028, + "startColumn": 33, + "charOffset": 42627, + "charLength": 24, + "snippet": { + "text": "subTaskDetails[\"action\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1026, + "startColumn": 1, + "charOffset": 42446, + "charLength": 313, + "snippet": { + "text": " Instances.CopilotViewModel.AddLog(\r\n string.Format(LocalizationHelper.GetString(\"CurrentSteps\"),\r\n subTaskDetails[\"action\"].ToString(),\r\n subTaskDetails[\"target\"].ToString()));\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5b443927bd6afdf9c9da62446b76ae369db26bf3aca2eca359e2148c5e1ba9cb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 682, + "startColumn": 35, + "charOffset": 26762, + "charLength": 26, + "snippet": { + "text": "details[\"details\"][\"task\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 680, + "startColumn": 1, + "charOffset": 26670, + "charLength": 205, + "snippet": { + "text": " if (subTask == \"ProcessTask\")\r\n {\r\n string taskName = details[\"details\"][\"task\"].ToString();\r\n int execTimes = (int)details[\"details\"][\"exec_times\"];\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c0981a446691a6843f6ee380c268adcb9e80ca6925cd4d6549b3e9513a36178" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 330, + "startColumn": 49, + "charOffset": 11561, + "charLength": 16, + "snippet": { + "text": "json[\"tool_men\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 328, + "startColumn": 1, + "charOffset": 11427, + "charLength": 213, + "snippet": { + "text": " if (json.ContainsKey(\"tool_men\"))\r\n {\r\n AddLog(\"编队工具人:\\n\" + json[\"tool_men\"].ToString(), UiLogColor.Message);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5ce68945ec3944427466859eb2e2b46fd49379a73fbf6ac372c7f93b456d907f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 35, + "startColumn": 24, + "charOffset": 1234, + "charLength": 3, + "snippet": { + "text": "key" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 33, + "startColumn": 1, + "charOffset": 1070, + "charLength": 231, + "snippet": { + "text": " {\r\n using var key = Registry.CurrentUser.OpenSubKey(\"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\", false);\r\n return key.GetValue(\"MeoAsst\") != null;\r\n }\r\n catch\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "61b63ff8739e57f1408a8ee51d44ec265d13c6c6a692466c0d57a7efed0b1696" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1407, + "startColumn": 38, + "charOffset": 52029, + "charLength": 23, + "snippet": { + "text": "processes[0].MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1405, + "startColumn": 1, + "charOffset": 51938, + "charLength": 274, + "snippet": { + "text": " if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"bsconsole.exe\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6314f8b8137e638303abe07ca3aad1ff1b1ebf61153d9d7e74de27d16ef0f548" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2231, + "startColumn": 41, + "charOffset": 78996, + "charLength": 4, + "snippet": { + "text": "root" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2229, + "startColumn": 1, + "charOffset": 78935, + "charLength": 154, + "snippet": { + "text": " }\r\n\r\n var plan_list = (JArray)root[\"plans\"];\r\n for (int i = 0; i < plan_list.Count; ++i)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "640768017924002a0ff45eeabbf6ba822d85b4a6cd2599d7590bcb6d7e4cf73f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 287, + "startColumn": 47, + "charOffset": 9687, + "charLength": 12, + "snippet": { + "text": "result_array" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 285, + "startColumn": 1, + "charOffset": 9487, + "charLength": 307, + "snippet": { + "text": " JArray result_array = (JArray)subTaskDetails[\"result\"];\r\n /* int level = (int)subTaskDetails[\"level\"]; */\r\n foreach (var combs in result_array)\r\n {\r\n int tag_level = (int)combs[\"level\"];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "66189820dbabbbd5e6fc7e65f87e66f8db17024f77e2fb3b667124de914dfe31" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 269, + "startColumn": 41, + "charOffset": 9004, + "charLength": 20, + "snippet": { + "text": "doc[\"details_color\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 267, + "startColumn": 1, + "charOffset": 8882, + "charLength": 180, + "snippet": { + "text": " if (doc.ContainsKey(\"details_color\"))\r\n {\r\n details_color = doc[\"details_color\"].ToString();\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6adb546be7dba69a498669eb07a93aa148612dd652fb2fb168dc50d85770f6bf" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2235, + "startColumn": 65, + "charOffset": 79209, + "charLength": 12, + "snippet": { + "text": "plan[\"name\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2233, + "startColumn": 1, + "charOffset": 79071, + "charLength": 433, + "snippet": { + "text": " {\r\n var plan = (JObject)plan_list[i];\r\n string display = plan.ContainsKey(\"name\") ? plan[\"name\"].ToString() : (\"Plan \" + ((char)('A' + i)).ToString());\r\n CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "776c52cbb402d0121726118fb08dcddb94a4b3f65cf77aa001aa172a2ab9041f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2558, + "startColumn": 39, + "charOffset": 96138, + "charLength": 21, + "snippet": { + "text": "versionJson?[\"gacha\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2556, + "startColumn": 1, + "charOffset": 95978, + "charLength": 270, + "snippet": { + "text": " {\r\n JObject versionJson = (JObject)JsonConvert.DeserializeObject(File.ReadAllText(jsonPath));\r\n var poolTime = (ulong)versionJson?[\"gacha\"][\"time\"];\r\n var activityTime = (ulong)versionJson?[\"activity\"][\"time\"];\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7ba4c19aefb6488dfd60bb4645e1b12a04d3fe68fd0063d9d5a683503ab52d4f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1364, + "startColumn": 38, + "charOffset": 50207, + "charLength": 23, + "snippet": { + "text": "processes[0].MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1362, + "startColumn": 1, + "charOffset": 50116, + "charLength": 270, + "snippet": { + "text": " if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"memuc.exe\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7fce27bed72d453081c25ab434416d6579b8bf16b94df30330a1f7f54db86d73" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 291, + "startColumn": 49, + "charOffset": 9915, + "charLength": 21, + "snippet": { + "text": "(JArray)combs[\"tags\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 289, + "startColumn": 1, + "charOffset": 9729, + "charLength": 304, + "snippet": { + "text": " int tag_level = (int)combs[\"level\"];\r\n resultContent += tag_level + \" ★ Tags: \";\r\n foreach (var tag in (JArray)combs[\"tags\"])\r\n {\r\n resultContent += tag + \" \";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "86bf54942c07dae558caf646fdd6be62330dbf9a8c40e3b4f696ac5231ca9e3e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1214, + "startColumn": 25, + "charOffset": 44172, + "charLength": 7, + "snippet": { + "text": "process" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1212, + "startColumn": 1, + "charOffset": 44063, + "charLength": 290, + "snippet": { + "text": " };\r\n var process = Process.Start(startInfo);\r\n if (process.WaitForExit(5000))\r\n {\r\n _logger.Information($\"Emulator at index {emuIndex} closed through console. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8b8bbf2ae3d62df7143ab7443df8a442ca3cd4645619b7aa9a96d4b74c070d6b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1328, + "startColumn": 25, + "charOffset": 48763, + "charLength": 7, + "snippet": { + "text": "process" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1326, + "startColumn": 1, + "charOffset": 48654, + "charLength": 290, + "snippet": { + "text": " };\r\n var process = Process.Start(startInfo);\r\n if (process.WaitForExit(5000))\r\n {\r\n _logger.Information($\"Emulator at index {emuIndex} closed through console. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8cf6ff454c5fd30fbff000d3214280df39afe322d75263e8c131135c9794a43b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1315, + "startColumn": 38, + "charOffset": 48132, + "charLength": 23, + "snippet": { + "text": "processes[0].MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1313, + "startColumn": 1, + "charOffset": 48041, + "charLength": 275, + "snippet": { + "text": " if (processes.Length > 0)\r\n {\r\n string emuLocation = processes[0].MainModule.FileName;\r\n emuLocation = Path.GetDirectoryName(emuLocation);\r\n string consolePath = Path.Combine(emuLocation, \"NoxConsole.exe\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "944e92791eae2d665954787c9615c40487941dadf8553224aa9000b5231e1080" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 261, + "startColumn": 31, + "charOffset": 8708, + "charLength": 14, + "snippet": { + "text": "doc[\"details\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 259, + "startColumn": 1, + "charOffset": 8595, + "charLength": 161, + "snippet": { + "text": " if (doc != null && doc.ContainsKey(\"details\"))\r\n {\r\n details = doc[\"details\"].ToString();\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "94b7416aa326f76faa89689e4e95d4610fcd5963a3abdcbbced9159848b52c3e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1377, + "startColumn": 25, + "charOffset": 50829, + "charLength": 7, + "snippet": { + "text": "process" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1375, + "startColumn": 1, + "charOffset": 50720, + "charLength": 290, + "snippet": { + "text": " };\r\n var process = Process.Start(startInfo);\r\n if (process.WaitForExit(5000))\r\n {\r\n _logger.Information($\"Emulator at index {emuIndex} closed through console. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "95c2a5ebedb449c037a9d78b7295e058e09c009da64b8152abe8c83b7d67398d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2232, + "startColumn": 37, + "charOffset": 79048, + "charLength": 9, + "snippet": { + "text": "plan_list" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2230, + "startColumn": 1, + "charOffset": 78954, + "charLength": 190, + "snippet": { + "text": "\r\n var plan_list = (JArray)root[\"plans\"];\r\n for (int i = 0; i < plan_list.Count; ++i)\r\n {\r\n var plan = (JObject)plan_list[i];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9acb39b35fccc48fa7bc4fd02c5157109cfbc23cdf93ebedd9b7bf1cf00d7d2f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 128, + "startColumn": 37, + "charOffset": 4414, + "charLength": 31, + "snippet": { + "text": "webLastUpdatedJson[\"timestamp\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 126, + "startColumn": 1, + "charOffset": 4272, + "charLength": 404, + "snippet": { + "text": " {\r\n long localTimestamp = localLastUpdatedJson[\"timestamp\"].ToObject();\r\n long webTimestamp = webLastUpdatedJson[\"timestamp\"].ToObject();\r\n bool allFileDownloadComplete = allFileDownloadCompleteJson?[\"allFileDownloadComplete\"]?.ToObject() ?? false;\r\n if (webTimestamp <= localTimestamp && allFileDownloadComplete)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a57dbf67f565f266453fe76778d686913a280d9bdcc8b3ebe06e973cafb4ed60" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 335, + "startColumn": 52, + "charOffset": 11779, + "charLength": 17, + "snippet": { + "text": "json[\"equipment\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 333, + "startColumn": 1, + "charOffset": 11641, + "charLength": 218, + "snippet": { + "text": " if (json.ContainsKey(\"equipment\"))\r\n {\r\n AddLog(\"开局装备(横向):\\n\" + json[\"equipment\"].ToString(), UiLogColor.Message);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a711136bba6a759268a407992421948545490c832b26e750e5a1fc61c8e5cdf1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 55, + "startColumn": 21, + "charOffset": 1884, + "charLength": 3, + "snippet": { + "text": "key" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 53, + "startColumn": 1, + "charOffset": 1819, + "charLength": 156, + "snippet": { + "text": " if (set)\r\n {\r\n key.SetValue(\"MeoAsst\", \"\\\"\" + fileValue + \"\\\"\");\r\n }\r\n else\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a90abede6be8e59a6e3a249c037919e15f063c8e0ea88e2ac5fbb784b84e0b9f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1029, + "startColumn": 33, + "charOffset": 42697, + "charLength": 24, + "snippet": { + "text": "subTaskDetails[\"target\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1027, + "startColumn": 1, + "charOffset": 42506, + "charLength": 255, + "snippet": { + "text": " string.Format(LocalizationHelper.GetString(\"CurrentSteps\"),\r\n subTaskDetails[\"action\"].ToString(),\r\n subTaskDetails[\"target\"].ToString()));\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "afb9ebb640a0fafdf0f5467a827c4fadb5b255808e833978fda316c9f3c94705" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 244, + "startColumn": 29, + "charOffset": 8134, + "charLength": 12, + "snippet": { + "text": "doc[\"title\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 242, + "startColumn": 1, + "charOffset": 8025, + "charLength": 155, + "snippet": { + "text": " if (doc != null && doc.ContainsKey(\"title\"))\r\n {\r\n title = doc[\"title\"].ToString();\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bb381921addfdad7b21305908228f3babdc82c4319847fcfd581c02dc6d5fb83" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 300, + "startColumn": 52, + "charOffset": 10347, + "charLength": 12, + "snippet": { + "text": "oper[\"name\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 298, + "startColumn": 1, + "charOffset": 10195, + "charLength": 245, + "snippet": { + "text": " {\r\n int oper_level = (int)oper[\"level\"];\r\n string oper_name = oper[\"name\"].ToString();\r\n\r\n string potential = string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bfc25ee7a83f62dc613298c8b754aa4a4512acf42bf149882f3bd9477f913a67" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 110, + "startColumn": 13, + "charOffset": 3898, + "charLength": 45, + "snippet": { + "text": "System.Windows.Application.Current.MainWindow" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 108, + "startColumn": 1, + "charOffset": 3816, + "charLength": 150, + "snippet": { + "text": " private void App_exit(object sender, EventArgs e)\r\n {\r\n System.Windows.Application.Current.MainWindow.Close();\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c8d4e4d8776404d99fd2a230f967fd0e0f7a0356ef5eab253da1b975acda525c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3058, + "startColumn": 17, + "charOffset": 114773, + "charLength": 10, + "snippet": { + "text": "mainWindow" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3056, + "startColumn": 1, + "charOffset": 114689, + "charLength": 230, + "snippet": { + "text": "\r\n var mainWindow = Application.Current.MainWindow;\r\n mainWindow.Show();\r\n mainWindow.WindowState = mainWindow.WindowState = WindowState.Normal;\r\n mainWindow.Activate();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cc1884566c88451fd271ee221160db9b481e61da313a4f9a3848e65ddb715225" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1272, + "startColumn": 25, + "charOffset": 46529, + "charLength": 7, + "snippet": { + "text": "process" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1270, + "startColumn": 1, + "charOffset": 46420, + "charLength": 290, + "snippet": { + "text": " };\r\n var process = Process.Start(startInfo);\r\n if (process.WaitForExit(5000))\r\n {\r\n _logger.Information($\"Emulator at index {emuIndex} closed through console. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cf877895cdfdaf069d67d93b9ef98745e345c2e9808be617f6183bd3c58c0e85" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 916, + "startColumn": 42, + "charOffset": 37675, + "charLength": 21, + "snippet": { + "text": "subTaskDetails[\"tag\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 914, + "startColumn": 1, + "charOffset": 37570, + "charLength": 331, + "snippet": { + "text": " case \"RecruitRobotTag\":\r\n {\r\n string special = subTaskDetails[\"tag\"].ToString();\r\n using var toast = new ToastNotification(LocalizationHelper.GetString(\"RecruitingTips\"));\r\n toast.AppendContentText(special).ShowRecruitRobot();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d11e04301c88bb5308d4b847cbd12e75e7da17f4d21267671931590f9a011f83" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 252, + "startColumn": 39, + "charOffset": 8420, + "charLength": 18, + "snippet": { + "text": "doc[\"title_color\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 250, + "startColumn": 1, + "charOffset": 8302, + "charLength": 174, + "snippet": { + "text": " if (doc.ContainsKey(\"title_color\"))\r\n {\r\n title_color = doc[\"title_color\"].ToString();\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d15c193f6c8a32014d23f533dc9a16f4b9e02c7b1b31dfb6a955c89ca93428dd" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 960, + "startColumn": 45, + "charOffset": 39709, + "charLength": 8, + "snippet": { + "text": "selected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 958, + "startColumn": 1, + "charOffset": 39529, + "charLength": 274, + "snippet": { + "text": " JArray selected = (JArray)subTaskDetails[\"tags\"];\r\n string selected_log = string.Empty;\r\n foreach (var tag in selected)\r\n {\r\n selected_log += tag + \"\\n\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d2e0674a1a7fed4c74098bc697d39533fbe28467166cf733d1894507d8ea89f3" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 220, + "startColumn": 31, + "charOffset": 8203, + "charLength": 42, + "snippet": { + "text": "parsed[ConfigurationKeys.ConfigurationMap]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 218, + "startColumn": 1, + "charOffset": 8118, + "charLength": 326, + "snippet": { + "text": " {\r\n // new version\r\n _kvsMap = parsed[ConfigurationKeys.ConfigurationMap].ToObject>>();\r\n _current = parsed[ConfigurationKeys.CurrentConfiguration].ToString();\r\n _kvs = _kvsMap[_current];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d4d8a2e20f6bf357254fa7d0cbc8b7be658be87fa5bf458b50eb7c84f16408e3" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 237, + "startColumn": 34, + "charOffset": 9096, + "charLength": 45, + "snippet": { + "text": "parsed[ConfigurationKeys.GlobalConfiguration]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 235, + "startColumn": 1, + "charOffset": 8964, + "charLength": 259, + "snippet": { + "text": " if (parsed.ContainsKey(ConfigurationKeys.GlobalConfiguration))\r\n {\r\n _globalKvs = parsed[ConfigurationKeys.GlobalConfiguration].ToObject>();\r\n }\r\n else\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d8eaf2c9ca4e9cf81ecc6b76802c7fba88ae61bf3b518f8394f4fff303a730b0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1559, + "startColumn": 28, + "charOffset": 57538, + "charLength": 4, + "snippet": { + "text": "line" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1557, + "startColumn": 1, + "charOffset": 57471, + "charLength": 122, + "snippet": { + "text": " try\r\n {\r\n line = line.Trim();\r\n }\r\n catch\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "da30c298fa56e0c96452cfce6d678a9888cd61ad1c1d61cec5ad004045afea24" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 210, + "startColumn": 28, + "charOffset": 6948, + "charLength": 12, + "snippet": { + "text": "json[\"data\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 208, + "startColumn": 1, + "charOffset": 6789, + "charLength": 236, + "snippet": { + "text": " if (json != null && json.ContainsKey(\"status_code\") && json[\"status_code\"].ToString() == \"200\")\r\n {\r\n return json[\"data\"][\"content\"].ToString();\r\n }\r\n else\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e3888b1ac1ed5d84ba0a3f338138306fd1a520ea2886c1ac949badfe00072970" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 267, + "startColumn": 25, + "charOffset": 8906, + "charLength": 3, + "snippet": { + "text": "doc" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 265, + "startColumn": 1, + "charOffset": 8799, + "charLength": 238, + "snippet": { + "text": " {\r\n string details_color = UiLogColor.Message;\r\n if (doc.ContainsKey(\"details_color\"))\r\n {\r\n details_color = doc[\"details_color\"].ToString();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e57e74cc27c0132777b28825ef3f1d762c25fade1a841e249345a56d139ec1b9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 127, + "startColumn": 39, + "charOffset": 4325, + "charLength": 33, + "snippet": { + "text": "localLastUpdatedJson[\"timestamp\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 125, + "startColumn": 1, + "charOffset": 4195, + "charLength": 401, + "snippet": { + "text": " if (localLastUpdatedJson != null && webLastUpdatedJson != null)\r\n {\r\n long localTimestamp = localLastUpdatedJson[\"timestamp\"].ToObject();\r\n long webTimestamp = webLastUpdatedJson[\"timestamp\"].ToObject();\r\n bool allFileDownloadComplete = allFileDownloadCompleteJson?[\"allFileDownloadComplete\"]?.ToObject() ?? false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e622a6782e590e5001e036ef037ee1fa44c628c649271ad4fbc4faa98ad8c89a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 234, + "startColumn": 55, + "charOffset": 10595, + "charLength": 8, + "snippet": { + "text": "stageObj" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 232, + "startColumn": 1, + "charOffset": 10414, + "charLength": 447, + "snippet": { + "text": " Activity = new StageActivityInfo()\r\n {\r\n Tip = stageObj[\"Activity\"]?[\"Tip\"]?.ToString(),\r\n StageName = stageObj[\"Activity\"]?[\"StageName\"]?.ToString(),\r\n UtcStartTime = GetDateTime(stageObj[\"Activity\"], \"UtcStartTime\"),\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ed11f749c1fd62d3e6a4bd684b4b72de8e5ebf32227bb6c59235e8890d48d54a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1036, + "startColumn": 78, + "charOffset": 42926, + "charLength": 23, + "snippet": { + "text": "subTaskDetails[\"stage\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1034, + "startColumn": 1, + "charOffset": 42792, + "charLength": 213, + "snippet": { + "text": " case \"SSSStage\":\r\n {\r\n Instances.CopilotViewModel.AddLog(\"CurrentStage: \" + subTaskDetails[\"stage\"].ToString(), UiLogColor.Info);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "efaa8c1d4492dd2c85d1d5ebd2cc0109b3b6da66689403fc719a99bfa12532be" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 221, + "startColumn": 32, + "charOffset": 8338, + "charLength": 46, + "snippet": { + "text": "parsed[ConfigurationKeys.CurrentConfiguration]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 219, + "startColumn": 1, + "charOffset": 8137, + "charLength": 326, + "snippet": { + "text": " // new version\r\n _kvsMap = parsed[ConfigurationKeys.ConfigurationMap].ToObject>>();\r\n _current = parsed[ConfigurationKeys.CurrentConfiguration].ToString();\r\n _kvs = _kvsMap[_current];\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0709f28606f27164dcc01716c1231a0679763b1161d2548ade371c1f45bb5d7" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 85, + "startColumn": 39, + "charOffset": 3158, + "charLength": 18, + "snippet": { + "text": "process.MainModule" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 83, + "startColumn": 1, + "charOffset": 2996, + "charLength": 290, + "snippet": { + "text": " var emulatorId = _emulatorIdDict[process.ProcessName];\r\n emulators.Add(emulatorId);\r\n var processPath = process.MainModule.FileName;\r\n foreach (var path in _adbRelativePathDict[emulatorId])\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0a6a938983a7a1d6357d789d3f2b831ac2fffd4f6c863aa7079c767567d4e8e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 323, + "startColumn": 32, + "charOffset": 11286, + "charLength": 12, + "snippet": { + "text": "json[\"type\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 321, + "startColumn": 1, + "charOffset": 11189, + "charLength": 185, + "snippet": { + "text": " if (json.ContainsKey(\"type\"))\r\n {\r\n var type = json[\"type\"].ToString();\r\n if (type == \"SSS\")\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f282c673104aced9fcec0c02611ca415bc2dc2b7964a55e32b9e61f2450fe6dd" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1019, + "startColumn": 38, + "charOffset": 42108, + "charLength": 21, + "snippet": { + "text": "subTaskDetails[\"doc\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1017, + "startColumn": 1, + "charOffset": 42009, + "charLength": 206, + "snippet": { + "text": " case \"CopilotAction\":\r\n {\r\n string doc = subTaskDetails[\"doc\"].ToString();\r\n if (doc.Length != 0)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2d1731289e883ba681a69214525458854a7c34d0e7fbde9b4ab73121a711e45" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2238, + "startColumn": 78, + "charOffset": 79582, + "charLength": 24, + "snippet": { + "text": "plan[\"description_post\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2236, + "startColumn": 1, + "charOffset": 79278, + "charLength": 409, + "snippet": { + "text": " CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r\n string descPost = plan.ContainsKey(\"description_post\") ? plan[\"description_post\"].ToString() : string.Empty;\r\n\r\n if (_customInfrastInfoOutput)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f51bcf47cef7c1866789d1a89fc183c864f7a3579c27709f6c1d19a6bd95cb76" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "PossibleNullReferenceException", + "kind": "fail", + "level": "warning", + "message": { + "text": "Possible 'System.NullReferenceException'", + "markdown": "Possible 'System.NullReferenceException'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2237, + "startColumn": 69, + "charOffset": 79457, + "charLength": 19, + "snippet": { + "text": "plan[\"description\"]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2235, + "startColumn": 1, + "charOffset": 79145, + "charLength": 491, + "snippet": { + "text": " string display = plan.ContainsKey(\"name\") ? plan[\"name\"].ToString() : (\"Plan \" + ((char)('A' + i)).ToString());\r\n CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r\n string descPost = plan.ContainsKey(\"description_post\") ? plan[\"description_post\"].ToString() : string.Empty;\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fa187d1cfd2063fd944208a805cd76ed649973b49e4e577330aa91d3e141653a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArgumentDefaultValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "The parameter 'buttons' has the same default value", + "markdown": "The parameter 'buttons' has the same default value" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3135, + "startColumn": 17, + "charOffset": 117475, + "charLength": 19, + "snippet": { + "text": "MessageBoxButton.OK" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3133, + "startColumn": 1, + "charOffset": 117332, + "charLength": 267, + "snippet": { + "text": " LocalizationHelper.GetString(\"DrunkAndStaggering\"),\r\n LocalizationHelper.GetString(\"Burping\"),\r\n MessageBoxButton.OK,\r\n iconKey: \"DrunkAndStaggeringGeometry\",\r\n iconBrushKey: \"PallasBrush\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "28d2615bd3e1a241e8bb4c1366fe913c83ffe37c629555800a703f7a643bd1e7" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArgumentDefaultValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "The parameter 'buttons' has the same default value", + "markdown": "The parameter 'buttons' has the same default value" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 120, + "startColumn": 21, + "charOffset": 4258, + "charLength": 19, + "snippet": { + "text": "MessageBoxButton.OK" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 118, + "startColumn": 1, + "charOffset": 4113, + "charLength": 267, + "snippet": { + "text": " LocalizationHelper.GetString(\"Hangover\"),\r\n LocalizationHelper.GetString(\"Burping\"),\r\n MessageBoxButton.OK,\r\n iconKey: \"HangoverGeometry\",\r\n iconBrushKey: \"PallasBrush\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "47726dddf281bf17794adfa0b4d31911cb512da9753993e043e12b14fdea0413" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArgumentDefaultValue", + "kind": "fail", + "level": "warning", + "message": { + "text": "The parameter 'once' has the same default value", + "markdown": "The parameter 'once' has the same default value" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 684, + "startColumn": 24, + "charOffset": 22681, + "charLength": 4, + "snippet": { + "text": "true" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 682, + "startColumn": 1, + "charOffset": 22614, + "charLength": 87, + "snippet": { + "text": " public void GachaOnce()\r\n {\r\n StartGacha(true);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ddfba9729d1c833b80ca59f1eb8317dbe6808d0b732939ec428889c59096464c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArrayCreationExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 321, + "startColumn": 34, + "charOffset": 11139, + "charLength": 12, + "snippet": { + "text": "new string[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 319, + "startColumn": 1, + "charOffset": 11055, + "charLength": 139, + "snippet": { + "text": " private void InitializeItems()\r\n {\r\n string[] task_list = new string[]\r\n {\r\n \"WakeUp\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "17f14fdf807040cd712e9c5948d03433f804f8cff6f9d6254f8cce2842424aa6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArrayCreationExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 74, + "startColumn": 36, + "charOffset": 2698, + "charLength": 14, + "snippet": { + "text": "new MenuItem[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 72, + "startColumn": 1, + "charOffset": 2537, + "charLength": 325, + "snippet": { + "text": " MenuItem exitMenu = new MenuItem(LocalizationHelper.GetString(\"Exit\"));\r\n exitMenu.Click += App_exit;\r\n MenuItem[] menuItems = new MenuItem[] { startMenu, stopMenu, switchLangMenu, forceShowMenu, exitMenu };\r\n this._notifyIcon.ContextMenu = new ContextMenu(menuItems);\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "acb96b9f0c696562a5283bdaa6fac6a41e265399277d07ee2f2b9893b21fb55a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantArrayCreationExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant array creation expression", + "markdown": "Redundant array creation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 35, + "startColumn": 27, + "charOffset": 1110, + "charLength": 10, + "snippet": { + "text": "new byte[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 33, + "startColumn": 1, + "charOffset": 1011, + "charLength": 162, + "snippet": { + "text": " public static byte[] ToBytes(this BitmapImage image)\r\n {\r\n byte[] data = new byte[] { };\r\n if (image != null)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cef8fc60755b3c14ecfa4df5b206c1f0ad6f2de4f068dc0eee4658a58d674015" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 669, + "startColumn": 34, + "charOffset": 24623, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 667, + "startColumn": 1, + "charOffset": 24573, + "charLength": 156, + "snippet": { + "text": " }\r\n\r\n string latestVersion = null;\r\n string detailUrl = null;\r\n if (Instances.SettingsViewModel.UpdateNightly)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "06a7b7ee3bf139d6994633b0fc534c6238b6a81ae9f87e0115613685995b6284" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/HttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 266, + "startColumn": 24, + "charOffset": 9764, + "charLength": 6, + "snippet": { + "text": "client" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 264, + "startColumn": 1, + "charOffset": 9724, + "charLength": 193, + "snippet": { + "text": " }\r\n\r\n HttpClient client = new HttpClient(handler);\r\n client = new HttpClient(handler);\r\n client.DefaultRequestHeaders.Add(\"User-Agent\", UserAgent);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "210c9ce195b5bc577b4f9e4ad70c1a45b33a61af1c4f8b9b9dfd6a9adef0d135" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 510, + "startColumn": 33, + "charOffset": 18630, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 508, + "startColumn": 1, + "charOffset": 18513, + "charLength": 212, + "snippet": { + "text": " var mirrors = _assetsObject[\"mirrors\"]?.ToObject>();\r\n\r\n bool downloaded = false;\r\n var urls = new List();\r\n if (mirrors != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2f8625ce1f9c8f63a561a0a79ddbe93e8fefc2a39090b4972068e75123d39652" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 670, + "startColumn": 30, + "charOffset": 24661, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 668, + "startColumn": 1, + "charOffset": 24588, + "charLength": 156, + "snippet": { + "text": "\r\n string latestVersion = null;\r\n string detailUrl = null;\r\n if (Instances.SettingsViewModel.UpdateNightly)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5177cee21411ee0fac381387491f3bc457f2d257965256875b0cefd253655fd0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 213, + "startColumn": 29, + "charOffset": 8965, + "charLength": 9, + "snippet": { + "text": "stageInfo" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 211, + "startColumn": 1, + "charOffset": 8752, + "charLength": 329, + "snippet": { + "text": " bool minRequiredParsed = SemVersion.TryParse(stageObj?[\"MinimumRequired\"]?.ToString() ?? string.Empty, SemVersionStyles.AllowLowerV, out var minRequiredObj);\r\n\r\n var stageInfo = new StageInfo();\r\n\r\n // && (!minResourceRequiredParsed || curResourceVerParsed))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5d191c69a770ace6a488d571b19c2b30715a351d41ea43141b1b2a4e0ac3b1df" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantAssignment", + "kind": "fail", + "level": "warning", + "message": { + "text": "Value assigned is not used in any execution path", + "markdown": "Value assigned is not used in any execution path" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 173, + "startColumn": 29, + "charOffset": 6161, + "charLength": 3, + "snippet": { + "text": "= 0" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 171, + "startColumn": 1, + "charOffset": 6069, + "charLength": 150, + "snippet": { + "text": " {\r\n byte[] buff = new byte[1280 * 720 * 3];\r\n ulong read_size = 0;\r\n fixed (byte* ptr = buff)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ab8143f5f164a43d957b7e659084f043113e3c3f89c7f308f9515a2ac173c608" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 276, + "startColumn": 43, + "charOffset": 8901, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 274, + "startColumn": 1, + "charOffset": 8808, + "charLength": 120, + "snippet": { + "text": " private string _buttonRightText = null;\r\n\r\n private Action _buttonRightAction = null;\r\n\r\n // 系统按钮\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0eea317886529f11e9f63bef43daa4481c921522dc904f22ca0f524c909c682f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 279, + "startColumn": 42, + "charOffset": 8970, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 277, + "startColumn": 1, + "charOffset": 8910, + "charLength": 93, + "snippet": { + "text": "\r\n // 系统按钮\r\n private string _buttonSystemText = null;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "120ef41e7e6dc91cc360064aaddfafb9729f6c2c7060f6b3a2834a21074a808b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1823, + "startColumn": 42, + "charOffset": 66077, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1821, + "startColumn": 1, + "charOffset": 66023, + "charLength": 105, + "snippet": { + "text": " }\r\n\r\n private bool _infrastTaskRunning = false;\r\n\r\n public bool InfrastTaskRunning\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1943e192b32813304f5fffedeaeda21fdb5afc687a75fca8fd16e87f9a493bad" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 573, + "startColumn": 37, + "charOffset": 19156, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 571, + "startColumn": 1, + "charOffset": 19107, + "charLength": 95, + "snippet": { + "text": " }\r\n\r\n private bool _isDataFromWeb = false;\r\n\r\n public bool IsDataFromWeb\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1cb69b9725c6342abd7c0a1853ff5ac7c888d4b69afa2fb187e8c4fc380b9cd9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing property by default value is redundant", + "markdown": "Initializing property by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1771, + "startColumn": 50, + "charOffset": 64678, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1769, + "startColumn": 1, + "charOffset": 64541, + "charLength": 171, + "snippet": { + "text": " /// Gets a value indicating whether it is initialized.\r\n /// \r\n public bool Inited { get; private set; } = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1f80e7c9d90e95239f1f228c41167c2db76ece292fa1ee62bba527d4fb1535d0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2129, + "startColumn": 44, + "charOffset": 79936, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2127, + "startColumn": 1, + "charOffset": 79880, + "charLength": 90, + "snippet": { + "text": " }\r\n\r\n private bool _isCheckingForUpdates = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3155297bbedbaeec399f24a259481e02676fb9fbe743aaff4bcf741bdd0dda82" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 558, + "startColumn": 40, + "charOffset": 18722, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 556, + "startColumn": 1, + "charOffset": 18583, + "charLength": 188, + "snippet": { + "text": " private readonly List _recentlyRatedCopilotId = new List(); // TODO: 可能考虑加个持久化\r\n\r\n private bool _couldLikeWebJson = false;\r\n\r\n public bool CouldLikeWebJson\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "360699ac0d4318d5f43a6ba16ce262ad3bc0debbfdb5d13f7178dd7a3d7c16f3" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 271, + "startColumn": 42, + "charOffset": 8780, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 269, + "startColumn": 1, + "charOffset": 8689, + "charLength": 118, + "snippet": { + "text": " private string _buttonLeftText = null;\r\n\r\n private Action _buttonLeftAction = null;\r\n\r\n // 右边按钮\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3afc2faef8d5b4f600abaea9bcf6ce2bdd0bf455f894e47a64e0a763f9c4370d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 49, + "charOffset": 1652, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1591, + "charLength": 134, + "snippet": { + "text": " }\r\n\r\n private static bool _systemToastChecked = false;\r\n private static bool _systemToastCheckInited = false;\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3c77e86181781b1706b5b1794426fd138db71cba5d3d03608a436d5ce49a6a0a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1347, + "startColumn": 38, + "charOffset": 51461, + "charLength": 3, + "snippet": { + "text": "= 0" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1345, + "startColumn": 1, + "charOffset": 51411, + "charLength": 80, + "snippet": { + "text": " }\r\n\r\n private double _scrollOffset = 0;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c6cbad50c94265e3f7fba07fd00fe13f1d403537708e405d23620e39e3f14fe" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 487, + "startColumn": 30, + "charOffset": 16465, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 485, + "startColumn": 1, + "charOffset": 16423, + "charLength": 76, + "snippet": { + "text": " }\r\n\r\n private bool _caught = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5fe87143af587ba4533ae373d5d1b1677121b4413504deedf5e692774ee7a00f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1812, + "startColumn": 40, + "charOffset": 65731, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1810, + "startColumn": 1, + "charOffset": 65679, + "charLength": 86, + "snippet": { + "text": " }\r\n\r\n private bool _fightTaskRunning = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6bb62c581ec8393ad3b442c3c0b3a08ba0b565365a2024ee2137c5737dbd09c6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1921, + "startColumn": 36, + "charOffset": 72816, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1919, + "startColumn": 1, + "charOffset": 72768, + "charLength": 82, + "snippet": { + "text": " }\r\n\r\n private bool _useExpedited = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "732875e952482275084b1460e95f8efff84b0465c147c2be931e3bbdacfc63c0" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing property by default value is redundant", + "markdown": "Initializing property by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 473, + "startColumn": 40, + "charOffset": 16018, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 471, + "startColumn": 1, + "charOffset": 15966, + "charLength": 179, + "snippet": { + "text": " }\r\n\r\n public bool Loop { get; set; } = false;\r\n\r\n private int _loopTimes = int.Parse(ConfigurationHelper.GetValue(ConfigurationKeys.CopilotLoopTimes, \"1\"));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8c842afbe98b0916e8c24cd9e934cf89e0912b6381a1a60f9a86a50d7776e89d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1312, + "startColumn": 36, + "charOffset": 50305, + "charLength": 3, + "snippet": { + "text": "= 0" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1310, + "startColumn": 1, + "charOffset": 50199, + "charLength": 136, + "snippet": { + "text": " public List DividerVerticalOffsetList { get; set; }\r\n\r\n private int _selectedIndex = 0;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "96f9b0cc83f44a5e26198fb073c6414ca49669721bf8bab563c02042d7d3cd4e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing property by default value is redundant", + "markdown": "Initializing property by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/StageActivityInfo.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 51, + "startColumn": 56, + "charOffset": 1737, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 49, + "startColumn": 1, + "charOffset": 1547, + "charLength": 224, + "snippet": { + "text": " /// when the activity expires, will continue to check stage open days.\r\n /// \r\n public bool IsResourceCollection { get; set; } = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "990cc6e0cbcad3f855102fd24b78f6062eda54d9d40be2b06f254be8447280cc" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 54, + "startColumn": 53, + "charOffset": 1714, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 52, + "startColumn": 1, + "charOffset": 1602, + "charLength": 211, + "snippet": { + "text": "\r\n private static bool _systemToastChecked = false;\r\n private static bool _systemToastCheckInited = false;\r\n\r\n private static readonly ILogger _logger = Log.ForContext();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a68ad78acd9cd643ab006672bee652d09320201e0386454d054f0ccd7801026f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2197, + "startColumn": 50, + "charOffset": 77785, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2195, + "startColumn": 1, + "charOffset": 77613, + "charLength": 239, + "snippet": { + "text": " public List CustomInfrastPlanInfoList { get; set; } = new List();\r\n\r\n private bool _customInfrastPlanHasPeriod = false;\r\n private bool _customInfrastInfoOutput = false;\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a6c18a99fc5df37d0eae378c6765b3d75f9326530b914d4f4e15893f19d496b5" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 269, + "startColumn": 40, + "charOffset": 8728, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 267, + "startColumn": 1, + "charOffset": 8670, + "charLength": 118, + "snippet": { + "text": "\r\n // 左边按钮\r\n private string _buttonLeftText = null;\r\n\r\n private Action _buttonLeftAction = null;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a73d30bd89ad52a4c6b2c15035e700e4fbd301fded932c99759e887e3349fc1d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1801, + "startColumn": 32, + "charOffset": 65419, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1799, + "startColumn": 1, + "charOffset": 65375, + "charLength": 78, + "snippet": { + "text": " }\r\n\r\n private bool _stopping = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aca304be2a0c1edfa622a973000c3d4a1cc18d170ea2839b9712caa12d5c8eec" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2198, + "startColumn": 47, + "charOffset": 77841, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2196, + "startColumn": 1, + "charOffset": 77734, + "charLength": 166, + "snippet": { + "text": "\r\n private bool _customInfrastPlanHasPeriod = false;\r\n private bool _customInfrastInfoOutput = false;\r\n\r\n public void RefreshCustonInfrastPlan()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b0274ee79cb2e15107ef8de89f91d7a3ea5fd57d2337c030851d56bbefd33296" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 274, + "startColumn": 41, + "charOffset": 8848, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 272, + "startColumn": 1, + "charOffset": 8789, + "charLength": 120, + "snippet": { + "text": "\r\n // 右边按钮\r\n private string _buttonRightText = null;\r\n\r\n private Action _buttonRightAction = null;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b884de16d4e0d3b32005116af3f84b092cb93f977135f0a1b277859c3b1c4f70" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 401, + "startColumn": 32, + "charOffset": 14395, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 399, + "startColumn": 1, + "charOffset": 14351, + "charLength": 86, + "snippet": { + "text": " }\r\n\r\n private bool connected = false;\r\n\r\n public bool Connected\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c2263b17e8475cce9088cc635720ac17144d41c8f75861e65efde324871eb802" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 286, + "startColumn": 43, + "charOffset": 9190, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 284, + "startColumn": 1, + "charOffset": 9077, + "charLength": 151, + "snippet": { + "text": " public string ButtonSystemUrl { get; set; } = string.Empty;\r\n\r\n private bool _buttonSystemEnabled = false;\r\n\r\n #endregion 通知按钮变量\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d2c51c3534f2f6efabace4653f9b80af330109e33eb764be34b2d0d5debba854" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 204, + "startColumn": 37, + "charOffset": 6887, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 202, + "startColumn": 1, + "charOffset": 6838, + "charLength": 83, + "snippet": { + "text": " }\r\n\r\n private bool _recruitCaught = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d583540f831e4815b47d9ec3542b772a57b497805eacede7953d5c9439a175a4" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 553, + "startColumn": 35, + "charOffset": 18478, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 551, + "startColumn": 1, + "charOffset": 18431, + "charLength": 151, + "snippet": { + "text": " }\r\n\r\n private bool _isVideoTask = false;\r\n\r\n private readonly string _copilotRatingUrl = \"https://prts.maa.plus/copilot/rating\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d7252babc33371b066f007bdb96b89fcd9d6b51e225353e2ac2b99b23da0475a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1547, + "startColumn": 61, + "charOffset": 59075, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1545, + "startColumn": 1, + "charOffset": 59002, + "charLength": 143, + "snippet": { + "text": " }\r\n\r\n private bool _roguelikeRefreshTraderWithDiceEnabled = false;\r\n\r\n public bool RoguelikeRefreshTraderWithDiceEnabled\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e41ceec8210f701f4c2d0965c1e481ba36a6041f608a8505a9afea0937bb4321" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 462, + "startColumn": 28, + "charOffset": 15715, + "charLength": 7, + "snippet": { + "text": "= false" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 460, + "startColumn": 1, + "charOffset": 15675, + "charLength": 74, + "snippet": { + "text": " }\r\n\r\n private bool _form = false;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e76393fc97ccbcdaf43f9e5cd24e51884733fc746b6c2f98123deb21f0ef102b" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 520, + "startColumn": 59, + "charOffset": 17519, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 518, + "startColumn": 1, + "charOffset": 17448, + "charLength": 138, + "snippet": { + "text": " }\r\n\r\n private Dictionary _operBoxPotential = null;\r\n\r\n public Dictionary OperBoxPotential\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ef14bf015552fcc1e642eaf1aac13e151d198eb38bafc2902892e168c52d67d5" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 585, + "startColumn": 32, + "charOffset": 19442, + "charLength": 3, + "snippet": { + "text": "= 0" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 583, + "startColumn": 1, + "charOffset": 19398, + "charLength": 81, + "snippet": { + "text": " }\r\n\r\n private int _copilotId = 0;\r\n\r\n public int CopilotId\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f2662336bbd7c0b805887cec36181979687a53fb060ae725a33686b6ec5d3bc6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantDefaultMemberInitializer", + "kind": "fail", + "level": "warning", + "message": { + "text": "Initializing field by default value is redundant", + "markdown": "Initializing field by default value is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 808, + "startColumn": 82, + "charOffset": 29474, + "charLength": 6, + "snippet": { + "text": "= null" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 806, + "startColumn": 1, + "charOffset": 29380, + "charLength": 217, + "snippet": { + "text": " }\r\n\r\n private static ObservableCollection _logItemViewModels = null;\r\n\r\n public static void OutputDownloadProgress(long value = 0, long maximum = 1, int len = 0, double ts = 1)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "faab8bf2383d73504921061679532bff62763c5598f5c6fe13f2d0ed9b2f5e72" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 348, + "startColumn": 50, + "charOffset": 11229, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 346, + "startColumn": 1, + "charOffset": 11119, + "charLength": 173, + "snippet": { + "text": " public NotificationContent BaseContent()\r\n {\r\n var content = new NotificationContent()\r\n {\r\n Title = _notificationTitle,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "19ad89a910ac23978babb9c389e7b28e84803cd15531182c020a620bd337ebfa" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 203, + "startColumn": 63, + "charOffset": 7698, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 201, + "startColumn": 1, + "charOffset": 7560, + "charLength": 417, + "snippet": { + "text": " break;\r\n case MessageBoxImage.Question:\r\n var iconinfo = new Shell32.SHSTOCKICONINFO() { cbSize = (uint)Marshal.SizeOf() };\r\n Shell32.SHGetStockIconInfo(Shell32.SHSTOCKICONID.SIID_HELP, Shell32.SHGSI.SHGSI_ICON, ref iconinfo).ThrowIfFailed();\r\n config.mainIcon = iconinfo.hIcon.DangerousGetHandle();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3f719465c53e49483be5a85dd2b9cc3934757660d89683bf8a3a1b39cda7e8ab" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 258, + "startColumn": 61, + "charOffset": 11826, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 256, + "startColumn": 1, + "charOffset": 11632, + "charLength": 309, + "snippet": { + "text": " Value = stageObj[\"Value\"].ToString(),\r\n Drop = stageObj?[\"Drop\"]?.ToString(),\r\n Activity = new StageActivityInfo()\r\n {\r\n Tip = stageObj[\"Activity\"]?[\"Tip\"]?.ToString(),\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "55e0ec56afbdf6195f7e2ee40095a5e5090149e725963a303444d500e0e12a7a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowHandle.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 28, + "startColumn": 83, + "charOffset": 930, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 26, + "startColumn": 1, + "charOffset": 756, + "charLength": 260, + "snippet": { + "text": " public static WindowHandle None => new WindowHandle() { _handle = IntPtr.Zero };\r\n\r\n public static implicit operator WindowHandle(IntPtr h) => new WindowHandle() { _handle = h };\r\n\r\n public static implicit operator WindowHandle(Window w)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "60e30ad075d656917ea9687c46405528d9340b2933fef447910da5ba315f3efc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2573, + "startColumn": 85, + "charOffset": 91275, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2571, + "startColumn": 1, + "charOffset": 91144, + "charLength": 197, + "snippet": { + "text": " /// 关卡不可掉落的材料\r\n /// \r\n private static readonly HashSet excludedValues = new HashSet()\r\n {\r\n \"3213\", \"3223\", \"3233\", \"3243\", // 双芯片\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "776f03463db76cbfe9ba5504a37a9fb4313a5127167529c910f7aaa7f8b78272" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 330, + "startColumn": 79, + "charOffset": 10576, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 328, + "startColumn": 1, + "charOffset": 10428, + "charLength": 206, + "snippet": { + "text": " /// \r\n /// 创建一个基本文本字体样式。\r\n public TextContentSettings BaseTextSettings => new TextContentSettings()\r\n {\r\n FontStyle = FontStyles.Normal,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "99dc2760bcca94e48e16a3234a32cf00f1e4cbdb2aaa997853c33bba35272fe0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 172, + "startColumn": 55, + "charOffset": 6265, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 170, + "startColumn": 1, + "charOffset": 6172, + "charLength": 154, + "snippet": { + "text": " string no = \"\")\r\n {\r\n var config = new ComCtl32.TASKDIALOGCONFIG()\r\n {\r\n Content = messageBoxText,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9ee952906807411aad676035b93eea24f2e05851bbd64217f9184dbb0f3a6d59" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 232, + "startColumn": 77, + "charOffset": 10490, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 230, + "startColumn": 1, + "charOffset": 10177, + "charLength": 460, + "snippet": { + "text": " Drop = LocalizationHelper.GetString(\"LowVersion\") + '\\n' +\r\n LocalizationHelper.GetString(\"MinimumRequirements\") + minRequiredObj.ToString(),\r\n Activity = new StageActivityInfo()\r\n {\r\n Tip = stageObj[\"Activity\"]?[\"Tip\"]?.ToString(),\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9febf8b8080388160d7bdaa0c739463979a1c35f74d88f84ea0ad3ab12c34fdc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowHandle.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 26, + "startColumn": 60, + "charOffset": 815, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 24, + "startColumn": 1, + "charOffset": 712, + "charLength": 238, + "snippet": { + "text": " public IntPtr Handle => _handle;\r\n\r\n public static WindowHandle None => new WindowHandle() { _handle = IntPtr.Zero };\r\n\r\n public static implicit operator WindowHandle(IntPtr h) => new WindowHandle() { _handle = h };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a11bb351c59ae5207415365814a2a3ac97c31f124ea97d5acba0afbb23b3775f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 382, + "startColumn": 61, + "charOffset": 13184, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 380, + "startColumn": 1, + "charOffset": 13017, + "charLength": 287, + "snippet": { + "text": " foreach (var item in details[\"arkplanner\"][\"object\"][\"items\"].Cast())\r\n {\r\n DepotResultDate result = new DepotResultDate() { Name = (string)item[\"name\"], Count = (int)item[\"have\"] };\r\n DepotResult.Add(result);\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b0c07366ced98fa8787d0f32b6af9a5dee88a183d008699ff4a42dcd0975ff8d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptyObjectCreationArgumentList", + "kind": "fail", + "level": "note", + "message": { + "text": "Empty argument list is redundant", + "markdown": "Empty argument list is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 182, + "startColumn": 59, + "charOffset": 7131, + "charLength": 2, + "snippet": { + "text": "()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 180, + "startColumn": 1, + "charOffset": 6863, + "charLength": 332, + "snippet": { + "text": " // tasksJsonClient?[\"ResourceVersion\"]?.ToString() ?? tasksJson?[\"ResourceVersion\"]?.ToString() ?? string.Empty,\r\n // SemVersionStyles.AllowLowerV, out var curResourceVersionObj);\r\n var resourceCollection = new StageActivityInfo()\r\n {\r\n IsResourceCollection = true,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f81e4cb109e4b7d3d8c774ddfb16b1d72c9bf96b9bebe5283a5e6ddf0600220f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantEmptySwitchSection", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant empty switch section", + "markdown": "Redundant empty switch section" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1763, + "startColumn": 17, + "charOffset": 64452, + "charLength": 35, + "snippet": { + "text": "default:\r\n break" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1761, + "startColumn": 1, + "charOffset": 64406, + "charLength": 109, + "snippet": { + "text": " break;\r\n\r\n default:\r\n break;\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "19c8f664c2de7f20fdaabdba9a0934ef97e23ae3008d9960fa3e0c3d646ff212" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantExplicitArrayCreation", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant explicit array type specification", + "markdown": "Redundant explicit array type specification" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 165, + "startColumn": 37, + "charOffset": 5711, + "charLength": 6, + "snippet": { + "text": "string" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 163, + "startColumn": 1, + "charOffset": 5640, + "charLength": 119, + "snippet": { + "text": " {\r\n /* 基建设置 */\r\n var facility_list = new string[]\r\n {\r\n \"Mfg\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "255f3f96f1f8bcf024555bde190a822e8219b42b200a28af0d3d4add1ffe5025" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantExplicitParamsArrayCreation", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant explicit array creation in argument of 'params' parameter", + "markdown": "Redundant explicit array creation in argument of 'params' parameter" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1078, + "startColumn": 80, + "charOffset": 38656, + "charLength": 10, + "snippet": { + "text": "new char[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1076, + "startColumn": 1, + "charOffset": 38461, + "charLength": 292, + "snippet": { + "text": " {\r\n var buy_first = Instances.SettingsViewModel.CreditFirstList.Split(new char[] { ';', ';' });\r\n var black_list = Instances.SettingsViewModel.CreditBlackList.Split(new char[] { ';', ';' });\r\n for (var i = 0; i < buy_first.Length; ++i)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0729c842e93efc148f1b77f96c88d45fb924c165365f1277a5685e19e58d7a59" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantExplicitParamsArrayCreation", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant explicit array creation in argument of 'params' parameter", + "markdown": "Redundant explicit array creation in argument of 'params' parameter" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1077, + "startColumn": 79, + "charOffset": 38550, + "charLength": 10, + "snippet": { + "text": "new char[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1075, + "startColumn": 1, + "charOffset": 38426, + "charLength": 312, + "snippet": { + "text": " private bool appendMall()\r\n {\r\n var buy_first = Instances.SettingsViewModel.CreditFirstList.Split(new char[] { ';', ';' });\r\n var black_list = Instances.SettingsViewModel.CreditBlackList.Split(new char[] { ';', ';' });\r\n for (var i = 0; i < buy_first.Length; ++i)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "10049603a48c5fb600845b1af2b04b15536eae643711330d340f93308981478c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantExplicitParamsArrayCreation", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant explicit array creation in argument of 'params' parameter", + "markdown": "Redundant explicit array creation in argument of 'params' parameter" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 135, + "startColumn": 45, + "charOffset": 5118, + "charLength": 5, + "snippet": { + "text": "new[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 133, + "startColumn": 1, + "charOffset": 4927, + "charLength": 281, + "snippet": { + "text": " var output = process.StandardOutput.ReadToEnd();\r\n _logger.Information(adbPath + \" devices | output:\\n\" + output);\r\n var outLines = output.Split(new[] { '\\r', '\\n' });\r\n foreach (var line in outLines)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b714cbbb35f426d7a512382d4b672d5c3ee0a401668f643fc16e1b5e21da6659" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantExtendsListEntry", + "kind": "fail", + "level": "warning", + "message": { + "text": "Base type 'Application' is already specified in other parts", + "markdown": "Base type 'Application' is already specified in other parts" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/App.xaml.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 23, + "startColumn": 32, + "charOffset": 735, + "charLength": 11, + "snippet": { + "text": "Application" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 21, + "startColumn": 1, + "charOffset": 660, + "charLength": 165, + "snippet": { + "text": " /// App.xaml 的交互逻辑\r\n /// \r\n public partial class App : Application\r\n {\r\n public void Hyperlink_Click(object sender, RoutedEventArgs e)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5641da85d74bc3ba65b7c78c199d0c494274008866ce0823f28cbe3aed442f2e" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1382, + "startColumn": 21, + "charOffset": 51102, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1380, + "startColumn": 1, + "charOffset": 51011, + "charLength": 300, + "snippet": { + "text": " return KillEmulator();\r\n }\r\n else\r\n {\r\n _logger.Warning($\"Console process at index {emuIndex} did not exit within the specified timeout. Killing emulator by window. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0150dd2607a263fa38bf332b270707563bf85a2dc9fe21ca25ae751a26f03fa8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1219, + "startColumn": 21, + "charOffset": 44445, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1217, + "startColumn": 1, + "charOffset": 44354, + "charLength": 300, + "snippet": { + "text": " return KillEmulator();\r\n }\r\n else\r\n {\r\n _logger.Warning($\"Console process at index {emuIndex} did not exit within the specified timeout. Killing emulator by window. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "052d6d7f077a78620bc3f3c440d05e6bf897f2e0f7d2f5fc6a17cf7fc2b7723f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 871, + "startColumn": 13, + "charOffset": 31772, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 869, + "startColumn": 1, + "charOffset": 31714, + "charLength": 195, + "snippet": { + "text": " return false;\r\n }\r\n else if (version.StartsWith(\"c\") || version.StartsWith(\"20\") || version.Contains(\"Local\"))\r\n {\r\n return false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "08519fc2490d7cf1d20d727ce139ca721b3efb36f95670d8633c5a83040da165" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1423, + "startColumn": 21, + "charOffset": 52869, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1421, + "startColumn": 1, + "charOffset": 52788, + "charLength": 138, + "snippet": { + "text": " return true;\r\n }\r\n else\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0cb491792a6ddefe60dc0d2881e6b9d81018302c886ddd5a69e1dbbeaad7c9d3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 875, + "startColumn": 13, + "charOffset": 31937, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 873, + "startColumn": 1, + "charOffset": 31879, + "charLength": 194, + "snippet": { + "text": " return false;\r\n }\r\n else if (!SemVersion.TryParse(version, SemVersionStyles.AllowLowerV, out var semVersion))\r\n {\r\n return false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "13e2bca826b674bce1a8dec392030085e850e0e76e67e6c6cd6a5a30af4713ed" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1388, + "startColumn": 17, + "charOffset": 51426, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1386, + "startColumn": 1, + "charOffset": 51368, + "charLength": 194, + "snippet": { + "text": " }\r\n }\r\n else\r\n {\r\n _logger.Information($\"Error: `{consolePath}` not found, try to kill eumlator by window.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1bbc25aabc4b20295b17fc17fe4bce8e49ecfb6a4bb5d19fa6a59ec9d443063f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 423, + "startColumn": 25, + "charOffset": 14637, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 421, + "startColumn": 1, + "charOffset": 14541, + "charLength": 278, + "snippet": { + "text": " return version;\r\n }\r\n else if (SemVersion.TryParse(version, SemVersionStyles.AllowLowerV, out var semVersion) &&\r\n isNightlyVersion(semVersion))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "45d17908f975105e35a98ed8e33e3c822e3c4e62e92cea8967c884825244edcb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 491, + "startColumn": 17, + "charOffset": 18682, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 489, + "startColumn": 1, + "charOffset": 18612, + "charLength": 146, + "snippet": { + "text": " return false;\r\n }\r\n else\r\n {\r\n _curDayOfWeek = now.DayOfWeek;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "50e312a4e925fbe62fde9ed7227ebafecae723d88df0898bd191ea13928cfc88" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1283, + "startColumn": 17, + "charOffset": 47126, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1281, + "startColumn": 1, + "charOffset": 47068, + "charLength": 194, + "snippet": { + "text": " }\r\n }\r\n else\r\n {\r\n _logger.Information($\"Error: `{consolePath}` not found, try to kill eumlator by window.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "518a92e8c0f589388c9520fe2d36cc43a4cf783ab6aa8a09bbcf76f75af11f2b" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 879, + "startColumn": 13, + "charOffset": 32101, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 877, + "startColumn": 1, + "charOffset": 32043, + "charLength": 143, + "snippet": { + "text": " return false;\r\n }\r\n else if (isNightlyVersion(semVersion))\r\n {\r\n return false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6e59a10ebb218c1023e7173ee19884c47f6beb84564d142d33c6315411441c21" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1488, + "startColumn": 25, + "charOffset": 55096, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1486, + "startColumn": 1, + "charOffset": 55003, + "charLength": 220, + "snippet": { + "text": " return true;\r\n }\r\n else\r\n {\r\n _logger.Error($\"Failed to kill emulator with process ID {pid}.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7e5e62315861339e378429d67890786a69f29cb0b3217f421124e21119d4cb25" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1277, + "startColumn": 21, + "charOffset": 46802, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1275, + "startColumn": 1, + "charOffset": 46711, + "charLength": 300, + "snippet": { + "text": " return KillEmulator();\r\n }\r\n else\r\n {\r\n _logger.Warning($\"Console process at index {emuIndex} did not exit within the specified timeout. Killing emulator by window. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7f98a58492ae8d45f030ccd851d21ce8257ff2d2bac8a4be488524142da1148a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1494, + "startColumn": 21, + "charOffset": 55337, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1492, + "startColumn": 1, + "charOffset": 55267, + "charLength": 171, + "snippet": { + "text": " }\r\n }\r\n else\r\n {\r\n // 尽管已经成功 CloseMainWindow(),再次尝试 killEmulator()\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "82210c40cbd0ba5091edc7ee14865fecdece24480fb80723ff1d01bd17a0e7d1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1416, + "startColumn": 17, + "charOffset": 52531, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1414, + "startColumn": 1, + "charOffset": 52444, + "charLength": 279, + "snippet": { + "text": " return KillEmulatorbyWindow();\r\n }\r\n else\r\n {\r\n _logger.Information($\"Info: `{consolePath}` not found. This may be the BlueStacks International emulator, try to kill the emulator by the port.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9e51bddeaa02168924c16b732a98e10401b23a688e85328594f29ab01f83fbbf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2467, + "startColumn": 13, + "charOffset": 93159, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2465, + "startColumn": 1, + "charOffset": 93101, + "charLength": 177, + "snippet": { + "text": " return false;\r\n }\r\n else if (emulators.Count > 1)\r\n {\r\n error = LocalizationHelper.GetString(\"EmulatorTooMany\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9e7c684f98474d2df5aaaf4e8e8229c92932a588ab882f60f65d3a1c2b8892b1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1333, + "startColumn": 21, + "charOffset": 49036, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1331, + "startColumn": 1, + "charOffset": 48945, + "charLength": 300, + "snippet": { + "text": " return KillEmulator();\r\n }\r\n else\r\n {\r\n _logger.Warning($\"Console process at index {emuIndex} did not exit within the specified timeout. Killing emulator by window. Console path: {consolePath}\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a40e8e8fc2c2bc8b92f55b15025fd1efc46a4405fa0c5328367005a296773021" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1225, + "startColumn": 17, + "charOffset": 44769, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1223, + "startColumn": 1, + "charOffset": 44711, + "charLength": 188, + "snippet": { + "text": " }\r\n }\r\n else\r\n {\r\n _logger.Error($\"Error: `{consolePath}` not found, try to kill eumlator by window.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a5c934a36e2f44b8cf692efe79d16927412c8e62fd65fe6bfd381e5975cb70e2" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1339, + "startColumn": 17, + "charOffset": 49360, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1337, + "startColumn": 1, + "charOffset": 49302, + "charLength": 194, + "snippet": { + "text": " }\r\n }\r\n else\r\n {\r\n _logger.Information($\"Error: `{consolePath}` not found, try to kill eumlator by window.\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a891fce3c9067f01fde4228ef784db2f7c7948a67484eb1ad75056e5285d0294" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 139, + "startColumn": 13, + "charOffset": 5004, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 137, + "startColumn": 1, + "charOffset": 4831, + "charLength": 257, + "snippet": { + "text": " return ShowNative(ownerWindow, messageBoxText, null, caption, buttons, icon, MessageBoxResult.None, false, ok, cancel, yes, no);\r\n }\r\n else\r\n {\r\n SetImage(icon, ref iconKey, ref iconBrushKey);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a9fad86e99bb8abcdd2d2529a3f7089205e882c3f90cc6bbcac8fce363c18427" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 277, + "startColumn": 21, + "charOffset": 9770, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 275, + "startColumn": 1, + "charOffset": 9695, + "charLength": 178, + "snippet": { + "text": " break;\r\n }\r\n else if (currentTime == startTime)\r\n {\r\n timeToStart = true;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b781fed5349b9785480a558aee208172a9cfb0a93500c2dd6445dd4a8603f0ad" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 212, + "startColumn": 17, + "charOffset": 7020, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 210, + "startColumn": 1, + "charOffset": 6921, + "charLength": 218, + "snippet": { + "text": " return json[\"data\"][\"content\"].ToString();\r\n }\r\n else\r\n {\r\n AddLog(LocalizationHelper.GetString(\"CopilotNoFound\"), UiLogColor.Error);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d3addb206c5b4e7f0804de9d183848eb69706a4196c7c813420199ec6586492f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 779, + "startColumn": 13, + "charOffset": 28401, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 777, + "startColumn": 1, + "charOffset": 28294, + "charLength": 206, + "snippet": { + "text": " return curVersionObj.CompareSortOrderTo(latestVersionObj) < 0;\r\n }\r\n else\r\n {\r\n return string.CompareOrdinal(_curVersion, latestVersion) < 0;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ddd1a5dae146eb2dc5ee4872ae2c2196674171d6509dac37c5dae45d9f0ec3e3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantIfElseBlock", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'else' keyword", + "markdown": "Redundant 'else' keyword" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 485, + "startColumn": 13, + "charOffset": 18519, + "charLength": 4, + "snippet": { + "text": "else" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 483, + "startColumn": 1, + "charOffset": 18462, + "charLength": 130, + "snippet": { + "text": " return true;\r\n }\r\n else\r\n {\r\n if (_curDayOfWeek == now.DayOfWeek)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f05574f5ea35eda548d00b460cbbf925a8d0a9216fbafd63c57a9e870d2e895e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantNameQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Qualifier is redundant", + "markdown": "Qualifier is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3303, + "startColumn": 31, + "charOffset": 124260, + "charLength": 22, + "snippet": { + "text": "HandyControl.Controls." + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3301, + "startColumn": 1, + "charOffset": 124217, + "charLength": 142, + "snippet": { + "text": " }\r\n\r\n public void NextGuide(HandyControl.Controls.StepBar stepBar)\r\n {\r\n GuideTransitionMode = \"Bottom2Top\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4f6fab622ec6000e4680817abe15ac13d5594dc4177d712e8e1e56cd1e53612f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantNameQualifier", + "kind": "fail", + "level": "warning", + "message": { + "text": "Qualifier is redundant", + "markdown": "Qualifier is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3309, + "startColumn": 31, + "charOffset": 124432, + "charLength": 22, + "snippet": { + "text": "HandyControl.Controls." + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3307, + "startColumn": 1, + "charOffset": 124389, + "charLength": 142, + "snippet": { + "text": " }\r\n\r\n public void PrevGuide(HandyControl.Controls.StepBar stepBar)\r\n {\r\n GuideTransitionMode = \"Top2Bottom\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "efe37282dcef180c90fe29392612192d3e0d7c5f532c8e076cf515774ef6c6d1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantOverriddenMember", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant method override", + "markdown": "Redundant method override" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 63, + "startColumn": 9, + "charOffset": 2073, + "charLength": 101, + "snippet": { + "text": "protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n " + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 61, + "startColumn": 1, + "charOffset": 2052, + "charLength": 151, + "snippet": { + "text": " }\r\n\r\n protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "080d3914f176ec7a8841c2d4233f50ae91f88a1a1e5ec57eba71e0374e92b830" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantOverriddenMember", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant method override", + "markdown": "Redundant method override" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 44, + "startColumn": 9, + "charOffset": 1359, + "charLength": 101, + "snippet": { + "text": "protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n " + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 42, + "startColumn": 1, + "charOffset": 1338, + "charLength": 202, + "snippet": { + "text": " }\r\n\r\n protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n }\r\n\r\n private static string PadRightEx(string str, int totalByteCount)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "90f2130b8856858750f64db50c7085d57a3799321aabd72f29a6dac593007b71" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantOverriddenMember", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant method override", + "markdown": "Redundant method override" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RootViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 79, + "startColumn": 9, + "charOffset": 2486, + "charLength": 101, + "snippet": { + "text": "protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n " + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 77, + "startColumn": 1, + "charOffset": 2465, + "charLength": 155, + "snippet": { + "text": " }\r\n\r\n protected override void OnInitialActivate()\r\n {\r\n base.OnInitialActivate();\r\n }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9f595e40643a3aa5b3ceae90eaa1af84fbc23c10cdfc28500c3fd39ab6fa5c7a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant string interpolation", + "markdown": "Redundant string interpolation" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1427, + "startColumn": 49, + "charOffset": 53002, + "charLength": 1, + "snippet": { + "text": "$" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1425, + "startColumn": 1, + "charOffset": 52898, + "charLength": 310, + "snippet": { + "text": " try\r\n {\r\n _logger.Information($\"Info: Failed to kill emulator by the port, try to kill emulator process with PID.\");\r\n processes[0].Kill();\r\n return processes[0].WaitForExit(20000);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "18d9b8c00995163f30b48299a4e631e04f090092d75e1bcf1e0983a3e56dec72" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantStringToCharArrayCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'String.ToCharArray()' call", + "markdown": "Redundant 'String.ToCharArray()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 37, + "charOffset": 1680, + "charLength": 11, + "snippet": { + "text": "ToCharArray" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1552, + "charLength": 220, + "snippet": { + "text": " Encoding coding = Encoding.GetEncoding(\"gb2312\");\r\n int dcount = 0;\r\n foreach (char ch in str.ToCharArray())\r\n {\r\n if (coding.GetByteCount(ch.ToString()) == 2)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d8b79a277b8bd69e9d68e353f181f936ab5ccdabb4f8538bbc218cf891536d12" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1063, + "startColumn": 40, + "charOffset": 43931, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1061, + "startColumn": 1, + "charOffset": 43802, + "charLength": 174, + "snippet": { + "text": " foreach (var name in subTaskDetails[\"names\"])\r\n {\r\n nameStr += name.ToString() + \", \";\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0b19f4c905afe59f72df4f13c5286cbe562c658b6069e80b900f4688ec1e1850" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1800, + "startColumn": 81, + "charOffset": 68463, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1798, + "startColumn": 1, + "charOffset": 68241, + "charLength": 278, + "snippet": { + "text": " _timerConfig = value ?? ConfigurationHelper.GetCurrentConfiguration();\r\n OnPropertyChanged();\r\n ConfigurationHelper.SetTimerConfig(TimerId, _timerConfig.ToString());\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "33f0f85139914d389f6c9d3c4e8be7042ed7119a424618f475672d653ab00425" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 340, + "startColumn": 62, + "charOffset": 12007, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 338, + "startColumn": 1, + "charOffset": 11860, + "charLength": 231, + "snippet": { + "text": " if (json.ContainsKey(\"strategy\"))\r\n {\r\n AddLog(\"开局策略:\" + json[\"strategy\"].ToString(), UiLogColor.Message);\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "364a68b2dbe2dbf9bc540fffbb0fe0dc382120c0fe0cf69c7b74067fb267569f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1029, + "startColumn": 57, + "charOffset": 42721, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1027, + "startColumn": 1, + "charOffset": 42506, + "charLength": 255, + "snippet": { + "text": " string.Format(LocalizationHelper.GetString(\"CurrentSteps\"),\r\n subTaskDetails[\"action\"].ToString(),\r\n subTaskDetails[\"target\"].ToString()));\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5b12b6df55a04ed85643acabffbb246b17c31998528454fe891ea4a68d8ab958" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/StageManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 231, + "startColumn": 120, + "charOffset": 10400, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 229, + "startColumn": 1, + "charOffset": 10073, + "charLength": 467, + "snippet": { + "text": " Value = LocalizationHelper.GetString(\"UnsupportedStages\"),\r\n Drop = LocalizationHelper.GetString(\"LowVersion\") + '\\n' +\r\n LocalizationHelper.GetString(\"MinimumRequirements\") + minRequiredObj.ToString(),\r\n Activity = new StageActivityInfo()\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5c69818d4e3c115c1515167bfcd8e87e096c0a98ba116e8d3ef17e58250ab06c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 330, + "startColumn": 65, + "charOffset": 11577, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 328, + "startColumn": 1, + "charOffset": 11427, + "charLength": 213, + "snippet": { + "text": " if (json.ContainsKey(\"tool_men\"))\r\n {\r\n AddLog(\"编队工具人:\\n\" + json[\"tool_men\"].ToString(), UiLogColor.Message);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "77c3a65a069de69b0c50f97ce1deb5b3c5c8dd98678eb80e3da0d7dfdd7ab4b9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 335, + "startColumn": 69, + "charOffset": 11796, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 333, + "startColumn": 1, + "charOffset": 11641, + "charLength": 218, + "snippet": { + "text": " if (json.ContainsKey(\"equipment\"))\r\n {\r\n AddLog(\"开局装备(横向):\\n\" + json[\"equipment\"].ToString(), UiLogColor.Message);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "77cba3ac4708a370791de5c77817531917f446f951250b757c154f89517cf84d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1028, + "startColumn": 57, + "charOffset": 42651, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1026, + "startColumn": 1, + "charOffset": 42446, + "charLength": 313, + "snippet": { + "text": " Instances.CopilotViewModel.AddLog(\r\n string.Format(LocalizationHelper.GetString(\"CurrentSteps\"),\r\n subTaskDetails[\"action\"].ToString(),\r\n subTaskDetails[\"target\"].ToString()));\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "85cbb95f75321dd6e847cf2ec2e5e86294b7dc2dc412da51556c29d154538fc6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1598, + "startColumn": 94, + "charOffset": 61208, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1596, + "startColumn": 1, + "charOffset": 61032, + "charLength": 216, + "snippet": { + "text": " {\r\n SetAndNotify(ref _lastCreditFightTaskTime, value);\r\n ConfigurationHelper.SetValue(ConfigurationKeys.LastCreditFightTaskTime, value.ToString());\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "96a1f16fa9f71e8971766e17de6dd6f06d9e6003d286ea6768833b9b3b9e5fb2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1071, + "startColumn": 64, + "charOffset": 44209, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1069, + "startColumn": 1, + "charOffset": 44121, + "charLength": 132, + "snippet": { + "text": " }\r\n\r\n Instances.TaskQueueViewModel.AddLog(nameStr.ToString());\r\n break;\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a7b5ef2866072584936ecb507b091fd6ab1ee7babad09d97be62c78bcccbbfeb" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCall", + "kind": "fail", + "level": "warning", + "message": { + "text": "Redundant 'Object.ToString()' call", + "markdown": "Redundant 'Object.ToString()' call" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1036, + "startColumn": 101, + "charOffset": 42949, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1034, + "startColumn": 1, + "charOffset": 42792, + "charLength": 213, + "snippet": { + "text": " case \"SSSStage\":\r\n {\r\n Instances.CopilotViewModel.AddLog(\"CurrentStage: \" + subTaskDetails[\"stage\"].ToString(), UiLogColor.Info);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fe4b2b57543adc59051129915bfb825850aa3af06a232528e227204874e8fa03" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCallForValueType", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'Object.ToString()' call for value type", + "markdown": "Redundant 'Object.ToString()' call for value type" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 738, + "startColumn": 89, + "charOffset": 24339, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 736, + "startColumn": 1, + "charOffset": 24205, + "charLength": 182, + "snippet": { + "text": "\r\n var rd = new Random();\r\n GachaInfo = LocalizationHelper.GetString(\"GachaTip\" + rd.Next(1, 18).ToString());\r\n }\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "de65f356edc43ed67a2170f2e71b36c2d1a2d6971e882dca65b5f8f1f95b9480" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantToStringCallForValueType", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant 'Object.ToString()' call for value type", + "markdown": "Redundant 'Object.ToString()' call for value type" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2235, + "startColumn": 119, + "charOffset": 79263, + "charLength": 11, + "snippet": { + "text": ".ToString()" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2233, + "startColumn": 1, + "charOffset": 79071, + "charLength": 433, + "snippet": { + "text": " {\r\n var plan = (JObject)plan_list[i];\r\n string display = plan.ContainsKey(\"name\") ? plan[\"name\"].ToString() : (\"Plan \" + ((char)('A' + i)).ToString());\r\n CustomInfrastPlanList.Add(new GenericCombinedData { Display = display, Value = i });\r\n string desc = plan.ContainsKey(\"description\") ? plan[\"description\"].ToString() : string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f5cb53bc9f8ef6c2eb174baadca842494d6bffcd4bf812115224d2aafd3a97da" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantUnsafeContext", + "kind": "fail", + "level": "warning", + "message": { + "text": "'unsafe' context is redundant", + "markdown": "'unsafe' context is redundant" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 168, + "startColumn": 31, + "charOffset": 5960, + "charLength": 6, + "snippet": { + "text": "unsafe" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 166, + "startColumn": 1, + "charOffset": 5892, + "charLength": 176, + "snippet": { + "text": "\r\n [DllImport(\"MaaCore.dll\")]\r\n private static extern unsafe ulong AsstGetNullSize();\r\n\r\n public static unsafe BitmapImage AsstGetImage(AsstHandle handle)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4013ae1208144abfec8ce2cd215186bcf229e210e2c4767e722adacf5af8e607" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantUsingDirective", + "kind": "fail", + "level": "warning", + "message": { + "text": "Using directive is not required by the code and can be safely removed", + "markdown": "Using directive is not required by the code and can be safely removed" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 18, + "startColumn": 1, + "charOffset": 631, + "charLength": 27, + "snippet": { + "text": "using System.Windows.Input;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 16, + "startColumn": 1, + "charOffset": 593, + "charLength": 118, + "snippet": { + "text": "using System.IO;\r\nusing System.Linq;\r\nusing System.Windows.Input;\r\nusing MaaWpfGui.Constants;\r\nusing Newtonsoft.Json;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dc5daffed61685c46b6e8f15c793d36a677b6c717a0d49c6ce1bcd8b7653c722" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantVerbatimStringPrefix", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant verbatim string prefix", + "markdown": "Redundant verbatim string prefix" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 275, + "startColumn": 52, + "charOffset": 9235, + "charLength": 1, + "snippet": { + "text": "@" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 273, + "startColumn": 1, + "charOffset": 9116, + "charLength": 291, + "snippet": { + "text": " {\r\n Url = CopilotUiUrl;\r\n var linkParser = new Regex(@\"(BV.*?).{10}\", RegexOptions.Compiled | RegexOptions.IgnoreCase);\r\n foreach (Match match in linkParser.Matches(details))\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d1c4f4c8fe499bf2a2d3d300cd709cda58cde21d62999ab409fb77b9751fe836" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "RedundantVerbatimStringPrefix", + "kind": "fail", + "level": "note", + "message": { + "text": "Redundant verbatim string prefix", + "markdown": "Redundant verbatim string prefix" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 206, + "startColumn": 88, + "charOffset": 6654, + "charLength": 1, + "snippet": { + "text": "@" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 204, + "startColumn": 1, + "charOffset": 6535, + "charLength": 366, + "snippet": { + "text": " try\r\n {\r\n var jsonResponse = await Instances.HttpService.GetStringAsync(new Uri($@\"https://prts.maa.plus/copilot/get/{copilotID}\"));\r\n var json = (JObject)JsonConvert.DeserializeObject(jsonResponse);\r\n if (json != null && json.ContainsKey(\"status_code\") && json[\"status_code\"].ToString() == \"200\")\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e33f52f5eb8b65bbfde911eff4156647001427c373352a075eab29c8651a1adb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ReplaceAutoPropertyWithComputedProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Replace auto-property with computed property", + "markdown": "Replace auto-property with computed property" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 62, + "startColumn": 66, + "charOffset": 2071, + "charLength": 8, + "snippet": { + "text": "{ get; }" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 60, + "startColumn": 1, + "charOffset": 1926, + "charLength": 290, + "snippet": { + "text": " /// Gets the visibility of task setting views.\r\n /// \r\n public TaskSettingVisibilityInfo TaskSettingVisibilities { get; } = TaskSettingVisibilityInfo.Current;\r\n\r\n public SettingsViewModel TaskSettingDataContext { get => Instances.SettingsViewModel; }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1c1b5a5df806a5ac6b8a8bdd16baa40da61869b285861ce46b025ceaf5761d0e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ReplaceAutoPropertyWithComputedProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Replace auto-property with computed property", + "markdown": "Replace auto-property with computed property" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 92, + "startColumn": 66, + "charOffset": 2941, + "charLength": 8, + "snippet": { + "text": "{ get; }" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 90, + "startColumn": 1, + "charOffset": 2796, + "charLength": 216, + "snippet": { + "text": " /// Gets the visibility of task setting views.\r\n /// \r\n public TaskSettingVisibilityInfo TaskSettingVisibilities { get; } = TaskSettingVisibilityInfo.Current;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "31a5681948081c15a77202299c6b273464f2c0990e711409e5f5a45be6f350e6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ReplaceWithSingleAssignment.False", + "kind": "fail", + "level": "note", + "message": { + "text": "Replace with single assignment", + "markdown": "Replace with single assignment" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 584, + "startColumn": 21, + "charOffset": 22936, + "charLength": 220, + "snippet": { + "text": "bool buy_wine = false;\r\n if (_latestTaskId.ContainsKey(TaskType.Mall) && Instances.SettingsViewModel.DidYouBuyWine())\r\n {\r\n buy_wine = true;\r\n " + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 582, + "startColumn": 1, + "charOffset": 22891, + "charLength": 316, + "snippet": { + "text": " }\r\n\r\n bool buy_wine = false;\r\n if (_latestTaskId.ContainsKey(TaskType.Mall) && Instances.SettingsViewModel.DidYouBuyWine())\r\n {\r\n buy_wine = true;\r\n }\r\n\r\n _latestTaskId.Clear();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a81a8550f48ad24bc62d1d820e221f20a0ec83d64dc0928f80c06360ca2060a4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "ReturnTypeCanBeEnumerable.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Return type can be 'IEnumerable'", + "markdown": "Return type can be 'IEnumerable'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/BitmapImageExtensions.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 33, + "startColumn": 23, + "charOffset": 1033, + "charLength": 6, + "snippet": { + "text": "byte[]" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 31, + "startColumn": 1, + "charOffset": 998, + "charLength": 128, + "snippet": { + "text": " }\r\n\r\n public static byte[] ToBytes(this BitmapImage image)\r\n {\r\n byte[] data = new byte[] { };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "125d302488a32a4954d5d1a336f0b9ec4371c7844a746c84db251ddb534ed863" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SuspiciousTypeConversion.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Suspicious cast: there is no type in the solution which is inherited from both 'MaaWpfGui.Utilities.ShellLink' and 'MaaWpfGui.Utilities.IShellLink'", + "markdown": "Suspicious cast: there is no type in the solution which is inherited from both 'MaaWpfGui.Utilities.ShellLink' and 'MaaWpfGui.Utilities.IShellLink'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 590, + "startColumn": 32, + "charOffset": 24396, + "charLength": 12, + "snippet": { + "text": "(IShellLink)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 588, + "startColumn": 1, + "charOffset": 24272, + "charLength": 267, + "snippet": { + "text": " if (Path.GetExtension(EmulatorPath).ToLower() == \".lnk\")\r\n {\r\n var link = (IShellLink)new ShellLink();\r\n var file = (IPersistFile)link;\r\n file.Load(EmulatorPath, 0); // STGM_READ\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "65a0c8b1018082caaa3599dc0c4701e3d362bcbfdc2c63a6525fcd23c254ed57" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SuspiciousTypeConversion.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Suspicious cast: there is no type in the solution which is inherited from both 'MaaWpfGui.Utilities.IShellLink' and 'System.Runtime.InteropServices.ComTypes.IPersistFile'", + "markdown": "Suspicious cast: there is no type in the solution which is inherited from both 'MaaWpfGui.Utilities.IShellLink' and 'System.Runtime.InteropServices.ComTypes.IPersistFile'" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 591, + "startColumn": 32, + "charOffset": 24457, + "charLength": 14, + "snippet": { + "text": "(IPersistFile)" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 589, + "startColumn": 1, + "charOffset": 24346, + "charLength": 257, + "snippet": { + "text": " {\r\n var link = (IShellLink)new ShellLink();\r\n var file = (IPersistFile)link;\r\n file.Load(EmulatorPath, 0); // STGM_READ\r\n link.Resolve(IntPtr.Zero, 1); // SLR_NO_UI\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "6e24c1f6ccf8329eece7f299583e9e40aec0734b4bca0eb42e4079f70a54072f" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some cases are not processed: default", + "markdown": "Some cases are not processed: default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2948, + "startColumn": 13, + "charOffset": 110821, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2946, + "startColumn": 1, + "charOffset": 110715, + "charLength": 185, + "snippet": { + "text": " out DarkModeType temp)\r\n ? temp : DarkModeType.Light;\r\n switch (darkModeType)\r\n {\r\n case DarkModeType.Light:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1942e11d1939550768f19f022ce6b352fe802d658971c8214a697b43168d245f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some cases are not processed: default", + "markdown": "Some cases are not processed: default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2182, + "startColumn": 13, + "charOffset": 81946, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2180, + "startColumn": 1, + "charOffset": 81891, + "charLength": 160, + "snippet": { + "text": "\r\n string toastMessage = null;\r\n switch (ret)\r\n {\r\n case VersionUpdateViewModel.CheckUpdateRetT.NoNeedToUpdate:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e1b06c6c127ecdf14222ddcf60ab17a9cd0c66e1639a0806bb8c782265efc4c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some cases are not processed: default", + "markdown": "Some cases are not processed: default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2991, + "startColumn": 17, + "charOffset": 112231, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2989, + "startColumn": 1, + "charOffset": 112056, + "charLength": 267, + "snippet": { + "text": " SetAndNotify(ref _inverseClearMode, tempEnumValue);\r\n ConfigurationHelper.SetValue(ConfigurationKeys.InverseClearMode, value);\r\n switch (tempEnumValue)\r\n {\r\n case InverseClearType.Clear:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "97277e9f30c8d2be4cc1c23d2da08fdad1d2e12f6265831b965248eafcdf15d5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementHandlesSomeKnownEnumValuesWithDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some cases are not processed: default", + "markdown": "Some cases are not processed: default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 213, + "startColumn": 13, + "charOffset": 8327, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 211, + "startColumn": 1, + "charOffset": 8191, + "charLength": 211, + "snippet": { + "text": " var customButtons = new List();\r\n var gcHandles = new List();\r\n switch (buttons)\r\n {\r\n case MessageBoxButton.OK:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fc97fd4b4c1efbbcf17cc06e8de5414eb8b306bd2aba39d936de519779ad00ee" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: None, default", + "markdown": "Some values of the enum are not processed inside switch: None, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 187, + "startColumn": 13, + "charOffset": 6851, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 185, + "startColumn": 1, + "charOffset": 6822, + "charLength": 109, + "snippet": { + "text": " }\r\n\r\n switch (icon)\r\n {\r\n case MessageBoxImage.Information:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "481b4e62213fb35da3d043c4613368b050a7ff4e39bfa5478cc274fb853a7087" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: InternalError, InitFailed, ConnectionInfo...", + "markdown": "Some values of the enum are not processed inside switch: InternalError, InitFailed, ConnectionInfo..." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 498, + "startColumn": 13, + "charOffset": 18367, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 496, + "startColumn": 1, + "charOffset": 18256, + "charLength": 187, + "snippet": { + "text": " bool isCoplitTaskChain = taskChain == \"Copilot\" || taskChain == \"VideoRecognition\";\r\n\r\n switch (msg)\r\n {\r\n case AsstMsg.TaskChainStopped:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4961b1c6d17f8f534ad862871cd68fffb93d818f8877c680bce3169e6bfcc320" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: SubTaskStopped, default", + "markdown": "Some values of the enum are not processed inside switch: SubTaskStopped, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 365, + "startColumn": 13, + "charOffset": 12851, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 363, + "startColumn": 1, + "charOffset": 12768, + "charLength": 156, + "snippet": { + "text": " private void ProcMsg(AsstMsg msg, JObject details)\r\n {\r\n switch (msg)\r\n {\r\n case AsstMsg.InternalError:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e7dde3ce0601eef5862186872601a22711e0d2c2008565fa8067bcbcb055a96" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: ScrollOffset, default", + "markdown": "Some values of the enum are not processed inside switch: ScrollOffset, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1357, + "startColumn": 17, + "charOffset": 51691, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1355, + "startColumn": 1, + "charOffset": 51643, + "charLength": 133, + "snippet": { + "text": " set\r\n {\r\n switch (_notifySource)\r\n {\r\n case NotifyType.None:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "893bf31e20c1bc4464e37bda4e4fe415cbb39cbf3be8a894e3188b374bf1e456" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: SelectedIndex, default", + "markdown": "Some values of the enum are not processed inside switch: SelectedIndex, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1322, + "startColumn": 17, + "charOffset": 50535, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1320, + "startColumn": 1, + "charOffset": 50487, + "charLength": 133, + "snippet": { + "text": " set\r\n {\r\n switch (_notifySource)\r\n {\r\n case NotifyType.None:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8dc8989ceba2f859863d1ebd635ed9a401a452ac9bf82a02e846bf9146d9f062" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: InternalError, InitFailed, ConnectionInfo...", + "markdown": "Some values of the enum are not processed inside switch: InternalError, InitFailed, ConnectionInfo..." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 622, + "startColumn": 13, + "charOffset": 24453, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 620, + "startColumn": 1, + "charOffset": 24309, + "charLength": 216, + "snippet": { + "text": " // string taskChain = details[\"taskchain\"].ToString();\r\n // string classType = details[\"class\"].ToString();\r\n switch (msg)\r\n {\r\n case AsstMsg.SubTaskError:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a98382747115e9525fde2128a3e7c51da7dba407ee57c63a9ee159bd07f436b8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "SwitchStatementMissingSomeEnumCasesNoDefault", + "kind": "fail", + "level": "note", + "message": { + "text": "Some values of the enum are not processed inside switch: None, default", + "markdown": "Some values of the enum are not processed inside switch: None, default" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 73, + "startColumn": 13, + "charOffset": 2068, + "charLength": 6, + "snippet": { + "text": "switch" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 71, + "startColumn": 1, + "charOffset": 2012, + "charLength": 144, + "snippet": { + "text": " var brushKey = string.Empty;\r\n\r\n switch (messageBoxImage)\r\n {\r\n case MessageBoxImage.Question:\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c1b5adcc7ecc0164dc45eba5436c5fc3cc15056eb5a8c5501aa57656e7ba7d37" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "TooWideLocalVariableScope", + "kind": "fail", + "level": "note", + "message": { + "text": "Local variable 'line' can be declared in inner scope", + "markdown": "Local variable 'line' can be declared in inner scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1553, + "startColumn": 20, + "charOffset": 57363, + "charLength": 4, + "snippet": { + "text": "line" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1551, + "startColumn": 1, + "charOffset": 57222, + "charLength": 188, + "snippet": { + "text": " checkCmd.StandardInput.WriteLine(\"exit\");\r\n Regex reg = new Regex(\"\\\\s+\", RegexOptions.Compiled);\r\n string line;\r\n while (true)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3a97fcedeaf8e4610c2245f351008e93b9d994626b1248afd71a5f4f33b21bdc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "TooWideLocalVariableScope", + "kind": "fail", + "level": "note", + "message": { + "text": "Local variable 'emulator' can be declared in inner scope", + "markdown": "Local variable 'emulator' can be declared in inner scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1474, + "startColumn": 25, + "charOffset": 54488, + "charLength": 8, + "snippet": { + "text": "emulator" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1472, + "startColumn": 1, + "charOffset": 54443, + "charLength": 95, + "snippet": { + "text": " }\r\n\r\n Process emulator;\r\n try\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "62a70cee6cd3e2af24515add06657439bb11dd2f162fcbe2d4404fc330a2ce48" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "TooWideLocalVariableScope", + "kind": "fail", + "level": "note", + "message": { + "text": "Local variable 'hwnd' can be declared in inner scope", + "markdown": "Local variable 'hwnd' can be declared in inner scope" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1448, + "startColumn": 20, + "charOffset": 53808, + "charLength": 4, + "snippet": { + "text": "hwnd" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1446, + "startColumn": 1, + "charOffset": 53734, + "charLength": 142, + "snippet": { + "text": " public bool KillEmulatorbyWindow()\r\n {\r\n IntPtr hwnd;\r\n int pid = 0;\r\n var windowname = new[]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ca2ac2fccbd86feea21be546f4c20348e1d909cd1616939bdf13d480535fadb9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedAutoPropertyAccessor.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property accessor 'Tip.get' is never used", + "markdown": "Auto-property accessor 'Tip.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/StageActivityInfo.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 27, + "startColumn": 29, + "charOffset": 845, + "charLength": 4, + "snippet": { + "text": "get;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 25, + "startColumn": 1, + "charOffset": 750, + "charLength": 132, + "snippet": { + "text": " /// Gets or sets the activity tip\r\n /// \r\n public string Tip { get; set; }\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2eaa482a957d3b5f277576b51977fb8c7bc0dd8cb4d42eba2fbaaa4cef6eaa47" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedAutoPropertyAccessor.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property accessor 'Name.get' is never used", + "markdown": "Auto-property accessor 'Name.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 357, + "startColumn": 34, + "charOffset": 12306, + "charLength": 4, + "snippet": { + "text": "get;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 355, + "startColumn": 1, + "charOffset": 12224, + "charLength": 140, + "snippet": { + "text": " public class DepotResultDate\r\n {\r\n public string Name { get; set; }\r\n\r\n public int Count { get; set; }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3db8f057f649e5e9bcba0f7de86bc2bb473d5e3841a4c1b2584aea7ead701ed6" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedAutoPropertyAccessor.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property accessor 'Count.get' is never used", + "markdown": "Auto-property accessor 'Count.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 359, + "startColumn": 32, + "charOffset": 12352, + "charLength": 4, + "snippet": { + "text": "get;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 357, + "startColumn": 1, + "charOffset": 12273, + "charLength": 104, + "snippet": { + "text": " public string Name { get; set; }\r\n\r\n public int Count { get; set; }\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d4fd29b93e5acfe7f869f0f302887e3eee5b0590f0a79e0cbbfb5d68e9074919" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedAutoPropertyAccessor.Global", + "kind": "fail", + "level": "warning", + "message": { + "text": "Auto-property accessor 'Name.set' is never used", + "markdown": "Auto-property accessor 'Name.set' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 30, + "startColumn": 35, + "charOffset": 976, + "charLength": 4, + "snippet": { + "text": "set;" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 28, + "startColumn": 1, + "charOffset": 904, + "charLength": 119, + "snippet": { + "text": "\r\n [JsonPropertyName(\"name\")]\r\n public string Name { get; set; }\r\n\r\n [JsonPropertyName(\"sortId\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e58a0aa434c9c832b035f3c64bd28de6d82d57161a6d6975f41f58a9e5641530" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'RunStatus' is never used", + "markdown": "Property 'RunStatus' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 120, + "startColumn": 23, + "charOffset": 3811, + "charLength": 9, + "snippet": { + "text": "RunStatus" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 118, + "startColumn": 1, + "charOffset": 3719, + "charLength": 145, + "snippet": { + "text": " /// Gets or sets the running status.\r\n /// \r\n public string RunStatus\r\n {\r\n get => _runStatus;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "02730b7c85c49485396440c8cb7f7d978a9d1e4efbd1ebb656fa2276cf3fd595" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ChangeInverseMode' is never used", + "markdown": "Method 'ChangeInverseMode' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 688, + "startColumn": 21, + "charOffset": 25429, + "charLength": 17, + "snippet": { + "text": "ChangeInverseMode" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 686, + "startColumn": 1, + "charOffset": 25348, + "charLength": 153, + "snippet": { + "text": " /// Changes inversion mode.\r\n /// \r\n public void ChangeInverseMode()\r\n {\r\n InverseMode = !InverseMode;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "060a3d14e281d19ce99c9da44e9ce70cdfe14c945c351805b99a9b95d5596c1d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constructor 'TimerProperties' is never used", + "markdown": "Constructor 'TimerProperties' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1804, + "startColumn": 24, + "charOffset": 68545, + "charLength": 15, + "snippet": { + "text": "TimerProperties" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1802, + "startColumn": 1, + "charOffset": 68501, + "charLength": 144, + "snippet": { + "text": " }\r\n\r\n public TimerProperties()\r\n {\r\n PropertyChanged += (sender, args) => { };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0e1f970e461c98c4a6e8c4ea8c3651b52af5c7a2b9c22198d8132b91fee3ca40" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'CustomForeground' is never used", + "markdown": "Property 'CustomForeground' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Controls/TextBlock.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 29, + "startColumn": 22, + "charOffset": 1131, + "charLength": 16, + "snippet": { + "text": "CustomForeground" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 27, + "startColumn": 1, + "charOffset": 899, + "charLength": 331, + "snippet": { + "text": " public static readonly DependencyProperty CustomForegroundProperty = DependencyProperty.Register(\"CustomForeground\", typeof(Brush), typeof(TextBlock), new PropertyMetadata(ThemeHelper.DefaultBrush));\r\n\r\n public Brush CustomForeground\r\n {\r\n get { return (Brush)GetValue(CustomForegroundProperty); }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1823acbd30306ab93575f69e2cec4fb16400bffd139e55a39707ec32892781b1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartOperBox' is never used", + "markdown": "Method 'StartOperBox' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 619, + "startColumn": 27, + "charOffset": 20911, + "charLength": 12, + "snippet": { + "text": "StartOperBox" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 617, + "startColumn": 1, + "charOffset": 20872, + "charLength": 112, + "snippet": { + "text": " }\r\n\r\n public async void StartOperBox()\r\n {\r\n OperBoxExportData = string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "210d40ca4bf8e89963beecfbe917bcff54153f79a64f83928c2c6199d3848afb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'InverseSelected' is never used", + "markdown": "Method 'InverseSelected' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 696, + "startColumn": 21, + "charOffset": 25614, + "charLength": 15, + "snippet": { + "text": "InverseSelected" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 694, + "startColumn": 1, + "charOffset": 25538, + "charLength": 136, + "snippet": { + "text": " /// Selects inversely.\r\n /// \r\n public void InverseSelected()\r\n {\r\n if (_inverseMode)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "220d01244dc01e23bda6ade9e36438a54ccf68e97fec32bd5a59a25e5182b8f4" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'MouseDown' is never used", + "markdown": "Method 'MouseDown' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 666, + "startColumn": 21, + "charOffset": 21786, + "charLength": 9, + "snippet": { + "text": "MouseDown" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 664, + "startColumn": 1, + "charOffset": 21674, + "charLength": 221, + "snippet": { + "text": " /// 点击事件发送者\r\n /// 点击事件\r\n public void MouseDown(object sender, MouseButtonEventArgs e)\r\n {\r\n if (!(sender is UIElement element))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2a3285155ec375feb6ccea9889ec6e84b5a993deadcc61f0869aa78bc1453bc7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'Native' is never used", + "markdown": "Enum member 'Native' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 371, + "startColumn": 13, + "charOffset": 12861, + "charLength": 6, + "snippet": { + "text": "Native" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 369, + "startColumn": 1, + "charOffset": 12798, + "charLength": 84, + "snippet": { + "text": " /// 原生下载器\r\n /// \r\n Native,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2a401c002f1231ee4dd730021680b810f6c4c4c4b0ad6e10838904f6b53141e0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DropFile' is never used", + "markdown": "Method 'DropFile' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 401, + "startColumn": 21, + "charOffset": 13805, + "charLength": 8, + "snippet": { + "text": "DropFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 399, + "startColumn": 1, + "charOffset": 13673, + "charLength": 246, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void DropFile(object sender, DragEventArgs e)\r\n {\r\n if (e.Data.GetDataPresent(DataFormats.FileDrop))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2c8fa41ea41ad5f1c802d4e1bb027e228a9a5eb6868034aaeca37a931ab2c8af" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Icon' is never used", + "markdown": "Property 'Icon' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 27, + "startColumn": 23, + "charOffset": 884, + "charLength": 4, + "snippet": { + "text": "Icon" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 25, + "startColumn": 1, + "charOffset": 824, + "charLength": 117, + "snippet": { + "text": "\r\n [JsonPropertyName(\"icon\")]\r\n public string Icon { get; set; }\r\n\r\n [JsonPropertyName(\"name\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "39a17d5e08dc569f9f30876b01c6c783bc7c41239d7d656ad1f22b8d35f8acdf" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constant 'ConfigurationCron' is never used", + "markdown": "Constant 'ConfigurationCron' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/ConfigurationKeys.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 26, + "startColumn": 29, + "charOffset": 1040, + "charLength": 17, + "snippet": { + "text": "ConfigurationCron" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 24, + "startColumn": 1, + "charOffset": 889, + "charLength": 245, + "snippet": { + "text": " public const string ConfigurationMap = \"Configurations\";\r\n public const string ConfigurationData = \"Data\";\r\n public const string ConfigurationCron = \"Cron\";\r\n\r\n public const string Localization = \"GUI.Localization\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3be310253fd4230f0c7899f19a6fc8844f80a459f8349d43900769ef59c22bf1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Start' is never used", + "markdown": "Method 'Start' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 492, + "startColumn": 27, + "charOffset": 16579, + "charLength": 5, + "snippet": { + "text": "Start" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 490, + "startColumn": 1, + "charOffset": 16500, + "charLength": 114, + "snippet": { + "text": " /// Starts copilot.\r\n /// \r\n public async void Start()\r\n {\r\n /*\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3d936acd58d8957f864598fda8e1282e4a5f8f23cfaf9dd55016892d8864f259" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'RecruitStartCalc' is never used", + "markdown": "Method 'RecruitStartCalc' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 209, + "startColumn": 27, + "charOffset": 7005, + "charLength": 16, + "snippet": { + "text": "RecruitStartCalc" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 207, + "startColumn": 1, + "charOffset": 6922, + "charLength": 156, + "snippet": { + "text": " /// Starts calculation.\r\n /// \r\n public async void RecruitStartCalc()\r\n {\r\n string errMsg = string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3dae383b620182175b14a9a6de51e370cbdfb74a47069ff499d8b8359363fb9c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OnDropDownOpened' is never used", + "markdown": "Method 'OnDropDownOpened' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 445, + "startColumn": 21, + "charOffset": 15125, + "charLength": 16, + "snippet": { + "text": "OnDropDownOpened" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 443, + "startColumn": 1, + "charOffset": 14993, + "charLength": 260, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void OnDropDownOpened(object sender, EventArgs e)\r\n {\r\n var comboBox = sender as System.Windows.Controls.ComboBox;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4079dd83a295bdbf0cced2a9a1424a8f2f240beba7bfff746d145dc30bada520" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OpenHyperlink' is never used", + "markdown": "Method 'OpenHyperlink' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 928, + "startColumn": 21, + "charOffset": 33897, + "charLength": 13, + "snippet": { + "text": "OpenHyperlink" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 926, + "startColumn": 1, + "charOffset": 33765, + "charLength": 251, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void OpenHyperlink(object sender, ExecutedRoutedEventArgs e)\r\n {\r\n Process.Start(e.Parameter.ToString());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4194d15f3cd6712d7871c5f58131c2d14d1d0a50e63e5c266d70cc41b27c6da6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DeleteConfiguration' is never used", + "markdown": "Method 'DeleteConfiguration' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1020, + "startColumn": 21, + "charOffset": 40050, + "charLength": 19, + "snippet": { + "text": "DeleteConfiguration" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1018, + "startColumn": 1, + "charOffset": 40017, + "charLength": 159, + "snippet": { + "text": " }\r\n\r\n public void DeleteConfiguration(CombinedData delete)\r\n {\r\n if (ConfigurationHelper.DeleteConfiguration(delete.Display))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "457aa7dec9476ad02a1b0342e819d41b2149ff548548ad4f052b9a99bf654ecd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ListTitle.set' is never used", + "markdown": "Accessor 'ListTitle.set' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 159, + "startColumn": 13, + "charOffset": 5546, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 157, + "startColumn": 1, + "charOffset": 5491, + "charLength": 112, + "snippet": { + "text": " {\r\n get => _listTitle;\r\n set => SetAndNotify(ref _listTitle, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5258000eca4a5d10bbaeb12eda2730dab56bb1d4ba41aa799139939880a52875" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'FLASHW_STOP' is never used", + "markdown": "Enum member 'FLASHW_STOP' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 581, + "startColumn": 13, + "charOffset": 19026, + "charLength": 11, + "snippet": { + "text": "FLASHW_STOP" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 579, + "startColumn": 1, + "charOffset": 18951, + "charLength": 121, + "snippet": { + "text": " /// \r\n [Description(\"停止闪烁\")]\r\n FLASHW_STOP = 0,\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "533dbad26689fd79451590540b9b9f4c9291f020801d1db3a3de9577959b8843" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constant 'UseAria2' is never used", + "markdown": "Constant 'UseAria2' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/ConfigurationKeys.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 140, + "startColumn": 29, + "charOffset": 8716, + "charLength": 8, + "snippet": { + "text": "UseAria2" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 138, + "startColumn": 1, + "charOffset": 8532, + "charLength": 419, + "snippet": { + "text": " public const string UpdateCheck = \"VersionUpdate.UpdateCheck\";\r\n public const string UpdatAutoCheck = \"VersionUpdate.ScheduledUpdateCheck\";\r\n public const string UseAria2 = \"VersionUpdate.UseAria2\";\r\n public const string AutoDownloadUpdatePackage = \"VersionUpdate.AutoDownloadUpdatePackage\";\r\n public const string AutoInstallUpdatePackage = \"VersionUpdate.AutoInstallUpdatePackage\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "57107307fa8037b03ace3b15261762e2b3e72b24a99bde3c0acc2599377686ee" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'PasteClipboard' is never used", + "markdown": "Method 'PasteClipboard' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 382, + "startColumn": 21, + "charOffset": 13182, + "charLength": 14, + "snippet": { + "text": "PasteClipboard" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 380, + "startColumn": 1, + "charOffset": 13099, + "charLength": 154, + "snippet": { + "text": " /// Paste clipboard contents.\r\n /// \r\n public void PasteClipboard()\r\n {\r\n if (Clipboard.ContainsText())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5ce3f30e919719b9b3ec9ea24dfecb4fd06aa75f6b2787375da51e6fdd911d15" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'LikeWebJson' is never used", + "markdown": "Method 'LikeWebJson' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 597, + "startColumn": 21, + "charOffset": 19700, + "charLength": 11, + "snippet": { + "text": "LikeWebJson" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 595, + "startColumn": 1, + "charOffset": 19667, + "charLength": 92, + "snippet": { + "text": " }\r\n\r\n public void LikeWebJson()\r\n {\r\n RateWebJson(\"Like\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e03f53942d40826578614b119105876e6f7017a1f5263338d0d54f140551ad8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartDepot' is never used", + "markdown": "Method 'StartDepot' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 439, + "startColumn": 27, + "charOffset": 14977, + "charLength": 10, + "snippet": { + "text": "StartDepot" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 437, + "startColumn": 1, + "charOffset": 14888, + "charLength": 156, + "snippet": { + "text": " /// Starts depot recognition.\r\n /// \r\n public async void StartDepot()\r\n {\r\n string errMsg = string.Empty;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5e47a0df4336e0af65af7ac326f08908a178230d867e114508df1677b203512f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ExportOperBox' is never used", + "markdown": "Method 'ExportOperBox' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 639, + "startColumn": 21, + "charOffset": 21557, + "charLength": 13, + "snippet": { + "text": "ExportOperBox" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 637, + "startColumn": 1, + "charOffset": 21524, + "charLength": 118, + "snippet": { + "text": " }\r\n\r\n public void ExportOperBox()\r\n {\r\n if (string.IsNullOrEmpty(OperBoxExportData))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5f53b24cd32c5e78824d3c4c335870828d30b347d927f9d235ff004ab6debb30" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'DepotResult.set' is never used", + "markdown": "Accessor 'DepotResult.set' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 352, + "startColumn": 13, + "charOffset": 12164, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 350, + "startColumn": 1, + "charOffset": 12107, + "charLength": 116, + "snippet": { + "text": " {\r\n get => _depotResult;\r\n set => SetAndNotify(ref _depotResult, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "62cdd4170998cf1f2d358b5646bb338058a46a38a9341a9625d9f53145fa37dd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GetStreamAsync' is never used", + "markdown": "Method 'GetStreamAsync' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/IHttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 22, + "charOffset": 1852, + "charLength": 14, + "snippet": { + "text": "GetStreamAsync" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1691, + "charLength": 258, + "snippet": { + "text": " /// Extra HTTP Request Headers\r\n /// Response stream, null when failed\r\n Task GetStreamAsync(Uri uri, Dictionary extraHeader = null);\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "670b8d2c8307366bb88c2727935a307085729cd07793298ba1ef9b9da207b9ab" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SelectFile' is never used", + "markdown": "Method 'SelectFile' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2512, + "startColumn": 21, + "charOffset": 94493, + "charLength": 10, + "snippet": { + "text": "SelectFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2510, + "startColumn": 1, + "charOffset": 94410, + "charLength": 152, + "snippet": { + "text": " /// Selects ADB program file.\r\n /// \r\n public void SelectFile()\r\n {\r\n var dialog = new OpenFileDialog\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "69dae70a5af0c46bbaad8e6728af558dc9cd161c4b8258ed64d1b23464dbef73" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'ClassifyType' is never used", + "markdown": "Property 'ClassifyType' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 21, + "startColumn": 23, + "charOffset": 702, + "charLength": 12, + "snippet": { + "text": "ClassifyType" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 19, + "startColumn": 1, + "charOffset": 629, + "charLength": 145, + "snippet": { + "text": " {\r\n [JsonPropertyName(\"classifyType\")]\r\n public string ClassifyType { get; set; }\r\n\r\n [JsonPropertyName(\"description\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "76315b3a0a84133ef21f69ee6b09203e64c178d994b8d2bedfff1e6d35eea4b0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'OK' is never used", + "markdown": "Field 'OK' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 30, + "charOffset": 1123, + "charLength": 2, + "snippet": { + "text": "OK" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1049, + "charLength": 110, + "snippet": { + "text": " /// OK text\r\n /// \r\n public static string OK = \"OK\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "78a2c7e68bd5cb94893283469aced05b69727032f545633cc4632a02b99fd533" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Token' is never used", + "markdown": "Property 'Token' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 109, + "startColumn": 23, + "charOffset": 3546, + "charLength": 5, + "snippet": { + "text": "Token" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 107, + "startColumn": 1, + "charOffset": 3463, + "charLength": 128, + "snippet": { + "text": " /// Gets or sets the token.\r\n /// \r\n public string Token\r\n {\r\n get => _token;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7992fb6d3ad347019a3c05632f4a7fb116d2955d5c504d5b538b7fff77cdf829" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'CreditFightTaskEnabled.set' is never used", + "markdown": "Accessor 'CreditFightTaskEnabled.set' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1626, + "startColumn": 13, + "charOffset": 62137, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1624, + "startColumn": 1, + "charOffset": 62108, + "charLength": 115, + "snippet": { + "text": " }\r\n\r\n set\r\n {\r\n SetAndNotify(ref _creditFightTaskEnabled, value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7bceabbe79e30b4f18074567cf44e3ed6460c88d6f6d5538c5e4e722cf8ff73c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'FALSHW_CAPTION' is never used", + "markdown": "Enum member 'FALSHW_CAPTION' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 587, + "startColumn": 13, + "charOffset": 19173, + "charLength": 14, + "snippet": { + "text": "FALSHW_CAPTION" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 585, + "startColumn": 1, + "charOffset": 19097, + "charLength": 125, + "snippet": { + "text": " /// \r\n [Description(\"只闪烁标题\")]\r\n FALSHW_CAPTION = 1,\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7d98082b916405dfe1a42db1ef4d00a203a26dce7476002aaa89ff0d6fdd287f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ShowChangelog' is never used", + "markdown": "Method 'ShowChangelog' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2222, + "startColumn": 21, + "charOffset": 83543, + "charLength": 13, + "snippet": { + "text": "ShowChangelog" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2220, + "startColumn": 1, + "charOffset": 83510, + "charLength": 143, + "snippet": { + "text": " }\r\n\r\n public void ShowChangelog()\r\n {\r\n Instances.WindowManager.ShowWindow(Instances.VersionUpdateViewModel);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7fdcab79cde1c5d853aad94e73010146551700f92bf498756c87c1ec33c0b3ed" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constructor 'MaaHotKey' is never used", + "markdown": "Constructor 'MaaHotKey' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/MaaHotKey.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 22, + "startColumn": 16, + "charOffset": 705, + "charLength": 9, + "snippet": { + "text": "MaaHotKey" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 20, + "startColumn": 1, + "charOffset": 646, + "charLength": 93, + "snippet": { + "text": " public class MaaHotKey : HotKey\r\n {\r\n public MaaHotKey()\r\n {\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "88e66be71ce21b235af71497913c8c79f14b2eb80442796ccf8920c5c7689afd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SelectFile' is never used", + "markdown": "Method 'SelectFile' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 366, + "startColumn": 21, + "charOffset": 12762, + "charLength": 10, + "snippet": { + "text": "SelectFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 364, + "startColumn": 1, + "charOffset": 12691, + "charLength": 140, + "snippet": { + "text": " /// Selects file.\r\n /// \r\n public void SelectFile()\r\n {\r\n var dialog = new OpenFileDialog\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "88ed0f87b7196bff920694d78c1d2fa881fc1fc02ef9c40c860567d5e1497617" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DoneGuide' is never used", + "markdown": "Method 'DoneGuide' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3315, + "startColumn": 21, + "charOffset": 124594, + "charLength": 9, + "snippet": { + "text": "DoneGuide" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3313, + "startColumn": 1, + "charOffset": 124561, + "charLength": 108, + "snippet": { + "text": " }\r\n\r\n public void DoneGuide()\r\n {\r\n TaskSettingVisibilities.Guide = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8dc4878d9a05c24bc0ade4c2515e4ce73e48af282ae41353ebfeaf07c8e9ac26" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GachaOnce' is never used", + "markdown": "Method 'GachaOnce' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 682, + "startColumn": 21, + "charOffset": 22634, + "charLength": 9, + "snippet": { + "text": "GachaOnce" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 680, + "startColumn": 1, + "charOffset": 22601, + "charLength": 87, + "snippet": { + "text": " }\r\n\r\n public void GachaOnce()\r\n {\r\n StartGacha(true);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8f6ccac04d48c0f3dd179402567ecf38f70f10d4935a0f787549cfbc8aa9b9e7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Brush2HexString' is never used", + "markdown": "Method 'Brush2HexString' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ThemeHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 109, + "startColumn": 30, + "charOffset": 4417, + "charLength": 15, + "snippet": { + "text": "Brush2HexString" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 107, + "startColumn": 1, + "charOffset": 4375, + "charLength": 148, + "snippet": { + "text": " }\r\n\r\n public static string Brush2HexString(SolidColorBrush brush, bool keepAlpha = false)\r\n {\r\n if (brush != null)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "96b132982ae18d2492605b2924e5c7b01379304c23db0e723856d17ea008641d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SelectCustomInfrastFile' is never used", + "markdown": "Method 'SelectCustomInfrastFile' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1238, + "startColumn": 21, + "charOffset": 48039, + "charLength": 23, + "snippet": { + "text": "SelectCustomInfrastFile" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1236, + "startColumn": 1, + "charOffset": 47953, + "charLength": 168, + "snippet": { + "text": " /// Selects infrast config file.\r\n /// \r\n public void SelectCustomInfrastFile()\r\n {\r\n var dialog = new OpenFileDialog\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "96fcb73fb2db99c90fe1eb2db37f04d4b6d59d00ac509a8f92de34005de04472" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constant 'ConfigurationData' is never used", + "markdown": "Constant 'ConfigurationData' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/ConfigurationKeys.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 25, + "startColumn": 29, + "charOffset": 983, + "charLength": 17, + "snippet": { + "text": "ConfigurationData" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 23, + "startColumn": 1, + "charOffset": 828, + "charLength": 242, + "snippet": { + "text": " public const string GlobalConfiguration = \"Global\";\r\n public const string ConfigurationMap = \"Configurations\";\r\n public const string ConfigurationData = \"Data\";\r\n public const string ConfigurationCron = \"Cron\";\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9b13dfda4a0afa84f3892764d40f16c9128f77de1753c0d9692c85db30b7bb80" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'CopyFilesRecursively' is never used", + "markdown": "Method 'CopyFilesRecursively' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 906, + "startColumn": 28, + "charOffset": 32951, + "charLength": 20, + "snippet": { + "text": "CopyFilesRecursively" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 904, + "startColumn": 1, + "charOffset": 32821, + "charLength": 252, + "snippet": { + "text": " /// 源文件夹\r\n /// 目标文件夹\r\n public static void CopyFilesRecursively(string sourcePath, string targetPath)\r\n {\r\n Directory.CreateDirectory(targetPath);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9dacc500fb800e36bad84d83f15614be19f07a6a62a9a2f1b437488bfec85618" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GachaAgreeDisclaimer' is never used", + "markdown": "Method 'GachaAgreeDisclaimer' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 766, + "startColumn": 21, + "charOffset": 25310, + "charLength": 20, + "snippet": { + "text": "GachaAgreeDisclaimer" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 764, + "startColumn": 1, + "charOffset": 25277, + "charLength": 109, + "snippet": { + "text": " }\r\n\r\n public void GachaAgreeDisclaimer()\r\n {\r\n GachaShowDisclaimer = false;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a0c107a55b54eae6b7bbda77eed36f0d3d5ce49adb9efb5d4a11401574d024bc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ExportToArkplanner' is never used", + "markdown": "Method 'ExportToArkplanner' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 413, + "startColumn": 21, + "charOffset": 14191, + "charLength": 18, + "snippet": { + "text": "ExportToArkplanner" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 411, + "startColumn": 1, + "charOffset": 14101, + "charLength": 178, + "snippet": { + "text": " /// Export depot info to ArkPlanner.\r\n /// \r\n public void ExportToArkplanner()\r\n {\r\n Clipboard.SetDataObject(ArkPlannerResult);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a17ce74a9da41957eef435081eb75a9b2fbeb51353dc0b78682483828b6ba56f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'No' is never used", + "markdown": "Field 'No' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 66, + "startColumn": 30, + "charOffset": 1834, + "charLength": 2, + "snippet": { + "text": "No" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 64, + "startColumn": 1, + "charOffset": 1760, + "charLength": 203, + "snippet": { + "text": " /// No text\r\n /// \r\n public static string No = \"No\";\r\n\r\n private static void SetImage(MessageBoxImage messageBoxImage, ref string iconKey, ref string iconBrushKey)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a266b898166f19717d7e56765717c0a1b6bf49b4e20548e8143f6ca71a8d7ed0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'VersionInfo' is never used", + "markdown": "Property 'VersionInfo' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 82, + "startColumn": 23, + "charOffset": 2588, + "charLength": 11, + "snippet": { + "text": "VersionInfo" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 80, + "startColumn": 1, + "charOffset": 2506, + "charLength": 137, + "snippet": { + "text": " /// Gets the version info.\r\n /// \r\n public string VersionInfo => s_versionInfo;\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a3a6b690ba94b0623713ff84192d0c860050c2b59d3a6422f0e2d6ca30f3e9f7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constant 'RobotOperator' is never used", + "markdown": "Constant 'RobotOperator' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Constants/UILogColor.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 54, + "startColumn": 29, + "charOffset": 1782, + "charLength": 13, + "snippet": { + "text": "RobotOperator" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 52, + "startColumn": 1, + "charOffset": 1670, + "charLength": 178, + "snippet": { + "text": " /// The recommended color for robot operator logs.\r\n /// \r\n public const string RobotOperator = \"RobotOperatorLogBrush\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a4c3352dd063fb9ed1b500e8fb45ec489948151a42d361eed1bd8cf63ee9babb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstLog' is never used", + "markdown": "Method 'AsstLog' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 155, + "startColumn": 35, + "charOffset": 5451, + "charLength": 7, + "snippet": { + "text": "AsstLog" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 153, + "startColumn": 1, + "charOffset": 5344, + "charLength": 242, + "snippet": { + "text": " /// \r\n /// 日志内容。\r\n public static unsafe void AsstLog(string message)\r\n {\r\n var level = new ReadOnlySpan(new byte[] { (byte)'G', (byte)'U', (byte)'I', 0 });\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a6006c1f082babf12d6742c339b06febcef8fb61ec8064d645b58a3d2aea95ef" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'Connected.get' is never used", + "markdown": "Accessor 'Connected.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 405, + "startColumn": 13, + "charOffset": 14461, + "charLength": 3, + "snippet": { + "text": "get" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 403, + "startColumn": 1, + "charOffset": 14407, + "charLength": 122, + "snippet": { + "text": " public bool Connected\r\n {\r\n get => connected;\r\n set => connected = value;\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a6f3bae82f872a64fc223951d41e1241d2d38d74b9e9eda30e22bae97fce94cd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AddConfiguration' is never used", + "markdown": "Method 'AddConfiguration' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 987, + "startColumn": 21, + "charOffset": 38747, + "charLength": 16, + "snippet": { + "text": "AddConfiguration" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 985, + "startColumn": 1, + "charOffset": 38714, + "charLength": 124, + "snippet": { + "text": " }\r\n\r\n public void AddConfiguration()\r\n {\r\n if (string.IsNullOrEmpty(NewConfigurationName))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a7ccdcf970dcc7490d4baec43b85c5aa7a45a1798023d89c7a4084a9d989b33d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'NextGuide' is never used", + "markdown": "Method 'NextGuide' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3303, + "startColumn": 21, + "charOffset": 124250, + "charLength": 9, + "snippet": { + "text": "NextGuide" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3301, + "startColumn": 1, + "charOffset": 124217, + "charLength": 142, + "snippet": { + "text": " }\r\n\r\n public void NextGuide(HandyControl.Controls.StepBar stepBar)\r\n {\r\n GuideTransitionMode = \"Bottom2Top\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a9ed7c8ece12064da92b6cbe797608ab40f9025b35b60527def99a42a80a87ec" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DropsList_Loaded' is never used", + "markdown": "Method 'DropsList_Loaded' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2697, + "startColumn": 21, + "charOffset": 95429, + "charLength": 16, + "snippet": { + "text": "DropsList_Loaded" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2695, + "startColumn": 1, + "charOffset": 95306, + "charLength": 240, + "snippet": { + "text": " /// Event sender\r\n /// Event args\r\n public void DropsList_Loaded(object sender, EventArgs e)\r\n {\r\n (sender as ComboBox)?.MakeComboBoxSearchable();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "aa27f6a0d2fd1122e94ef500e51b7d9ce1060795543efc10bdddd4e2da232617" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'FLASHW_ALL' is never used", + "markdown": "Enum member 'FLASHW_ALL' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 599, + "startColumn": 13, + "charOffset": 19482, + "charLength": 10, + "snippet": { + "text": "FLASHW_ALL" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 597, + "startColumn": 1, + "charOffset": 19401, + "charLength": 126, + "snippet": { + "text": " /// \r\n [Description(\"标题和任务栏同时闪烁\")]\r\n FLASHW_ALL = 3,\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ab2f6b3eb937481bac67118c5e68edd36cabd457cdde8bdf0760c8ed7ec7e1a1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AddButtonRight' is never used", + "markdown": "Method 'AddButtonRight' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 311, + "startColumn": 34, + "charOffset": 10027, + "charLength": 14, + "snippet": { + "text": "AddButtonRight" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 309, + "startColumn": 1, + "charOffset": 9897, + "charLength": 222, + "snippet": { + "text": " /// 按钮执行方法\r\n /// 返回类本身,可继续调用其它方法\r\n public ToastNotification AddButtonRight(string text, Action action)\r\n {\r\n _buttonRightText = text;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "acf5a9b4ed496a1130585dc3a45dec4fc66246b68b36080c5062c40c46f92b81" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'Ignore' is never used", + "markdown": "Field 'Ignore' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 56, + "startColumn": 30, + "charOffset": 1601, + "charLength": 6, + "snippet": { + "text": "Ignore" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 54, + "startColumn": 1, + "charOffset": 1523, + "charLength": 122, + "snippet": { + "text": " /// Ignore text\r\n /// \r\n public static string Ignore = \"Ignore\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b2b2ab3299b8e38d734d3ff629a7e3c00b90f30a9fe62a4cdcabd0022e33ac2c" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DislikeWebJson' is never used", + "markdown": "Method 'DislikeWebJson' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 602, + "startColumn": 21, + "charOffset": 19793, + "charLength": 14, + "snippet": { + "text": "DislikeWebJson" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 600, + "startColumn": 1, + "charOffset": 19760, + "charLength": 98, + "snippet": { + "text": " }\r\n\r\n public void DislikeWebJson()\r\n {\r\n RateWebJson(\"Dislike\");\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bb080ecca4fe55b85f3d8ba7baca4129587034e83345eab259f92e611144da88" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Usage' is never used", + "markdown": "Property 'Usage' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 23, + "charOffset": 1126, + "charLength": 5, + "snippet": { + "text": "Usage" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 1065, + "charLength": 91, + "snippet": { + "text": "\r\n [JsonPropertyName(\"usage\")]\r\n public string Usage { get; set; }\r\n }\r\n}\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bc444ad788924a713f20d3e273b257edb5f26dcb99d08b1077f61ebf3b62bf48" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'Retry' is never used", + "markdown": "Field 'Retry' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 51, + "startColumn": 30, + "charOffset": 1480, + "charLength": 5, + "snippet": { + "text": "Retry" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 49, + "startColumn": 1, + "charOffset": 1403, + "charLength": 119, + "snippet": { + "text": " /// Retry text\r\n /// \r\n public static string Retry = \"Retry\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bf5bc9202b1d4b86e54adba05ec917174cd8eae4e25e9cad0727d8916872d8ea" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Constructor 'DragItemViewModel' is never used", + "markdown": "Constructor 'DragItemViewModel' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 33, + "startColumn": 16, + "charOffset": 1109, + "charLength": 17, + "snippet": { + "text": "DragItemViewModel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 31, + "startColumn": 1, + "charOffset": 981, + "charLength": 215, + "snippet": { + "text": " /// The name.\r\n /// The storage key.\r\n public DragItemViewModel(string name, string storageKey)\r\n {\r\n Name = name;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ca812b969b6345663757f22dfafa8e9c4fe567b38a2bb2f1c6f5e321b0060ade" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'UseTray' is never used", + "markdown": "Property 'UseTray' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2742, + "startColumn": 21, + "charOffset": 103304, + "charLength": 7, + "snippet": { + "text": "UseTray" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2740, + "startColumn": 1, + "charOffset": 103197, + "charLength": 267, + "snippet": { + "text": " /// Gets a value indicating whether to use tray icon.\r\n /// \r\n public bool UseTray => true;\r\n\r\n private bool _minimizeToTray = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.MinimizeToTray, bool.FalseString));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cc8516be8cde8600fa78fa3dc11d929b614c10b37b8a5fbeec874523ff81f5b8" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'KeyDown' is never used", + "markdown": "Method 'KeyDown' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 683, + "startColumn": 21, + "charOffset": 22326, + "charLength": 7, + "snippet": { + "text": "KeyDown" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 681, + "startColumn": 1, + "charOffset": 22214, + "charLength": 199, + "snippet": { + "text": " /// 点击事件发送者\r\n /// 点击事件\r\n public void KeyDown(object sender, KeyEventArgs e)\r\n {\r\n if (e.Key != Key.Enter)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cd18c537b68f7d045f8770194b6f59db593edcc28773eca2100a72d505b5f4ad" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DropsListDropDownClosed' is never used", + "markdown": "Method 'DropsListDropDownClosed' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2656, + "startColumn": 21, + "charOffset": 94092, + "charLength": 23, + "snippet": { + "text": "DropsListDropDownClosed" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2654, + "startColumn": 1, + "charOffset": 94059, + "charLength": 115, + "snippet": { + "text": " }\r\n\r\n public void DropsListDropDownClosed()\r\n {\r\n foreach (var item in DropsList)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ce33410584b35274af3ab73be96977f91b3e9cae1b4a40832139c661fddcfeb1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'SortId' is never used", + "markdown": "Property 'SortId' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 33, + "startColumn": 20, + "charOffset": 1043, + "charLength": 6, + "snippet": { + "text": "SortId" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 31, + "startColumn": 1, + "charOffset": 984, + "charLength": 119, + "snippet": { + "text": "\r\n [JsonPropertyName(\"sortId\")]\r\n public int SortId { get; set; }\r\n\r\n [JsonPropertyName(\"usage\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d898bf3579c92fed07c735c2ee9db98399666f120450cf73f970fb4966d6be3d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'InverseSelectedWidth.set' is never used", + "markdown": "Accessor 'InverseSelectedWidth.set' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 649, + "startColumn": 13, + "charOffset": 23818, + "charLength": 3, + "snippet": { + "text": "set" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 647, + "startColumn": 1, + "charOffset": 23752, + "charLength": 134, + "snippet": { + "text": " {\r\n get => _inverseSelectedWidth;\r\n set => SetAndNotify(ref _inverseSelectedWidth, value);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d985f1ec38edbfed12e9472a2a69a3a8974ec77681f22640e6c29ea07bb0e7dc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'ForegroundKey.get' is never used", + "markdown": "Accessor 'ForegroundKey.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Controls/TextBlock.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 48, + "startColumn": 13, + "charOffset": 1899, + "charLength": 3, + "snippet": { + "text": "get" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 46, + "startColumn": 1, + "charOffset": 1839, + "charLength": 144, + "snippet": { + "text": " public string ForegroundKey\r\n {\r\n get\r\n {\r\n return (string)GetValue(ForegroundKeyProperty);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dc3c98217582e3321a2abe388d2b95d01395896ee0194dcf0c0ebc1a14e642dc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'RemoveAddress_Click' is never used", + "markdown": "Method 'RemoveAddress_Click' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2306, + "startColumn": 21, + "charOffset": 86587, + "charLength": 19, + "snippet": { + "text": "RemoveAddress_Click" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2304, + "startColumn": 1, + "charOffset": 86554, + "charLength": 132, + "snippet": { + "text": " }\r\n\r\n public void RemoveAddress_Click(string address)\r\n {\r\n ConnectAddressHistory.Remove(address);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "dee8bc0c327f2f22170f7f4e1c5931ecff8281bd6c58f7f2a9eb240384febff7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Accessor 'LastCreditFightTaskTime.get' is never used", + "markdown": "Accessor 'LastCreditFightTaskTime.get' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1594, + "startColumn": 13, + "charOffset": 60981, + "charLength": 3, + "snippet": { + "text": "get" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1592, + "startColumn": 1, + "charOffset": 60911, + "charLength": 135, + "snippet": { + "text": " public string LastCreditFightTaskTime\r\n {\r\n get => _lastCreditFightTaskTime;\r\n set\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e10c4b91a6cfb2c93dbd3c5891b831a742dfbcc5fb9c8922d795ca78c66688b7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'Description' is never used", + "markdown": "Property 'Description' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Models/ArkItem.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 24, + "startColumn": 23, + "charOffset": 797, + "charLength": 11, + "snippet": { + "text": "Description" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 22, + "startColumn": 1, + "charOffset": 730, + "charLength": 131, + "snippet": { + "text": "\r\n [JsonPropertyName(\"description\")]\r\n public string Description { get; set; }\r\n\r\n [JsonPropertyName(\"icon\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e18e9016ea323c10147860b6751f201301804d6bdf82214abef1f760b28efaea" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SelectedAll' is never used", + "markdown": "Method 'SelectedAll' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 592, + "startColumn": 21, + "charOffset": 21758, + "charLength": 11, + "snippet": { + "text": "SelectedAll" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 590, + "startColumn": 1, + "charOffset": 21688, + "charLength": 149, + "snippet": { + "text": " /// Selects all.\r\n /// \r\n public void SelectedAll()\r\n {\r\n foreach (var item in TaskItemViewModels)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e2eb5f8cd9e099602c74137faf34683a758fd47197a91b809e7e862902dad064" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Stop' is never used", + "markdown": "Method 'Stop' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 547, + "startColumn": 21, + "charOffset": 18326, + "charLength": 4, + "snippet": { + "text": "Stop" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 545, + "startColumn": 1, + "charOffset": 18254, + "charLength": 135, + "snippet": { + "text": " /// Stops copilot.\r\n /// \r\n public void Stop()\r\n {\r\n Instances.AsstProxy.AsstStop();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e41a1effe624b713014f6b860a2f88ac17ccdcb349b7850de1c68af57e06a1f0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SelectEmulatorExec' is never used", + "markdown": "Method 'SelectEmulatorExec' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 833, + "startColumn": 21, + "charOffset": 33673, + "charLength": 18, + "snippet": { + "text": "SelectEmulatorExec" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 831, + "startColumn": 1, + "charOffset": 33583, + "charLength": 167, + "snippet": { + "text": " /// Selects the emulator to execute.\r\n /// \r\n public void SelectEmulatorExec()\r\n {\r\n var dialog = new OpenFileDialog\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e60831fab536409d7739bbf2a0e4d54481101f2fac96b27ba0da0f7c32c8fa1a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'Abort' is never used", + "markdown": "Field 'Abort' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 46, + "startColumn": 30, + "charOffset": 1360, + "charLength": 5, + "snippet": { + "text": "Abort" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 44, + "startColumn": 1, + "charOffset": 1283, + "charLength": 119, + "snippet": { + "text": " /// Abort text\r\n /// \r\n public static string Abort = \"Abort\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e73f44f205aade90a8909be7b7c195e3fc7a9d351253a73582ec5fdf8c6246e5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'FLASHW_TIMER' is never used", + "markdown": "Enum member 'FLASHW_TIMER' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 615, + "startColumn": 13, + "charOffset": 19925, + "charLength": 12, + "snippet": { + "text": "FLASHW_TIMER" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 613, + "startColumn": 1, + "charOffset": 19841, + "charLength": 157, + "snippet": { + "text": " /// \r\n [Description(\"闪烁直到达到次数或收到停止\")]\r\n FLASHW_TIMER = FLASHW_TRAY | FLASHW_PARAM1,\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e8eb1b4e03c5c38fa66bf083c3a79b3e4e23911dda18475dc7df0cee0b87f025" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Show' is never used", + "markdown": "Method 'Show' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 100, + "startColumn": 40, + "charOffset": 3105, + "charLength": 4, + "snippet": { + "text": "Show" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 98, + "startColumn": 1, + "charOffset": 3053, + "charLength": 174, + "snippet": { + "text": " }\r\n\r\n public static MessageBoxResult Show(MessageBoxInfo info) => HandyControl.Controls.MessageBox.Show(info);\r\n\r\n public static MessageBoxResult Show(\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ea8e0ee3013eb6574835b0721094c4b125afcef388b43a58b5fb76694532ad86" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum member 'SubTaskStopped' is never used", + "markdown": "Enum member 'SubTaskStopped' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1846, + "startColumn": 9, + "charOffset": 72975, + "charLength": 14, + "snippet": { + "text": "SubTaskStopped" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1844, + "startColumn": 1, + "charOffset": 72921, + "charLength": 79, + "snippet": { + "text": " /// 原子任务手动停止\r\n /// \r\n SubTaskStopped,\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "eb16a27f3b33436cc856d2d46fe1b08000904ec9106620eb0d9331f1df6452e3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ExportToLolicon' is never used", + "markdown": "Method 'ExportToLolicon' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 422, + "startColumn": 21, + "charOffset": 14479, + "charLength": 15, + "snippet": { + "text": "ExportToLolicon" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 420, + "startColumn": 1, + "charOffset": 14392, + "charLength": 169, + "snippet": { + "text": " /// Export depot info to Lolicon.\r\n /// \r\n public void ExportToLolicon()\r\n {\r\n Clipboard.SetDataObject(LoliconResult);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ebeff6149f40546d52246de67ef37245cbab4b4a3a4c264607ef6ece50bd08b5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'Yes' is never used", + "markdown": "Field 'Yes' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 61, + "startColumn": 30, + "charOffset": 1721, + "charLength": 3, + "snippet": { + "text": "Yes" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 59, + "startColumn": 1, + "charOffset": 1646, + "charLength": 113, + "snippet": { + "text": " /// Yes text\r\n /// \r\n public static string Yes = \"Yes\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f0746c58c4b56d7d69e0381c88140d5f4e8333e718a64946c32c0cb2a4c26494" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ReplaceADB' is never used", + "markdown": "Method 'ReplaceADB' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2652, + "startColumn": 27, + "charOffset": 100005, + "charLength": 10, + "snippet": { + "text": "ReplaceADB" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2650, + "startColumn": 1, + "charOffset": 99898, + "charLength": 181, + "snippet": { + "text": " private static readonly string GoogleAdbFilename = \"adb-windows.zip\";\r\n\r\n public async void ReplaceADB()\r\n {\r\n if (!File.Exists(GoogleAdbFilename))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f7e534333268864f0f8cc0c47c1683bce5e009da86545d815c86b342bcd97a78" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Property 'IconPath' is never used", + "markdown": "Property 'IconPath' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/DragItemViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 98, + "startColumn": 23, + "charOffset": 3285, + "charLength": 8, + "snippet": { + "text": "IconPath" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 96, + "startColumn": 1, + "charOffset": 3198, + "charLength": 138, + "snippet": { + "text": " /// Gets or sets the icon path.\r\n /// \r\n public string IconPath\r\n {\r\n get => _iconPath;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fad0780dae28c58445f09b95b92d4a7b305ff220779dc0bdf016185dc609d6a0" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'PrevGuide' is never used", + "markdown": "Method 'PrevGuide' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 3309, + "startColumn": 21, + "charOffset": 124422, + "charLength": 9, + "snippet": { + "text": "PrevGuide" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 3307, + "startColumn": 1, + "charOffset": 124389, + "charLength": 142, + "snippet": { + "text": " }\r\n\r\n public void PrevGuide(HandyControl.Controls.StepBar stepBar)\r\n {\r\n GuideTransitionMode = \"Top2Bottom\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fb534a9555dc43a8641fc1852c1e0082400a0069d8ee43377293d33c7bd1b435" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Field 'Cancel' is never used", + "markdown": "Field 'Cancel' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/MessageBoxHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 41, + "startColumn": 30, + "charOffset": 1238, + "charLength": 6, + "snippet": { + "text": "Cancel" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 39, + "startColumn": 1, + "charOffset": 1160, + "charLength": 122, + "snippet": { + "text": " /// Cancel text\r\n /// \r\n public static string Cancel = \"Cancel\";\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fbf2a007777eda82ad420ffbeeec8096c618c804c5734ca3ee180d5f641f279e" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'GachaTenTimes' is never used", + "markdown": "Method 'GachaTenTimes' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 687, + "startColumn": 21, + "charOffset": 22722, + "charLength": 13, + "snippet": { + "text": "GachaTenTimes" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 685, + "startColumn": 1, + "charOffset": 22689, + "charLength": 92, + "snippet": { + "text": " }\r\n\r\n public void GachaTenTimes()\r\n {\r\n StartGacha(false);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "fc0a69eb8fd875b348d47f051013b074e9db6183635a81a94e0595c708996dca" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Constructor 'ToastNotification' is never used", + "markdown": "Constructor 'ToastNotification' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 45, + "startColumn": 17, + "charOffset": 1400, + "charLength": 17, + "snippet": { + "text": "ToastNotification" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 43, + "startColumn": 1, + "charOffset": 1327, + "charLength": 142, + "snippet": { + "text": " public class ToastNotification : IDisposable\r\n {\r\n private ToastNotification()\r\n {\r\n if (!CheckToastSystem())\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "26c00e310b90b159688dfe0c3b43db3dcfcd8a75b17a9f3d3a6e52abe85f5f5a" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Enum member 'VideoRec' is never used", + "markdown": "Enum member 'VideoRec' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1239, + "startColumn": 13, + "charOffset": 50613, + "charLength": 8, + "snippet": { + "text": "VideoRec" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1237, + "startColumn": 1, + "charOffset": 50553, + "charLength": 112, + "snippet": { + "text": " RecruitCalc,\r\n Copilot,\r\n VideoRec,\r\n Depot,\r\n OperBox,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "375dd0182a1b3c992f9315e0909d7e873731a37298ef3ebd6cc8ff01b85e6201" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'AsstCreate' is never used", + "markdown": "Method 'AsstCreate' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 84, + "startColumn": 42, + "charOffset": 2613, + "charLength": 10, + "snippet": { + "text": "AsstCreate" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 82, + "startColumn": 1, + "charOffset": 2534, + "charLength": 131, + "snippet": { + "text": "\r\n [DllImport(\"MaaCore.dll\")]\r\n private static extern AsstHandle AsstCreate();\r\n\r\n [DllImport(\"MaaCore.dll\")]\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "385e6a2b8f318f8f1577e6aa944142e9ab4d15a52f0864a330d5b4ed9ea40c38" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMember.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'App_show' is never used", + "markdown": "Method 'App_show' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 113, + "startColumn": 22, + "charOffset": 3988, + "charLength": 8, + "snippet": { + "text": "App_show" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 111, + "startColumn": 1, + "charOffset": 3954, + "charLength": 131, + "snippet": { + "text": " }\r\n\r\n private void App_show(object sender, EventArgs e)\r\n {\r\n Instances.MainWindowManager.Show();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c5cda0bdc0816aa3aa9fb78075fa46943432553796f3b88180ca9b84b35ea8d9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMemberInSuper.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Only implementations of method 'GetAsync' are used", + "markdown": "Only implementations of method 'GetAsync' are used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/IHttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 55, + "startColumn": 35, + "charOffset": 2376, + "charLength": 8, + "snippet": { + "text": "GetAsync" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 53, + "startColumn": 1, + "charOffset": 2187, + "charLength": 366, + "snippet": { + "text": " /// The HTTP completion option\r\n /// object\r\n Task GetAsync(Uri uri, Dictionary extraHeader = null, HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "4abdd27affe81c0618c3fb9f514122a7860edfb49d5f619507f3d6d8e6715a61" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMemberInSuper.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Only implementations of method 'Collapse' are used", + "markdown": "Only implementations of method 'Collapse' are used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/IMainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 36, + "startColumn": 14, + "charOffset": 1055, + "charLength": 8, + "snippet": { + "text": "Collapse" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 34, + "startColumn": 1, + "charOffset": 980, + "charLength": 112, + "snippet": { + "text": " /// Collapse the main window\r\n /// \r\n void Collapse();\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "61564b0bcf5ebbeb378ca543b02ee3e45e5206b9926637b85223c47e2ddde9bc" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetTimerMin' return value is never used", + "markdown": "Method 'SetTimerMin' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 325, + "startColumn": 23, + "charOffset": 12072, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 323, + "startColumn": 1, + "charOffset": 12037, + "charLength": 153, + "snippet": { + "text": " }\r\n\r\n public static bool SetTimerMin(int i, string value)\r\n {\r\n return SetGlobalValue($\"Timer.Timer{i + 1}Min\", value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0a304d8c1b2f535318379dc6e3225f61234dd3c6bc6f9b965f5c32312e005a55" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'TryRegister' return value is never used", + "markdown": "Method 'TryRegister' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/HotKeys/IMaaHotKeyManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 18, + "startColumn": 9, + "charOffset": 637, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 16, + "startColumn": 1, + "charOffset": 582, + "charLength": 167, + "snippet": { + "text": " public interface IMaaHotKeyManager\r\n {\r\n bool TryRegister(MaaHotKeyAction action, MaaHotKey hotKey);\r\n\r\n void Unregister(MaaHotKeyAction action);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "0fcbdab04c478586ff2eb3990dfb08ac95fbbb981ac2d82fc4fc2300450a6403" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'StartVideoTask' return value is never used", + "markdown": "Method 'StartVideoTask' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 539, + "startColumn": 16, + "charOffset": 18115, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 537, + "startColumn": 1, + "charOffset": 18087, + "charLength": 130, + "snippet": { + "text": " }\r\n\r\n public bool StartVideoTask()\r\n {\r\n return Instances.AsstProxy.AsstStartVideoRec(Filename);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1756f95eb5a8c25cd1a00b5bc6e2ae2c03c8a6c3429a70bac802915a6db4ff4f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'OperBoxParse' return value is never used", + "markdown": "Method 'OperBoxParse' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 544, + "startColumn": 16, + "charOffset": 18238, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 542, + "startColumn": 1, + "charOffset": 18210, + "charLength": 135, + "snippet": { + "text": " }\r\n\r\n public bool OperBoxParse(JObject details)\r\n {\r\n JArray operBoxs = (JArray)details[\"all_opers\"];\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1ff904e09776bab430b388e7464906bcb24171c1180f7a9e9960aef9c6173f51" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'ForceShow' return value is never used", + "markdown": "Method 'ForceShow' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 144, + "startColumn": 16, + "charOffset": 5906, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 142, + "startColumn": 1, + "charOffset": 5878, + "charLength": 112, + "snippet": { + "text": " }\r\n\r\n public bool ForceShow(Window window)\r\n {\r\n WindowPlacement wp = default;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "202129f23bf9c4e9bda7ae81f25216807589394b7c5c11dc48320d0c7aa5df93" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetTaskOrder' return value is never used", + "markdown": "Method 'SetTaskOrder' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 345, + "startColumn": 23, + "charOffset": 12736, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 343, + "startColumn": 1, + "charOffset": 12701, + "charLength": 155, + "snippet": { + "text": " }\r\n\r\n public static bool SetTaskOrder(string task, string value)\r\n {\r\n return SetValue(\"TaskQueue.Order.\" + task, value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "26a5897be778ac97c9e9728669b27e9a81c0bc4587576d7f0ffb4ad2b701222d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'FlashWindowEx' return value is never used", + "markdown": "Method 'FlashWindowEx' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ToastNotification.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 634, + "startColumn": 23, + "charOffset": 20559, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 632, + "startColumn": 1, + "charOffset": 20454, + "charLength": 265, + "snippet": { + "text": " /// 闪烁次数\r\n /// 是否成功\r\n public static bool FlashWindowEx(IntPtr hWnd = default, FlashType type = FlashType.FLASHW_TIMERNOFG, uint count = 5)\r\n {\r\n var fInfo = default(FLASHWINFO);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "2ba05e93072aa8472cf5058a759b253b5dcbb509ece841424a52df8d36317c79" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DeleteValue' return value is never used", + "markdown": "Method 'DeleteValue' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 154, + "startColumn": 23, + "charOffset": 5869, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 152, + "startColumn": 1, + "charOffset": 5713, + "charLength": 222, + "snippet": { + "text": " /// The configuration key.\r\n /// The return value of .\r\n public static bool DeleteValue(string key)\r\n {\r\n lock (_lock)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3d103fa5325c59896fe6be017d772aaf7f7100848f4fab55672a89af4cd101d7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetFacilityOrder' return value is never used", + "markdown": "Method 'SetFacilityOrder' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 295, + "startColumn": 23, + "charOffset": 11096, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 293, + "startColumn": 1, + "charOffset": 11061, + "charLength": 165, + "snippet": { + "text": " }\r\n\r\n public static bool SetFacilityOrder(string facility, string value)\r\n {\r\n return SetValue(\"Infrast.Order.\" + facility, value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "53dd459fabc3ca9417fb4bb1aeaaae02de2f7c108098b1f0f43efcbe83853820" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstSetFightTaskParams' return value is never used", + "markdown": "Method 'AsstSetFightTaskParams' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1311, + "startColumn": 16, + "charOffset": 53717, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1309, + "startColumn": 1, + "charOffset": 53594, + "charLength": 386, + "snippet": { + "text": " /// 是否是主任务,决定c#侧是否记录任务id\r\n /// 是否成功。\r\n public bool AsstSetFightTaskParams(string stage, int max_medicine, int max_stone, int max_times, string drops_item_id, int drops_item_quantity, bool is_main_fight = true)\r\n {\r\n var type = is_main_fight ? TaskType.Fight : TaskType.FightRemainingSanity;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "691cdd85de56e5e2608cc3cffc6f14d1d140fbb50c3c3462379ba1703f7e78ce" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetTimer' return value is never used", + "markdown": "Method 'SetTimer' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 305, + "startColumn": 23, + "charOffset": 11426, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 303, + "startColumn": 1, + "charOffset": 11391, + "charLength": 147, + "snippet": { + "text": " }\r\n\r\n public static bool SetTimer(int i, string value)\r\n {\r\n return SetGlobalValue($\"Timer.Timer{i + 1}\", value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7fdec380266a16d40dfcccfb709ad33672b23dcc406c42b4effbf188f297350d" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstSetInfrastTaskParams' return value is never used", + "markdown": "Method 'AsstSetInfrastTaskParams' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1506, + "startColumn": 16, + "charOffset": 62030, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1504, + "startColumn": 1, + "charOffset": 62002, + "charLength": 306, + "snippet": { + "text": " }\r\n\r\n public bool AsstSetInfrastTaskParams(string[] order, string uses_of_drones, double dorm_threshold,\r\n bool dorm_filter_not_stationed_enabled, bool dorm_dorm_trust_enabled, bool originium_shard_auto_replenishment,\r\n bool is_custom, string filename, int plan_index)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "817f0b1c53aeba9c4c2b6f9fc8bcdf3883c7fb7a782d81b8a8f776d49c006e0a" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'DepotParse' return value is never used", + "markdown": "Method 'DepotParse' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RecognizerViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 377, + "startColumn": 16, + "charOffset": 12938, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 375, + "startColumn": 1, + "charOffset": 12802, + "charLength": 214, + "snippet": { + "text": " /// detailed json-style parameters\r\n /// Success or not\r\n public bool DepotParse(JObject details)\r\n {\r\n DepotResult.Clear();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "84e5300160e82cb98311dfbcb6c81ed49b9c301936cfcf3d22959d55bea82421" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'Load' return value is never used", + "markdown": "Method 'Load' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 184, + "startColumn": 23, + "charOffset": 6811, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 182, + "startColumn": 1, + "charOffset": 6700, + "charLength": 160, + "snippet": { + "text": " /// \r\n /// True if success, false if failed\r\n public static bool Load()\r\n {\r\n lock (_lock)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8bcd147741a69a36fc98ff114e007d6d36160ebb23b575a26cc28ca6b7035759" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetCheckedStorage' return value is never used", + "markdown": "Method 'SetCheckedStorage' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 285, + "startColumn": 23, + "charOffset": 10727, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 283, + "startColumn": 1, + "charOffset": 10692, + "charLength": 186, + "snippet": { + "text": " }\r\n\r\n public static bool SetCheckedStorage(string storageKey, string name, string value)\r\n {\r\n return SetValue(storageKey + name + \".IsChecked\", value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8d06170a2abdfab0ddd4d557d7bff4423f9d01686db1a4839c7ca3d75fc88704" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstStartDepot' return value is never used", + "markdown": "Method 'AsstStartDepot' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1666, + "startColumn": 16, + "charOffset": 68332, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1664, + "startColumn": 1, + "charOffset": 68255, + "charLength": 156, + "snippet": { + "text": " /// \r\n /// 是否成功。\r\n public bool AsstStartDepot()\r\n {\r\n var task_params = new JObject();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9c996ee393ae11104800bd5826851bcc808154802e14fbf7575a4fac9cbd2df9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstStartRecruitCalc' return value is never used", + "markdown": "Method 'AsstStartRecruitCalc' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1624, + "startColumn": 16, + "charOffset": 66708, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1622, + "startColumn": 1, + "charOffset": 66600, + "charLength": 223, + "snippet": { + "text": " /// 是否设置 9 小时。\r\n /// 是否成功。\r\n public bool AsstStartRecruitCalc(int[] select_level, bool set_time)\r\n {\r\n var task_params = new JObject\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ad040d216492f073196a9591e97f3ffa491e8b06c57d730779357d56d47ae777" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'AsstSetInstanceOption' return value is never used", + "markdown": "Method 'AsstSetInstanceOption' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1119, + "startColumn": 16, + "charOffset": 46435, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1117, + "startColumn": 1, + "charOffset": 46407, + "charLength": 190, + "snippet": { + "text": " }\r\n\r\n public bool AsstSetInstanceOption(InstanceOptionKey key, string value)\r\n {\r\n return AsstSetInstanceOption(_handle, (AsstInstanceOptionKey)key, value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b5a2e6df41039d94c7174ea7de29797cfd5084bb8458deeb8d4d030c73b61e1f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetStart' return value is never used", + "markdown": "Method 'SetStart' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 48, + "startColumn": 23, + "charOffset": 1626, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 46, + "startColumn": 1, + "charOffset": 1481, + "charLength": 197, + "snippet": { + "text": " /// The new value.\r\n /// Whether the operation is successful.\r\n public static bool SetStart(bool set)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "c0f6199e3e18429aa60c4f302f653d7678cf5f8da4efbde36abe36bc79503df9" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetTimerHour' return value is never used", + "markdown": "Method 'SetTimerHour' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 315, + "startColumn": 23, + "charOffset": 11746, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 313, + "startColumn": 1, + "charOffset": 11711, + "charLength": 155, + "snippet": { + "text": " }\r\n\r\n public static bool SetTimerHour(int i, string value)\r\n {\r\n return SetGlobalValue($\"Timer.Timer{i + 1}Hour\", value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d3775507324396da1e9be7cf7ee6c5f502b53b6ab3b14b978df41ec6d9a0e0c1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SetTimerConfig' return value is never used", + "markdown": "Method 'SetTimerConfig' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 335, + "startColumn": 23, + "charOffset": 12403, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 333, + "startColumn": 1, + "charOffset": 12368, + "charLength": 160, + "snippet": { + "text": " }\r\n\r\n public static bool SetTimerConfig(int i, string value)\r\n {\r\n return SetGlobalValue($\"Timer.Timer{i + 1}.Config\", value);\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f1a1f43a896fdbad55ca83e5cc58a03df7f4ac1573f9068def9ad81e12626a47" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Method 'SwitchConfiguration' return value is never used", + "markdown": "Method 'SwitchConfiguration' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/ConfigurationHelper.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 387, + "startColumn": 23, + "charOffset": 13844, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 385, + "startColumn": 1, + "charOffset": 13809, + "charLength": 149, + "snippet": { + "text": " }\r\n\r\n public static bool SwitchConfiguration(string configName)\r\n {\r\n if (_kvsMap.ContainsKey(configName) is false)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f7baf5ead2f40f342f630582ffc16951ff87bda1ac34cfb430c6cf5bd04303d1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'CheckAndUpdateNow' return value is never used", + "markdown": "Method 'CheckAndUpdateNow' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/RootViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 52, + "startColumn": 17, + "charOffset": 1633, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 50, + "startColumn": 1, + "charOffset": 1604, + "charLength": 139, + "snippet": { + "text": " }\r\n\r\n private bool CheckAndUpdateNow()\r\n {\r\n return Instances.VersionUpdateViewModel.CheckAndUpdateNow();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "262da437151c72f47a1bde3d89983f0110b41c37c648b8f5cc0a03f641b901db" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'GetWindowPlacement' return value is never used", + "markdown": "Method 'GetWindowPlacement' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 170, + "startColumn": 17, + "charOffset": 6963, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 168, + "startColumn": 1, + "charOffset": 6934, + "charLength": 169, + "snippet": { + "text": " }\r\n\r\n private bool GetWindowPlacement(WindowHandle window, out WindowPlacement wp)\r\n {\r\n if (GetWindowPlacement(window.Handle, out wp))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9885f141e007c03809095bc30d40d68b6a4ada917349479d107b767869d209a8" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedMethodReturnValue.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Method 'SetConfiguration' return value is never used", + "markdown": "Method 'SetConfiguration' return value is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 101, + "startColumn": 17, + "charOffset": 4219, + "charLength": 4, + "snippet": { + "text": "bool" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 99, + "startColumn": 1, + "charOffset": 4190, + "charLength": 99, + "snippet": { + "text": " }\r\n\r\n private bool SetConfiguration(WindowPlacement wp)\r\n {\r\n try\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "cab8e054dd648c0ab47ebfa7a183a3506042103bb374bd11ac25ac14bade0d66" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'sender' is never used", + "markdown": "Parameter 'sender' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 401, + "startColumn": 37, + "charOffset": 13821, + "charLength": 6, + "snippet": { + "text": "sender" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 399, + "startColumn": 1, + "charOffset": 13673, + "charLength": 246, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void DropFile(object sender, DragEventArgs e)\r\n {\r\n if (e.Data.GetDataPresent(DataFormats.FileDrop))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1e8eba84524c16cd67652fae0e5d091a52c7c69356c6843c9022a889da90365f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'sender' is never used", + "markdown": "Parameter 'sender' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 928, + "startColumn": 42, + "charOffset": 33918, + "charLength": 6, + "snippet": { + "text": "sender" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 926, + "startColumn": 1, + "charOffset": 33765, + "charLength": 251, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void OpenHyperlink(object sender, ExecutedRoutedEventArgs e)\r\n {\r\n Process.Start(e.Parameter.ToString());\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "27df2d95e20e3014ee91b4d07fcc05a08dd7d15d63b2cc66237d362678038f34" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'e' is never used", + "markdown": "Parameter 'e' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2697, + "startColumn": 63, + "charOffset": 95471, + "charLength": 1, + "snippet": { + "text": "e" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2695, + "startColumn": 1, + "charOffset": 95306, + "charLength": 240, + "snippet": { + "text": " /// Event sender\r\n /// Event args\r\n public void DropsList_Loaded(object sender, EventArgs e)\r\n {\r\n (sender as ComboBox)?.MakeComboBoxSearchable();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "99159d4c7b39b65728b1f837521abdc86f4bfaf58053a1cd032ece83f29aae20" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'e' is never used", + "markdown": "Parameter 'e' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 666, + "startColumn": 67, + "charOffset": 21832, + "charLength": 1, + "snippet": { + "text": "e" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 664, + "startColumn": 1, + "charOffset": 21674, + "charLength": 221, + "snippet": { + "text": " /// 点击事件发送者\r\n /// 点击事件\r\n public void MouseDown(object sender, MouseButtonEventArgs e)\r\n {\r\n if (!(sender is UIElement element))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b11b470d4387952f929ad6f786c0ad4122de40a7862102593cee690527b0ea20" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'extraHeader' is not used in any of the implementations", + "markdown": "Parameter 'extraHeader' is not used in any of the implementations" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Web/IHttpService.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 65, + "startColumn": 88, + "charOffset": 3125, + "charLength": 11, + "snippet": { + "text": "extraHeader" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 63, + "startColumn": 1, + "charOffset": 2893, + "charLength": 278, + "snippet": { + "text": " /// The type of the POST body content\r\n /// Response string, null when failed\r\n Task PostAsJsonAsync(Uri uri, T content, Dictionary extraHeader = null);\r\n\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d3e1183458b7f46a438a13adcc6a0480a93414111a0ee1d0c30a20b45656dbee" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Parameter 'e' is never used", + "markdown": "Parameter 'e' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 445, + "startColumn": 63, + "charOffset": 15167, + "charLength": 1, + "snippet": { + "text": "e" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 443, + "startColumn": 1, + "charOffset": 14993, + "charLength": 260, + "snippet": { + "text": " /// The sender.\r\n /// The event arguments.\r\n public void OnDropDownOpened(object sender, EventArgs e)\r\n {\r\n var comboBox = sender as System.Windows.Controls.ComboBox;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f3e08a3ce583eb187924357b7702618150261c304a67b5ea00c1de98555aef28" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Parameter 'e' is never used", + "markdown": "Parameter 'e' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 113, + "startColumn": 56, + "charOffset": 4022, + "charLength": 1, + "snippet": { + "text": "e" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 111, + "startColumn": 1, + "charOffset": 3954, + "charLength": 131, + "snippet": { + "text": " }\r\n\r\n private void App_show(object sender, EventArgs e)\r\n {\r\n Instances.MainWindowManager.Show();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "40a1b4f31b4dbcec1642e5f4d96e0d08db42bc8204e73ad45b0b1c5ddbadb15d" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedParameter.Local", + "kind": "fail", + "level": "warning", + "message": { + "text": "Parameter 'sender' is never used", + "markdown": "Parameter 'sender' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/TrayIcon.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 113, + "startColumn": 38, + "charOffset": 4004, + "charLength": 6, + "snippet": { + "text": "sender" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 111, + "startColumn": 1, + "charOffset": 3954, + "charLength": 131, + "snippet": { + "text": " }\r\n\r\n private void App_show(object sender, EventArgs e)\r\n {\r\n Instances.MainWindowManager.Show();\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "df779c04655b7b6585fe12a8ac884332b7d7561ac48b2f6e94922b45a2f25eb9" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedType.Global", + "kind": "fail", + "level": "note", + "message": { + "text": "Enum 'Downloader' is never used", + "markdown": "Enum 'Downloader' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 366, + "startColumn": 21, + "charOffset": 12748, + "charLength": 10, + "snippet": { + "text": "Downloader" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 364, + "startColumn": 1, + "charOffset": 12715, + "charLength": 82, + "snippet": { + "text": " }\r\n\r\n public enum Downloader\r\n {\r\n /// \r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "af8266f008aa7e27bd76b956ba683c32865b22668ccc1d6f180a6817e0a06a10" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UnusedVariable", + "kind": "fail", + "level": "warning", + "message": { + "text": "Local variable 'completed' is never used", + "markdown": "Local variable 'completed' is never used" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 65, + "startColumn": 84, + "charOffset": 2094, + "charLength": 9, + "snippet": { + "text": "completed" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 63, + "startColumn": 1, + "charOffset": 1951, + "charLength": 176, + "snippet": { + "text": " fixed (byte* ptr = buf)\r\n {\r\n enc.Convert(c, s.Length, ptr, len, true, out _, out _, out var completed);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7d39489b9aceffcb889779824804210b0fdd6a52746a5dcdbb71c8969c830399" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseNameofExpression", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'nameof' expression to reference property 'Inited' name", + "markdown": "Use 'nameof' expression to reference property 'Inited' name" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1779, + "startColumn": 36, + "charOffset": 64878, + "charLength": 8, + "snippet": { + "text": "\"Inited\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1777, + "startColumn": 1, + "charOffset": 64804, + "charLength": 98, + "snippet": { + "text": " {\r\n Inited = true;\r\n NotifyOfPropertyChange(\"Inited\");\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "8db079eca64cd9f90d59e73c4399fd1e6f44a0e58de52f249e25c1012ff392f3" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseNameofForDependencyProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'nameof' expression when registering a DependencyProperty", + "markdown": "Use 'nameof' expression when registering a DependencyProperty" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Controls/TextBlock.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 35, + "startColumn": 103, + "charOffset": 1410, + "charLength": 15, + "snippet": { + "text": "\"ForegroundKey\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 33, + "startColumn": 1, + "charOffset": 1295, + "charLength": 350, + "snippet": { + "text": " }\r\n\r\n public static readonly DependencyProperty ForegroundKeyProperty = DependencyProperty.Register(\"ForegroundKey\", typeof(string), typeof(TextBlock), new PropertyMetadata(ThemeHelper.DefaultKey, OnForegroundKeyChanged));\r\n\r\n private static void OnForegroundKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "02d1a87f42a637d6a821b4b9ceb960365ce7ec6ca82199e0c03daec0bee31634" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseNameofForDependencyProperty", + "kind": "fail", + "level": "note", + "message": { + "text": "Use 'nameof' expression when registering a DependencyProperty", + "markdown": "Use 'nameof' expression when registering a DependencyProperty" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Styles/Controls/TextBlock.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 27, + "startColumn": 106, + "charOffset": 1004, + "charLength": 18, + "snippet": { + "text": "\"CustomForeground\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 25, + "startColumn": 1, + "charOffset": 886, + "charLength": 262, + "snippet": { + "text": " }\r\n\r\n public static readonly DependencyProperty CustomForegroundProperty = DependencyProperty.Register(\"CustomForeground\", typeof(Brush), typeof(TextBlock), new PropertyMetadata(ThemeHelper.DefaultBrush));\r\n\r\n public Brush CustomForeground\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b7c236d74eee6555ba3067a689cbbd66ff1ad0078471b60f839b8afb84b028bd" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UsePatternMatching", + "kind": "fail", + "level": "note", + "message": { + "text": "Use pattern matching", + "markdown": "Use pattern matching" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 447, + "startColumn": 35, + "charOffset": 15216, + "charLength": 35, + "snippet": { + "text": "as System.Windows.Controls.ComboBox" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 445, + "startColumn": 1, + "charOffset": 15105, + "charLength": 198, + "snippet": { + "text": " public void OnDropDownOpened(object sender, EventArgs e)\r\n {\r\n var comboBox = sender as System.Windows.Controls.ComboBox;\r\n if (comboBox != null)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "14f6def54db8acf6eb9ebbafdd4d4b0dcdf9069b480030db2da9aa06bc8cce58" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1107, + "startColumn": 35, + "charOffset": 46066, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1105, + "startColumn": 1, + "charOffset": 45935, + "charLength": 248, + "snippet": { + "text": "\r\n // string p = @\"C:\\tmp\\this path contains spaces, and,commas\\target.txt\";\r\n string args = string.Format(\"/e, /select, \\\"{0}\\\"\", filename);\r\n\r\n ProcessStartInfo info = new ProcessStartInfo\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3aba578da44dffcf5f4fd75f3a9cdb2acb3cd3ff04c4699841f6cd40e21f6926" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/VersionUpdateViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 813, + "startColumn": 17, + "charOffset": 29662, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 811, + "startColumn": 1, + "charOffset": 29598, + "charLength": 201, + "snippet": { + "text": " {\r\n OutputDownloadProgress(\r\n string.Format(\"[{0:F}MiB/{1:F}MiB({2}%) {3:F} KiB/s]\",\r\n value / 1048576.0,\r\n maximum / 1048576.0,\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "62f71bf256ea773d0c0360e979e94bdd60be1f80ca7a8776ef9c25fd35b086d5" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2157, + "startColumn": 32, + "charOffset": 76323, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2155, + "startColumn": 1, + "charOffset": 76208, + "charLength": 298, + "snippet": { + "text": " foreach (var period in plan.PeriodList)\r\n {\r\n AddLog(string.Format(\"[ {0:D2}:{1:D2} - {2:D2}:{3:D2} ]\",\r\n period.BeginHour, period.BeginMinute,\r\n period.EndHour, period.EndMinute));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "71188a759abcb31ae20bf11e8a7f2928ecfa2a157fb56f3ce4d6380982fe80d7" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 319, + "startColumn": 24, + "charOffset": 11130, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 317, + "startColumn": 1, + "charOffset": 11086, + "charLength": 149, + "snippet": { + "text": " }\r\n\r\n AddLog(string.Format(\"共 {0} 名干员\", count), UiLogColor.Message);\r\n\r\n if (json.ContainsKey(\"type\"))\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "763f8d4d85e73861141c883ef7ff51d88e087c8eaaba65d78fc39edd21183aee" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 312, + "startColumn": 43, + "charOffset": 10880, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 310, + "startColumn": 1, + "charOffset": 10732, + "charLength": 233, + "snippet": { + "text": " foreach (var oper in group[\"opers\"]!.Cast())\r\n {\r\n operInfos.Add(string.Format(\"{0} {1}\", oper[\"name\"], oper[\"skill\"]));\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "7ba5e9d603cc86b1cf7d5f3879a8e89f1b69f9a2e2f99d3f6340b341eec8e05f" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/TaskQueueViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 2264, + "startColumn": 40, + "charOffset": 80960, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 2262, + "startColumn": 1, + "charOffset": 80831, + "charLength": 328, + "snippet": { + "text": " if (_customInfrastInfoOutput)\r\n {\r\n AddLog(string.Format(\"[ {0:D2}:{1:D2} - {2:D2}:{3:D2} ]\",\r\n period.BeginHour, period.BeginMinute,\r\n period.EndHour, period.EndMinute));\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "bc8526db531d3a7db9539daf8e95ca5b8f00c5e2d57a5121fd62fe95477c2352" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseStringInterpolation", + "kind": "fail", + "level": "note", + "message": { + "text": "Use string interpolation expression", + "markdown": "Use string interpolation expression" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/CopilotViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 300, + "startColumn": 28, + "charOffset": 10302, + "charLength": 13, + "snippet": { + "text": "string.Format" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 298, + "startColumn": 1, + "charOffset": 10226, + "charLength": 177, + "snippet": { + "text": " {\r\n count++;\r\n AddLog(string.Format(\"{0}, {1} 技能\", oper[\"name\"], oper[\"skill\"]), UiLogColor.Message);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "be52923e82804101ca28ee0412d4d98d34528e6b5055ceab5859806180d89dab" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 247, + "startColumn": 46, + "charOffset": 8383, + "charLength": 22, + "snippet": { + "text": "\"\\\\resource\\\\global\\\\\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 245, + "startColumn": 1, + "charOffset": 8177, + "charLength": 298, + "snippet": { + "text": " string globalResource = mainRes + \"\\\\resource\\\\global\\\\\" + clientType;\r\n string mainCache = Directory.GetCurrentDirectory() + \"\\\\cache\";\r\n string globalCache = mainCache + \"\\\\resource\\\\global\\\\\" + clientType;\r\n\r\n string officialClientType = \"Official\";\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "134f6eb7c5f76120b34f19f323d7a656a0ea287a3dd6474c45b88e6237b73b63" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 62, + "startColumn": 21, + "charOffset": 2206, + "charLength": 61, + "snippet": { + "text": "\"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 60, + "startColumn": 1, + "charOffset": 2109, + "charLength": 214, + "snippet": { + "text": " {\r\n \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "1e9b6c02d0cb839d19b708608af5cab4a6cf01a7a1fe9dc0ab05db9db33f0697" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 45, + "startColumn": 21, + "charOffset": 1540, + "charLength": 37, + "snippet": { + "text": "\".\\\\Engine\\\\ProgramFiles\\\\HD-Adb.exe\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 43, + "startColumn": 1, + "charOffset": 1463, + "charLength": 151, + "snippet": { + "text": " {\r\n \".\\\\HD-Adb.exe\",\r\n \".\\\\Engine\\\\ProgramFiles\\\\HD-Adb.exe\",\r\n }\r\n },\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "223156714932faf98fb1793980506427bbf0b75b73f8b8213515b681ba2d4807" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 34, + "startColumn": 65, + "charOffset": 1149, + "charLength": 51, + "snippet": { + "text": "\"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 32, + "startColumn": 1, + "charOffset": 1053, + "charLength": 229, + "snippet": { + "text": " try\r\n {\r\n using var key = Registry.CurrentUser.OpenSubKey(\"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\", false);\r\n return key.GetValue(\"MeoAsst\") != null;\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "32b81564471fa36fb9a1348256797689f8f48b767a1b0d373ab59d817b0554a1" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Main/AsstProxy.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 245, + "startColumn": 47, + "charOffset": 8223, + "charLength": 22, + "snippet": { + "text": "\"\\\\resource\\\\global\\\\\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 243, + "startColumn": 1, + "charOffset": 8041, + "charLength": 379, + "snippet": { + "text": " string clientType = Instances.SettingsViewModel.ClientType;\r\n string mainRes = Directory.GetCurrentDirectory();\r\n string globalResource = mainRes + \"\\\\resource\\\\global\\\\\" + clientType;\r\n string mainCache = Directory.GetCurrentDirectory() + \"\\\\cache\";\r\n string globalCache = mainCache + \"\\\\resource\\\\global\\\\\" + clientType;\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "3a024f38b4931f959d1ddb0954e49c1825b6034cc795497a8434b6294baed4bb" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 61, + "startColumn": 21, + "charOffset": 2148, + "charLength": 35, + "snippet": { + "text": "\"..\\\\vmonitor\\\\bin\\\\adb_server.exe\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 59, + "startColumn": 1, + "charOffset": 2056, + "charLength": 248, + "snippet": { + "text": " \"MuMuEmulator12\", new List\r\n {\r\n \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "62ea19b6adf52e2bccd8af5e1b6096d39922b6e64be183c7a4276949975fc879" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Utilities/AutoStart.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 52, + "startColumn": 65, + "charOffset": 1758, + "charLength": 51, + "snippet": { + "text": "\"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 50, + "startColumn": 1, + "charOffset": 1662, + "charLength": 201, + "snippet": { + "text": " try\r\n {\r\n using var key = Registry.CurrentUser.OpenSubKey(\"Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run\", true);\r\n if (set)\r\n {\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "9ab13948dbe6c76e6861710f2f0bac6252a0de39dd47ddf07ec4b1e4eac0b635" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 54, + "startColumn": 21, + "charOffset": 1907, + "charLength": 61, + "snippet": { + "text": "\"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 52, + "startColumn": 1, + "charOffset": 1810, + "charLength": 214, + "snippet": { + "text": " {\r\n \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ae02c6c812dc4394793a96f2126e33160c5157f7df5e232434b43969003b6cc6" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/ViewModels/UI/SettingsViewModel.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 1150, + "startColumn": 41, + "charOffset": 44391, + "charLength": 28, + "snippet": { + "text": "\"resource\\\\custom_infrast\\\\\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 1148, + "startColumn": 1, + "charOffset": 44278, + "charLength": 227, + "snippet": { + "text": " if (_defaultInfrast != _userDefined)\r\n {\r\n CustomInfrastFile = \"resource\\\\custom_infrast\\\\\" + value;\r\n IsCustomInfrastFileReadOnly = true;\r\n }\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "b7f3cec86ed1ae084cc365bb22fc8e3e2f6516447191979432d7de231babe825" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "UseVerbatimString", + "kind": "fail", + "level": "note", + "message": { + "text": "Use verbatim string", + "markdown": "Use verbatim string" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WinAdapter.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 53, + "startColumn": 21, + "charOffset": 1849, + "charLength": 35, + "snippet": { + "text": "\"..\\\\vmonitor\\\\bin\\\\adb_server.exe\"" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 51, + "startColumn": 1, + "charOffset": 1759, + "charLength": 246, + "snippet": { + "text": " \"MuMuEmulator\", new List\r\n {\r\n \"..\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \"..\\\\..\\\\MuMu\\\\emulator\\\\nemu\\\\vmonitor\\\\bin\\\\adb_server.exe\",\r\n \".\\\\adb.exe\",\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "df74ee1b860d2acfab17f90fbe26560e4b3a4a977d0c594bb8cf489b2ef93590" + }, + "properties": { + "ideaSeverity": "WEAK WARNING", + "qodanaSeverity": "Moderate", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "VariableHidesOuterVariable", + "kind": "fail", + "level": "warning", + "message": { + "text": "Local variable 'wp' hides outer local variable with the same name", + "markdown": "Local variable 'wp' hides outer local variable with the same name" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Helper/WindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 77, + "startColumn": 72, + "charOffset": 3559, + "charLength": 2, + "snippet": { + "text": "wp" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 75, + "startColumn": 1, + "charOffset": 3416, + "charLength": 219, + "snippet": { + "text": " window.Closing += (s, e) =>\r\n {\r\n GetWindowPlacement(window, out WindowPlacement wp);\r\n SetConfiguration(wp);\r\n };\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "e15f999ac148fc9895112899b899b705745892e2174040983238aa2c37689719" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "VirtualMemberCallInConstructor", + "kind": "fail", + "level": "warning", + "message": { + "text": "Virtual member call in constructor", + "markdown": "Virtual member call in constructor" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Services/Managers/MainWindowManager.cs", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 42, + "startColumn": 13, + "charOffset": 1517, + "charLength": 20, + "snippet": { + "text": "SetMinimizeToTaskbar" + }, + "sourceLanguage": "C#" + }, + "contextRegion": { + "startLine": 40, + "startColumn": 1, + "charOffset": 1367, + "charLength": 201, + "snippet": { + "text": "\r\n bool minimizeToTray = Convert.ToBoolean(ConfigurationHelper.GetValue(ConfigurationKeys.MinimizeToTray, bool.FalseString));\r\n SetMinimizeToTaskbar(minimizeToTray);\r\n }\r\n\r" + }, + "sourceLanguage": "C#" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "5182e1bcb6cd312b001d04aba642c2cc0f2a6897e26269c5fd2c660575b0c02c" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "C#", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'DividerBaseStyle' is not found", + "markdown": "Resource 'DividerBaseStyle' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/Divider.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 7, + "startColumn": 37, + "charOffset": 296, + "charLength": 16, + "snippet": { + "text": "DividerBaseStyle" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 5, + "startColumn": 1, + "charOffset": 209, + "charLength": 284, + "snippet": { + "text": "\r\n \r\n \r\n\r\n \r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "84bab9cb29f8a4a0a46bd447518a6a299375fd754e5fc132a5cc85ca615deb84" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'ButtonDefault' is not found", + "markdown": "Resource 'ButtonDefault' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/MessageBox.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 9, + "startColumn": 34, + "charOffset": 385, + "charLength": 13, + "snippet": { + "text": "ButtonDefault" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 7, + "startColumn": 1, + "charOffset": 301, + "charLength": 181, + "snippet": { + "text": " \r\n \r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "a4b308b35609cc7d16e254b3652686ea2be68bde9b83d809f2bc9eb71d224635" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'CloseGeometry' is not found", + "markdown": "Resource 'CloseGeometry' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/MessageBox.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 65, + "startColumn": 82, + "charOffset": 3570, + "charLength": 13, + "snippet": { + "text": "CloseGeometry" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 63, + "startColumn": 1, + "charOffset": 3384, + "charLength": 337, + "snippet": { + "text": " Width=\"46\"\r\n Height=\"29\"\r\n hc:IconElement.Geometry=\"{StaticResource CloseGeometry}\"\r\n hc:IconElement.Height=\"10\"\r\n hc:IconElement.Width=\"10\"\r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "afca785bef57698ef5cbed4d92db0f9f493de30a03e8c12d55407c3871a68b68" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'ListBoxItemBaseStyle' is not found", + "markdown": "Resource 'ListBoxItemBaseStyle' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/ListBox.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 5, + "startColumn": 34, + "charOffset": 230, + "charLength": 20, + "snippet": { + "text": "ListBoxItemBaseStyle" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 3, + "startColumn": 1, + "charOffset": 145, + "charLength": 199, + "snippet": { + "text": " \r\n \r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "d9fac6bbad4de91e21f2c8bd86f410a57190abee8a48098391a71d74a5dac4b2" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'Boolean2VisibilityConverter' is not found", + "markdown": "Resource 'Boolean2VisibilityConverter' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/MessageBox.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 21, + "startColumn": 130, + "charOffset": 1031, + "charLength": 27, + "snippet": { + "text": "Boolean2VisibilityConverter" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 19, + "startColumn": 1, + "charOffset": 821, + "charLength": 308, + "snippet": { + "text": " TargetType=\"Button\">\r\n \r\n \r\n \r\n \r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "ecab731dfabf3576c7b951421f33ce8eba2b22ccb37dbb188f0f9a0e845ba270" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'ButtonCustom' is not found", + "markdown": "Resource 'ButtonCustom' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/MessageBox.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 86, + "startColumn": 64, + "charOffset": 5015, + "charLength": 12, + "snippet": { + "text": "ButtonCustom" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 84, + "startColumn": 1, + "charOffset": 4787, + "charLength": 445, + "snippet": { + "text": " Background=\"Transparent\"\r\n Command=\"{x:Static SystemCommands.ShowSystemMenuCommand}\"\r\n Style=\"{StaticResource ButtonCustom}\"\r\n Visibility=\"{TemplateBinding Icon,\r\n Converter={StaticResource Object2VisibilityConverter}}\"\r" + }, + "sourceLanguage": "Xaml" + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "MaaWpfGui", + "kind": "module" + } + ] + } + ], + "partialFingerprints": { + "equalIndicator/v1": "f4f330a1922916f8fc6b1bc81976e0f412ee0b234c10b26c2885107d77c300e1" + }, + "properties": { + "ideaSeverity": "WARNING", + "qodanaSeverity": "High", + "tags": [ + "Xaml", + ".NETFramework 4.8.1" + ] + } + }, + { + "ruleId": "Xaml.StaticResourceNotResolved", + "kind": "fail", + "level": "warning", + "message": { + "text": "Resource 'TextBlockDefault' is not found", + "markdown": "Resource 'TextBlockDefault' is not found" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "src/MaaWpfGui/Res/Styles/TextBlock.xaml", + "uriBaseId": "SRCROOT" + }, + "region": { + "startLine": 7, + "startColumn": 37, + "charOffset": 305, + "charLength": 16, + "snippet": { + "text": "TextBlockDefault" + }, + "sourceLanguage": "Xaml" + }, + "contextRegion": { + "startLine": 5, + "startColumn": 1, + "charOffset": 215, + "charLength": 169, + "snippet": { + "text": "\r\n \r\n