Files
QuanTAlib/.sonarqube/out/2/Issues.json
T
Miha Kralj 2b4e8e3fc3 Add UCFG2 type definitions and lock file for QuanTAlib
- Introduced type definitions for various classes in the QuanTAlib library, including Ema, EmaVector, EmaState, TSeries, CsvFeed, GBM, TBarSeries, TBar, and TValue.
- Added methods and properties for each class to enhance functionality and maintainability.
- Created a lock file to manage dependencies and ensure consistent builds.
2025-11-29 16:43:52 -08:00

207 lines
7.1 KiB
JSON

{
"$schema": "http://json.schemastore.org/sarif-1.0.0",
"version": "1.0.0",
"runs": [
{
"tool": {
"name": "Microsoft (R) Visual C# Compiler",
"version": "5.0.0.0",
"fileVersion": "5.0.0-2.25523.111 (b0f34d51)",
"semanticVersion": "5.0.0",
"language": "en-US"
},
"results": [
{
"ruleId": "CA1816",
"level": "note",
"message": "Change EmaValidationTests.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it.",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/averages/ema/Ema.Validation.Tests.cs",
"region": {
"startLine": 48,
"startColumn": 17,
"endLine": 48,
"endColumn": 24
}
}
}
],
"properties": {
"warningLevel": 1
}
},
{
"ruleId": "CA1822",
"level": "note",
"message": "Member 'VerifyData' does not access instance data and can be marked as static",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/averages/ema/Ema.Validation.Tests.cs",
"region": {
"startLine": 150,
"startColumn": 18,
"endLine": 150,
"endColumn": 28
}
}
}
],
"properties": {
"warningLevel": 1
}
},
{
"ruleId": "CA1822",
"level": "note",
"message": "Member 'VerifyData' does not access instance data and can be marked as static",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/averages/ema/Ema.Validation.Tests.cs",
"region": {
"startLine": 132,
"startColumn": 18,
"endLine": 132,
"endColumn": 28
}
}
}
],
"properties": {
"warningLevel": 1
}
},
{
"ruleId": "CA1822",
"level": "note",
"message": "Member 'VerifyData_Talib' does not access instance data and can be marked as static",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/averages/ema/Ema.Validation.Tests.cs",
"region": {
"startLine": 171,
"startColumn": 18,
"endLine": 171,
"endColumn": 34
}
}
}
],
"properties": {
"warningLevel": 1
}
},
{
"ruleId": "xUnit2024",
"level": "note",
"message": "Do not use Assert.True to test equality against null, numeric, string, or enum literals. Use Assert.Equal instead.",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/feeds/csv/CsvFeed.Tests.cs",
"region": {
"startLine": 252,
"startColumn": 9,
"endLine": 252,
"endColumn": 39
}
}
}
],
"properties": {
"warningLevel": 1,
"customProperties": {
"LiteralValue": "False",
"MethodName": "True",
"Replacement": "Equal"
}
}
},
{
"ruleId": "CA1859",
"level": "note",
"message": "Change type of variable 'feed' from 'QuanTAlib.IFeed' to 'QuanTAlib.CsvFeed' for improved performance",
"locations": [
{
"resultFile": {
"uri": "file:///Users/mihakralj/Github/QuanTAlib/lib/feeds/csv/CsvFeed.Tests.cs",
"region": {
"startLine": 201,
"startColumn": 15,
"endLine": 201,
"endColumn": 19
}
}
}
],
"properties": {
"warningLevel": 1
}
}
],
"rules": {
"CA1816": {
"id": "CA1816",
"shortDescription": "Dispose methods should call SuppressFinalize",
"fullDescription": "A method that is an implementation of Dispose does not call GC.SuppressFinalize; or a method that is not an implementation of Dispose calls GC.SuppressFinalize; or a method calls GC.SuppressFinalize and passes something other than this (Me in Visual Basic).",
"defaultLevel": "note",
"helpUri": "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816",
"properties": {
"category": "Usage",
"isEnabledByDefault": true,
"tags": [
"PortedFromFxCop",
"Telemetry",
"EnabledRuleInAggressiveMode"
]
}
},
"CA1822": {
"id": "CA1822",
"shortDescription": "Mark members as static",
"fullDescription": "Members that do not access instance data or call instance methods can be marked as static. After you mark the methods as static, the compiler will emit nonvirtual call sites to these members. This can give you a measurable performance gain for performance-sensitive code.",
"defaultLevel": "note",
"helpUri": "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822",
"properties": {
"category": "Performance",
"isEnabledByDefault": true,
"tags": [
"PortedFromFxCop",
"Telemetry",
"EnabledRuleInAggressiveMode"
]
}
},
"CA1859": {
"id": "CA1859",
"shortDescription": "Use concrete types when possible for improved performance",
"fullDescription": "Using concrete types avoids virtual or interface call overhead and enables inlining.",
"defaultLevel": "note",
"helpUri": "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859",
"properties": {
"category": "Performance",
"isEnabledByDefault": true,
"tags": [
"Telemetry",
"EnabledRuleInAggressiveMode"
]
}
},
"xUnit2024": {
"id": "xUnit2024",
"shortDescription": "Do not use boolean asserts for simple equality tests",
"defaultLevel": "note",
"helpUri": "https://xunit.net/xunit.analyzers/rules/xUnit2024",
"properties": {
"category": "Assertions",
"isEnabledByDefault": true
}
}
}
}
]
}