Files
FlaxEngine/Source/Flax.json
2024-08-27 15:31:27 -05:00

19162 lines
494 KiB
JSON

{
"version": 2,
"warnings": [
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Parsing.cs",
"line": 297,
"endLine": 297,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1997543523,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3111",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cache.cs",
"line": 107,
"endLine": 107,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 96617,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Checking value of \u0027e\u0027 for null will always return false when generic type is instantiated with a value type.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ActorTrack.cs",
"line": 190,
"endLine": 190,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 572139940,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 394,
"endLine": 394,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 811,
"endLine": 811,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1347632307,
"currentLine": 190804925,
"nextLine": 1601225548,
"columns": 0
}
}
],
"message": "An odd precise comparison: tangentOutSize \u003d\u003d 0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 731,
"endLine": 731,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1336455718,
"currentLine": 1853667784,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 311,
"endLine": 311,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Cache\\Intermediate\\FlaxEditor\\Windows\\x64\\Development\\Platform\\Platform.Bindings.Gen.cs",
"line": 700,
"endLine": 700,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 102185,
"currentLine": -657814309,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027NetworkSocketState\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\InputAxis.cs",
"line": 10,
"endLine": 10,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 1278254139,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Engine\\InputAxis.cs",
"line": 69,
"endLine": 69,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027InputAxis\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 336,
"endLine": 336,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Input.cs",
"line": 806,
"endLine": 806,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1574892352,
"currentLine": 593227761,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027comment\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 119,
"endLine": 119,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1365377842,
"nextLine": 609264753,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027cam\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SkeletonMaskWindow.cs",
"line": 171,
"endLine": 171,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1606944,
"currentLine": 1039555715,
"nextLine": -684417925,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SkeletonMaskWindow.cs",
"line": 177,
"endLine": 177,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator inside method can lead to NullReferenceException. Consider inspecting 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\vorbis.cs",
"line": 319,
"endLine": 319,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1398780498,
"nextLine": 1810511480,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\vorbis.cs",
"line": 395,
"endLine": 395,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\NativeCpp\\Builder.NativeCpp.cs",
"line": 128,
"endLine": 128,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1680745514,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027Types\u0027 enum: Custom.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\KeyframesPropertyTrack.cs",
"line": 211,
"endLine": 211,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": -1065348209,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 220,
"endLine": 220,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -991102859,
"currentLine": -1890149653,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027enableReflectionScan \u0026\u0026 enableReflection\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3107",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\MainEditorGizmoViewport.cs",
"line": 547,
"endLine": 547,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1379169572,
"currentLine": -1236601848,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Identical expression \u0027trans.Orientation\u0027 to the left and to the right of compound assignment.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 235,
"endLine": 235,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -1469447537,
"nextLine": -325646387,
"columns": 0
}
}
],
"message": "Expression \u0027enableReflection || enableStackTrace\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.cs",
"line": 165,
"endLine": 165,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 661171719,
"currentLine": 78685322,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027concurrency \u003d\u003d 1 || headerFiles.Count \u003c 2 * concurrency\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 652,
"endLine": 652,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1750909514,
"currentLine": 10823529,
"nextLine": -1103469594,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 550,
"endLine": 550,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 950843304,
"currentLine": 10823529,
"nextLine": 2038381358,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Constants.cs",
"line": 147,
"endLine": 147,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1648452085,
"currentLine": 857321307,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\UIEditorGizmo.cs",
"line": 72,
"endLine": 72,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -886791132,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: Get\u003cTransformGizmo\u003e().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\ContentDatabaseModule.cs",
"line": 874,
"endLine": 874,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1065558299,
"currentLine": 638770021,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027proxy\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3127",
"cwe": 682,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float2.cs",
"line": 1150,
"endLine": 1150,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 69909699,
"currentLine": 69926081,
"nextLine": 69893321,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float2.cs",
"line": 1151,
"endLine": 1151,
"column": 1,
"endColumn": 1
}
],
"message": "Two similar code fragments were found. Perhaps, this is a typo and \u0027x\u0027 variable should be used instead of \u0027y\u0027",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Track.cs",
"line": 789,
"endLine": 789,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 84360609,
"currentLine": 699150524,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027_dragOverMode \u003d\u003d DragItemPositioning.None\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 203,
"endLine": 203,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1060214777,
"currentLine": 1566275533,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: task.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\ParticleEmitterWindow.cs",
"line": 189,
"endLine": 189,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3042",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SceneAnimationWindow.cs",
"line": 768,
"endLine": 768,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1566164569,
"nextLine": 249095867,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SceneAnimationWindow.cs",
"line": 766,
"endLine": 766,
"column": 1,
"endColumn": 1
}
],
"message": "Possible NullReferenceException. The \u0027?.\u0027 and \u0027.\u0027 operators are used for accessing members of the \u0027_timeline.Player\u0027 object",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\CameraNode.cs",
"line": 42,
"endLine": 42,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -449019765,
"currentLine": -951197349,
"nextLine": -1167085765,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\CameraNode.cs",
"line": 40,
"endLine": 40,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator can lead to NullReferenceException. Consider inspecting \u0027c\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Input.cs",
"line": 396,
"endLine": 396,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1067060564,
"currentLine": -683992937,
"nextLine": 2024458693,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027rerouteNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 244,
"endLine": 244,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": -1616879417,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Apple\\AppleToolchain.cs",
"line": 359,
"endLine": 359,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 772883963,
"currentLine": 23955995,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 178,
"endLine": 178,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1879261150,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDoubleClick(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\NavigationBar.cs",
"line": 55,
"endLine": 55,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1592926815,
"currentLine": 1745567774,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027lastToolstripButton\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\PrefabProxy.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1265294171,
"currentLine": -1964991594,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027prefab\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\History\\IHistoryAction.cs",
"line": 8,
"endLine": 8,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": -1305851679,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\History\\IHistoryAction.cs",
"line": 18,
"endLine": 18,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027IHistoryAction\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1655,
"endLine": 1655,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5749057,
"currentLine": 5757249,
"nextLine": 5765441,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Undo\\AddRemoveNodeAction.cs",
"line": 67,
"endLine": 67,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 71909,
"currentLine": -1900546295,
"nextLine": -1589389399,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Undo\\AddRemoveNodeAction.cs",
"line": 69,
"endLine": 69,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_nodeValues\u0027 object was used before it was verified against null. Check lines: 67, 69.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\NativeCpp\\Builder.NativeCpp.cs",
"line": 506,
"endLine": 506,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1844710205,
"currentLine": 1728920059,
"nextLine": -206239522,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027project\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 224,
"endLine": 224,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 46279265,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027enableReflection\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V010",
"cwe": 0,
"level": 0,
"positions": [
{
"file": "",
"line": 1,
"endLine": 1,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 0,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Analysis of \u0027Makefile\u0027 type projects is not supported in this tool. Use direct analyzer integration or compiler monitoring instead.",
"projects": [
"Flax"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\VisualScriptDebuggerWindow.cs",
"line": 213,
"endLine": 213,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -132410839,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 551,
"endLine": 551,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1086445951,
"currentLine": -1477365294,
"nextLine": -1343412697,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\IntegerEditor.cs",
"line": 53,
"endLine": 53,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 12562153,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027_element \u003d\u003d null\u0027 is always true.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\BoundingFrustum.cs",
"line": 391,
"endLine": 391,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 23393097,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027PlaneIntersectionType\u0027 enum: Front.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1186,
"endLine": 1186,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 193,
"endLine": 193,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -304032143,
"currentLine": -282995201,
"nextLine": -151532762,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\States\\EditorStateMachine.cs",
"line": 21,
"endLine": 21,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator can lead to NullReferenceException. Consider inspecting \u0027state\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 59,
"endLine": 59,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 10823529,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\TagEditor.cs",
"line": 194,
"endLine": 194,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 17181089,
"currentLine": 1398977744,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027parentNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\MaterialPreview.cs",
"line": 353,
"endLine": 353,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -569467602,
"currentLine": -153681094,
"nextLine": -2125177745,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027spriteModuleNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3120",
"cwe": 835,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\Dialog.cs",
"line": 108,
"endLine": 108,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 3842573,
"currentLine": 2753421,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Potentially infinite loop. The \u0027_window\u0027 variable from the loop exit condition does not change its value between iterations.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 84,
"endLine": 84,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1354727761,
"currentLine": -345958553,
"nextLine": 2044871539,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3097",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\Undo\\DeleteInstanceAction.cs",
"line": 13,
"endLine": 13,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 795687,
"currentLine": 1946621399,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\Undo\\DeleteInstanceAction.cs",
"line": 22,
"endLine": 22,
"column": 1,
"endColumn": 1
}
],
"message": "Possible exception: the \u0027DeleteInstanceAction\u0027 type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 912,
"endLine": 912,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1319811754,
"currentLine": 1394026345,
"nextLine": 1552495049,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceContext.Serialization.cs",
"line": 345,
"endLine": 345,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1628139666,
"currentLine": -948647543,
"nextLine": -1987003935,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceContext.Serialization.cs",
"line": 346,
"endLine": 346,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\ModelPreview.cs",
"line": 329,
"endLine": 329,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1303271947,
"currentLine": 1221769864,
"nextLine": -1912373771,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027meshDatas\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 731,
"endLine": 731,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -981169433,
"currentLine": 210492930,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 758,
"endLine": 758,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027node.GetBox(4 + i)\u0027 method return value at \u0027end.IsOutput\u0027 when it is passed to method as its 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 731,
"endLine": 731,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -981169433,
"currentLine": 210492930,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\AssetPreview.cs",
"line": 237,
"endLine": 237,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1575956,
"currentLine": 115036043,
"nextLine": 0,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: base.HasLoadedAssets.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 362,
"endLine": 362,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 477270135,
"nextLine": -1736391306,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\RenderOutputControl.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.Value\u0027. Consider inspecting: new Int2?().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\BinaryAssetItem.cs",
"line": 48,
"endLine": 48,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 276427834,
"currentLine": 1495628977,
"nextLine": 327019768,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 89,
"endLine": 89,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1646071808,
"currentLine": 1678753311,
"nextLine": 1920698375,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 103,
"endLine": 103,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 561,
"endLine": 561,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1958992846,
"currentLine": 10823529,
"nextLine": 2080773193,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\VertexPainting.cs",
"line": 421,
"endLine": 421,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1601147684,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: !_meshDatasCancel.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 559,
"endLine": 559,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1018299951,
"currentLine": -1198893419,
"nextLine": 352987,
"columns": 0
}
}
],
"message": "Expression \u0027result !\u003d DragDropEffect.None\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1656,
"endLine": 1656,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5757249,
"currentLine": 5765441,
"nextLine": 5626177,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\UIEditorGizmo.cs",
"line": 455,
"endLine": 455,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1933356753,
"currentLine": 1145903921,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: !_mouseMovesControl.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 2262,
"endLine": 2262,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1540260113,
"currentLine": 131545325,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.cs",
"line": 696,
"endLine": 696,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027control.IsSelected\u0027. Consider inspecting the 1st argument: node.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanelProxy.cs",
"line": 570,
"endLine": 570,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -587693723,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\AudioTrack.cs",
"line": 472,
"endLine": 472,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": 39528297,
"nextLine": -1065348209,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Platform.cs",
"line": 316,
"endLine": 316,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -297538142,
"currentLine": 1670881306,
"nextLine": -1269075105,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Platform.cs",
"line": 317,
"endLine": 317,
"column": 1,
"endColumn": 1
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Platform.cs",
"line": 319,
"endLine": 319,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\NestedAnimationTrack.cs",
"line": 177,
"endLine": 177,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 113979,
"nextLine": -82623097,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.ID\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\DebugLogWindow.cs",
"line": 264,
"endLine": 264,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1937636774,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseUp(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\BinaryAssetItem.cs",
"line": 92,
"endLine": 92,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1407233559,
"nextLine": -729796814,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 205,
"endLine": 205,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -802113753,
"currentLine": 850157427,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\MaterialPreview.cs",
"line": 87,
"endLine": 87,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -117930517,
"currentLine": -1983483522,
"nextLine": -326728491,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.ID\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1200,
"endLine": 1200,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 541,
"endLine": 541,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -945407821,
"currentLine": 10823529,
"nextLine": 817049312,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1654,
"endLine": 1654,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 45620,
"currentLine": 5749057,
"nextLine": 5757249,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\MaterialPreview.cs",
"line": 343,
"endLine": 343,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 241683675,
"currentLine": -271159745,
"nextLine": -1900181717,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027srcAsset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 134,
"endLine": 134,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ModelPrefabEditor.cs",
"line": 69,
"endLine": 69,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": -1644576124,
"nextLine": 2896105,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027prefab\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ModelPrefabEditor.cs",
"line": 43,
"endLine": 43,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 549198917,
"currentLine": 1398253532,
"nextLine": 937466013,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027prefab\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ActorTrack.cs",
"line": 158,
"endLine": 158,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 681367489,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProjectGenerator.cs",
"line": 167,
"endLine": 167,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 52,
"endLine": 52,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceWindow.cs",
"line": 223,
"endLine": 223,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2065136559,
"currentLine": 1871790118,
"nextLine": -329606304,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027node\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Panels\\ScrollBar.cs",
"line": 255,
"endLine": 255,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 830098888,
"currentLine": 1063502971,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: max.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathf.cs",
"line": 231,
"endLine": 231,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 12257,
"nextLine": 22343,
"columns": 0
}
}
],
"message": "An odd precise comparison: a \u003d\u003d b. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\IntValueBox.cs",
"line": 103,
"endLine": 103,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -659238342,
"nextLine": -1872144505,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Min \u003d\u003d float.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3086",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\CollisionsHelper.cs",
"line": 596,
"endLine": 596,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 86090946,
"currentLine": 28973,
"nextLine": 252169,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\CollisionsHelper.cs",
"line": 582,
"endLine": 582,
"column": 1,
"endColumn": 1
}
],
"message": "Variables dets, dett are initialized through the evaluation of the same expression. It\u0027s probably an error or un-optimized code.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 764,
"endLine": 764,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 809476614,
"currentLine": -230847274,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: keyframe.TangentIn.Translation.Length \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Modes\\EditorGizmoMode.cs",
"line": 16,
"endLine": 16,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": 710495647,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Viewport\\Modes\\EditorGizmoMode.cs",
"line": 47,
"endLine": 47,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027EditorGizmoMode\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3025",
"cwe": 685,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3117,
"endLine": 3117,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -768460759,
"currentLine": -1251748987,
"nextLine": -253666044,
"columns": 0
}
}
],
"message": "Incorrect format. A different number of format items is expected while calling \u0027AppendFormat\u0027 function. Arguments not used: fullName.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3025",
"cwe": 685,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Utilities\\Utilities.cs",
"line": 714,
"endLine": 714,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1029047321,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Incorrect format. A different number of format items is expected while calling \u0027Format\u0027 function. Arguments not used: path.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Cache\\Intermediate\\FlaxEditor\\Windows\\x64\\Development\\Graphics\\Graphics.Bindings.Gen.cs",
"line": 211,
"endLine": 211,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 102185,
"currentLine": 382158780,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027MSAALevel\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Import\\TextureImportEntry.cs",
"line": 18,
"endLine": 18,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1046587151,
"currentLine": 764165609,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027CustomMaxSizes\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Plugins\\NetworkingPlugin.cs",
"line": 552,
"endLine": 552,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 808273516,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameters are not used: buildData, buildOptions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3056",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\OutputBox.cs",
"line": 145,
"endLine": 145,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1436553138,
"currentLine": 715916849,
"nextLine": 1432809015,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\OutputBox.cs",
"line": 144,
"endLine": 144,
"column": 1,
"endColumn": 1
}
],
"message": "Consider reviewing the correctness of \u0027control1\u0027 item\u0027s usage.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\Utilities\\MeshDataCache.cs",
"line": 113,
"endLine": 113,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 43838773,
"nextLine": 1228134307,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Utilities\\MeshDataCache.cs",
"line": 137,
"endLine": 137,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_model\u0027 object was used before it was verified against null. Check lines: 113, 137.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 532,
"endLine": 532,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2135264825,
"currentLine": -1198893419,
"nextLine": 352987,
"columns": 0
}
}
],
"message": "Expression \u0027result !\u003d DragDropEffect.None\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\ContextMenu\\VisjectCM.cs",
"line": 720,
"endLine": 720,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -153208074,
"currentLine": -1962351054,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The \u0027parameters\u0027 variable was used after it was assigned through null-conditional operator. NullReferenceException is possible.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3072",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\JsonAssetWindow.cs",
"line": 20,
"endLine": 20,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1559036708,
"currentLine": 87338991,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\JsonAssetWindow.cs",
"line": 73,
"endLine": 73,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027JsonAssetWindow\u0027 class containing IDisposable members does not itself implement IDisposable. Inspect: _undo.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3196",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceWindow.cs",
"line": 636,
"endLine": 636,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 4738,
"currentLine": -531989313,
"nextLine": 1113546383,
"columns": 0
}
}
],
"message": "The \u0027index\u0027 parameter is not utilized inside the method body, but an identifier with a similar name is used inside the same method.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.Contents.cs",
"line": 495,
"endLine": 495,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 10823529,
"nextLine": -1201432042,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3130",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\GenericEditor.cs",
"line": 356,
"endLine": 356,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -836308064,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Priority of the \u0027\u0026\u0026\u0027 operator is higher than that of the \u0027||\u0027 operator. Possible missing parentheses.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 1970,
"endLine": 1970,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -914723996,
"currentLine": -2068070354,
"nextLine": -857331011,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetChildMenu(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\GUI\\PropertyNameLabel.cs",
"line": 128,
"endLine": 128,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1018145523,
"currentLine": 39528297,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\MaterialInstanceWindow.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1329709269,
"nextLine": -1932899431,
"columns": 0
}
}
],
"message": "The \u0027asset\u0027 variable was used after it was assigned through null-conditional operator. NullReferenceException is possible.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AssetEditorWindow.cs",
"line": 241,
"endLine": 241,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 281,
"endLine": 281,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 513015315,
"currentLine": 777233000,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetProxy(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3152",
"cwe": 369,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Network.cs",
"line": 150,
"endLine": 150,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -309189763,
"currentLine": -1430248771,
"nextLine": -1014941719,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Network.cs",
"line": 139,
"endLine": 139,
"column": 1,
"endColumn": 1
}
],
"message": "Potential division by zero. The variable was compared with a range of values which includes zero before it was used as a divisor. Check lines: 150, 139.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceComment.cs",
"line": 413,
"endLine": 413,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 1553034043,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 504,
"endLine": 504,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1147,
"endLine": 1147,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 212704437,
"currentLine": 265143054,
"nextLine": -1858752701,
"columns": 0
}
}
],
"message": "The \u0027functionNode._signature.Parameters\u0027 object was used before it was verified against null. Check lines: 1147, 1147.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1606151089,
"currentLine": -1354727761,
"nextLine": -345958553,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathd.cs",
"line": 994,
"endLine": 994,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 729209,
"nextLine": 176405,
"columns": 0
}
}
],
"message": "An odd precise comparison: modulo \u003d\u003d 0d. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Undo\\Undo.cs",
"line": 81,
"endLine": 81,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 1903579551,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: PeekReverse().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Plugins\\NetworkingPlugin.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1097603240,
"currentLine": 791895499,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Plugins\\NetworkingPlugin.cs",
"line": 169,
"endLine": 169,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027functions\u0027 object was used after it was verified against null. Check lines: 201, 169.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 651,
"endLine": 651,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -181350934,
"currentLine": 1203842468,
"nextLine": 7681346,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 682,
"endLine": 682,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027functionInfo.Glue.CustomParameters\u0027 object was used before it was verified against null. Check lines: 651, 682.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.cs",
"line": 263,
"endLine": 263,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 493009245,
"currentLine": 1479913,
"nextLine": 17733,
"columns": 0
}
}
],
"message": "Expression \u0027token \u003d\u003d null\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanelProxy.cs",
"line": 560,
"endLine": 560,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -1642874294,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Search\\SearchItem.cs",
"line": 192,
"endLine": 192,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1187127343,
"currentLine": 10823529,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\EngineTarget.cs",
"line": 213,
"endLine": 213,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1925438540,
"currentLine": 243351986,
"nextLine": -495516684,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\EngineTarget.cs",
"line": 218,
"endLine": 218,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027buildOptions.Toolchain\u0027 object was used before it was verified against null. Check lines: 213, 218.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\BehaviorKnowledgeSelectorEditor.cs",
"line": 140,
"endLine": 140,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 973826699,
"currentLine": 1441633809,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027goalTypeNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 373,
"endLine": 373,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1598514311,
"currentLine": -399833558,
"nextLine": 1993854390,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027selected\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 183,
"endLine": 183,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1497665152,
"currentLine": 9913435,
"nextLine": -1989635608,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027cam\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 657,
"endLine": 657,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -794166515,
"currentLine": 10823529,
"nextLine": -179812276,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditGameWindow.cs",
"line": 226,
"endLine": 226,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1581938311,
"currentLine": 1692381612,
"nextLine": -1527748050,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027node\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1066,
"endLine": 1066,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 172,
"endLine": 172,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1466494548,
"currentLine": 17261119,
"nextLine": -610545991,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027floor\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 616,
"endLine": 616,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 709828875,
"currentLine": 10823529,
"nextLine": 862973185,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Scripting\\ScriptType.cs",
"line": 419,
"endLine": 419,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 551838811,
"currentLine": -1201170282,
"nextLine": 551838299,
"columns": 0
}
}
],
"message": "An odd precise comparison: asFloat \u003d\u003d float.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\BinaryAssetItem.cs",
"line": 134,
"endLine": 134,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 21931061,
"nextLine": -200518841,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\InputBox.cs",
"line": 1587,
"endLine": 1587,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1543851188,
"currentLine": 1620735083,
"nextLine": -768147839,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 249,
"endLine": 249,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027TypeUtils.GetDefaultValue(type)\u0027 method return value at \u0027obj.GetType\u0027 when it is passed to method as its 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 761440307,
"currentLine": 1606151089,
"nextLine": -1354727761,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Input.cs",
"line": 567,
"endLine": 567,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 516649421,
"currentLine": 50015729,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027_middleMouseDown\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 366,
"endLine": 366,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": 39528297,
"nextLine": -2080988043,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Config\\GameSettings.cs",
"line": 237,
"endLine": 237,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 88071449,
"currentLine": -1024348572,
"nextLine": 352987,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathf.cs",
"line": 761,
"endLine": 761,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -995635475,
"nextLine": -654660249,
"columns": 0
}
}
],
"message": "An odd precise comparison: alpha \u003d\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3041",
"cwe": 682,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Overall.cs",
"line": 102,
"endLine": 102,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -725110232,
"currentLine": 1524047024,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The expression was implicitly cast from \u0027ulong\u0027 type to \u0027float\u0027 type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A \u003d (double)(X) / Y;.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 591,
"endLine": 591,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 10823529,
"nextLine": -1708102394,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\StaticModelNode.cs",
"line": 57,
"endLine": 57,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -859722645,
"currentLine": 1474921,
"nextLine": 17733,
"columns": 0
}
}
],
"message": "Expression \u0027verts \u003d\u003d null\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3041",
"cwe": 682,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Overall.cs",
"line": 101,
"endLine": 101,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 998336950,
"currentLine": -725110232,
"nextLine": 1524047024,
"columns": 0
}
}
],
"message": "The expression was implicitly cast from \u0027ulong\u0027 type to \u0027float\u0027 type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A \u003d (double)(X) / Y;.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 833,
"endLine": 833,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 855192299,
"currentLine": -2000912802,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_combobox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3030",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 538,
"endLine": 538,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -328655413,
"currentLine": -2013950032,
"nextLine": 723747042,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 535,
"endLine": 535,
"column": 1,
"endColumn": 1
}
],
"message": "Recurring check. The \u0027arrayApiType !\u003d null \u0026\u0026 arrayApiType.MarshalAs !\u003d null\u0027 condition was already verified in line 535.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProjectGenerator.cs",
"line": 682,
"endLine": 682,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2066758797,
"currentLine": 171107081,
"nextLine": -1462165522,
"columns": 0
}
}
],
"message": "Expression \u0027!useResharperBuild\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1147,
"endLine": 1147,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 212704437,
"currentLine": 265143054,
"nextLine": -1858752701,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027functionNode._signature.Parameters\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.Selection.cs",
"line": 65,
"endLine": 65,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 18744348,
"currentLine": 76231288,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.Selection.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 131,
"endLine": 131,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 55870793,
"currentLine": 10823529,
"nextLine": 2091772829,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\NewtonsoftJson.cs",
"line": 87,
"endLine": 87,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 2923747,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027TargetPlatform\u0027 enum: Windows, Linux, Android, Mac.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 160,
"endLine": 160,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 341518184,
"nextLine": 1462175890,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 753,
"endLine": 753,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 88117,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 85,
"endLine": 85,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -345958553,
"currentLine": 2044871539,
"nextLine": 2120718357,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3042",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\PrefabPreview.cs",
"line": 79,
"endLine": 79,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 31081123,
"currentLine": 2105674638,
"nextLine": 241892155,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\PrefabPreview.cs",
"line": 78,
"endLine": 78,
"column": 1,
"endColumn": 1
}
],
"message": "Possible NullReferenceException. The \u0027?.\u0027 and \u0027.\u0027 operators are used for accessing members of the \u0027_uiControlLinked.Control\u0027 object",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 578489577,
"currentLine": 2133982696,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027settingsPanel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 320,
"endLine": 320,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 770301057,
"currentLine": -193071702,
"nextLine": 1873025885,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 326,
"endLine": 326,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027typeInfo.GenericArgs\u0027 object was used before it was verified against null. Check lines: 320, 326.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 718,
"endLine": 718,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 570118381,
"currentLine": -1158029995,
"nextLine": 176909,
"columns": 0
}
}
],
"message": "An odd precise comparison: tangentIn.Length \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 718,
"endLine": 718,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 570118381,
"currentLine": -1158029995,
"nextLine": 176909,
"columns": 0
}
}
],
"message": "An odd precise comparison: tangentOut.Length \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Parsing.cs",
"line": 254,
"endLine": 254,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 365222239,
"currentLine": -1752624088,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3057",
"cwe": 628,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanelProxy.cs",
"line": 457,
"endLine": 457,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 36080,
"currentLine": -549169312,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanel.cs",
"line": 635,
"endLine": 635,
"column": 1,
"endColumn": 1
}
],
"message": "The 1st argument \u0027index\u0027 has a possibly negative value, but is expected to be non-negative inside method, in \u0027_tabs.RemoveAt(index)\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3086",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmo.cs",
"line": 261,
"endLine": 261,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 702463750,
"currentLine": 880170182,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmo.cs",
"line": 260,
"endLine": 260,
"column": 1,
"endColumn": 1
}
],
"message": "Variables _selection.Capacity, _selectionParents.Capacity are initialized through the call to the same function. It\u0027s probably an error or un-optimized code.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorWindow.cs",
"line": 199,
"endLine": 199,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 569550457,
"nextLine": 88117,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\EditorWindow.cs",
"line": 209,
"endLine": 209,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Root\u0027 object was used before it was verified against null. Check lines: 199, 209.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceWindow.cs",
"line": 796,
"endLine": 796,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -1616879417,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.cs",
"line": 164,
"endLine": 164,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -857294103,
"currentLine": 661171719,
"nextLine": 78685322,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.cs",
"line": 163,
"endLine": 163,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027concurrency\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 164, 163.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Builder.cs",
"line": 37,
"endLine": 37,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 534,
"endLine": 534,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 148820372,
"currentLine": 10823529,
"nextLine": -1629205590,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 178,
"endLine": 178,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\ModelProxy.cs",
"line": 59,
"endLine": 59,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -616306443,
"currentLine": -2124448256,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027collisionDataProxy\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.Contents.cs",
"line": 207,
"endLine": 207,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1769094030,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027UseMode\u0027 enum: Off.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 838,
"endLine": 838,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1648452085,
"currentLine": -1998013372,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1289,
"endLine": 1289,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1668948979,
"nextLine": 5710891,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Animation.cs",
"line": 359,
"endLine": 359,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 183841,
"currentLine": 907932904,
"nextLine": 1413683,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027function\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Undo\\Undo.cs",
"line": 76,
"endLine": 76,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 1950634399,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: PeekHistory().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 602,
"endLine": 602,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -960642272,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 610,
"endLine": 610,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 215,
"endLine": 215,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 120237815,
"currentLine": 365083,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027DockState\u0027 enum: Unknown, Float, Hidden.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 525,
"endLine": 525,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -950259181,
"nextLine": 17733,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027v\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 692,
"endLine": 692,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -585249428,
"currentLine": -810421351,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 956,
"endLine": 956,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1147875507,
"currentLine": 10823529,
"nextLine": -1496796900,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 327,
"endLine": 327,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -184086016,
"currentLine": -228972198,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: _anchorMin.X !\u003d _anchorMax.X. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 459,
"endLine": 459,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1766757655,
"currentLine": -228939432,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: _anchorMin.Y !\u003d _anchorMax.Y. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 200,
"endLine": 200,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1928423521,
"nextLine": 736268498,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1309,
"endLine": 1309,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5710891,
"currentLine": -1640001903,
"nextLine": 11507755,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d double.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\LocalizedStringTableWindow.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 63545421,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\LocalizedStringTableWindow.cs",
"line": 61,
"endLine": 61,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_isRefreshing\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 83, 61.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 134,
"endLine": 134,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 804049877,
"currentLine": -1298447892,
"nextLine": -1938424211,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027settingsPanel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 160,
"endLine": 160,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 349661452,
"currentLine": 1501555,
"nextLine": -497407807,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027sky\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.ContextMenu.cs",
"line": 365,
"endLine": 365,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 39528297,
"nextLine": 12248860,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Utilities\\WinAPI.cs",
"line": 127,
"endLine": 127,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 47763396,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027Modal\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\ogg.cs",
"line": 171,
"endLine": 171,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1229564923,
"currentLine": 921564413,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\ogg.cs",
"line": 184,
"endLine": 184,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProjectGenerator.cs",
"line": 186,
"endLine": 186,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CurvePropertyTrack.cs",
"line": 140,
"endLine": 140,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": 39528297,
"nextLine": -1065348209,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Packing.cs",
"line": 124,
"endLine": 124,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1806220712,
"nextLine": -280515095,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 910,
"endLine": 910,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2023746505,
"currentLine": -958505552,
"nextLine": -308074854,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: param.IsOut.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\TagEditor.cs",
"line": 77,
"endLine": 77,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1805399038,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\TagEditor.cs",
"line": 436,
"endLine": 436,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027values.Contains\u0027. Consider inspecting the 2nd argument: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 122,
"endLine": 122,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\Vector3Editor.cs",
"line": 306,
"endLine": 306,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -129380671,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\NestedSceneAnimationTrack.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 113979,
"nextLine": -82623097,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.ID\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3111",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Animations\\Curve.cs",
"line": 511,
"endLine": 511,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1693415997,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Checking value of \u0027Value\u0027 for null will always return false when generic type is instantiated with a value type.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Timeline.cs",
"line": 1952,
"endLine": 1952,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 39528297,
"nextLine": 583430797,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 783,
"endLine": 783,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1685148725,
"currentLine": 296247372,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\EditGameWindow.cs",
"line": 190,
"endLine": 190,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027actor.Transform\u0027. Consider inspecting the 1st argument: camera.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Downloader.cs",
"line": 34,
"endLine": 34,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1821042116,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027ProgressDisplay.CanUseConsole\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\CustomEditorsUtil.cs",
"line": 121,
"endLine": 121,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 495479285,
"nextLine": -1306520469,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027targetTypeType\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 74,
"endLine": 74,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 395643378,
"nextLine": -1955931886,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 76,
"endLine": 76,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1955931886,
"currentLine": -1171952459,
"nextLine": 1703961276,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\DoubleEditor.cs",
"line": 41,
"endLine": 41,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -1752236365,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 75,
"endLine": 75,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 395643378,
"currentLine": -1955931886,
"nextLine": -1171952459,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\PhysX.cs",
"line": 373,
"endLine": 373,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 2923747,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027TargetPlatform\u0027 enum: UWP.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3156",
"cwe": 628,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Constants.cs",
"line": 248,
"endLine": 248,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1370870601,
"currentLine": 1201184428,
"nextLine": -674564252,
"columns": 0
}
}
],
"message": "The first argument of the \u0027CreateInstance\u0027 method is not expected to be null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3140",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 140,
"endLine": 140,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1758909173,
"currentLine": 2008308374,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Property accessors use different backing fields.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1339,
"endLine": 1339,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1641017583,
"nextLine": 5710891,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d double.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\AssetItem.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1299948362,
"currentLine": -506980510,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: typeNamespaces.Length !\u003d 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\PrefabWindow.Hierarchy.cs",
"line": 329,
"endLine": 329,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 57,
"endLine": 57,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -611626063,
"currentLine": -165540884,
"nextLine": 1838316247,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 56,
"endLine": 56,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027b\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 57, 56.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3148",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Timeline.Data.cs",
"line": 162,
"endLine": 162,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 735378707,
"nextLine": 59739899,
"columns": 0
}
}
],
"message": "Casting potential \u0027null\u0027 value of \u0027_tracks[i].Tag\u0027 to a value type can lead to NullReferenceException.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 1521,
"endLine": 1521,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5610543,
"currentLine": 371137,
"nextLine": 1393007,
"columns": 0
}
}
],
"message": "Expression \u0027separator\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 187,
"endLine": 187,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 765916315,
"currentLine": -1855944585,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027audioListener\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3202",
"cwe": 561,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 1051,
"endLine": 1051,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1653609520,
"nextLine": -1476040214,
"columns": 0
}
}
],
"message": "Unreachable code detected. The \u0027case\u0027 value \u0027TargetArchitecture.AnyCPU\u0027 is out of range of the match expression \u0027Architecture\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix3x3.cs",
"line": 1091,
"endLine": 1091,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 442745701,
"currentLine": 392183861,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: Math.Abs(det) \u003d\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3140",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 120,
"endLine": 120,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1758909173,
"currentLine": -1143329758,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Property accessors use different backing fields.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 415,
"endLine": 415,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 484,
"endLine": 484,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1928423521,
"nextLine": 736268498,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 228,
"endLine": 228,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -195352578,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonCustomSerializers\\ExtendedSerializationBinder.cs",
"line": 200,
"endLine": 200,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1968057933,
"nextLine": -352437663,
"columns": 0
}
}
],
"message": "Expression \u0027assemblyDelimiterIndex\u0027 is always not null. The operator \u0027??\u0027 is excessive.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanelProxy.cs",
"line": 565,
"endLine": 565,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -1164210896,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1657,
"endLine": 1657,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5765441,
"currentLine": 5626177,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\CustomEditorsUtil.cs",
"line": 102,
"endLine": 102,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1782977694,
"currentLine": 1977974109,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027checkType\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProject.cs",
"line": 33,
"endLine": 33,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1318808814,
"currentLine": -1743171661,
"nextLine": -1659549911,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProject.cs",
"line": 34,
"endLine": 34,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 437,
"endLine": 437,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 492474833,
"nextLine": -1745936841,
"columns": 0
}
}
],
"message": "Expression \u0027functionNode._signature.Name\u0027 is always not null. The operator \u0027??\u0027 is excessive.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 1503,
"endLine": 1503,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1663377667,
"nextLine": -967068673,
"columns": 0
}
}
],
"message": "Expression \u0027functionInfo.Parameters.Count !\u003d 0\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 606,
"endLine": 606,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 436880779,
"nextLine": -160722735,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Utilities\\MeshDataCache.cs",
"line": 122,
"endLine": 122,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1601147684,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: !_meshDatasCancel.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 1077,
"endLine": 1077,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -723493914,
"currentLine": -522167326,
"nextLine": 128610637,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_output\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3111",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Animations\\Curve.cs",
"line": 794,
"endLine": 794,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1693415997,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Checking value of \u0027Value\u0027 for null will always return false when generic type is instantiated with a value type.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1928423521,
"currentLine": 736268498,
"nextLine": -2052846777,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\EditTrackAction.cs",
"line": 37,
"endLine": 37,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1559596790,
"nextLine": -631706400,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\EditTrackAction.cs",
"line": 45,
"endLine": 45,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_timeline\u0027 object was used before it was verified against null. Check lines: 37, 45.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3053",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\Utilities\\StringUtils.cs",
"line": 147,
"endLine": 147,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1370551408,
"currentLine": 342638576,
"nextLine": 85659065,
"columns": 0
}
}
],
"message": "An excessive expression. Examine the substrings \u0027\\\\\\\\\u0027 and \u0027\\\\\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 175,
"endLine": 175,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 804049877,
"currentLine": -1938424211,
"nextLine": 45361529,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027settingsPanel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3066",
"cwe": 683,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Connecting.cs",
"line": 213,
"endLine": 213,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 321004459,
"currentLine": 1422733554,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Possible incorrect order of arguments passed to \u0027CanUseDirectCastStatic\u0027 method: \u0027to\u0027 and \u0027from\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\BinaryAssetItem.cs",
"line": 185,
"endLine": 185,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 21931061,
"nextLine": -200518841,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceNode.cs",
"line": 979,
"endLine": 979,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 13351001,
"currentLine": -723230773,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceNode.cs",
"line": 981,
"endLine": 981,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Surface\u0027 object was used before it was verified against null. Check lines: 979, 981.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SourceCodeEditing\\CodeEditingModule.cs",
"line": 39,
"endLine": 39,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 976826205,
"currentLine": -1528170778,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Scripting\\TypeUtils.cs",
"line": 395,
"endLine": 395,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027type.BaseType\u0027. Consider inspecting the 1st argument: managedType.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\CollectionEditor.cs",
"line": 338,
"endLine": 338,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1643,
"endLine": 1643,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -109909640,
"currentLine": 435035580,
"nextLine": -249367255,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027impulseBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\DepsBuilder.cs",
"line": 51,
"endLine": 51,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1407453452,
"currentLine": 1140927853,
"nextLine": 1407453216,
"columns": 0
}
}
],
"message": "Expression \u0027Platform.IsPlatformSupported(platform, TargetArchitecture.ARM)\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3156",
"cwe": 628,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\ProjectInfo.cs",
"line": 58,
"endLine": 58,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 670425,
"currentLine": 1451645841,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The first argument of the \u0027Add\u0027 method is not expected to be null. Potential null value: key.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 531,
"endLine": 531,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 866780861,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDown(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathd.cs",
"line": 607,
"endLine": 607,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -2026453746,
"nextLine": -654660249,
"columns": 0
}
}
],
"message": "An odd precise comparison: alpha \u003d\u003d 1d. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\KeyframesEditor.cs",
"line": 444,
"endLine": 444,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 10823529,
"nextLine": 2093001723,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ScreenFadeTrack.cs",
"line": 111,
"endLine": 111,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1379687950,
"currentLine": 39528297,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1632,
"endLine": 1632,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 953406156,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\GUI\\ContentView.cs",
"line": 622,
"endLine": 622,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1575956,
"currentLine": -1880017052,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\GUI\\ContentView.cs",
"line": 639,
"endLine": 639,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027OnItemDeleted\u0027 function is fully equivalent to the body of \u0027OnItemDispose\u0027 function (622, line 639).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 581,
"endLine": 581,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\ClothPainting.cs",
"line": 171,
"endLine": 171,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 526957875,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Tools\\ClothPainting.cs",
"line": 167,
"endLine": 167,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_clothPaint\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 171, 167.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\UIntValueBox.cs",
"line": 104,
"endLine": 104,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1042995749,
"currentLine": -848030463,
"nextLine": 240213,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 133,
"endLine": 133,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 263235661,
"currentLine": 804049877,
"nextLine": -1298447892,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027panel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\ContentItem.cs",
"line": 678,
"endLine": 678,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2057880341,
"currentLine": 1054095729,
"nextLine": 1148180646,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\Items\\ContentItem.cs",
"line": 677,
"endLine": 677,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator can lead to NullReferenceException. Consider inspecting \u0027view\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\CustomEditor.cs",
"line": 567,
"endLine": 567,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 188594871,
"currentLine": 742633,
"nextLine": 11432169,
"columns": 0
}
}
],
"message": "Expression \u0027text \u003d\u003d null\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 711,
"endLine": 711,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 385755756,
"currentLine": 11982701,
"nextLine": 2561913,
"columns": 0
}
}
],
"message": "Expression \u0027useSeparatePdb\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 485,
"endLine": 485,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1928423521,
"currentLine": 736268498,
"nextLine": 280341319,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3164",
"cwe": 544,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 50,
"endLine": 50,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1522224669,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Exception classes should be publicly accessible.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\LayoutElementsContainer.cs",
"line": 90,
"endLine": 90,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2051990601,
"currentLine": 39528297,
"nextLine": 30041699,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3107",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\MainEditorGizmoViewport.cs",
"line": 466,
"endLine": 466,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1236601848,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Identical expression \u0027trans.Orientation\u0027 to the left and to the right of compound assignment.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Double3.cs",
"line": 1068,
"endLine": 1068,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1269595245,
"currentLine": -707124304,
"nextLine": 353151,
"columns": 0
}
}
],
"message": "An odd precise comparison: distanceSq \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ActorEditor.cs",
"line": 421,
"endLine": 421,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1144615958,
"currentLine": 1249357355,
"nextLine": -804782807,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027restored\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 726,
"endLine": 726,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1661559441,
"nextLine": -1916998495,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 778,
"endLine": 778,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1648452085,
"currentLine": 1518035767,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 965,
"endLine": 965,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 772883963,
"currentLine": 23955995,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 174,
"endLine": 174,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 263235661,
"currentLine": 804049877,
"nextLine": -1938424211,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027panel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3140",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 130,
"endLine": 130,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1758909173,
"currentLine": -1359574238,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Property accessors use different backing fields.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathd.cs",
"line": 598,
"endLine": 598,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1100788788,
"nextLine": -654660249,
"columns": 0
}
}
],
"message": "An odd precise comparison: alpha \u003d\u003d 0d. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 66,
"endLine": 66,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 925697897,
"currentLine": -1558843815,
"nextLine": 128753,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_assetPicker\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Apple\\XCode.cs",
"line": 42,
"endLine": 42,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Search\\SearchItem.cs",
"line": 169,
"endLine": 169,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 915311765,
"currentLine": 10823529,
"nextLine": -1293890430,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\BoundingSphere.cs",
"line": 495,
"endLine": 495,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -970503635,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: Radius \u003d\u003d value.Radius. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 356,
"endLine": 356,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 72,
"endLine": 72,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2251402,
"currentLine": 1523929501,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 550,
"endLine": 550,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1822310347,
"currentLine": 1086445951,
"nextLine": -1477365294,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027ReadAllText\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 871,
"endLine": 871,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -304032143,
"currentLine": -927344800,
"nextLine": -151532762,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\States\\EditorStateMachine.cs",
"line": 21,
"endLine": 21,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator can lead to NullReferenceException. Consider inspecting \u0027state\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 810,
"endLine": 810,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 564361869,
"currentLine": 446008417,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 791,
"endLine": 791,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Surface\u0027 object was used after it was verified against null. Check lines: 810, 791.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 642,
"endLine": 642,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 269156361,
"currentLine": 178988905,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Items\\VisualScriptItem.cs",
"line": 250,
"endLine": 250,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": -1303790518,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\Items\\VisualScriptItem.cs",
"line": 316,
"endLine": 316,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027VisualScriptType\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 549,
"endLine": 549,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1822310347,
"nextLine": 1086445951,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3068",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\KeyframesEditor.cs",
"line": 724,
"endLine": 724,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 16507361,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Calling overrideable class member \u0027UpdateKeyframes\u0027 from constructor is dangerous.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudioCode\\VisualStudioCodeProjectGenerator.cs",
"line": 220,
"endLine": 220,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1366209773,
"nextLine": 574082057,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudioCode\\VisualStudioCodeProjectGenerator.cs",
"line": 249,
"endLine": 249,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 309,
"endLine": 309,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\JsonAssetWindow.cs",
"line": 283,
"endLine": 283,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1226623640,
"currentLine": -39245975,
"nextLine": -964178879,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 352,
"endLine": 352,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3030",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\UIEditorGizmo.cs",
"line": 455,
"endLine": 455,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1933356753,
"currentLine": 1145903921,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Gizmo\\UIEditorGizmo.cs",
"line": 451,
"endLine": 451,
"column": 1,
"endColumn": 1
}
],
"message": "Recurring check. The \u0027!_mouseMovesControl\u0027 condition was already verified in line 451.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 351,
"endLine": 351,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": 1203811881,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 500,
"endLine": 500,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027CameraCutThumbnailRenderer\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 600,
"endLine": 600,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 157486043,
"currentLine": 39528297,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3029",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 261,
"endLine": 261,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 790041313,
"currentLine": -835424742,
"nextLine": 88269261,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 265,
"endLine": 265,
"column": 1,
"endColumn": 1
}
],
"message": "The conditional expressions of the \u0027if\u0027 statements situated alongside each other are identical. Check lines: 261, 265.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 2190,
"endLine": 2190,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1397750670,
"currentLine": 243702634,
"nextLine": 1496862126,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027buildData.Target\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3053",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Import\\TextureImportEntry.cs",
"line": 157,
"endLine": 157,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1428602097,
"currentLine": 178575189,
"nextLine": 357150269,
"columns": 0
}
}
],
"message": "An excessive expression. Examine the substrings \u0027diffuse\u0027 and \u0027diff\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 185,
"endLine": 185,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 176909,
"currentLine": -447451525,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetProxy(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 843,
"endLine": 843,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1143881272,
"currentLine": -604565202,
"nextLine": 2739481,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027prevNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1291,
"endLine": 1291,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5710891,
"currentLine": -1669194355,
"nextLine": 11507755,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d float.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\BoundingFrustum.cs",
"line": 508,
"endLine": 508,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 23393097,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027PlaneIntersectionType\u0027 enum: Front.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 842,
"endLine": 842,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1606483777,
"currentLine": 1143881272,
"nextLine": -604565202,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027decorator\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Search\\ContentFinder.cs",
"line": 224,
"endLine": 224,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -93992793,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _selectedItem \u003d\u003d null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathd.cs",
"line": 1064,
"endLine": 1064,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 182363,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027AlphaBlendMode\u0027 enum: Linear.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Terrain\\EditTab.cs",
"line": 344,
"endLine": 344,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 168429147,
"nextLine": 381865773,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 136,
"endLine": 136,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.ID\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 691,
"endLine": 691,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 7686011,
"currentLine": 39528297,
"nextLine": 1088437068,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1171,
"endLine": 1171,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\CSProjectGenerator.cs",
"line": 118,
"endLine": 118,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -996537579,
"currentLine": -1212021550,
"nextLine": 1888515591,
"columns": 0
}
}
],
"message": "Expression \u0027defaultConfiguration \u003d\u003d TargetConfiguration.Debug\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 783,
"endLine": 783,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 809476614,
"currentLine": -985997806,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 166,
"endLine": 166,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1427277804,
"currentLine": -1146641289,
"nextLine": 1438308755,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027skyLight\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 418,
"endLine": 418,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 482073176,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: options.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 392,
"endLine": 392,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\ContentProxy.cs",
"line": 14,
"endLine": 14,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": -984925133,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\ContentProxy.cs",
"line": 133,
"endLine": 133,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027ContentProxy\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\ULongValueBox.cs",
"line": 92,
"endLine": 92,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2103144105,
"currentLine": 1277656863,
"nextLine": 174178098,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\VisualScriptDebuggerWindow.cs",
"line": 280,
"endLine": 280,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 780372472,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathd.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 12257,
"nextLine": 22339,
"columns": 0
}
}
],
"message": "An odd precise comparison: a \u003d\u003d b. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3072",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 31,
"endLine": 31,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1465749763,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 37,
"endLine": 37,
"column": 1,
"endColumn": 1
},
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 39,
"endLine": 39,
"column": 1,
"endColumn": 1
},
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 40,
"endLine": 40,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027SerializerCache\u0027 class containing IDisposable members does not itself implement IDisposable. Inspect: JsonWriter, MemoryStream, Reader.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Parsing.cs",
"line": 253,
"endLine": 253,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -416984432,
"currentLine": 365222239,
"nextLine": -1752624088,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3149",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 203,
"endLine": 203,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1332457099,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 31,
"endLine": 31,
"column": 1,
"endColumn": 1
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1
}
],
"message": "Dereferencing the result of \u0027as\u0027 operator inside method can lead to NullReferenceException. Consider inspecting 1st argument: floatingPanelToMove.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\NvCloth.cs",
"line": 64,
"endLine": 64,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 2923747,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027TargetPlatform\u0027 enum: UWP.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\AnimationTimeline.cs",
"line": 133,
"endLine": 133,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 42453709,
"currentLine": 3748497,
"nextLine": 12359529,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\AnimationTimeline.cs",
"line": 134,
"endLine": 134,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_preview\u0027 object was used before it was verified against null. Check lines: 133, 134.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 112,
"endLine": 112,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1379507481,
"currentLine": 679093,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027isValid\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 737,
"endLine": 737,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1336455718,
"currentLine": -621594802,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: keyframe.TangentIn.Translation.Length \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 578,
"endLine": 578,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -815184543,
"currentLine": 10823529,
"nextLine": -1997867322,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 538,
"endLine": 538,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 76,
"currentLine": -1122324043,
"nextLine": 30638,
"columns": 0
}
}
],
"message": "An odd precise comparison: _shear.X \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 332,
"endLine": 332,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ToolboxWindow.cs",
"line": 221,
"endLine": 221,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1357389608,
"nextLine": 747625,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetChild\u003cPanel\u003e().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 1152,
"endLine": 1152,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1964492651,
"currentLine": 23965673,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useSeparateImpl\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3127",
"cwe": 682,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float4.cs",
"line": 1003,
"endLine": 1003,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 69893321,
"currentLine": 69909711,
"nextLine": 69942487,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float4.cs",
"line": 1004,
"endLine": 1004,
"column": 1,
"endColumn": 1
}
],
"message": "Two similar code fragments were found. Perhaps, this is a typo and \u0027y\u0027 variable should be used instead of \u0027z\u0027",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3083",
"cwe": 367,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\ComboBox.cs",
"line": 495,
"endLine": 495,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 98761577,
"currentLine": 727380077,
"nextLine": 506307384,
"columns": 0
}
}
],
"message": "Unsafe invocation of event \u0027PopupCreate\u0027, NullReferenceException is possible. Consider assigning event to a local variable before invoking it.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 704,
"endLine": 704,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1711997833,
"currentLine": 178988905,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1903,
"endLine": 1903,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": 39528297,
"nextLine": -2080988043,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\OutputLogWindow.cs",
"line": 244,
"endLine": 244,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\KeyframesEditor.cs",
"line": 432,
"endLine": 432,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1557903299,
"currentLine": 10823529,
"nextLine": 1850767881,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3110",
"cwe": 674,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\SceneGraphNode.cs",
"line": 69,
"endLine": 69,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": -1672575161,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible infinite recursion inside \u0027Root\u0027 property.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 411,
"endLine": 411,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\ModelPreview.cs",
"line": 295,
"endLine": 295,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1303271947,
"currentLine": 1221769864,
"nextLine": -1912373771,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027meshDatas\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3130",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Special\\RadialMenu.cs",
"line": 277,
"endLine": 277,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1628710754,
"currentLine": 1948501713,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Priority of the \u0027\u0026\u0026\u0027 operator is higher than that of the \u0027||\u0027 operator. Possible missing parentheses.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ScriptTrack.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 197318112,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceNode.cs",
"line": 242,
"endLine": 242,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -502484352,
"currentLine": 5835243,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027NodeElementType\u0027 enum: Invalid, RotationValue.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 974,
"endLine": 974,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 375071993,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\LocalSceneGraph.cs",
"line": 12,
"endLine": 12,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": -1238757812,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\SceneGraph\\LocalSceneGraph.cs",
"line": 75,
"endLine": 75,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027LocalSceneGraph\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\IntValueBox.cs",
"line": 115,
"endLine": 115,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -659238342,
"currentLine": -1872144505,
"nextLine": 174178098,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\Vector3Editor.cs",
"line": 104,
"endLine": 104,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -129380671,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 474,
"endLine": 474,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 2244993,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 433,
"endLine": 433,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 976826205,
"currentLine": -1528170778,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Scripting\\TypeUtils.cs",
"line": 395,
"endLine": 395,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027type.BaseType\u0027. Consider inspecting the 1st argument: managedType.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudioCode\\VisualStudioCodeInstance.cs",
"line": 62,
"endLine": 62,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 673572251,
"currentLine": 97066987,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Config\\GameSettings.cs",
"line": 378,
"endLine": 378,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 724967055,
"currentLine": -690222631,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027gameSettingsAsset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3056",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Quaternion.cs",
"line": 1480,
"endLine": 1480,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1934659121,
"currentLine": -844137002,
"nextLine": 711843,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Quaternion.cs",
"line": 1481,
"endLine": 1481,
"column": 1,
"endColumn": 1
}
],
"message": "Consider reviewing the correctness of \u0027q2\u0027 item\u0027s usage.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 611,
"endLine": 611,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 351157817,
"currentLine": 1823992940,
"nextLine": -1307562784,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027node\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceWindow.cs",
"line": 718,
"endLine": 718,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 702470641,
"currentLine": 39528297,
"nextLine": 988165128,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3097",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\MemberComparison.cs",
"line": 14,
"endLine": 14,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2071185932,
"currentLine": -610243914,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Utilities\\MemberComparison.cs",
"line": 19,
"endLine": 19,
"column": 1,
"endColumn": 1
}
],
"message": "Possible exception: the \u0027MemberComparison\u0027 type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 963,
"endLine": 963,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 887313387,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3072",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 20,
"endLine": 20,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1607007810,
"currentLine": -1757088885,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 26,
"endLine": 26,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027EditorOptionsWindow\u0027 class containing IDisposable members does not itself implement IDisposable. Inspect: _undo.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Unix\\UnixToolchain.cs",
"line": 598,
"endLine": 598,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 772883963,
"currentLine": 23955995,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 510,
"endLine": 510,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 2923747,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027TargetPlatform\u0027 enum: PS4, PS5, iOS.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Cache\\Intermediate\\FlaxEditor\\Windows\\x64\\Development\\Graphics\\Graphics.Bindings.Gen.cs",
"line": 1367,
"endLine": 1367,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 102185,
"currentLine": -1900850423,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027ProbeCubemapResolution\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 480,
"endLine": 480,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2056525725,
"currentLine": -1678791597,
"nextLine": 21299795,
"columns": 0
}
}
],
"message": "Expression \u0027!string.IsNullOrEmpty(localRepoPath)\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\Dialog.cs",
"line": 78,
"endLine": 78,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 671389989,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\Dialog.cs",
"line": 151,
"endLine": 151,
"column": 1,
"endColumn": 1
}
],
"message": "The result of null-conditional operator is dereferenced inside the \u0027ShowDialog\u0027 method. NullReferenceException is possible. Inspect the first argument \u0027parentWindow?.Window\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Tags.cs",
"line": 245,
"endLine": 245,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1830805086,
"nextLine": 730945,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3166,
"endLine": 3166,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1017315024,
"currentLine": 1091083042,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027project\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\NativeInterop.Marshallers.cs",
"line": 617,
"endLine": 617,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1710695258,
"currentLine": 1139822315,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: unmanaged.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 845,
"endLine": 845,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2739481,
"currentLine": -20004525,
"nextLine": -502898934,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027newNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 237,
"endLine": 237,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -325646387,
"currentLine": 46270855,
"nextLine": 1121432113,
"columns": 0
}
}
],
"message": "Expression \u0027enableStackTrace\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Unix\\UnixToolchain.cs",
"line": 470,
"endLine": 470,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 772883963,
"currentLine": 23955995,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3061,
"endLine": 3061,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -912817643,
"nextLine": 1715126832,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3062,
"endLine": 3062,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027fieldInfo\u0027 object was used before it was verified against null. Check lines: 3061, 3062.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\KeyframesEditor.cs",
"line": 552,
"endLine": 552,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1879261150,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDoubleClick(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Constants.cs",
"line": 157,
"endLine": 157,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 9488589,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 253,
"endLine": 253,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -391087833,
"currentLine": 1024532118,
"nextLine": 905,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 52,
"endLine": 52,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027parameter.Name\u0027. Consider inspecting the 1st argument: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceContext.Serialization.cs",
"line": 371,
"endLine": 371,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 282379743,
"nextLine": -946501766,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceContext.Serialization.cs",
"line": 383,
"endLine": 383,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\PrefabWindow.Hierarchy.cs",
"line": 422,
"endLine": 422,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 189443829,
"nextLine": 947129,
"columns": 0
}
}
],
"message": "Expression \u0027selection.Count !\u003d 0\u0027 is always true.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\StructureInfo.cs",
"line": 36,
"endLine": 36,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1034865042,
"currentLine": 311722709,
"nextLine": -659558605,
"columns": 0
}
}
],
"message": "Expression \u0027BaseType?.IsPod\u0027 is always not null. The operator \u0027??\u0027 is excessive.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float3.cs",
"line": 1052,
"endLine": 1052,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1269595245,
"currentLine": -707124304,
"nextLine": 353151,
"columns": 0
}
}
],
"message": "An odd precise comparison: distanceSq \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Module.cs",
"line": 78,
"endLine": 78,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1649239448,
"currentLine": 229365757,
"nextLine": 1811700297,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Module.cs",
"line": 79,
"endLine": 79,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027options.Platform\u0027 object was used before it was verified against null. Check lines: 78, 79.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\MainMenu.cs",
"line": 111,
"endLine": 111,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1059705045,
"currentLine": -1664767524,
"nextLine": -1499494381,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Render2D\\FontReference.cs",
"line": 62,
"endLine": 62,
"column": 1,
"endColumn": 1
}
],
"message": "The result of null-conditional operator is dereferenced inside the \u0027FontReference\u0027 constructor. NullReferenceException is possible. Inspect the first argument \u0027iconFont\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 78,
"endLine": 78,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1703961276,
"currentLine": -1549833035,
"nextLine": 1343251132,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 137,
"endLine": 137,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -259076084,
"nextLine": -1233683840,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 120,
"endLine": 120,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027b\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 137, 120.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 2338,
"endLine": 2338,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1392610829,
"currentLine": 31952928,
"nextLine": 183867,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027instanceBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3108",
"cwe": 684,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Content\\JsonAssetReference.cs",
"line": 128,
"endLine": 128,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 727987121,
"nextLine": 125,
"columns": 0
}
}
],
"message": "It is not recommended to return \u0027null\u0027 from \u0027ToString()\u0027 method.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Unix\\UnixToolchain.cs",
"line": 175,
"endLine": 175,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 712831774,
"currentLine": 23771791,
"nextLine": -538169749,
"columns": 0
}
}
],
"message": "Expression \u0027parts.Length \u003e\u003d 1\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Plugins\\PluginUtils.cs",
"line": 90,
"endLine": 90,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1637641127,
"currentLine": -1135161342,
"nextLine": 1356979630,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027gameAssembly\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioInstance.cs",
"line": 156,
"endLine": 156,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\ClassInfo.cs",
"line": 61,
"endLine": 61,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 539,
"currentLine": -145929746,
"nextLine": 0,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: BaseType !\u003d null.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3140",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 44,
"endLine": 44,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -648321897,
"currentLine": 5965805,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Property accessors use different backing fields.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Tree\\Tree.cs",
"line": 392,
"endLine": 392,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1864877080,
"currentLine": 185634144,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 234,
"endLine": 234,
"column": 1,
"endColumn": 1
}
],
"message": "The 1st argument \u0027myIndex - 1\u0027 is potentially used inside method to point beyond collection\u0027s bounds.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\ShuntingYardParser.cs",
"line": 304,
"endLine": 304,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 739673,
"nextLine": -1843498572,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Utilities\\ShuntingYardParser.cs",
"line": 293,
"endLine": 293,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027previous\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 304, 293.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\mono.cs",
"line": 485,
"endLine": 485,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 263955,
"currentLine": -1678798269,
"nextLine": -801243803,
"columns": 0
}
}
],
"message": "Expression \u0027string.IsNullOrEmpty(localRepoPath)\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 229,
"endLine": 229,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 770301057,
"currentLine": 362645215,
"nextLine": 48143759,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 232,
"endLine": 232,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027typeInfo.GenericArgs\u0027 object was used before it was verified against null. Check lines: 229, 232.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.cs",
"line": 11,
"endLine": 11,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 1718355659,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.cs",
"line": 385,
"endLine": 385,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Control\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Unix\\UnixToolchain.cs",
"line": 480,
"endLine": 480,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 712623027,
"currentLine": 1484687436,
"nextLine": 1632047724,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 204,
"endLine": 204,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 279127005,
"currentLine": 137822682,
"nextLine": 235798474,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 206,
"endLine": 206,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\IntValueBox.cs",
"line": 114,
"endLine": 114,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -659238342,
"nextLine": -1872144505,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Min \u003d\u003d float.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Tree\\TreeNode.cs",
"line": 720,
"endLine": 720,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 43273173,
"currentLine": 1142970671,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: topOffset !\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 448,
"endLine": 448,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1251199518,
"currentLine": -228972198,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: _anchorMin.X !\u003d _anchorMax.X. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Builder.Projects.cs",
"line": 350,
"endLine": 350,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 77,
"endLine": 77,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1171952459,
"currentLine": 1703961276,
"nextLine": -1549833035,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 79,
"endLine": 79,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1549833035,
"currentLine": 1343251132,
"nextLine": -954625549,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3088",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\LocalizationSettingsEditor.cs",
"line": 78,
"endLine": 78,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -2116319254,
"nextLine": 195772833,
"columns": 0
}
}
],
"message": "The expression was enclosed by parentheses twice: ((expression)). One pair of parentheses is unnecessary or misprint is present.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Unix\\UnixToolchain.cs",
"line": 608,
"endLine": 608,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 712622643,
"currentLine": 1484687436,
"nextLine": -248916132,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3087",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 818,
"endLine": 818,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -407398261,
"nextLine": 1295412209,
"columns": 0
}
}
],
"message": "Type of variable enumerated in \u0027foreach\u0027 is not guaranteed to be castable to the type of collection\u0027s elements.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\freetype.cs",
"line": 195,
"endLine": 195,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1840624356,
"currentLine": 921564413,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\freetype.cs",
"line": 208,
"endLine": 208,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Scripting\\ScriptType.cs",
"line": 586,
"endLine": 586,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 703,
"endLine": 703,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 442407125,
"currentLine": 435035580,
"nextLine": -249367255,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027impulseBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathf.cs",
"line": 1426,
"endLine": 1426,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 2917173,
"nextLine": 176405,
"columns": 0
}
}
],
"message": "An odd precise comparison: modulo \u003d\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Builder.cs",
"line": 47,
"endLine": 47,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3056",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 600,
"endLine": 600,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 700891,
"currentLine": 700635,
"nextLine": 702617,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\CameraCutTrack.cs",
"line": 599,
"endLine": 599,
"column": 1,
"endColumn": 1
}
],
"message": "Consider reviewing the correctness of \u0027countX\u0027 item\u0027s usage.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\ModelPreview.cs",
"line": 312,
"endLine": 312,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1303271947,
"currentLine": 1221769864,
"nextLine": -1912373771,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027meshDatas\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 376,
"endLine": 376,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 191671173,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 509,
"endLine": 509,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Proxy\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SceneAnimationWindow.cs",
"line": 946,
"endLine": 946,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -542125327,
"currentLine": -1313442982,
"nextLine": 498098177,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027OriginalAsset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\LongValueBox.cs",
"line": 90,
"endLine": 90,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 553804151,
"nextLine": 1711550716,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Min \u003d\u003d int.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.CopyPaste.cs",
"line": 287,
"endLine": 287,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 71909,
"currentLine": 1501632040,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.CopyPaste.cs",
"line": 289,
"endLine": 289,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027node.Values\u0027 object was used before it was verified against null. Check lines: 287, 289.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 756,
"endLine": 756,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1949931990,
"currentLine": -873819578,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 849,
"endLine": 849,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of method return value when it is passed to method as its 2nd argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3065",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Panels\\ScrollBar.cs",
"line": 255,
"endLine": 255,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 830098888,
"currentLine": 1063502971,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Parameter \u0027max\u0027 is not utilized inside method\u0027s body.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3137",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.Selection.cs",
"line": 169,
"endLine": 169,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 65878795,
"currentLine": 1815740855,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The \u0027closestIntersection\u0027 variable is assigned but is not used by the end of the function.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 774,
"endLine": 774,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1949931990,
"currentLine": -873819578,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 849,
"endLine": 849,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of method return value when it is passed to method as its 2nd argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deploy\\VCEnvironment.cs",
"line": 304,
"endLine": 304,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 126,
"endLine": 126,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 10823529,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.CopyPaste.cs",
"line": 289,
"endLine": 289,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -414337831,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: node.Values !\u003d null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\UICanvas.cs",
"line": 527,
"endLine": 527,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 76173129,
"currentLine": 1051379438,
"nextLine": 13812,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\UICanvas.cs",
"line": 529,
"endLine": 529,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_guiRoot\u0027 object was used before it was verified against null. Check lines: 527, 529.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanelProxy.cs",
"line": 457,
"endLine": 457,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 36080,
"currentLine": -549169312,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanel.cs",
"line": 634,
"endLine": 634,
"column": 1,
"endColumn": 1
}
],
"message": "The 1st argument \u0027index\u0027 is potentially used inside method to point beyond collection\u0027s bounds.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\CollectionEditor.cs",
"line": 72,
"endLine": 72,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 197296703,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.ContextMenu.cs",
"line": 324,
"endLine": 324,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 84667522,
"currentLine": 39528297,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 595,
"endLine": 595,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 10823529,
"nextLine": 1019178747,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\UIntValueBox.cs",
"line": 115,
"endLine": 115,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1042995749,
"currentLine": -848030463,
"nextLine": 174178098,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 209,
"endLine": 209,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 34656253,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 218,
"endLine": 218,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027scene.IsEdited\u0027. Consider inspecting the 1st argument: GetActorNode(scene) as SceneNode.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1297,
"endLine": 1297,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 887313387,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Platform.cs",
"line": 57,
"endLine": 57,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 2244993,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Tree\\TreeNode.cs",
"line": 344,
"endLine": 344,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1054762423,
"currentLine": -1918622443,
"nextLine": 754910666,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _opened.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\ActorTransformEditor.cs",
"line": 132,
"endLine": 132,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 762899,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3110",
"cwe": 674,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.cs",
"line": 289,
"endLine": 289,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": -1600349245,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible infinite recursion inside \u0027RootWindow\u0027 property.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ActorTrack.cs",
"line": 162,
"endLine": 162,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 197318112,
"currentLine": 39528297,
"nextLine": 2091046699,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Parsing.cs",
"line": 288,
"endLine": 288,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1895773223,
"currentLine": 219069897,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 718,
"endLine": 718,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 5951337,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027pdbFile !\u003d null\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AnimationGraphWindow.cs",
"line": 290,
"endLine": 290,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SceneAnimationWindow.cs",
"line": 475,
"endLine": 475,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -146923666,
"currentLine": 410114888,
"nextLine": -1484736164,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\RenderOutputControl.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.Value\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix3x3.cs",
"line": 1648,
"endLine": 1648,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1823335671,
"nextLine": 2091507959,
"columns": 0
}
}
],
"message": "An odd precise comparison: shearAngles.X \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 115,
"endLine": 115,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 2244993,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 315,
"endLine": 315,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1265294171,
"currentLine": -1068793631,
"nextLine": 2638153,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027prefab\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonCustomSerializers\\ExtendedDefaultContractResolver.cs",
"line": 66,
"endLine": 66,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 338,
"endLine": 338,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2055388090,
"currentLine": -228939432,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: _anchorMin.Y !\u003d _anchorMax.Y. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3066",
"cwe": 683,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Special\\RadialMenu.cs",
"line": 374,
"endLine": 374,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -945172612,
"currentLine": -380482562,
"nextLine": 497174469,
"columns": 0
}
}
],
"message": "Possible incorrect order of arguments passed to \u0027Atan2\u0027 method: \u0027p.X\u0027 and \u0027p.Y\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\ContainerControl.cs",
"line": 1214,
"endLine": 1214,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -482191901,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _children.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonCustomSerializers\\ExtendedSerializationBinder.cs",
"line": 201,
"endLine": 201,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1968057933,
"currentLine": -352437663,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Expression \u0027assemblyDelimiterIndex\u0027 is always not null. The operator \u0027??\u0027 is excessive.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\InputEvent.cs",
"line": 10,
"endLine": 10,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": -285293576,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Engine\\InputEvent.cs",
"line": 104,
"endLine": 104,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027InputEvent\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Input.cs",
"line": 379,
"endLine": 379,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -1891950664,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Undo\\AddRemoveNodeAction.cs",
"line": 26,
"endLine": 26,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027node.Surface\u0027. Consider inspecting the 1st argument: rerouteNode.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\RenameTrackAction.cs",
"line": 21,
"endLine": 21,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1943407749,
"currentLine": 199585797,
"nextLine": 1992334457,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027track\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 709,
"endLine": 709,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 6205027,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Expression \u0027SaveSurface()\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\TimelineEdge.cs",
"line": 73,
"endLine": 73,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 866780861,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDown(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 570,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Tree\\TreeNode.cs",
"line": 365,
"endLine": 365,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1054762423,
"currentLine": -1918622443,
"nextLine": 754910666,
"columns": 0
}
}
],
"message": "A part of conditional expression is always false if it is evaluated: _opened.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\PaintTab.cs",
"line": 296,
"endLine": 296,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -1621785026,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Popups\\AssetSearchPopup.cs",
"line": 85,
"endLine": 85,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027item.ShortName\u0027. Consider inspecting the 1st argument: asset.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 12,
"endLine": 12,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 1528060217,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockHintWindow.cs",
"line": 92,
"endLine": 92,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027DockHintWindow\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 351,
"endLine": 351,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 2244993,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 809,
"endLine": 809,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 252577269,
"currentLine": 95399869,
"nextLine": -1347632307,
"columns": 0
}
}
],
"message": "An odd precise comparison: tangentInSize \u003d\u003d 0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\AnimationEventTrack.cs",
"line": 350,
"endLine": 350,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": -851102447,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3151",
"cwe": 369,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Panels\\UniformGridPanel.cs",
"line": 116,
"endLine": 116,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 553968331,
"nextLine": 1459729373,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Panels\\UniformGridPanel.cs",
"line": 119,
"endLine": 119,
"column": 1,
"endColumn": 1
}
],
"message": "Potential division by zero. The variable was used as a divisor before it was compared with a range of values which includes zero. Check lines: 116, 119.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 790,
"endLine": 790,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 526031993,
"nextLine": 111057780,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 791,
"endLine": 791,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Surface\u0027 object was used before it was verified against null. Check lines: 790, 791.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1341,
"endLine": 1341,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5710891,
"currentLine": -1640001903,
"nextLine": 11507755,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d double.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 502,
"endLine": 502,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -350140321,
"nextLine": 176909,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 500,
"endLine": 500,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027parameter.Type\u0027 object was used after it was verified against null. Check lines: 502, 500.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\ContextMenu\\ContextMenuBase.cs",
"line": 227,
"endLine": 227,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1634962527,
"currentLine": 30928389,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\ContextMenu\\ContextMenuBase.cs",
"line": 231,
"endLine": 231,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_window\u0027 object was used before it was verified against null. Check lines: 227, 231.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3029",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 382,
"endLine": 382,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -584423831,
"currentLine": 24847635,
"nextLine": 23049677,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 384,
"endLine": 384,
"column": 1,
"endColumn": 1
}
],
"message": "The conditional expressions of the \u0027if\u0027 statements situated alongside each other are identical. Check lines: 382, 384.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.ContextMenu.cs",
"line": 336,
"endLine": 336,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 189443607,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\MaterialWindow.cs",
"line": 307,
"endLine": 307,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 544,
"endLine": 544,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -39666730,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 529,
"endLine": 529,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027token\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 544, 529.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 2082,
"endLine": 2082,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 157384315,
"currentLine": 1808342346,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: string.IsNullOrEmpty(entryInfo.Value).",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\vorbis.cs",
"line": 215,
"endLine": 215,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 330357201,
"currentLine": 1547435535,
"nextLine": 21508477,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\vorbis.cs",
"line": 222,
"endLine": 222,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\CollisionDataProxy.cs",
"line": 96,
"endLine": 96,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -539491647,
"currentLine": -372324272,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027collisionData\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 890,
"endLine": 890,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1598514311,
"currentLine": -399833558,
"nextLine": 1993854390,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027selected\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\ActorTransformEditor.cs",
"line": 126,
"endLine": 126,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1863041,
"currentLine": 816021088,
"nextLine": -1896027599,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\ActorTransformEditor.cs",
"line": 128,
"endLine": 128,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027LinkedLabel\u0027 object was used before it was verified against null. Check lines: 126, 128.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Progress\\Handlers\\BuildingGameProgress.cs",
"line": 42,
"endLine": 42,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 406951278,
"currentLine": 12713,
"nextLine": 2337,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Progress\\Handlers\\BuildingGameProgress.cs",
"line": 45,
"endLine": 45,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix2x2.cs",
"line": 309,
"endLine": 309,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1823335671,
"nextLine": 2091507959,
"columns": 0
}
}
],
"message": "An odd precise comparison: shearAngles.X \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 883,
"endLine": 883,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5607,
"currentLine": 39528297,
"nextLine": -2080988043,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\SkinnedModelWindow.cs",
"line": 1247,
"endLine": 1247,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1601147684,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: !_meshDatasCancel.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisualScriptSurface.cs",
"line": 610,
"endLine": 610,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 413,
"currentLine": -2012781934,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027node\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1324,
"endLine": 1324,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1668948979,
"nextLine": 5710891,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1326,
"endLine": 1326,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 5710891,
"currentLine": -1669194355,
"nextLine": 11507755,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d float.MinValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\NvCloth.cs",
"line": 83,
"endLine": 83,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 330356367,
"currentLine": 2030477402,
"nextLine": 2337,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\NvCloth.cs",
"line": 90,
"endLine": 90,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneEditingModule.cs",
"line": 585,
"endLine": 585,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -38636684,
"currentLine": 761041674,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetActorNode(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 975,
"endLine": 975,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 431268495,
"currentLine": 1484687436,
"nextLine": 1535220865,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.Contents.cs",
"line": 484,
"endLine": 484,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1557903299,
"currentLine": 10823529,
"nextLine": 995216132,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 787,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1688,
"endLine": 1688,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 238209197,
"nextLine": 162442199,
"columns": 0
}
}
],
"message": "Possible negative index value. The value of \u0027n - 1\u0027 index could reach -2.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 125,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1688,
"endLine": 1688,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 238209197,
"nextLine": 162442199,
"columns": 0
}
}
],
"message": "Possible negative index value. The value of \u0027n - 1\u0027 index could reach -2.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\BehaviorTreeWindow.cs",
"line": 326,
"endLine": 326,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 6205027,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Expression \u0027SaveSurface()\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\Utils.cs",
"line": 1307,
"endLine": 1307,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1641017583,
"nextLine": 5710891,
"columns": 0
}
}
],
"message": "An odd precise comparison: value \u003d\u003d double.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 405,
"endLine": 405,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 133090825,
"currentLine": -1769919241,
"nextLine": -262631924,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_outputBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 238,
"endLine": 238,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 796411036,
"currentLine": 1006372371,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AnimationWindow.cs",
"line": 165,
"endLine": 165,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1075373889,
"currentLine": 16018491,
"nextLine": 232955,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AnimationWindow.cs",
"line": 135,
"endLine": 135,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.WaitForLoaded\u0027. Consider inspecting: null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AssetEditorWindow.cs",
"line": 249,
"endLine": 249,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1575956,
"currentLine": -1921583599,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\AssetEditorWindow.cs",
"line": 272,
"endLine": 272,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027OnItemDeleted\u0027 function is fully equivalent to the body of \u0027OnItemDispose\u0027 function (249, line 272).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathf.cs",
"line": 770,
"endLine": 770,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 801783139,
"nextLine": -654660249,
"columns": 0
}
}
],
"message": "An odd precise comparison: alpha \u003d\u003d 1.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3097",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\BoundingFrustum.cs",
"line": 44,
"endLine": 44,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1324312541,
"currentLine": -1041514531,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\BoundingFrustum.cs",
"line": 46,
"endLine": 46,
"column": 1,
"endColumn": 1
}
],
"message": "Possible exception: the \u0027BoundingFrustum\u0027 type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Media.cs",
"line": 545,
"endLine": 545,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1377895587,
"currentLine": 1238651214,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Media.cs",
"line": 541,
"endLine": 541,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_durationFrames\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 545, 541.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ActorEditor.cs",
"line": 391,
"endLine": 391,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 599963879,
"currentLine": 39528297,
"nextLine": -2077034023,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 209,
"endLine": 209,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1860286649,
"currentLine": 707560414,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\SceneTreeWindow.ContextMenu.cs",
"line": 208,
"endLine": 208,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027childCM\u0027 object was used after it was verified against null. Check lines: 209, 208.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\ViewportDebugDrawData.cs",
"line": 14,
"endLine": 14,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": -1960715312,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\ViewportDebugDrawData.cs",
"line": 167,
"endLine": 167,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027ViewportDebugDrawData\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Values\\ValueContainer.cs",
"line": 306,
"endLine": 306,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Flow.cs",
"line": 127,
"endLine": 127,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1030593,
"currentLine": 541961746,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Mathf.cs",
"line": 1535,
"endLine": 1535,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 182363,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027AlphaBlendMode\u0027 enum: Linear.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\Logger.cs",
"line": 210,
"endLine": 210,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1575956,
"currentLine": 217846910,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Engine\\Logger.cs",
"line": 222,
"endLine": 222,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027LogFormat\u0027 function is fully equivalent to the body of \u0027Log\u0027 function (210, line 222).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 570,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 1078,
"endLine": 1078,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -39666730,
"currentLine": 34376685,
"nextLine": 2337,
"columns": 0
}
}
],
"message": "A part of conditional expression is always false if it is evaluated: token \u003d\u003d null.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Utilities\\MeshDataCache.cs",
"line": 13,
"endLine": 13,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": 764061601,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Utilities\\MeshDataCache.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027MeshDataCache\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 334,
"endLine": 334,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 374,
"endLine": 374,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\VisualScriptDebuggerWindow.cs",
"line": 294,
"endLine": 294,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 413,
"currentLine": 39528297,
"nextLine": 12248860,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix2x2.cs",
"line": 310,
"endLine": 310,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1823335671,
"currentLine": 2091507959,
"nextLine": 405504822,
"columns": 0
}
}
],
"message": "An odd precise comparison: shearAngles.Y \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Search\\SearchItem.cs",
"line": 184,
"endLine": 184,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 10823529,
"nextLine": -614800267,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\DebugLogWindow.cs",
"line": 705,
"endLine": 705,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2005067434,
"currentLine": -1357183362,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: scrollView.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 157,
"endLine": 157,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 263235661,
"currentLine": 804049877,
"nextLine": -1938424211,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027panel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 396,
"endLine": 396,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Apple\\AppleToolchain.cs",
"line": 369,
"endLine": 369,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1331431438,
"currentLine": 1484687436,
"nextLine": -248916132,
"columns": 0
}
}
],
"message": "Expression \u0027useResponseFile\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 795,
"endLine": 795,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1979095821,
"nextLine": 5607,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 849,
"endLine": 849,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027Surface.FindNode(flowInfo.NodeId)\u0027 method return value at \u0027node.Title\u0027 when it is passed to method as its 2nd argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 1517,
"endLine": 1517,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 21464287,
"currentLine": 243702634,
"nextLine": 2069386033,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027buildData.Target\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3107",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.cs",
"line": 159,
"endLine": 159,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -439898606,
"currentLine": -1530603393,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Identical expression \u0027position\u0027 to the left and to the right of compound assignment.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 903,
"endLine": 903,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1598514311,
"currentLine": 944350635,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027selected\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\FloatEditor.cs",
"line": 60,
"endLine": 60,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 54737797,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\GenericEditor.cs",
"line": 449,
"endLine": 449,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3063,
"endLine": 3063,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1715126832,
"currentLine": 889615882,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 3062,
"endLine": 3062,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027fieldInfo\u0027 object was used after it was verified against null. Check lines: 3063, 3062.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 386,
"endLine": 386,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1598514311,
"currentLine": 944350635,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027selected\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3152",
"cwe": 369,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Network.cs",
"line": 149,
"endLine": 149,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -309189763,
"nextLine": -1430248771,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Network.cs",
"line": 139,
"endLine": 139,
"column": 1,
"endColumn": 1
}
],
"message": "Potential division by zero. The variable was compared with a range of values which includes zero before it was used as a divisor. Check lines: 149, 139.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Render2D\\FontReference.cs",
"line": 99,
"endLine": 99,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 3098695,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An odd precise comparison: _size !\u003d value. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 613,
"endLine": 613,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -302305083,
"currentLine": 10823529,
"nextLine": 943806282,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3146",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\EngineTarget.cs",
"line": 191,
"endLine": 191,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 595270419,
"currentLine": -600957687,
"nextLine": 471057516,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Builder.Rules.cs",
"line": 99,
"endLine": 99,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027mainModule\u0027. The \u0027Modules.FirstOrDefault\u0027 can return default null value.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\IntValueBox.cs",
"line": 104,
"endLine": 104,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -659238342,
"currentLine": -1872144505,
"nextLine": 240213,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 556,
"endLine": 556,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -635286754,
"currentLine": 10823529,
"nextLine": -1462959235,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 354,
"endLine": 354,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneEditingModule.cs",
"line": 635,
"endLine": 635,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1368781623,
"currentLine": 228174536,
"nextLine": -1219728807,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Modules\\SceneEditingModule.cs",
"line": 664,
"endLine": 664,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027customUndoActions\u0027 object was used before it was verified against null. Check lines: 635, 664.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 365,
"endLine": 365,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 62999104,
"nextLine": -1737709894,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 408,
"endLine": 408,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027ScriptsEditor.ParentEditor\u0027 object was used before it was verified against null. Check lines: 365, 408.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3127",
"cwe": 682,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\ColorPickerDialog.cs",
"line": 149,
"endLine": 149,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1087,
"currentLine": -1428373212,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\ColorPickerDialog.cs",
"line": 142,
"endLine": 142,
"column": 1,
"endColumn": 1
}
],
"message": "Two similar code fragments were found. Perhaps, this is a typo and \u0027_cGreen\u0027 variable should be used instead of \u0027_cRed\u0027",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneModule.cs",
"line": 154,
"endLine": 154,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -304040429,
"currentLine": 1333727,
"nextLine": -497407471,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027sun\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 946,
"endLine": 946,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 413,
"currentLine": 1165436777,
"nextLine": 793314458,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 260,
"endLine": 260,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1575956,
"currentLine": -1921583599,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\AssetPickerValidator.cs",
"line": 277,
"endLine": 277,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027OnItemDeleted\u0027 function is fully equivalent to the body of \u0027OnItemDispose\u0027 function (260, line 277).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\ContentDatabaseModule.cs",
"line": 1251,
"endLine": 1251,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 79009,
"currentLine": 46807243,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027WatcherChangeTypes\u0027 enum: Changed, All.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.cs",
"line": 439,
"endLine": 439,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 18090888,
"currentLine": 527425857,
"nextLine": 2337,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.cs",
"line": 442,
"endLine": 442,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\PrefabWindow.Hierarchy.cs",
"line": 317,
"endLine": 317,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 483,
"endLine": 483,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1259234840,
"currentLine": -162743894,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 491,
"endLine": 491,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027dialog.RootWindow\u0027 object was used before it was verified against null. Check lines: 483, 491.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 628,
"endLine": 628,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 9488589,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetSdk.cs",
"line": 553,
"endLine": 553,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1343412697,
"currentLine": -493556915,
"nextLine": 737934375,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 1519,
"endLine": 1519,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 371137,
"nextLine": 5610543,
"columns": 0
}
}
],
"message": "Expression \u0027separator\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 808,
"endLine": 808,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 551626601,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 514,
"endLine": 514,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 450835468,
"currentLine": -39666730,
"nextLine": -559846127,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Parsing.cs",
"line": 513,
"endLine": 513,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027token\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 514, 513.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Undo\\Undo.cs",
"line": 352,
"endLine": 352,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2123660189,
"currentLine": 142129,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027action\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3053",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Import\\TextureImportEntry.cs",
"line": 180,
"endLine": 180,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1435255155,
"currentLine": 1424435228,
"nextLine": 714925805,
"columns": 0
}
}
],
"message": "An excessive expression. Examine the substrings \u0027ambientocclusion\u0027 and \u0027occlusion\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3083",
"cwe": 367,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\Image.cs",
"line": 132,
"endLine": 132,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 956270890,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Unsafe invocation of event \u0027Clicked\u0027, NullReferenceException is possible. Consider assigning event to a local variable before invoking it.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3107",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\EditFoliageGizmo.cs",
"line": 154,
"endLine": 154,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1236601848,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Identical expression \u0027trans.Orientation\u0027 to the left and to the right of compound assignment.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Engine\\Utilities\\VariantUtils.cs",
"line": 917,
"endLine": 917,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 514101685,
"currentLine": -2084388378,
"nextLine": 0,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Utilities\\TypeUtils.cs",
"line": 20,
"endLine": 20,
"column": 1,
"endColumn": 1
}
],
"message": "The result of null-conditional operator is dereferenced inside the \u0027WriteVariantType\u0027 method. NullReferenceException is possible. Inspect the first argument \u0027type\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1651,
"endLine": 1651,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1816897,
"currentLine": 1825089,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix3x3.cs",
"line": 1649,
"endLine": 1649,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1823335671,
"currentLine": 2091507959,
"nextLine": 0,
"columns": 0
}
}
],
"message": "An odd precise comparison: shearAngles.Y \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 81,
"endLine": 81,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -954625549,
"currentLine": 761440307,
"nextLine": 1606151089,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 713,
"endLine": 713,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 551626601,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3083",
"cwe": 367,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\ScriptsEditor.cs",
"line": 906,
"endLine": 906,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -306282130,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Unsafe invocation of event \u0027ScriptDragChange\u0027, NullReferenceException is possible. Consider assigning event to a local variable before invoking it.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3087",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\AudioTrack.cs",
"line": 271,
"endLine": 271,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 348699038,
"nextLine": 211206031,
"columns": 0
}
}
],
"message": "Type of variable enumerated in \u0027foreach\u0027 is not guaranteed to be castable to the type of collection\u0027s elements.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Input\\LongValueBox.cs",
"line": 91,
"endLine": 91,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 553804151,
"currentLine": 1711550716,
"nextLine": 174178098,
"columns": 0
}
}
],
"message": "An odd precise comparison: limits.Max \u003d\u003d int.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3062",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\KeyframesEditorUtils.cs",
"line": 42,
"endLine": 42,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 539,
"currentLine": 2083022370,
"nextLine": 152869,
"columns": 0
}
}
],
"message": "An object \u0027editor\u0027 is used as an argument to its own method. Consider checking the first actual argument of the \u0027OnKeyframesDeselect\u0027 method.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\GameplayGlobalsWindow.cs",
"line": 330,
"endLine": 330,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1499381263,
"currentLine": 39528297,
"nextLine": -1653391353,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Undo\\Undo.cs",
"line": 338,
"endLine": 338,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2123646477,
"currentLine": 568945,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027action\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SourceCodeEditing\\CodeDocsModule.cs",
"line": 327,
"endLine": 327,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 604,
"endLine": 604,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1281022636,
"currentLine": 123422025,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 607,
"endLine": 607,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027UI\u0027 object was used before it was verified against null. Check lines: 604, 607.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Particles.cs",
"line": 327,
"endLine": 327,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 183841,
"currentLine": 907932904,
"nextLine": 1413683,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027function\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\nethost.cs",
"line": 156,
"endLine": 156,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 313455271,
"nextLine": 2337,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\nethost.cs",
"line": 161,
"endLine": 161,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Program.cs",
"line": 106,
"endLine": 106,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -1798325879,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\PrefabWindow.Hierarchy.cs",
"line": 302,
"endLine": 302,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 341518184,
"nextLine": 1542458689,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\VisualScriptWindow.cs",
"line": 469,
"endLine": 469,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1971593666,
"currentLine": 97990893,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.cs",
"line": 696,
"endLine": 696,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027control.IsSelected\u0027. Consider inspecting the 1st argument: node.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 86,
"endLine": 86,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2044871539,
"currentLine": 2120718357,
"nextLine": 1020171548,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Log.cs",
"line": 11,
"endLine": 11,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 216764,
"currentLine": 47917697,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Log.cs",
"line": 44,
"endLine": 44,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027Log\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\Dialog.cs",
"line": 130,
"endLine": 130,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -939225972,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Dialogs\\Dialog.cs",
"line": 151,
"endLine": 151,
"column": 1,
"endColumn": 1
}
],
"message": "The result of null-conditional operator is dereferenced inside the \u0027Show\u0027 method. NullReferenceException is possible. Inspect the first argument \u0027parentWindow?.Window\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 87,
"endLine": 87,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2120718357,
"currentLine": 1020171548,
"nextLine": 5607,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Parameters.cs",
"line": 981,
"endLine": 981,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1598514311,
"currentLine": 563359994,
"nextLine": 1834641805,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\SceneEditingModule.cs",
"line": 254,
"endLine": 254,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1943450911,
"nextLine": 1452381854,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.ContextMenu.cs",
"line": 170,
"endLine": 170,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 10823529,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\NativeInterop.Marshallers.cs",
"line": 51,
"endLine": 51,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 1139822315,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: unmanaged.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3086",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Apple\\AppleToolchain.cs",
"line": 47,
"endLine": 47,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -2085537476,
"currentLine": -613861060,
"nextLine": 378085957,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Apple\\AppleToolchain.cs",
"line": 46,
"endLine": 46,
"column": 1,
"endColumn": 1
}
],
"message": "Variables ClangPath, LinkerPath are initialized through the call to the same function. It\u0027s probably an error or un-optimized code.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3066",
"cwe": 683,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix.cs",
"line": 3069,
"endLine": 3069,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1027954124,
"nextLine": 352987,
"columns": 0
}
}
],
"message": "Possible incorrect order of arguments passed to \u0027Multiply\u0027 method: \u0027right\u0027 and \u0027left\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3171",
"cwe": 839,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1650,
"endLine": 1650,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2856205,
"currentLine": 1816897,
"nextLine": 1825089,
"columns": 0
}
}
],
"message": "The value used as the size of an array could reach -1. Consider inspecting: n.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 474,
"endLine": 474,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 64671241,
"currentLine": -1769920317,
"nextLine": 98657769,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_inputBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\glslang.cs",
"line": 22,
"endLine": 22,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 330357817,
"currentLine": 88383,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\glslang.cs",
"line": 27,
"endLine": 27,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 80,
"endLine": 80,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1343251132,
"currentLine": -954625549,
"nextLine": 761440307,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\CollisionDataProxy.cs",
"line": 113,
"endLine": 113,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -539491615,
"currentLine": -1979052924,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027collisionData\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3066",
"cwe": 683,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Matrix3x3.cs",
"line": 1957,
"endLine": 1957,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1366175206,
"nextLine": 352987,
"columns": 0
}
}
],
"message": "Possible incorrect order of arguments passed to \u0027Multiply\u0027 method: \u0027right\u0027 and \u0027left\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Thumbnails\\ThumbnailRequest.cs",
"line": 12,
"endLine": 12,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": 1817925791,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Content\\Thumbnails\\ThumbnailRequest.cs",
"line": 121,
"endLine": 121,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027ThumbnailRequest\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Terrain\\EditTerrainGizmo.cs",
"line": 71,
"endLine": 71,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 93642011,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027Modes\u0027 enum: Export.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3130",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Special\\RadialMenu.cs",
"line": 226,
"endLine": 226,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1628710754,
"currentLine": 1948501713,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Priority of the \u0027\u0026\u0026\u0027 operator is higher than that of the \u0027||\u0027 operator. Possible missing parentheses.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 363,
"endLine": 363,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\ParticleModules.cs",
"line": 402,
"endLine": 402,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 905298217,
"currentLine": 928054386,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\BehaviorTree.cs",
"line": 419,
"endLine": 419,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -75047871,
"currentLine": 2112015717,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_output\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 376,
"endLine": 376,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ObjectPropertyTrack.cs",
"line": 130,
"endLine": 130,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 200020952,
"currentLine": 39528297,
"nextLine": -1080797340,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 591,
"endLine": 591,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1937636774,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseUp(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\SplineNode.cs",
"line": 169,
"endLine": 169,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1547286084,
"currentLine": 187432065,
"nextLine": 214668217,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027splineNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.Input.cs",
"line": 572,
"endLine": 572,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -196148635,
"nextLine": 31800591,
"columns": 0
}
}
],
"message": "Expression \u0027_mouseMoveAmount \u003e 0 \u0026\u0026 _middleMouseDown\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 787,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1696,
"endLine": 1696,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -2087586874,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible negative index value. The value of \u0027n - 1\u0027 index could reach -2.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 125,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1696,
"endLine": 1696,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -2087586874,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible negative index value. The value of \u0027n\u0027 index could reach -1.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3106",
"cwe": 125,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 1696,
"endLine": 1696,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -2087586874,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible negative index value. The value of \u0027n - 1\u0027 index could reach -2.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\PluginsWindow.cs",
"line": 734,
"endLine": 734,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1083623338,
"currentLine": -169073198,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\PluginsWindow.cs",
"line": 692,
"endLine": 692,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027pluginVersion\u0027 object was used after it was verified against null. Check lines: 734, 692.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 158,
"endLine": 158,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 804049877,
"currentLine": -1938424211,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027settingsPanel\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 313,
"endLine": 313,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917253816,
"currentLine": 47033525,
"nextLine": 917122750,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Z !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\QuaternionEditor.cs",
"line": 66,
"endLine": 66,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": 1836050938,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 372,
"endLine": 372,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 10971609,
"currentLine": 47033781,
"nextLine": 917384890,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.X !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 752,
"endLine": 752,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 925841144,
"currentLine": 656591904,
"nextLine": 11102239,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027picker\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Tracks\\ActorTrack.cs",
"line": 164,
"endLine": 164,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2091046699,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\Builder.DotNet.cs",
"line": 368,
"endLine": 368,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -841402254,
"currentLine": -4911802,
"nextLine": -1980999885,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027project\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Tools.cs",
"line": 1008,
"endLine": 1008,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 525301392,
"currentLine": 163710116,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\FoliageTypesTab.cs",
"line": 480,
"endLine": 480,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1327462052,
"currentLine": -1621785026,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Popups\\AssetSearchPopup.cs",
"line": 85,
"endLine": 85,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027item.ShortName\u0027. Consider inspecting the 1st argument: asset.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 906,
"endLine": 906,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\SceneNode.cs",
"line": 71,
"endLine": 71,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 341518184,
"nextLine": 20999091,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1644,
"endLine": 1644,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 435035580,
"currentLine": -249367255,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 758,
"endLine": 758,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027node.GetBox(0)\u0027 method return value at \u0027end.IsOutput\u0027 when it is passed to method as its 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\FoliageTypesTab.cs",
"line": 520,
"endLine": 520,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1731770463,
"currentLine": 152700762,
"nextLine": 746654530,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Tools\\Foliage\\FoliageTypesTab.cs",
"line": 521,
"endLine": 521,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027foliage\u0027 object was used before it was verified against null. Check lines: 520, 521.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3090",
"cwe": 833,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\ProgressDisplay.cs",
"line": 134,
"endLine": 134,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1331695853,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Unsafe locking on an object of type \u0027Thread\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\CurveEditor.cs",
"line": 2193,
"endLine": 2193,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 10823529,
"nextLine": 601722951,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 871,
"endLine": 871,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1597153265,
"currentLine": -1491785879,
"nextLine": 628674383,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 729,
"endLine": 729,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -249367255,
"nextLine": -981169433,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 758,
"endLine": 758,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027node.GetBox(0)\u0027 method return value at \u0027end.IsOutput\u0027 when it is passed to method as its 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 942,
"endLine": 942,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1240,
"endLine": 1240,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 663272806,
"nextLine": 831015659,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027box\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Plugins\\PluginUtils.cs",
"line": 91,
"endLine": 91,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1135161342,
"currentLine": 1356979630,
"nextLine": 0,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027gameEditorAssembly\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 710,
"endLine": 710,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1336455718,
"currentLine": -1816557167,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: keyframe.TangentIn.Translation.Length \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 710,
"endLine": 710,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1336455718,
"currentLine": -1816557167,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 1106,
"endLine": 1106,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -2080195201,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 407,
"endLine": 407,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -262631924,
"currentLine": 64678804,
"nextLine": 98657769,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027_defaultValueBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 618,
"endLine": 618,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 862973185,
"currentLine": 10823529,
"nextLine": 529051994,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 727,
"endLine": 727,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 413,
"currentLine": 435035580,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027impulseBox\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3156",
"cwe": 628,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Scripting\\TypeUtils.cs",
"line": 375,
"endLine": 375,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -460955378,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The first argument of the \u0027CreateInstance\u0027 method is not expected to be null. Potential null value: GetType(elementType).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\GenericEditor.cs",
"line": 503,
"endLine": 503,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -29049501,
"currentLine": 39528297,
"nextLine": -387363588,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\DebugLogWindow.cs",
"line": 242,
"endLine": 242,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 866780861,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDown(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ToolboxWindow.cs",
"line": 267,
"endLine": 267,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1357389608,
"nextLine": 747625,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetChild\u003cPanel\u003e().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 1447,
"endLine": 1447,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 763605136,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Editor.cs",
"line": 1452,
"endLine": 1452,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027Internal_CanAutoBuildCSG\u0027 function is fully equivalent to the body of \u0027Internal_CanAutoBuildNavMesh\u0027 function.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 714,
"endLine": 714,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 148559725,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027useSeparatePdb\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\GameWindow.cs",
"line": 356,
"endLine": 356,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 477270135,
"nextLine": -868195576,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\RenderOutputControl.cs",
"line": 82,
"endLine": 82,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside property at \u0027value.Value\u0027. Consider inspecting: new Int2?().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3072",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\LocalizedStringTableWindow.cs",
"line": 19,
"endLine": 19,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1559036708,
"currentLine": 1019009626,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\LocalizedStringTableWindow.cs",
"line": 25,
"endLine": 25,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027LocalizedStringTableWindow\u0027 class containing IDisposable members does not itself implement IDisposable. Inspect: _undo.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\EditorOptionsWindow.cs",
"line": 197,
"endLine": 197,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 162935,
"currentLine": -341949222,
"nextLine": 333,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetChild\u003cPanel\u003e().",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.Draw.cs",
"line": 205,
"endLine": 205,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 791267737,
"nextLine": 1207555094,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.Draw.cs",
"line": 203,
"endLine": 203,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_vertexSnapObjectTo\u0027 object was used after it was verified against null. Check lines: 205, 203.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\ContentWindow.cs",
"line": 773,
"endLine": 773,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 552932,
"currentLine": 1866730575,
"nextLine": 193921971,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027SelectedNode\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Render2D\\FontReference.cs",
"line": 146,
"endLine": 146,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 2116643121,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: _size \u003d\u003d other._size. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Transform.cs",
"line": 413,
"endLine": 413,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 917384890,
"currentLine": 47033653,
"nextLine": 917253816,
"columns": 0
}
}
],
"message": "An odd precise comparison: invScale.Y !\u003d 0.0f. Consider using a comparison with defined precision: Math.Abs(A - B) \u003e Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\ModelWindow.cs",
"line": 655,
"endLine": 655,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -435003059,
"currentLine": 1439476806,
"nextLine": 1221769864,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027meshDatas\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3053",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Import\\TextureImportEntry.cs",
"line": 160,
"endLine": 160,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 178573557,
"currentLine": 1419438780,
"nextLine": 1428601579,
"columns": 0
}
}
],
"message": "An excessive expression. Examine the substrings \u0027color\u0027 and \u0027basecolor\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\MainEditorGizmoViewport.cs",
"line": 236,
"endLine": 236,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 17831986,
"currentLine": 375071993,
"nextLine": -302271028,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 366,
"endLine": 366,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1830091254,
"currentLine": 1659810392,
"nextLine": 1428719,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 286,
"endLine": 286,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027typeInfo.GenericArgs[0]\u0027 object was used after it was verified against null. Check lines: 366, 286.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 536,
"endLine": 536,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 30636,
"currentLine": -1139625551,
"nextLine": 76,
"columns": 0
}
}
],
"message": "An odd precise comparison: _shear.Y \u003d\u003d 0. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Constants.cs",
"line": 49,
"endLine": 49,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 39528297,
"nextLine": 1423272038,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3176",
"cwe": 570,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Program.cs",
"line": 131,
"endLine": 131,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 788124921,
"currentLine": -1951352535,
"nextLine": 125,
"columns": 0
}
}
],
"message": "The \u0027|\u003d\u0027 operator is redundant because the right operand \u0027DepsBuilder.Run()\u0027 is always false.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\Previews\\MaterialPreview.cs",
"line": 110,
"endLine": 110,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 375072814,
"nextLine": 171986697,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Common\\RichTextBox.Tags.cs",
"line": 213,
"endLine": 213,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1830805086,
"nextLine": 730945,
"columns": 0
}
}
],
"message": "Members of the \u0027Alignments\u0027 enum are used in bitwise operations. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3053",
"cwe": 0,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\DotNet\\DotNetAOT.cs",
"line": 574,
"endLine": 574,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 956869692,
"currentLine": -1965392317,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An excessive expression. Examine the substrings \u0027System.Reflection.Emit\u0027 and \u0027System.Reflection.Emit.ILGeneration\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\ReorderTrackAction.cs",
"line": 25,
"endLine": 25,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1559596790,
"currentLine": 1176442518,
"nextLine": 398784235,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027track\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Debug\\FloatComparer.cs",
"line": 98,
"endLine": 98,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 47013437,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "An odd precise comparison: expected \u003d\u003d actual. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3130",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Utilities\\ShuntingYardParser.cs",
"line": 237,
"endLine": 237,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -619770676,
"currentLine": -1025911625,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Priority of the \u0027\u0026\u0026\u0027 operator is higher than that of the \u0027||\u0027 operator. Possible missing parentheses.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3039",
"cwe": 39,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependency.cs",
"line": 383,
"endLine": 383,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1717980449,
"currentLine": -2028201774,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Consider inspecting the \u0027Exists\u0027 method call. Defining an absolute path to the file or directory is considered a poor style.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3072",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\MaterialInstanceWindow.cs",
"line": 25,
"endLine": 25,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1559036708,
"currentLine": -1382461101,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Windows\\Assets\\MaterialInstanceWindow.cs",
"line": 369,
"endLine": 369,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027MaterialInstanceWindow\u0027 class containing IDisposable members does not itself implement IDisposable. Inspect: _undo.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Platforms\\Windows\\WindowsToolchainBase.cs",
"line": 499,
"endLine": 499,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 284495266,
"currentLine": 11982701,
"nextLine": 147527529,
"columns": 0
}
}
],
"message": "Expression \u0027useSeparatePdb\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3163",
"cwe": 1069,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 865,
"endLine": 865,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 1094,
"nextLine": 123,
"columns": 0
}
}
],
"message": "An empty exception handler. Silent suppression of exceptions may hide the presence of bugs or vulnerabilities.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3140",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Control.Bounds.cs",
"line": 34,
"endLine": 34,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -648321897,
"currentLine": 5965804,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Property accessors use different backing fields.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Docking\\DockPanel.cs",
"line": 253,
"endLine": 253,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 25472443,
"currentLine": 2080896135,
"nextLine": 48748425,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: _tabs.Count \u003e 0.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3097",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Undo\\Actions\\TransformObjectsAction.cs",
"line": 24,
"endLine": 24,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 795687,
"currentLine": 383596687,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Undo\\Actions\\TransformObjectsAction.cs",
"line": 29,
"endLine": 29,
"column": 1,
"endColumn": 1
}
],
"message": "Possible exception: the \u0027DataStorage\u0027 type marked by [Serializable] contains non-serializable members not marked by [NonSerialized].",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3164",
"cwe": 544,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Utilities\\BuildException.cs",
"line": 7,
"endLine": 7,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1272756102,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Exception classes should be publicly accessible.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 2072,
"endLine": 2072,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1619945910,
"currentLine": 1915418429,
"nextLine": 390613,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027value\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Projects\\VisualStudio\\VisualStudioProjectGenerator.cs",
"line": 666,
"endLine": 666,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 171107081,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027!useResharperBuild\u0027 is always true.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Plane.cs",
"line": 590,
"endLine": 590,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 196442114,
"nextLine": 125,
"columns": 0
}
}
],
"message": "An odd precise comparison: D \u003d\u003d value.D. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Particles.cs",
"line": 308,
"endLine": 308,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -1584616506,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\GUI\\GradientEditor.cs",
"line": 132,
"endLine": 132,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1879261150,
"nextLine": 88117,
"columns": 0
}
}
],
"message": "Expression \u0027base.OnMouseDoubleClick(location, button)\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3146",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\ProjectInfo.cs",
"line": 263,
"endLine": 263,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 358568557,
"currentLine": 1287588840,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Build\\Builder.Rules.cs",
"line": 99,
"endLine": 99,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027rules.GetModule(x)\u0027 return value. The \u0027Modules.FirstOrDefault\u0027 can return default null value.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3125",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\CommandLine.cs",
"line": 473,
"endLine": 473,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -990053914,
"currentLine": -1501958204,
"nextLine": 1965447114,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\CommandLine.cs",
"line": 465,
"endLine": 465,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027option.Value\u0027 object was used after it was verified against null. Check lines: 473, 465.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurface.ContextMenu.cs",
"line": 400,
"endLine": 400,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": 39528297,
"nextLine": 0,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3203",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\UI\\GUI\\Tooltip.cs",
"line": 51,
"endLine": 51,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 570354633,
"currentLine": -987398062,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Method parameter is not used: targetArea.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3008",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Media.cs",
"line": 544,
"endLine": 544,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1377895587,
"nextLine": 1238651214,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Media.cs",
"line": 540,
"endLine": 540,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027_startFrame\u0027 variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 544, 540.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Track.cs",
"line": 1081,
"endLine": 1081,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 39528297,
"nextLine": -1054278586,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\SurfaceUtils.cs",
"line": 425,
"endLine": 425,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 976826205,
"currentLine": -1528170778,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Scripting\\TypeUtils.cs",
"line": 395,
"endLine": 395,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference inside method at \u0027type.BaseType\u0027. Consider inspecting the 1st argument: managedType.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3105",
"cwe": 690,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\States\\LoadingState.cs",
"line": 60,
"endLine": 60,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1338394200,
"currentLine": 1758154160,
"nextLine": -1018788951,
"columns": 0
}
}
],
"message": "The result of null-conditional operator is passed as the first argument to the \u0027Combine\u0027 method and is not expected to be null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.CSharp.cs",
"line": 1815,
"endLine": 1815,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -72950041,
"nextLine": 890357,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027buildData.Target\u0027.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3117",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\RenameTrackAction.cs",
"line": 11,
"endLine": 11,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -609472751,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Constructor parameter \u0027track\u0027 is not used.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\EditorViewport.cs",
"line": 2055,
"endLine": 2055,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -1425279375,
"nextLine": 123,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: b !\u003d null.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\ParticleModules.cs",
"line": 367,
"endLine": 367,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 125,
"currentLine": -1584616506,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3002",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Gizmo\\TransformGizmoBase.cs",
"line": 144,
"endLine": 144,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 532890,
"currentLine": 750097643,
"nextLine": 123,
"columns": 0
}
}
],
"message": "The switch statement does not cover all values of the \u0027PivotType\u0027 enum: WorldOrigin.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\SceneGraphNode.cs",
"line": 25,
"endLine": 25,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 890357,
"currentLine": 355346426,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\SceneGraph\\SceneGraphNode.cs",
"line": 450,
"endLine": 450,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027SceneGraphNode\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Material.cs",
"line": 234,
"endLine": 234,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 183841,
"currentLine": 907932904,
"nextLine": 1413683,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027function\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3139",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\nethost.cs",
"line": 339,
"endLine": 339,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 330356367,
"currentLine": 2030477402,
"nextLine": 2337,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Deps\\Dependencies\\nethost.cs",
"line": 342,
"endLine": 342,
"column": 1,
"endColumn": 1
}
],
"message": "Two or more case-branches perform the same actions.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 606,
"endLine": 606,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1059010338,
"currentLine": 10823529,
"nextLine": -2114483551,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3013",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 465,
"endLine": 465,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": 2048639584,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Dedicated\\SplineEditor.cs",
"line": 470,
"endLine": 470,
"column": 1,
"endColumn": 1
}
],
"message": "It is odd that the body of \u0027CanSetAllTangentsSmooth\u0027 function is fully equivalent to the body of \u0027CanSetAllTangentsLinear\u0027 function (465, line 470).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3024",
"cwe": 682,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Editor\\Scripting\\ScriptType.cs",
"line": 417,
"endLine": 417,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 1617402118,
"nextLine": 551838811,
"columns": 0
}
}
],
"message": "An odd precise comparison: asFloat \u003d\u003d float.MaxValue. Consider using a comparison with defined precision: Math.Abs(A - B) \u003c Epsilon.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 538,
"endLine": 538,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1108266486,
"currentLine": 10823529,
"nextLine": 595003537,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3196",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\VisjectSurfaceWindow.cs",
"line": 637,
"endLine": 637,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -531989313,
"currentLine": 1113546383,
"nextLine": 39233,
"columns": 0
}
}
],
"message": "The \u0027index\u0027 parameter is not utilized inside the method body, but an identifier with a similar name is used inside the same method.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\CustomEditors\\Editors\\DictionaryEditor.cs",
"line": 50,
"endLine": 50,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 46874835,
"currentLine": 39528297,
"nextLine": -658370295,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\SceneGraph\\Actors\\StaticModelNode.cs",
"line": 175,
"endLine": 175,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 588604617,
"currentLine": -529961342,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027collisionDataProxy\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3137",
"cwe": 563,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Windows\\Profiler\\Assets.cs",
"line": 289,
"endLine": 289,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 26501823,
"currentLine": -678375373,
"nextLine": -874279451,
"columns": 0
}
}
],
"message": "The \u0027b\u0027 variable is assigned but is not used by the end of the function.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3022",
"cwe": 570,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Tree\\TreeNode.cs",
"line": 566,
"endLine": 566,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 21252149,
"currentLine": 699150524,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Expression \u0027_dragOverMode \u003d\u003d DragItemPositioning.None\u0027 is always false.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3059",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Cache\\Intermediate\\FlaxEditor\\Windows\\x64\\Development\\Core\\Core.Bindings.Gen.cs",
"line": 797,
"endLine": 797,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 102185,
"currentLine": 5970129,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Members of the \u0027LogType\u0027 enum are powers of 2. Consider adding \u0027[Flags]\u0027 attribute to the enum.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\GUI\\Timeline\\Undo\\EditTrackAction.cs",
"line": 41,
"endLine": 41,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": -573042562,
"nextLine": 148157648,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027track\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 641,
"endLine": 641,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 992483961,
"currentLine": 10823529,
"nextLine": -805283227,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Function.cs",
"line": 704,
"endLine": 704,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 435035580,
"currentLine": -249367255,
"nextLine": 125,
"columns": 0
}
},
{
"file": "|?|\\Source\\Editor\\Surface\\Elements\\Box.cs",
"line": 758,
"endLine": 758,
"column": 1,
"endColumn": 1
}
],
"message": "Possible null dereference of \u0027node.GetBox(0)\u0027 method return value at \u0027end.IsOutput\u0027 when it is passed to method as its 1st argument.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Animation.StateMachine.cs",
"line": 785,
"endLine": 785,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 2116578757,
"currentLine": 341518184,
"nextLine": 1777121892,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3107",
"cwe": 0,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Viewport\\PrefabWindowViewport.cs",
"line": 392,
"endLine": 392,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1379169572,
"currentLine": -1236601848,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Identical expression \u0027trans.Orientation\u0027 to the left and to the right of compound assignment.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Content\\Proxy\\AudioClipProxy.cs",
"line": 47,
"endLine": 47,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 123,
"currentLine": 21882333,
"nextLine": -108351383,
"columns": 0
}
}
],
"message": "Possible null dereference. Consider inspecting \u0027asset\u0027.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3074",
"cwe": 0,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 29,
"endLine": 29,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -1404299080,
"nextLine": 123,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Serialization\\JsonSerializer.cs",
"line": 221,
"endLine": 221,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027JsonSerializer\u0027 class contains \u0027Dispose\u0027 method. Consider making it implement \u0027IDisposable\u0027 interface.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3063",
"cwe": 571,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 2257,
"endLine": 2257,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -1816815087,
"currentLine": 1423458500,
"nextLine": -1254532193,
"columns": 0
}
}
],
"message": "A part of conditional expression is always true if it is evaluated: useScripting.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3164",
"cwe": 544,
"level": 3,
"positions": [
{
"file": "|?|\\Source\\Engine\\Engine\\NativeInterop.cs",
"line": 1905,
"endLine": 1905,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -1579687328,
"nextLine": 123,
"columns": 0
}
}
],
"message": "Exception classes should be publicly accessible.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 754,
"endLine": 754,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -642909595,
"currentLine": -195310750,
"nextLine": -833661014,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3010",
"cwe": 252,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Editor\\Modules\\UIModule.cs",
"line": 621,
"endLine": 621,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": -34239414,
"currentLine": 10823529,
"nextLine": -551020075,
"columns": 0
}
}
],
"message": "The return value of function \u0027AddSeparator\u0027 is required to be utilized.",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3095",
"cwe": 476,
"level": 1,
"positions": [
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 722,
"endLine": 722,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 0,
"currentLine": -1681340331,
"nextLine": 22548713,
"columns": 0
}
},
{
"file": "|?|\\Source\\Tools\\Flax.Build\\Bindings\\BindingsGenerator.Cpp.cs",
"line": 727,
"endLine": 727,
"column": 1,
"endColumn": 1
}
],
"message": "The \u0027typeInfo.GenericArgs\u0027 object was used before it was verified against null. Check lines: 722, 727.",
"projects": [
"Flax.Build"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3127",
"cwe": 682,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float3.cs",
"line": 1357,
"endLine": 1357,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 69893321,
"currentLine": 69909711,
"nextLine": 69942487,
"columns": 0
}
},
{
"file": "|?|\\Source\\Engine\\Core\\Math\\Float3.cs",
"line": 1358,
"endLine": 1358,
"column": 1,
"endColumn": 1
}
],
"message": "Two similar code fragments were found. Perhaps, this is a typo and \u0027y\u0027 variable should be used instead of \u0027z\u0027",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
},
{
"code": "V3080",
"cwe": 476,
"level": 2,
"positions": [
{
"file": "|?|\\Source\\Editor\\Surface\\Archetypes\\Comparisons.cs",
"line": 71,
"endLine": 71,
"column": 1,
"endColumn": 1,
"navigation": {
"previousLine": 1030593,
"currentLine": 541961234,
"nextLine": 125,
"columns": 0
}
}
],
"message": "Possible null dereference of method return value. Consider inspecting: GetBox(...).",
"projects": [
"FlaxEngine"
],
"favorite": false,
"falseAlarm": false
}
]
}