{ "classCount": 0, "functionCount": 1, "interfaceCount": 0, "issues": [ { "column": 6, "endColumn": 12, "endIndex": 22, "endLine": 3, "fileName": "it/autofix_ide/source_autofix.d", "index": 16, "key": "dscanner.confusing.function_attributes", "line": 3, "message": "Zero-parameter '@property' function should be marked 'const', 'inout', or 'immutable'.", "name": "function_attribute_check", "supplemental": [], "type": "warn", "autofixes": [ { "name": "Mark function `const`", "replacements": [ { "newText": " const", "range": [ 24, 24 ] } ] }, { "name": "Mark function `inout`", "replacements": [ { "newText": " inout", "range": [ 24, 24 ] } ] }, { "name": "Mark function `immutable`", "replacements": [ { "newText": " immutable", "range": [ 24, 24 ] } ] } ] }, { "autofixes": [ { "name": "Insert `static`", "replacements": [ { "newText": "static ", "range": [ 69, 69 ] } ] }, { "name": "Wrap '{}' block around 'if'", "replacements": "resolvable" } ], "column": 3, "endColumn": 10, "endIndex": 71, "endLine": 8, "fileName": "it/autofix_ide/source_autofix.d", "index": 64, "key": "dscanner.suspicious.static_if_else", "line": 8, "message": "Mismatched static if. Use 'else static if' here.", "name": "static_if_else_check", "supplemental": [], "type": "warn" } ], "lineOfCodeCount": 3, "statementCount": 4, "structCount": 1, "templateCount": 0, "undocumentedPublicSymbols": 0 }