diff --git a/README.md b/README.md index 49ff2732..8b9118ed 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,11 @@ This is a Java library for parsing report files like static code analysis. Example of supported reports are available [here](https://github.com/tomasbjerre/violations-lib/tree/master/src/test/resources). +| Version | Java Version | +| --------------------| ------------ | +| version < 1.156.8 | 8 | +| 1.156.8 <= version | 11 | + A number of **parsers** have been implemented. Some **parsers** can parse output from several **reporters**. | Reporter | Parser | Notes diff --git a/build.gradle b/build.gradle index 38059f45..fb9aa99e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,71 +1,44 @@ -apply plugin: 'java-library' - -buildscript { - repositories { - mavenCentral() - mavenLocal() - } - dependencies { - classpath 'se.bjurr.gradle:gradle-scripts:2.+' - classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:1.2.1' - } +plugins { + id "se.bjurr.gradle.conventional-release" + id "se.bjurr.gradle.java-convention" + id "se.bjurr.gradle.update-versions" } -project.ext.buildConfig = [ - publishing: [ - relocate: [ - 'com.google', - 'com.jakewharton' - ] - ], - violations: [ - updateReadme: true - ], - staticCodeAnalysis: [ - maxViolations: 5 - ], - sourceCompatibility: 11, - targetCompatibility: 11 -] -apply from: project.buildscript.classLoader.getResource('main.gradle').toURI() /* -apply plugin: 'jsonschema2pojo' - -// A bit ugly: https://github.com/joelittlejohn/jsonschema2pojo/issues/1594 -[ -// [ -// from: "${rootDir}/src/main/resources/json/sarif-schema.json", -// to: "se.bjurr.violations.lib.model.generated.sarif" -// ], -// [ -// from: "${rootDir}/src/main/resources/json/coverity-schema.json", -// to: "se.bjurr.violations.lib.model.generated.coverity" -// ] -].each { codeGen -> - logger.lifecycle("Generating ${codeGen.from} to ${codeGen.to}") - - jsonSchema2Pojo { - source = files(codeGen.from) - targetDirectory = file("src/gen/java") - targetPackage = codeGen.to - generateBuilders = true - annotationStyle = 'none' - includeGeneratedAnnotation = false - removeOldOutput = false - } -} - -spotlessJava.dependsOn generateJsonSchema2Pojo -sourcesJar.dependsOn generateJsonSchema2Pojo -javadocJar.dependsOn generateJsonSchema2Pojo -*/ + apply plugin: 'jsonschema2pojo' + // A bit ugly: https://github.com/joelittlejohn/jsonschema2pojo/issues/1594 + [ + // [ + // from: "${rootDir}/src/main/resources/json/sarif-schema.json", + // to: "se.bjurr.violations.lib.model.generated.sarif" + // ], + // [ + // from: "${rootDir}/src/main/resources/json/coverity-schema.json", + // to: "se.bjurr.violations.lib.model.generated.coverity" + // ] + ].each { codeGen -> + logger.lifecycle("Generating ${codeGen.from} to ${codeGen.to}") + jsonSchema2Pojo { + source = files(codeGen.from) + targetDirectory = file("src/gen/java") + targetPackage = codeGen.to + generateBuilders = true + annotationStyle = 'none' + includeGeneratedAnnotation = false + removeOldOutput = false + } + } + spotlessJava.dependsOn generateJsonSchema2Pojo + sourcesJar.dependsOn generateJsonSchema2Pojo + javadocJar.dependsOn generateJsonSchema2Pojo + */ dependencies { - api 'com.google.code.gson:gson:2.10.1' + api 'com.google.code.gson:gson:2.11.0' - testImplementation 'junit:junit:4.13.2' - testImplementation 'org.assertj:assertj-core:3.25.3' - testImplementation 'uk.co.jemos.podam:podam:8.0.1.RELEASE' - testImplementation 'com.approvaltests:approvaltests:23.0.1' - testImplementation 'com.networknt:json-schema-validator:1.4.0' + testImplementation 'junit:junit:4.13.2' + testImplementation 'org.assertj:assertj-core:3.26.3' + testImplementation 'uk.co.jemos.podam:podam:8.0.2.RELEASE' + testImplementation 'com.approvaltests:approvaltests:24.7.0' + testImplementation 'com.networknt:json-schema-validator:1.5.2' } diff --git a/gradle.properties b/gradle.properties index 23edb08a..cad86b5d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,8 @@ -#Mon Sep 02 18:16:59 CEST 2024 -description=A collection of scripts -version=1.157.3 +#Fri Oct 04 18:05:35 CEST 2024 +description=Parsing report files like static code analysis group=se.bjurr.violations +maxViolations=5 +relocate=com.google,com.jakewharton +sourceCompatibility=11 +targetCompatibility=11 +version=1.157.4 diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 00000000..78d5bd1d --- /dev/null +++ b/settings.gradle @@ -0,0 +1,5 @@ +plugins { + id "se.bjurr.gradle.conventional-release" version "0.+" apply false + id "se.bjurr.gradle.java-convention" version "0.+" apply false + id "se.bjurr.gradle.update-versions" version "0.+" apply false +} \ No newline at end of file diff --git a/src/main/resources/json/sarif-schema.json b/src/main/resources/json/sarif-schema.json index f71b3a0c..72263e96 100644 --- a/src/main/resources/json/sarif-schema.json +++ b/src/main/resources/json/sarif-schema.json @@ -6,18 +6,17 @@ "additionalProperties": false, "type": "object", "properties": { - "$schema": { "description": "The URI of the JSON schema corresponding to the version.", "type": "string", "format": "uri" }, - "version": { "description": "The SARIF format version of this log file.", - "string": [ "2.1.0" ] + "string": [ + "2.1.0" + ] }, - "runs": { "description": "The set of runs contained in this log file.", "type": "array", @@ -27,7 +26,6 @@ "$ref": "#/definitions/run" } }, - "inlineExternalProperties": { "description": "References to external property files that share data between runs.", "type": "array", @@ -37,119 +35,99 @@ "$ref": "#/definitions/externalProperties" } }, - "properties": { "description": "Key/value pairs that provide additional information about the log file.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "version", "runs" ], - + "required": [ + "version", + "runs" + ], "definitions": { - "address": { "description": "A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).", "additionalProperties": false, "type": "object", "properties": { - "absoluteAddress": { "description": "The address expressed as a byte offset from the start of the addressable region.", "type": "integer", "minimum": -1, "default": -1 - }, - "relativeAddress": { "description": "The address expressed as a byte offset from the absolute address of the top-most parent object.", "type": "integer" - }, - "length": { "description": "The number of bytes in this range of addresses.", "type": "integer" }, - "kind": { "description": "An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values.", "type": "string" }, - "name": { "description": "A name that is associated with the address, e.g., '.text'.", "type": "string" }, - "fullyQualifiedName": { "description": "A human-readable fully qualified name that is associated with the address.", "type": "string" }, - "offsetFromParent": { "description": "The byte offset of this address from the absolute or relative address of the parent object.", "type": "integer" }, - "index": { "description": "The index within run.addresses of the cached object for this address.", "type": "integer", "default": -1, "minimum": -1 }, - "parentIndex": { "description": "The index within run.addresses of the parent object.", "type": "integer", "default": -1, "minimum": -1 }, - "properties": { "description": "Key/value pairs that provide additional information about the address.", "$ref": "#/definitions/propertyBag" } } }, - "artifact": { "description": "A single artifact. In some cases, this artifact might be nested within another artifact.", "additionalProperties": false, "type": "object", "properties": { - "description": { "description": "A short description of the artifact.", "$ref": "#/definitions/message" }, - "location": { "description": "The location of the artifact.", "$ref": "#/definitions/artifactLocation" }, - "parentIndex": { "description": "Identifies the index of the immediate parent of the artifact, if this artifact is nested.", "type": "integer", "default": -1, "minimum": -1 }, - "offset": { "description": "The offset in bytes of the artifact within its containing artifact.", "type": "integer", "minimum": 0 }, - "length": { "description": "The length of the artifact in bytes.", "type": "integer", "default": -1, "minimum": -1 }, - "roles": { "description": "The role or roles played by the artifact in the analysis.", "type": "array", @@ -184,28 +162,23 @@ ] } }, - "mimeType": { "description": "The MIME type (RFC 2045) of the artifact.", "type": "string", "pattern": "[^/]+/.+" }, - "contents": { "description": "The contents of the artifact.", "$ref": "#/definitions/artifactContent" }, - "encoding": { "description": "Specifies the encoding for an artifact object that refers to a text file.", "type": "string" }, - "sourceLanguage": { "description": "Specifies the source language for any artifact object that refers to a text file that contains source code.", "type": "string" }, - "hashes": { "description": "A dictionary, each of whose keys is the name of a hash function and each of whose values is the hashed value of the artifact produced by the specified hash function.", "type": "object", @@ -213,31 +186,26 @@ "type": "string" } }, - "lastModifiedTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the artifact was most recently modified. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, - "properties": { "description": "Key/value pairs that provide additional information about the artifact.", "$ref": "#/definitions/propertyBag" } } }, - "artifactChange": { "description": "A change to a single artifact.", "additionalProperties": false, "type": "object", "properties": { - "artifactLocation": { "description": "The location of the artifact to change.", "$ref": "#/definitions/artifactLocation" }, - "replacements": { "description": "An array of replacement objects, each of which represents the replacement of a single region in a single artifact specified by 'artifactLocation'.", "type": "array", @@ -247,97 +215,82 @@ "$ref": "#/definitions/replacement" } }, - "properties": { "description": "Key/value pairs that provide additional information about the change.", "$ref": "#/definitions/propertyBag" } - }, - - "required": [ "artifactLocation", "replacements" ] + "required": [ + "artifactLocation", + "replacements" + ] }, - "artifactContent": { "description": "Represents the contents of an artifact.", "type": "object", "additionalProperties": false, "properties": { - "text": { "description": "UTF-8-encoded content from a text artifact.", "type": "string" }, - "binary": { "description": "MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.", "type": "string" }, - "rendered": { "description": "An alternate rendered representation of the artifact (e.g., a decompiled representation of a binary region).", "$ref": "#/definitions/multiformatMessageString" }, - "properties": { "description": "Key/value pairs that provide additional information about the artifact content.", "$ref": "#/definitions/propertyBag" } } }, - "artifactLocation": { "description": "Specifies the location of an artifact.", "additionalProperties": false, "type": "object", "properties": { - "uri": { "description": "A string containing a valid relative or absolute URI.", "type": "string", "format": "uri-reference" }, - "uriBaseId": { "description": "A string which indirectly specifies the absolute URI with respect to which a relative URI in the \"uri\" property is interpreted.", "type": "string" }, - "index": { "description": "The index within the run artifacts array of the artifact object associated with the artifact location.", "type": "integer", "default": -1, "minimum": -1 }, - "description": { "description": "A short description of the artifact location.", "$ref": "#/definitions/message" }, - "properties": { "description": "Key/value pairs that provide additional information about the artifact location.", "$ref": "#/definitions/propertyBag" } } }, - "attachment": { "description": "An artifact relevant to a result.", "type": "object", "additionalProperties": false, "properties": { - "description": { "description": "A message describing the role played by the attachment.", "$ref": "#/definitions/message" }, - "artifactLocation": { "description": "The location of the attachment.", "$ref": "#/definitions/artifactLocation" }, - "regions": { "description": "An array of regions of interest within the attachment.", "type": "array", @@ -348,7 +301,6 @@ "$ref": "#/definitions/region" } }, - "rectangles": { "description": "An array of rectangles specifying areas of interest within the image.", "type": "array", @@ -359,27 +311,24 @@ "$ref": "#/definitions/rectangle" } }, - "properties": { "description": "Key/value pairs that provide additional information about the attachment.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "artifactLocation" ] + "required": [ + "artifactLocation" + ] }, - "codeFlow": { "description": "A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.", "additionalProperties": false, "type": "object", "properties": { - "message": { "description": "A message relevant to the code flow.", "$ref": "#/definitions/message" }, - "threadFlows": { "description": "An array of one or more unique threadFlow objects, each of which describes the progress of a program through a thread of execution.", "type": "array", @@ -389,56 +338,51 @@ "$ref": "#/definitions/threadFlow" } }, - "properties": { "description": "Key/value pairs that provide additional information about the code flow.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "threadFlows" ] + "required": [ + "threadFlows" + ] }, - "configurationOverride": { "description": "Information about how a specific rule or notification was reconfigured at runtime.", "type": "object", "additionalProperties": false, "properties": { - "configuration": { "description": "Specifies how the rule or notification was configured during the scan.", "$ref": "#/definitions/reportingConfiguration" }, - "descriptor": { "description": "A reference used to locate the descriptor whose configuration was overridden.", "$ref": "#/definitions/reportingDescriptorReference" }, - "properties": { "description": "Key/value pairs that provide additional information about the configuration override.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "configuration", "descriptor" ] + "required": [ + "configuration", + "descriptor" + ] }, - "conversion": { "description": "Describes how a converter transformed the output of a static analysis tool from the analysis tool's native output format into the SARIF format.", "additionalProperties": false, "type": "object", "properties": { - "tool": { "description": "A tool object that describes the converter.", "$ref": "#/definitions/tool" }, - "invocation": { "description": "An invocation object that describes the invocation of the converter.", "$ref": "#/definitions/invocation" }, - "analysisToolLogFiles": { "description": "The locations of the analysis tool's per-run log files.", "type": "array", @@ -449,68 +393,60 @@ "$ref": "#/definitions/artifactLocation" } }, - "properties": { "description": "Key/value pairs that provide additional information about the conversion.", "$ref": "#/definitions/propertyBag" } - }, - - "required": [ "tool" ] + "required": [ + "tool" + ] }, - "edge": { "description": "Represents a directed edge in a graph.", "type": "object", "additionalProperties": false, "properties": { - "id": { "description": "A string that uniquely identifies the edge within its graph.", "type": "string" }, - "label": { "description": "A short description of the edge.", "$ref": "#/definitions/message" }, - "sourceNodeId": { "description": "Identifies the source node (the node at which the edge starts).", "type": "string" }, - "targetNodeId": { "description": "Identifies the target node (the node at which the edge ends).", "type": "string" }, - "properties": { "description": "Key/value pairs that provide additional information about the edge.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "id", "sourceNodeId", "targetNodeId" ] + "required": [ + "id", + "sourceNodeId", + "targetNodeId" + ] }, - "edgeTraversal": { "description": "Represents the traversal of a single edge during a graph traversal.", "type": "object", "additionalProperties": false, "properties": { - "edgeId": { "description": "Identifies the edge being traversed.", "type": "string" }, - "message": { "description": "A message to display to the user as the edge is traversed.", "$ref": "#/definitions/message" }, - "finalState": { "description": "The values of relevant expressions after the edge has been traversed.", "type": "object", @@ -518,43 +454,37 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "stepOverEdgeCount": { "description": "The number of edge traversals necessary to return from a nested graph.", "type": "integer", "minimum": 0 }, - "properties": { "description": "Key/value pairs that provide additional information about the edge traversal.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "edgeId" ] + "required": [ + "edgeId" + ] }, - "exception": { "description": "Describes a runtime exception encountered during the execution of an analysis tool.", "type": "object", "additionalProperties": false, "properties": { - "kind": { "type": "string", "description": "A string that identifies the kind of exception, for example, the fully qualified type name of an object that was thrown, or the symbolic name of a signal." }, - "message": { "description": "A message that describes the exception.", "type": "string" }, - "stack": { "description": "The sequence of function calls leading to the exception.", "$ref": "#/definitions/stack" }, - "innerExceptions": { "description": "An array of exception objects each of which is considered a cause of this exception.", "type": "array", @@ -565,48 +495,42 @@ "$ref": "#/definitions/exception" } }, - "properties": { "description": "Key/value pairs that provide additional information about the exception.", "$ref": "#/definitions/propertyBag" } } }, - "externalProperties": { "description": "The top-level element of an external property file.", "type": "object", "additionalProperties": false, "properties": { - "schema": { "description": "The URI of the JSON schema corresponding to the version of the external property file format.", "type": "string", "format": "uri" }, - "version": { "description": "The SARIF format version of this external properties object.", - "enum": [ "2.1.0" ] + "enum": [ + "2.1.0" + ] }, - "guid": { "description": "A stable, unique identifer for this external properties object, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "runGuid": { "description": "A stable, unique identifer for the run associated with this external properties object, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "conversion": { "description": "A conversion object that will be merged with a separate run.", "$ref": "#/definitions/conversion" }, - "graphs": { "description": "An array of graph objects that will be merged with a separate run.", "type": "array", @@ -617,12 +541,10 @@ "$ref": "#/definitions/graph" } }, - "externalizedProperties": { "description": "Key/value pairs that provide additional information that will be merged with a separate run.", "$ref": "#/definitions/propertyBag" }, - "artifacts": { "description": "An array of artifact objects that will be merged with a separate run.", "type": "array", @@ -632,7 +554,6 @@ "$ref": "#/definitions/artifact" } }, - "invocations": { "description": "Describes the invocation of the analysis tool that will be merged with a separate run.", "type": "array", @@ -643,7 +564,6 @@ "$ref": "#/definitions/invocation" } }, - "logicalLocations": { "description": "An array of logical locations such as namespaces, types or functions that will be merged with a separate run.", "type": "array", @@ -654,7 +574,6 @@ "$ref": "#/definitions/logicalLocation" } }, - "threadFlowLocations": { "description": "An array of threadFlowLocation objects that will be merged with a separate run.", "type": "array", @@ -665,7 +584,6 @@ "$ref": "#/definitions/threadFlowLocation" } }, - "results": { "description": "An array of result objects that will be merged with a separate run.", "type": "array", @@ -676,7 +594,6 @@ "$ref": "#/definitions/result" } }, - "taxonomies": { "description": "Tool taxonomies that will be merged with a separate run.", "type": "array", @@ -687,12 +604,10 @@ "$ref": "#/definitions/toolComponent" } }, - "driver": { "description": "The analysis tool object that will be merged with a separate run.", "$ref": "#/definitions/toolComponent" }, - "extensions": { "description": "Tool extensions that will be merged with a separate run.", "type": "array", @@ -703,7 +618,6 @@ "$ref": "#/definitions/toolComponent" } }, - "policies": { "description": "Tool policies that will be merged with a separate run.", "type": "array", @@ -714,7 +628,6 @@ "$ref": "#/definitions/toolComponent" } }, - "translations": { "description": "Tool translations that will be merged with a separate run.", "type": "array", @@ -725,7 +638,6 @@ "$ref": "#/definitions/toolComponent" } }, - "addresses": { "description": "Addresses that will be merged with a separate run.", "type": "array", @@ -736,7 +648,6 @@ "$ref": "#/definitions/address" } }, - "webRequests": { "description": "Requests that will be merged with a separate run.", "type": "array", @@ -747,7 +658,6 @@ "$ref": "#/definitions/webRequest" } }, - "webResponses": { "description": "Responses that will be merged with a separate run.", "type": "array", @@ -758,60 +668,59 @@ "$ref": "#/definitions/webResponse" } }, - "properties": { "description": "Key/value pairs that provide additional information about the external properties.", "$ref": "#/definitions/propertyBag" } } }, - "externalPropertyFileReference": { "description": "Contains information that enables a SARIF consumer to locate the external property file that contains the value of an externalized property associated with the run.", "type": "object", "additionalProperties": false, "properties": { - "location": { "description": "The location of the external property file.", "$ref": "#/definitions/artifactLocation" }, - "guid": { "description": "A stable, unique identifer for the external property file in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "itemCount": { "description": "A non-negative integer specifying the number of items contained in the external property file.", "type": "integer", "default": -1, "minimum": -1 }, - "properties": { "description": "Key/value pairs that provide additional information about the external property file.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ - { "required": [ "location" ] }, - { "required": [ "guid" ] } + { + "required": [ + "location" + ] + }, + { + "required": [ + "guid" + ] + } ] }, - "externalPropertyFileReferences": { "description": "References to external property files that should be inlined with the content of a root log file.", "additionalProperties": false, "type": "object", "properties": { - "conversion": { "description": "An external property file containing a run.conversion object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, - "graphs": { "description": "An array of external property files containing a run.graphs object to be merged with the root log file.", "type": "array", @@ -822,12 +731,10 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "externalizedProperties": { "description": "An external property file containing a run.properties object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, - "artifacts": { "description": "An array of external property files containing run.artifacts arrays to be merged with the root log file.", "type": "array", @@ -838,7 +745,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "invocations": { "description": "An array of external property files containing run.invocations arrays to be merged with the root log file.", "type": "array", @@ -849,7 +755,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "logicalLocations": { "description": "An array of external property files containing run.logicalLocations arrays to be merged with the root log file.", "type": "array", @@ -860,7 +765,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "threadFlowLocations": { "description": "An array of external property files containing run.threadFlowLocations arrays to be merged with the root log file.", "type": "array", @@ -871,7 +775,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "results": { "description": "An array of external property files containing run.results arrays to be merged with the root log file.", "type": "array", @@ -882,7 +785,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "taxonomies": { "description": "An array of external property files containing run.taxonomies arrays to be merged with the root log file.", "type": "array", @@ -893,7 +795,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "addresses": { "description": "An array of external property files containing run.addresses arrays to be merged with the root log file.", "type": "array", @@ -904,12 +805,10 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "driver": { "description": "An external property file containing a run.driver object to be merged with the root log file.", "$ref": "#/definitions/externalPropertyFileReference" }, - "extensions": { "description": "An array of external property files containing run.extensions arrays to be merged with the root log file.", "type": "array", @@ -920,7 +819,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "policies": { "description": "An array of external property files containing run.policies arrays to be merged with the root log file.", "type": "array", @@ -931,7 +829,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "translations": { "description": "An array of external property files containing run.translations arrays to be merged with the root log file.", "type": "array", @@ -942,7 +839,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "webRequests": { "description": "An array of external property files containing run.requests arrays to be merged with the root log file.", "type": "array", @@ -953,7 +849,6 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "webResponses": { "description": "An array of external property files containing run.responses arrays to be merged with the root log file.", "type": "array", @@ -964,25 +859,21 @@ "$ref": "#/definitions/externalPropertyFileReference" } }, - "properties": { "description": "Key/value pairs that provide additional information about the external property files.", "$ref": "#/definitions/propertyBag" } } }, - "fix": { "description": "A proposed fix for the problem represented by a result object. A fix specifies a set of artifacts to modify. For each artifact, it specifies a set of bytes to remove, and provides a set of new bytes to replace them.", "additionalProperties": false, "type": "object", "properties": { - "description": { "description": "A message that describes the proposed fix, enabling viewers to present the proposed change to an end user.", "$ref": "#/definitions/message" }, - "artifactChanges": { "description": "One or more artifact changes that comprise a fix for a result.", "type": "array", @@ -992,26 +883,24 @@ "$ref": "#/definitions/artifactChange" } }, - "properties": { "description": "Key/value pairs that provide additional information about the fix.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "artifactChanges" ] + "required": [ + "artifactChanges" + ] }, - "graph": { "description": "A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).", "type": "object", "additionalProperties": false, "properties": { - "description": { "description": "A description of the graph.", "$ref": "#/definitions/message" }, - "nodes": { "description": "An array of node objects representing the nodes of the graph.", "type": "array", @@ -1022,7 +911,6 @@ "$ref": "#/definitions/node" } }, - "edges": { "description": "An array of edge objects representing the edges of the graph.", "type": "array", @@ -1033,39 +921,33 @@ "$ref": "#/definitions/edge" } }, - "properties": { "description": "Key/value pairs that provide additional information about the graph.", "$ref": "#/definitions/propertyBag" } } }, - "graphTraversal": { "description": "Represents a path through a graph.", "type": "object", "additionalProperties": false, "properties": { - "runGraphIndex": { "description": "The index within the run.graphs to be associated with the result.", "type": "integer", "default": -1, "minimum": -1 }, - "resultGraphIndex": { "description": "The index within the result.graphs to be associated with the result.", "type": "integer", "default": -1, "minimum": -1 }, - "description": { "description": "A description of this graph traversal.", "$ref": "#/definitions/message" }, - "initialState": { "description": "Values of relevant expressions at the start of the graph traversal that may change during graph traversal.", "type": "object", @@ -1073,7 +955,6 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "immutableState": { "description": "Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal.", "type": "object", @@ -1081,7 +962,6 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "edgeTraversals": { "description": "The sequences of edges traversed by this graph traversal.", "type": "array", @@ -1092,29 +972,33 @@ "$ref": "#/definitions/edgeTraversal" } }, - "properties": { "description": "Key/value pairs that provide additional information about the graph traversal.", "$ref": "#/definitions/propertyBag" } }, "oneOf": [ - { "required": [ "runGraphIndex" ] }, - { "required": [ "resultGraphIndex" ] } + { + "required": [ + "runGraphIndex" + ] + }, + { + "required": [ + "resultGraphIndex" + ] + } ] }, - "invocation": { "description": "The runtime environment of the analysis tool run.", "additionalProperties": false, "type": "object", "properties": { - "commandLine": { "description": "The command line used to invoke the tool.", "type": "string" }, - "arguments": { "description": "An array of strings, containing in order the command line arguments passed to the tool from the operating system.", "type": "array", @@ -1124,7 +1008,6 @@ "type": "string" } }, - "responseFiles": { "description": "The locations of any response files specified on the tool's command line.", "type": "array", @@ -1134,24 +1017,20 @@ "$ref": "#/definitions/artifactLocation" } }, - "startTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the run started. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, - "endTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the run ended. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, - "exitCode": { "description": "The process exit code.", "type": "integer" }, - "ruleConfigurationOverrides": { "description": "An array of configurationOverride objects that describe rules related runtime overrides.", "type": "array", @@ -1162,7 +1041,6 @@ "$ref": "#/definitions/configurationOverride" } }, - "notificationConfigurationOverrides": { "description": "An array of configurationOverride objects that describe notifications related runtime overrides.", "type": "array", @@ -1173,7 +1051,6 @@ "$ref": "#/definitions/configurationOverride" } }, - "toolExecutionNotifications": { "description": "A list of runtime conditions detected by the tool during the analysis.", "type": "array", @@ -1184,7 +1061,6 @@ "$ref": "#/definitions/notification" } }, - "toolConfigurationNotifications": { "description": "A list of conditions detected by the tool that are relevant to the tool's configuration.", "type": "array", @@ -1195,57 +1071,46 @@ "$ref": "#/definitions/notification" } }, - "exitCodeDescription": { "description": "The reason for the process exit.", "type": "string" }, - "exitSignalName": { "description": "The name of the signal that caused the process to exit.", "type": "string" }, - "exitSignalNumber": { "description": "The numeric value of the signal that caused the process to exit.", "type": "integer" }, - "processStartFailureMessage": { "description": "The reason given by the operating system that the process failed to start.", "type": "string" }, - "executionSuccessful": { "description": "Specifies whether the tool's execution completed successfully.", "type": "boolean" }, - "machine": { "description": "The machine that hosted the analysis tool run.", "type": "string" }, - "account": { "description": "The account that ran the analysis tool.", "type": "string" }, - "processId": { "description": "The process id for the analysis tool run.", "type": "integer" }, - "executableLocation": { "description": "An absolute URI specifying the location of the analysis tool's executable.", "$ref": "#/definitions/artifactLocation" }, - "workingDirectory": { "description": "The working directory for the analysis tool run.", "$ref": "#/definitions/artifactLocation" }, - "environmentVariables": { "description": "The environment variables associated with the analysis tool process, expressed as key/value pairs.", "type": "object", @@ -1253,53 +1118,46 @@ "type": "string" } }, - "stdin": { "description": "A file containing the standard input stream to the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, - "stdout": { "description": "A file containing the standard output stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, - "stderr": { "description": "A file containing the standard error stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, - "stdoutStderr": { "description": "A file containing the interleaved standard output and standard error stream from the process that was invoked.", "$ref": "#/definitions/artifactLocation" }, - "properties": { "description": "Key/value pairs that provide additional information about the invocation.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "executionSuccessful" ] + "required": [ + "executionSuccessful" + ] }, - "location": { "description": "A location within a programming artifact.", "additionalProperties": false, "type": "object", "properties": { - "id": { "description": "Value that distinguishes this location from all other locations within a single result object.", "type": "integer", "minimum": -1, "default": -1 }, - "physicalLocation": { "description": "Identifies the artifact and region.", "$ref": "#/definitions/physicalLocation" }, - "logicalLocations": { "description": "The logical locations associated with the result.", "type": "array", @@ -1310,12 +1168,10 @@ "$ref": "#/definitions/logicalLocation" } }, - "message": { "description": "A message relevant to the location.", "$ref": "#/definitions/message" }, - "annotations": { "description": "A set of regions relevant to the location.", "type": "array", @@ -1326,7 +1182,6 @@ "$ref": "#/definitions/region" } }, - "relationships": { "description": "An array of objects that describe relationships between this location and others.", "type": "array", @@ -1337,118 +1192,102 @@ "$ref": "#/definitions/locationRelationship" } }, - "properties": { "description": "Key/value pairs that provide additional information about the location.", "$ref": "#/definitions/propertyBag" } } }, - "locationRelationship": { "description": "Information about the relation of one location to another.", "type": "object", "additionalProperties": false, "properties": { - "target": { "description": "A reference to the related location.", "type": "integer", "minimum": 0 }, - "kinds": { "description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'includes', 'isIncludedBy' and 'relevant'.", "type": "array", - "default": [ "relevant" ], + "default": [ + "relevant" + ], "uniqueItems": true, "items": { "type": "string" } }, - "description": { "description": "A description of the location relationship.", "$ref": "#/definitions/message" }, - "properties": { "description": "Key/value pairs that provide additional information about the location relationship.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "target" ] + "required": [ + "target" + ] }, - "logicalLocation": { "description": "A logical location of a construct that produced a result.", "additionalProperties": false, "type": "object", "properties": { - "name": { "description": "Identifies the construct in which the result occurred. For example, this property might contain the name of a class or a method.", "type": "string" }, - "index": { "description": "The index within the logical locations array.", "type": "integer", "default": -1, "minimum": -1 }, - "fullyQualifiedName": { "description": "The human-readable fully qualified name of the logical location.", "type": "string" }, - "decoratedName": { "description": "The machine-readable name for the logical location, such as a mangled function name provided by a C++ compiler that encodes calling convention, return type and other details along with the function name.", "type": "string" }, - "parentIndex": { "description": "Identifies the index of the immediate parent of the construct in which the result was detected. For example, this property might point to a logical location that represents the namespace that holds a type.", "type": "integer", "default": -1, "minimum": -1 }, - "kind": { "description": "The type of construct this logical location component refers to. Should be one of 'function', 'member', 'module', 'namespace', 'parameter', 'resource', 'returnType', 'type', 'variable', 'object', 'array', 'property', 'value', 'element', 'text', 'attribute', 'comment', 'declaration', 'dtd' or 'processingInstruction', if any of those accurately describe the construct.", "type": "string" }, - "properties": { "description": "Key/value pairs that provide additional information about the logical location.", "$ref": "#/definitions/propertyBag" } } }, - "message": { "description": "Encapsulates a message intended to be read by the end user.", "type": "object", "additionalProperties": false, - "properties": { - "text": { "description": "A plain text message string.", "type": "string" }, - "markdown": { "description": "A Markdown message string.", "type": "string" }, - "id": { "description": "The identifier for this message.", "type": "string" }, - "arguments": { "description": "An array of strings to substitute into the message string.", "type": "array", @@ -1459,65 +1298,63 @@ "type": "string" } }, - "properties": { "description": "Key/value pairs that provide additional information about the message.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ - { "required": [ "text" ] }, - { "required": [ "id" ] } + { + "required": [ + "text" + ] + }, + { + "required": [ + "id" + ] + } ] }, - "multiformatMessageString": { "description": "A message string or message format string rendered in multiple formats.", "type": "object", "additionalProperties": false, - "properties": { - "text": { "description": "A plain text message string or format string.", "type": "string" }, - "markdown": { "description": "A Markdown message string or format string.", "type": "string" }, - "properties": { "description": "Key/value pairs that provide additional information about the message.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "text" ] + "required": [ + "text" + ] }, - "node": { "description": "Represents a node in a graph.", "type": "object", "additionalProperties": false, - "properties": { - "id": { "description": "A string that uniquely identifies the node within its graph.", "type": "string" }, - "label": { "description": "A short description of the node.", "$ref": "#/definitions/message" }, - "location": { "description": "A code location associated with the node.", "$ref": "#/definitions/location" }, - "children": { "description": "Array of child nodes.", "type": "array", @@ -1528,22 +1365,20 @@ "$ref": "#/definitions/node" } }, - "properties": { "description": "Key/value pairs that provide additional information about the node.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "id" ] + "required": [ + "id" + ] }, - "notification": { "description": "Describes a condition relevant to the tool itself, as opposed to being relevant to a target being analyzed by the tool.", "type": "object", "additionalProperties": false, "properties": { - "locations": { "description": "The locations relevant to this notification.", "type": "array", @@ -1554,95 +1389,89 @@ "$ref": "#/definitions/location" } }, - "message": { "description": "A message that describes the condition that was encountered.", "$ref": "#/definitions/message" }, - "level": { "description": "A value specifying the severity level of the notification.", "default": "warning", - "enum": [ "none", "note", "warning", "error" ] + "enum": [ + "none", + "note", + "warning", + "error" + ] }, - "threadId": { "description": "The thread identifier of the code that generated the notification.", "type": "integer" }, - "timeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the analysis tool generated the notification.", "type": "string", "format": "date-time" }, - "exception": { "description": "The runtime exception, if any, relevant to this notification.", "$ref": "#/definitions/exception" }, - "descriptor": { "description": "A reference used to locate the descriptor relevant to this notification.", "$ref": "#/definitions/reportingDescriptorReference" }, - "associatedRule": { "description": "A reference used to locate the rule descriptor associated with this notification.", "$ref": "#/definitions/reportingDescriptorReference" }, - "properties": { "description": "Key/value pairs that provide additional information about the notification.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "message" ] + "required": [ + "message" + ] }, - "physicalLocation": { "description": "A physical location relevant to a result. Specifies a reference to a programming artifact together with a range of bytes or characters within that artifact.", "additionalProperties": false, "type": "object", "properties": { - "address": { "description": "The address of the location.", "$ref": "#/definitions/address" }, - "artifactLocation": { "description": "The location of the artifact.", "$ref": "#/definitions/artifactLocation" }, - "region": { "description": "Specifies a portion of the artifact.", "$ref": "#/definitions/region" }, - "contextRegion": { "description": "Specifies a portion of the artifact that encloses the region. Allows a viewer to display additional context around the region.", "$ref": "#/definitions/region" }, - "properties": { "description": "Key/value pairs that provide additional information about the physical location.", "$ref": "#/definitions/propertyBag" } }, - "anyOf": [ { - "required": [ "address" ] + "required": [ + "address" + ] }, { - "required": [ "artifactLocation" ] + "required": [ + "artifactLocation" + ] } ] }, - "propertyBag": { "description": "Key/value pairs that provide additional information about the object.", "type": "object", @@ -1653,7 +1482,6 @@ "type": "string" }, "tags": { - "description": "A set of distinct strings that provide additional information.", "type": "array", "minItems": 0, @@ -1665,159 +1493,133 @@ } } }, - "rectangle": { "description": "An area within an image.", "additionalProperties": false, "type": "object", "properties": { - "top": { "description": "The Y coordinate of the top edge of the rectangle, measured in the image's natural units.", "type": "number" }, - "left": { "description": "The X coordinate of the left edge of the rectangle, measured in the image's natural units.", "type": "number" }, - "bottom": { "description": "The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.", "type": "number" }, - "right": { "description": "The X coordinate of the right edge of the rectangle, measured in the image's natural units.", "type": "number" }, - "message": { "description": "A message relevant to the rectangle.", "$ref": "#/definitions/message" }, - "properties": { "description": "Key/value pairs that provide additional information about the rectangle.", "$ref": "#/definitions/propertyBag" } } }, - "region": { "description": "A region within an artifact where a result was detected.", "additionalProperties": false, "type": "object", "properties": { - "startLine": { "description": "The line number of the first character in the region.", "type": "integer", "minimum": 1 }, - "startColumn": { "description": "The column number of the first character in the region.", "type": "integer", "minimum": 1 }, - "endLine": { "description": "The line number of the last character in the region.", "type": "integer", "minimum": 1 }, - "endColumn": { "description": "The column number of the character following the end of the region.", "type": "integer", "minimum": 1 }, - "charOffset": { "description": "The zero-based offset from the beginning of the artifact of the first character in the region.", "type": "integer", "default": -1, "minimum": -1 }, - "charLength": { "description": "The length of the region in characters.", "type": "integer", "minimum": 0 }, - "byteOffset": { "description": "The zero-based offset from the beginning of the artifact of the first byte in the region.", "type": "integer", "default": -1, "minimum": -1 }, - "byteLength": { "description": "The length of the region in bytes.", "type": "integer", "minimum": 0 }, - "snippet": { "description": "The portion of the artifact contents within the specified region.", "$ref": "#/definitions/artifactContent" }, - "message": { "description": "A message relevant to the region.", "$ref": "#/definitions/message" }, - "sourceLanguage": { "description": "Specifies the source language, if any, of the portion of the artifact specified by the region object.", "type": "string" }, - "properties": { "description": "Key/value pairs that provide additional information about the region.", "$ref": "#/definitions/propertyBag" } } }, - "replacement": { "description": "The replacement of a single region of an artifact.", "additionalProperties": false, "type": "object", "properties": { - "deletedRegion": { "description": "The region of the artifact to delete.", "$ref": "#/definitions/region" }, - "insertedContent": { "description": "The content to insert at the location specified by the 'deletedRegion' property.", "$ref": "#/definitions/artifactContent" }, - "properties": { "description": "Key/value pairs that provide additional information about the replacement.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "deletedRegion" ] + "required": [ + "deletedRegion" + ] }, - "reportingDescriptor": { "description": "Metadata that describes a specific report produced by the tool, as part of the analysis it provides or its runtime reporting.", "additionalProperties": false, "type": "object", "properties": { - "id": { "description": "A stable, opaque identifier for the report.", "type": "string" }, - "deprecatedIds": { "description": "An array of stable, opaque identifiers by which this report was known in some previous version of the analysis tool.", "type": "array", @@ -1827,13 +1629,11 @@ "type": "string" } }, - "guid": { "description": "A unique identifer for the reporting descriptor in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "deprecatedGuids": { "description": "An array of unique identifies in the form of a GUID by which this report was known in some previous version of the analysis tool.", "type": "array", @@ -1844,12 +1644,10 @@ "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" } }, - "name": { "description": "A report identifier that is understandable to an end user.", "type": "string" }, - "deprecatedNames": { "description": "An array of readable identifiers by which this report was known in some previous version of the analysis tool.", "type": "array", @@ -1859,17 +1657,14 @@ "type": "string" } }, - "shortDescription": { "description": "A concise description of the report. Should be a single sentence that is understandable when visible space is limited to a single line of text.", "$ref": "#/definitions/multiformatMessageString" }, - "fullDescription": { "description": "A description of the report. Should, as far as possible, provide details sufficient to enable resolution of any problem indicated by the result.", "$ref": "#/definitions/multiformatMessageString" }, - "messageStrings": { "description": "A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.", "type": "object", @@ -1877,23 +1672,19 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "defaultConfiguration": { "description": "Default reporting configuration information.", "$ref": "#/definitions/reportingConfiguration" }, - "helpUri": { "description": "A URI where the primary documentation for the report can be found.", "type": "string", "format": "uri" }, - "help": { "description": "Provides the primary documentation for the report, useful when there is no online documentation.", "$ref": "#/definitions/multiformatMessageString" }, - "relationships": { "description": "An array of objects that describe relationships between this reporting descriptor and others.", "type": "array", @@ -1904,33 +1695,35 @@ "$ref": "#/definitions/reportingDescriptorRelationship" } }, - "properties": { "description": "Key/value pairs that provide additional information about the report.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "id" ] + "required": [ + "id" + ] }, - "reportingConfiguration": { "description": "Information about a rule or notification that can be configured at runtime.", "type": "object", "additionalProperties": false, "properties": { - "enabled": { "description": "Specifies whether the report may be produced during the scan.", "type": "boolean", "default": true }, - "level": { "description": "Specifies the failure level for the report.", "default": "warning", - "enum": [ "none", "note", "warning", "error" ] + "enum": [ + "none", + "note", + "warning", + "error" + ] }, - "rank": { "description": "Specifies the relative priority of the report. Used for analysis output only.", "type": "number", @@ -1938,139 +1731,145 @@ "minimum": -1.0, "maximum": 100.0 }, - "parameters": { "description": "Contains configuration information specific to a report.", "$ref": "#/definitions/propertyBag" }, - "properties": { "description": "Key/value pairs that provide additional information about the reporting configuration.", "$ref": "#/definitions/propertyBag" } } }, - "reportingDescriptorReference": { "description": "Information about how to locate a relevant reporting descriptor.", "type": "object", "additionalProperties": false, "properties": { - "id": { "description": "The id of the descriptor.", "type": "string" }, - "index": { "description": "The index into an array of descriptors in toolComponent.ruleDescriptors, toolComponent.notificationDescriptors, or toolComponent.taxonomyDescriptors, depending on context.", "type": "integer", "default": -1, "minimum": -1 }, - "guid": { "description": "A guid that uniquely identifies the descriptor.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "toolComponent": { "description": "A reference used to locate the toolComponent associated with the descriptor.", "$ref": "#/definitions/toolComponentReference" }, - "properties": { "description": "Key/value pairs that provide additional information about the reporting descriptor reference.", "$ref": "#/definitions/propertyBag" } }, "anyOf": [ - { "required": [ "index" ] }, - { "required": [ "guid" ] }, - { "required": [ "id" ] } + { + "required": [ + "index" + ] + }, + { + "required": [ + "guid" + ] + }, + { + "required": [ + "id" + ] + } ] }, - "reportingDescriptorRelationship": { "description": "Information about the relation of one reporting descriptor to another.", "type": "object", "additionalProperties": false, "properties": { - "target": { "description": "A reference to the related reporting descriptor.", "$ref": "#/definitions/reportingDescriptorReference" }, - "kinds": { "description": "A set of distinct strings that categorize the relationship. Well-known kinds include 'canPrecede', 'canFollow', 'willPrecede', 'willFollow', 'superset', 'subset', 'equal', 'disjoint', 'relevant', and 'incomparable'.", "type": "array", - "default": [ "relevant" ], + "default": [ + "relevant" + ], "uniqueItems": true, "items": { "type": "string" } }, - "description": { "description": "A description of the reporting descriptor relationship.", "$ref": "#/definitions/message" }, - "properties": { "description": "Key/value pairs that provide additional information about the reporting descriptor reference.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "target" ] + "required": [ + "target" + ] }, - "result": { "description": "A result produced by an analysis tool.", "additionalProperties": false, "type": "object", "properties": { - "ruleId": { "description": "The stable, unique identifier of the rule, if any, to which this notification is relevant. This member can be used to retrieve rule metadata from the rules dictionary, if it exists.", "type": "string" }, - "ruleIndex": { "description": "The index within the tool component rules array of the rule object associated with this result.", "type": "integer", "default": -1, "minimum": -1 }, - "rule": { "description": "A reference used to locate the rule descriptor relevant to this result.", "$ref": "#/definitions/reportingDescriptorReference" }, - "kind": { "description": "A value that categorizes results by evaluation state.", "default": "fail", - "string": [ "notApplicable", "pass", "fail", "review", "open", "informational" ] + "string": [ + "notApplicable", + "pass", + "fail", + "review", + "open", + "informational" + ] }, - "level": { "description": "A value specifying the severity level of the result.", "default": "warning", - "string": [ "none", "note", "warning", "error" ] + "string": [ + "none", + "note", + "warning", + "error" + ] }, - "message": { "description": "A message that describes the result. The first sentence of the message only will be displayed when visible space is limited.", "$ref": "#/definitions/message" }, - "analysisTarget": { "description": "Identifies the artifact that the analysis tool was instructed to scan. This need not be the same as the artifact where the result actually occurred.", "$ref": "#/definitions/artifactLocation" }, - "locations": { "description": "The set of locations where the result was detected. Specify only one location unless the problem indicated by the result can only be corrected by making a change at every specified location.", "type": "array", @@ -2081,25 +1880,21 @@ "$ref": "#/definitions/location" } }, - "guid": { "description": "A stable, unique identifer for the result in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "correlationGuid": { "description": "A stable, unique identifier for the equivalence class of logically identical results to which this result belongs, in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "occurrenceCount": { "description": "A positive integer specifying the number of times this logically unique result was observed in this run.", "type": "integer", "minimum": 1 }, - "partialFingerprints": { "description": "A set of strings that contribute to the stable, unique identity of the result.", "type": "object", @@ -2107,7 +1902,6 @@ "type": "string" } }, - "fingerprints": { "description": "A set of strings each of which individually defines a stable, unique identity for the result.", "type": "object", @@ -2115,7 +1909,6 @@ "type": "string" } }, - "stacks": { "description": "An array of 'stack' objects relevant to the result.", "type": "array", @@ -2126,7 +1919,6 @@ "$ref": "#/definitions/stack" } }, - "codeFlows": { "description": "An array of 'codeFlow' objects relevant to the result.", "type": "array", @@ -2137,7 +1929,6 @@ "$ref": "#/definitions/codeFlow" } }, - "graphs": { "description": "An array of zero or more unique graph objects associated with the result.", "type": "array", @@ -2148,7 +1939,6 @@ "$ref": "#/definitions/graph" } }, - "graphTraversals": { "description": "An array of one or more unique 'graphTraversal' objects.", "type": "array", @@ -2159,7 +1949,6 @@ "$ref": "#/definitions/graphTraversal" } }, - "relatedLocations": { "description": "A set of locations relevant to this result.", "type": "array", @@ -2170,7 +1959,6 @@ "$ref": "#/definitions/location" } }, - "suppressions": { "description": "A set of suppressions relevant to this result.", "type": "array", @@ -2180,7 +1968,6 @@ "$ref": "#/definitions/suppression" } }, - "baselineState": { "description": "The state of a result relative to a baseline of a previous run.", "enum": [ @@ -2190,7 +1977,6 @@ "absent" ] }, - "rank": { "description": "A number representing the priority or importance of the result.", "type": "number", @@ -2198,7 +1984,6 @@ "minimum": -1.0, "maximum": 100.0 }, - "attachments": { "description": "A set of artifacts relevant to the result.", "type": "array", @@ -2209,13 +1994,11 @@ "$ref": "#/definitions/attachment" } }, - "hostedViewerUri": { "description": "An absolute URI at which the result can be viewed.", "type": "string", "format": "uri" }, - "workItemUris": { "description": "The URIs of the work items associated with this result.", "type": "array", @@ -2226,12 +2009,10 @@ "format": "uri" } }, - "provenance": { "description": "Information about how and when the result was detected.", "$ref": "#/definitions/resultProvenance" }, - "fixes": { "description": "An array of 'fix' objects, each of which represents a proposed fix to the problem indicated by the result.", "type": "array", @@ -2242,7 +2023,6 @@ "$ref": "#/definitions/fix" } }, - "taxa": { "description": "An array of references to taxonomy reporting descriptors that are applicable to the result.", "type": "array", @@ -2253,62 +2033,54 @@ "$ref": "#/definitions/reportingDescriptorReference" } }, - "webRequest": { "description": "A web request associated with this result.", "$ref": "#/definitions/webRequest" }, - "webResponse": { "description": "A web response associated with this result.", "$ref": "#/definitions/webResponse" }, - "properties": { "description": "Key/value pairs that provide additional information about the result.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "message" ] + "required": [ + "message" + ] }, - "resultProvenance": { "description": "Contains information about how and when a result was detected.", "additionalProperties": false, "type": "object", "properties": { - "firstDetectionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the result was first detected. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, - "lastDetectionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which the result was most recently detected. See \"Date/time properties\" in the SARIF spec for the required format.", "type": "string", "format": "date-time" }, - "firstDetectionRunGuid": { "description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was first detected.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "lastDetectionRunGuid": { "description": "A GUID-valued string equal to the automationDetails.guid property of the run in which the result was most recently detected.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "invocationIndex": { "description": "The index within the run.invocations array of the invocation object which describes the tool invocation that detected the result.", "type": "integer", "default": -1, "minimum": -1 }, - "conversionSources": { "description": "An array of physicalLocation objects which specify the portions of an analysis tool's output that a converter transformed into the result.", "type": "array", @@ -2319,25 +2091,21 @@ "$ref": "#/definitions/physicalLocation" } }, - "properties": { "description": "Key/value pairs that provide additional information about the result.", "$ref": "#/definitions/propertyBag" } } }, - "run": { "description": "Describes a single run of an analysis tool, and contains the reported output of that run.", "additionalProperties": false, "type": "object", "properties": { - "tool": { "description": "Information about the tool or tool pipeline that generated the results in this run. A run can only contain results produced by a single tool or tool pipeline. A run can aggregate results from multiple log files, as long as context around the tool run (tool command-line arguments and the like) is identical for all aggregated files.", "$ref": "#/definitions/tool" }, - "invocations": { "description": "Describes the invocation of the analysis tool.", "type": "array", @@ -2348,19 +2116,16 @@ "$ref": "#/definitions/invocation" } }, - "conversion": { "description": "A conversion object that describes how a converter transformed an analysis tool's native reporting format into the SARIF format.", "$ref": "#/definitions/conversion" }, - "language": { "description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase culture code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).", "type": "string", "default": "en-US", "pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}]?$" }, - "versionControlProvenance": { "description": "Specifies the revision in version control of the artifacts that were scanned.", "type": "array", @@ -2371,7 +2136,6 @@ "$ref": "#/definitions/versionControlDetails" } }, - "originalUriBaseIds": { "description": "The artifact location specified by each uriBaseId symbol on the machine where the tool originally ran.", "type": "object", @@ -2379,7 +2143,6 @@ "$ref": "#/definitions/artifactLocation" } }, - "artifacts": { "description": "An array of artifact objects relevant to the run.", "type": "array", @@ -2389,7 +2152,6 @@ "$ref": "#/definitions/artifact" } }, - "logicalLocations": { "description": "An array of logical locations such as namespaces, types or functions.", "type": "array", @@ -2400,7 +2162,6 @@ "$ref": "#/definitions/logicalLocation" } }, - "graphs": { "description": "An array of zero or more unique graph objects associated with the run.", "type": "array", @@ -2411,7 +2172,6 @@ "$ref": "#/definitions/graph" } }, - "results": { "description": "The set of results contained in an SARIF log. The results array can be omitted when a run is solely exporting rules metadata. It must be present (but may be empty) if a log file represents an actual scan.", "type": "array", @@ -2421,12 +2181,10 @@ "$ref": "#/definitions/result" } }, - "automationDetails": { "description": "Automation details that describe this run.", "$ref": "#/definitions/runAutomationDetails" }, - "runAggregates": { "description": "Automation details that describe the aggregate of runs to which this run belongs.", "type": "array", @@ -2437,13 +2195,11 @@ "$ref": "#/definitions/runAutomationDetails" } }, - "baselineGuid": { "description": "The 'guid' property of a previous SARIF 'run' that comprises the baseline that was used to compute result 'baselineState' properties for the run.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "redactionTokens": { "description": "An array of strings used to replace sensitive information in a redaction-aware property.", "type": "array", @@ -2454,38 +2210,38 @@ "type": "string" } }, - "defaultEncoding": { "description": "Specifies the default encoding for any artifact object that refers to a text file.", "type": "string" }, - "defaultSourceLanguage": { "description": "Specifies the default source language for any artifact object that refers to a text file that contains source code.", "type": "string" }, - "newlineSequences": { "description": "An ordered list of character sequences that were treated as line breaks when computing region information for the run.", "type": "array", "minItems": 1, "uniqueItems": true, - "default": [ "\r\n", "\n" ], + "default": [ + "\r\n", + "\n" + ], "items": { "type": "string" } }, - "columnKind": { "description": "Specifies the unit in which the tool measures columns.", - "enum": [ "utf16CodeUnits", "unicodeCodePoints" ] + "enum": [ + "utf16CodeUnits", + "unicodeCodePoints" + ] }, - "externalPropertyFileReferences": { "description": "References to external property files that should be inlined with the content of a root log file.", "$ref": "#/definitions/externalPropertyFileReferences" }, - "threadFlowLocations": { "description": "An array of threadFlowLocation objects cached at run level.", "type": "array", @@ -2496,7 +2252,6 @@ "$ref": "#/definitions/threadFlowLocation" } }, - "taxonomies": { "description": "An array of toolComponent objects relevant to a taxonomy in which results are categorized.", "type": "array", @@ -2507,7 +2262,6 @@ "$ref": "#/definitions/toolComponent" } }, - "addresses": { "description": "Addresses associated with this run instance, if any.", "type": "array", @@ -2518,7 +2272,6 @@ "$ref": "#/definitions/address" } }, - "translations": { "description": "The set of available translations of the localized data provided by the tool.", "type": "array", @@ -2529,7 +2282,6 @@ "$ref": "#/definitions/toolComponent" } }, - "policies": { "description": "Contains configurations that may potentially override both reportingDescriptor.defaultConfiguration (the tool's default severities) and invocation.configurationOverrides (severities established at run-time from the command line).", "type": "array", @@ -2540,7 +2292,6 @@ "$ref": "#/definitions/toolComponent" } }, - "webRequests": { "description": "An array of request objects cached at run level.", "type": "array", @@ -2551,7 +2302,6 @@ "$ref": "#/definitions/webRequest" } }, - "webResponses": { "description": "An array of response objects cached at run level.", "type": "array", @@ -2562,85 +2312,72 @@ "$ref": "#/definitions/webResponse" } }, - "specialLocations": { "description": "A specialLocations object that defines locations of special significance to SARIF consumers.", "$ref": "#/definitions/specialLocations" }, - "properties": { "description": "Key/value pairs that provide additional information about the run.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "tool" ] + "required": [ + "tool" + ] }, - "runAutomationDetails": { "description": "Information that describes a run's identity and role within an engineering system process.", "additionalProperties": false, "type": "object", "properties": { - "description": { "description": "A description of the identity and role played within the engineering system by this object's containing run object.", "$ref": "#/definitions/message" }, - "id": { "description": "A hierarchical string that uniquely identifies this object's containing run object.", "type": "string" }, - "guid": { "description": "A stable, unique identifer for this object's containing run object in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "correlationGuid": { "description": "A stable, unique identifier for the equivalence class of runs to which this object's containing run object belongs in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "properties": { "description": "Key/value pairs that provide additional information about the run automation details.", "$ref": "#/definitions/propertyBag" } } }, - "specialLocations": { "description": "Defines locations of special significance to SARIF consumers.", "type": "object", "additionalProperties": false, "properties": { - "displayBase": { "description": "Provides a suggestion to SARIF consumers to display file paths relative to the specified location.", "$ref": "#/definitions/artifactLocation" }, - "properties": { "description": "Key/value pairs that provide additional information about the special locations.", "$ref": "#/definitions/propertyBag" } } }, - "stack": { "description": "A call stack that is relevant to a result.", "additionalProperties": false, "type": "object", "properties": { - "message": { "description": "A message relevant to this call stack.", "$ref": "#/definitions/message" }, - "frames": { "description": "An array of stack frames that represents a sequence of calls, rendered in reverse chronological order, that comprise the call stack.", "type": "array", @@ -2650,36 +2387,32 @@ "$ref": "#/definitions/stackFrame" } }, - "properties": { "description": "Key/value pairs that provide additional information about the stack.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "frames" ] + "required": [ + "frames" + ] }, - "stackFrame": { "description": "A function call within a stack trace.", "additionalProperties": false, "type": "object", "properties": { - "location": { "description": "The location to which this stack frame refers.", "$ref": "#/definitions/location" }, - "module": { "description": "The name of the module that contains the code of this stack frame.", "type": "string" }, - "threadId": { "description": "The thread identifier of the stack frame.", "type": "integer" }, - "parameters": { "description": "The parameters of the call that is executing.", "type": "array", @@ -2691,26 +2424,22 @@ "default": [] } }, - "properties": { "description": "Key/value pairs that provide additional information about the stack frame.", "$ref": "#/definitions/propertyBag" } } }, - "suppression": { "description": "A suppression that is relevant to a result.", "additionalProperties": false, "type": "object", "properties": { - "guid": { "description": "A stable, unique identifer for the suprression in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "kind": { "description": "A string that indicates where the suppression is persisted.", "enum": [ @@ -2718,7 +2447,6 @@ "external" ] }, - "state": { "description": "A string that indicates the state of the suppression.", "enum": [ @@ -2727,42 +2455,36 @@ "rejected" ] }, - "justification": { "description": "A string representing the justification for the suppression.", "type": "string" }, - "location": { "description": "Identifies the location associated with the suppression.", "$ref": "#/definitions/location" }, - "properties": { "description": "Key/value pairs that provide additional information about the suppression.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "kind" ] + "required": [ + "kind" + ] }, - "threadFlow": { "description": "Describes a sequence of code locations that specify a path through a single thread of execution such as an operating system or fiber.", "type": "object", "additionalProperties": false, "properties": { - "id": { "description": "An string that uniquely identifies the threadFlow within the codeFlow in which it occurs.", "type": "string" }, - "message": { "description": "A message relevant to the thread flow.", "$ref": "#/definitions/message" }, - - "initialState": { "description": "Values of relevant expressions at the start of the thread flow that may change during thread flow execution.", "type": "object", @@ -2770,7 +2492,6 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "immutableState": { "description": "Values of relevant expressions at the start of the thread flow that remain constant.", "type": "object", @@ -2778,7 +2499,6 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "locations": { "description": "A temporally ordered array of 'threadFlowLocation' objects, each of which describes a location visited by the tool while producing the result.", "type": "array", @@ -2788,39 +2508,34 @@ "$ref": "#/definitions/threadFlowLocation" } }, - "properties": { "description": "Key/value pairs that provide additional information about the thread flow.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "locations" ] + "required": [ + "locations" + ] }, - "threadFlowLocation": { "description": "A location visited by an analysis tool while simulating or monitoring the execution of a program.", "additionalProperties": false, "type": "object", "properties": { - "index": { "description": "The index within the run threadFlowLocations array.", "type": "integer", "default": -1, "minimum": -1 }, - "location": { "description": "The code location.", "$ref": "#/definitions/location" }, - "stack": { "description": "The call stack leading to this location.", "$ref": "#/definitions/stack" }, - "kinds": { "description": "A set of distinct strings that categorize the thread flow location. Well-known kinds include 'acquire', 'release', 'enter', 'exit', 'call', 'return', 'branch', 'implicit', 'false', 'true', 'caution', 'danger', 'unknown', 'unreachable', 'taint', 'function', 'handler', 'lock', 'memory', 'resource', 'scope' and 'value'.", "type": "array", @@ -2831,7 +2546,6 @@ "type": "string" } }, - "taxa": { "description": "An array of references to rule or taxonomy reporting descriptors that are applicable to the thread flow location.", "type": "array", @@ -2842,12 +2556,10 @@ "$ref": "#/definitions/reportingDescriptorReference" } }, - "module": { "description": "The name of the module that contains the code that is executing.", "type": "string" }, - "state": { "description": "A dictionary, each of whose keys specifies a variable or expression, the associated value of which represents the variable or expression value. For an annotation of kind 'continuation', for example, this dictionary might hold the current assumed values of a set of global variables.", "type": "object", @@ -2855,60 +2567,54 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "nestingLevel": { "description": "An integer representing a containment hierarchy within the thread flow.", "type": "integer", "minimum": 0 }, - "executionOrder": { "description": "An integer representing the temporal order in which execution reached this location.", "type": "integer", "default": -1, "minimum": -1 }, - "executionTimeUtc": { "description": "The Coordinated Universal Time (UTC) date and time at which this location was executed.", "type": "string", "format": "date-time" }, - "importance": { "description": "Specifies the importance of this location in understanding the code flow in which it occurs. The order from most to least important is \"essential\", \"important\", \"unimportant\". Default: \"important\".", - "enum": [ "important", "essential", "unimportant" ], + "enum": [ + "important", + "essential", + "unimportant" + ], "default": "important" }, - "webRequest": { "description": "A web request associated with this thread flow location.", "$ref": "#/definitions/webRequest" }, - "webResponse": { "description": "A web response associated with this thread flow location.", "$ref": "#/definitions/webResponse" }, - "properties": { "description": "Key/value pairs that provide additional information about the threadflow location.", "$ref": "#/definitions/propertyBag" } } }, - "tool": { "description": "The analysis tool that was run.", "additionalProperties": false, "type": "object", "properties": { - "driver": { "description": "The analysis tool that was run.", "$ref": "#/definitions/toolComponent" }, - "extensions": { "description": "Tool extensions that contributed to or reconfigured the analysis tool that was run.", "type": "array", @@ -2919,96 +2625,80 @@ "$ref": "#/definitions/toolComponent" } }, - "properties": { "description": "Key/value pairs that provide additional information about the tool.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "driver" ] + "required": [ + "driver" + ] }, - "toolComponent": { "description": "A component, such as a plug-in or the driver, of the analysis tool that was run.", "additionalProperties": false, "type": "object", "properties": { - "guid": { "description": "A unique identifer for the tool component in the form of a GUID.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "name": { "description": "The name of the tool component.", "type": "string" }, - "organization": { "description": "The organization or company that produced the tool component.", "type": "string" }, - "product": { "description": "A product suite to which the tool component belongs.", "type": "string" }, - "productSuite": { "description": "A localizable string containing the name of the suite of products to which the tool component belongs.", "type": "string" }, - "shortDescription": { "description": "A brief description of the tool component.", "$ref": "#/definitions/multiformatMessageString" }, - "fullDescription": { "description": "A comprehensive description of the tool component.", "$ref": "#/definitions/multiformatMessageString" }, - "fullName": { "description": "The name of the tool component along with its version and any other useful identifying information, such as its locale.", "type": "string" }, - "version": { "description": "The tool component version, in whatever format the component natively provides.", "type": "string" }, - "semanticVersion": { "description": "The tool component version in the format specified by Semantic Versioning 2.0.", "type": "string" }, - "dottedQuadFileVersion": { "description": "The binary version of the tool component's primary executable file expressed as four non-negative integers separated by a period (for operating systems that express file versions in this way).", "type": "string", "pattern": "[0-9]+(\\.[0-9]+){3}" }, - "releaseDateUtc": { "description": "A string specifying the UTC date (and optionally, the time) of the component's release.", "type": "string" }, - "downloadUri": { "description": "The absolute URI from which the tool component can be downloaded.", "type": "string", "format": "uri" }, - "informationUri": { "description": "The absolute URI at which information about this version of the tool component can be found.", "type": "string", "format": "uri" }, - "globalMessageStrings": { "description": "A dictionary, each of whose keys is a resource identifier and each of whose values is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.", "type": "object", @@ -3016,7 +2706,6 @@ "$ref": "#/definitions/multiformatMessageString" } }, - "notifications": { "description": "An array of reportingDescriptor objects relevant to the notifications related to the configuration and runtime execution of the tool component.", "type": "array", @@ -3027,7 +2716,6 @@ "$ref": "#/definitions/reportingDescriptor" } }, - "rules": { "description": "An array of reportingDescriptor objects relevant to the analysis performed by the tool component.", "type": "array", @@ -3038,7 +2726,6 @@ "$ref": "#/definitions/reportingDescriptor" } }, - "taxa": { "description": "An array of reportingDescriptor objects relevant to the definitions of both standalone and tool-defined taxonomies.", "type": "array", @@ -3049,7 +2736,6 @@ "$ref": "#/definitions/reportingDescriptor" } }, - "locations": { "description": "An array of the artifactLocation objects associated with the tool component.", "type": "array", @@ -3059,19 +2745,20 @@ "$ref": "#/definitions/artifactLocation" } }, - "language": { "description": "The language of the messages emitted into the log file during this run (expressed as an ISO 639-1 two-letter lowercase language code) and an optional region (expressed as an ISO 3166-1 two-letter uppercase subculture code associated with a country or region). The casing is recommended but not required (in order for this data to conform to RFC5646).", "type": "string", "default": "en-US", "pattern": "^[a-zA-Z]{2}|^[a-zA-Z]{2}-[a-zA-Z]{2}]?$" }, - "contents": { "description": "The kinds of data contained in this object.", "type": "array", "uniqueItems": true, - "default": [ "localizedData", "nonLocalizedData" ], + "default": [ + "localizedData", + "nonLocalizedData" + ], "items": { "string": [ "localizedData", @@ -3079,33 +2766,27 @@ ] } }, - "isComprehensive": { "description": "Specifies whether this object contains a complete definition of the localizable and/or non-localizable data for this component, as opposed to including only data that is relevant to the results persisted to this log file.", "type": "boolean", "default": false }, - "localizedDataSemanticVersion": { "description": "The semantic version of the localized strings defined in this component; maintained by components that provide translations.", "type": "string" }, - "minimumRequiredLocalizedDataSemanticVersion": { "description": "The minimum value of localizedDataSemanticVersion required in translations consumed by this component; used by components that consume translations.", "type": "string" }, - "associatedComponent": { "description": "The component which is strongly associated with this component. For a translation, this refers to the component which has been translated. For an extension, this is the driver that provides the extension's plugin model.", "$ref": "#/definitions/toolComponentReference" }, - "translationMetadata": { "description": "Translation metadata, required for a translation, not populated by other component types.", "$ref": "#/definitions/translationMetadata" }, - "supportedTaxonomies": { "description": "An array of toolComponentReference objects to declare the taxonomies supported by the tool component.", "type": "array", @@ -3116,174 +2797,148 @@ "$ref": "#/definitions/toolComponentReference" } }, - "properties": { "description": "Key/value pairs that provide additional information about the tool component.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "name" ] + "required": [ + "name" + ] }, - "toolComponentReference": { "description": "Identifies a particular toolComponent object, either the driver or an extension.", "type": "object", "additionalProperties": false, "properties": { - "name": { "description": "The 'name' property of the referenced toolComponent.", "type": "string" }, - "index": { "description": "An index into the referenced toolComponent in tool.extensions.", "type": "integer", "default": -1, "minimum": -1 }, - "guid": { "description": "The 'guid' property of the referenced toolComponent.", "type": "string", "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$" }, - "properties": { "description": "Key/value pairs that provide additional information about the toolComponentReference.", "$ref": "#/definitions/propertyBag" } } }, - "translationMetadata": { "description": "Provides additional metadata related to translation.", "type": "object", "additionalProperties": false, "properties": { - "name": { "description": "The name associated with the translation metadata.", "type": "string" }, - "fullName": { "description": "The full name associated with the translation metadata.", "type": "string" }, - "shortDescription": { "description": "A brief description of the translation metadata.", "$ref": "#/definitions/multiformatMessageString" }, - "fullDescription": { "description": "A comprehensive description of the translation metadata.", "$ref": "#/definitions/multiformatMessageString" }, - "downloadUri": { "description": "The absolute URI from which the translation metadata can be downloaded.", "type": "string", "format": "uri" }, - "informationUri": { "description": "The absolute URI from which information related to the translation metadata can be downloaded.", "type": "string", "format": "uri" }, - "properties": { "description": "Key/value pairs that provide additional information about the translation metadata.", "$ref": "#/definitions/propertyBag" } }, - "required": [ "name" ] + "required": [ + "name" + ] }, - "versionControlDetails": { "description": "Specifies the information necessary to retrieve a desired revision from a version control system.", "type": "object", "additionalProperties": false, "properties": { - "repositoryUri": { "description": "The absolute URI of the repository.", "type": "string", "format": "uri" }, - "revisionId": { "description": "A string that uniquely and permanently identifies the revision within the repository.", "type": "string" }, - "branch": { "description": "The name of a branch containing the revision.", "type": "string" }, - "revisionTag": { "description": "A tag that has been applied to the revision.", "type": "string" }, - "asOfTimeUtc": { "description": "A Coordinated Universal Time (UTC) date and time that can be used to synchronize an enlistment to the state of the repository at that time.", "type": "string", "format": "date-time" }, - "mappedTo": { "description": "The location in the local file system to which the root of the repository was mapped at the time of the analysis.", "$ref": "#/definitions/artifactLocation" }, - "properties": { "description": "Key/value pairs that provide additional information about the version control details.", "$ref": "#/definitions/propertyBag" } }, - - "required": [ "repositoryUri" ] + "required": [ + "repositoryUri" + ] }, - "webRequest": { "description": "Describes an HTTP request.", "type": "object", "additionalProperties": false, "properties": { - "index": { "description": "The index within the run.webRequests array of the request object associated with this result.", "type": "integer", "default": -1, "minimum": -1 - }, - "protocol": { "description": "The request protocol. Example: 'http'.", "type": "string" }, - "version": { "description": "The request version. Example: '1.1'.", "type": "string" }, - "target": { "description": "The target of the request.", "type": "string" }, - "method": { "description": "The HTTP method. Well-known values are 'GET', 'PUT', 'POST', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS', 'TRACE', 'CONNECT'.", "type": "string" }, - "headers": { "description": "The request headers.", "type": "object", @@ -3291,7 +2946,6 @@ "type": "string" } }, - "parameters": { "description": "The request parameters.", "type": "object", @@ -3299,52 +2953,43 @@ "type": "string" } }, - "body": { "description": "The body of the request.", "$ref": "#/definitions/artifactContent" }, - "properties": { "description": "Key/value pairs that provide additional information about the request.", "$ref": "#/definitions/propertyBag" } } }, - "webResponse": { "description": "Describes the response to an HTTP request.", "type": "object", "additionalProperties": false, "properties": { - "index": { "description": "The index within the run.webResponses array of the response object associated with this result.", "type": "integer", "default": -1, "minimum": -1 }, - "protocol": { "description": "The response protocol. Example: 'http'.", "type": "string" }, - "version": { "description": "The response version. Example: '1.1'.", "type": "string" }, - "statusCode": { "description": "The response status code. Example: 451.", "type": "integer" }, - "reasonPhrase": { "description": "The response reason. Example: 'Not found'.", "type": "string" }, - "headers": { "description": "The response headers.", "type": "object", @@ -3352,18 +2997,15 @@ "type": "string" } }, - "body": { "description": "The body of the response.", "$ref": "#/definitions/artifactContent" }, - "noResponseReceived": { "description": "Specifies whether a response was received from the server.", "type": "boolean", "default": false }, - "properties": { "description": "Key/value pairs that provide additional information about the response.", "$ref": "#/definitions/propertyBag" diff --git a/src/test/java/se/bjurr/violations/lib/AnsibleLaterParserTest.java b/src/test/java/se/bjurr/violations/lib/AnsibleLaterParserTest.java index 311a1b9a..2672cfae 100644 --- a/src/test/java/se/bjurr/violations/lib/AnsibleLaterParserTest.java +++ b/src/test/java/se/bjurr/violations/lib/AnsibleLaterParserTest.java @@ -19,7 +19,7 @@ public void testThatViolationsCanBeParsed() { final Set actual = violationsApi() // - .withPattern(".*/ansiblelater/ansible-later.*\\.json$") // + .withPattern(".*/ansiblelater/ansible-later.*\\.txt$") // .inFolder(rootFolder) // .findAll(ANSIBLELATER) // .violations(); diff --git a/src/test/java/se/bjurr/violations/lib/DocFXTest.java b/src/test/java/se/bjurr/violations/lib/DocFXTest.java index 3ae5b8eb..478a6ff2 100644 --- a/src/test/java/se/bjurr/violations/lib/DocFXTest.java +++ b/src/test/java/se/bjurr/violations/lib/DocFXTest.java @@ -19,7 +19,7 @@ public void testThatViolationsCanBeParsed() { final Set actual = violationsApi() // - .withPattern(".*/docfx/.*\\.json$") // + .withPattern(".*/docfx/.*\\.txt$") // .inFolder(rootFolder) // .findAll(DOCFX) // .violations(); diff --git a/src/test/resources/ansiblelater/ansible-later.json b/src/test/resources/ansiblelater/ansible-later.txt similarity index 100% rename from src/test/resources/ansiblelater/ansible-later.json rename to src/test/resources/ansiblelater/ansible-later.txt diff --git a/src/test/resources/codeclimate/example.json b/src/test/resources/codeclimate/example.json index e049adaf..7849cc8e 100644 --- a/src/test/resources/codeclimate/example.json +++ b/src/test/resources/codeclimate/example.json @@ -16,9 +16,7 @@ "end": 2 } }, - "other_locations": [ - - ], + "other_locations": [], "remediation_points": 450000, "severity": "minor", "type": "issue", @@ -26,8 +24,8 @@ }, { "type": "Issue", - "check_name": "Rubocop\/Metrics\/ParameterLists", - "description": "Avoid parameter lists longer than 5 parameters. [6\/5]", + "check_name": "Rubocop/Metrics/ParameterLists", + "description": "Avoid parameter lists longer than 5 parameters. [6/5]", "categories": [ "Complexity" ], @@ -52,4 +50,4 @@ "fingerprint": "5182fe949b37d86b6a434d96c19ca44f", "severity": "minor" } -] \ No newline at end of file +] diff --git a/src/test/resources/coverity/example1.json b/src/test/resources/coverity/example1.json index 58f14396..368b6b9e 100644 --- a/src/test/resources/coverity/example1.json +++ b/src/test/resources/coverity/example1.json @@ -46,7 +46,9 @@ "category": "Integer handling issues", "categoryDescription": "Integer handling issues", "cweCategory": "569", - "issueKinds": ["QUALITY"], + "issueKinds": [ + "QUALITY" + ], "eventSetCaptions": [], "impact": "Medium", "impactDescription": "Medium", diff --git a/src/test/resources/docfx/docfx.log.json b/src/test/resources/docfx/docfx.log.txt similarity index 100% rename from src/test/resources/docfx/docfx.log.json rename to src/test/resources/docfx/docfx.log.txt diff --git a/src/test/resources/sarif/duplicate-rule-ids.json b/src/test/resources/sarif/duplicate-rule-ids.json index 34ab56fa..2b4907d2 100644 --- a/src/test/resources/sarif/duplicate-rule-ids.json +++ b/src/test/resources/sarif/duplicate-rule-ids.json @@ -1,69 +1,69 @@ { - "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", - "version": "2.1.0", - "runs": [ + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "version": "2.1.0", + "runs": [ + { + "results": [ { - "results": [ - { - "ruleId": "rule.id.2", - "level": "error", - "message": { - "text": "Rule id 2 title" - }, - "correlationGuid": "11262816-34f9-42f2-b847-e898d49a75d8" - }, - { - "ruleId": "rule.id.2", - "level": "error", - "message": { - "text": "Rule id 2 title" - }, - "correlationGuid": "a3660638-8497-488a-860e-135dfb20e1b1" - }, - { - "ruleId": "rule.id.2", - "level": "error", - "message": { - "text": "Rule id 2 title" - }, - "correlationGuid": "06e80bd7-1e46-4fca-9a13-8630e5148163" - } - ], - "tool": { - "driver": { - "name": "DuplicateRuleTest", - "fullName": "DuplicateRuleTest Benchmark Title", - "version": "1.0.0", - "semanticVersion": "1.0.0", - "rules": [ - { - "id": "rule.id.1", - "name": "Rule id 1 title", - "fullDescription": { - "text": "Rule id 1 title", - "markdown": "Rule id 1 title" - }, - "help": { - "text": "Rule id 1 title", - "markdown": "Rule id 1 title" - } - }, - { - "id": "rule.id.2", - "name": "Rule id 2 title", - "fullDescription": { - "text": "Rule id 2 title", - "markdown": "Rule id 2 title" - }, - "help": { - "text": "Rule id 2 title", - "markdown": "Rule id 2 title" - } - } - ] - } + "ruleId": "rule.id.2", + "level": "error", + "message": { + "text": "Rule id 2 title" + }, + "correlationGuid": "11262816-34f9-42f2-b847-e898d49a75d8" + }, + { + "ruleId": "rule.id.2", + "level": "error", + "message": { + "text": "Rule id 2 title" + }, + "correlationGuid": "a3660638-8497-488a-860e-135dfb20e1b1" + }, + { + "ruleId": "rule.id.2", + "level": "error", + "message": { + "text": "Rule id 2 title" + }, + "correlationGuid": "06e80bd7-1e46-4fca-9a13-8630e5148163" + } + ], + "tool": { + "driver": { + "name": "DuplicateRuleTest", + "fullName": "DuplicateRuleTest Benchmark Title", + "version": "1.0.0", + "semanticVersion": "1.0.0", + "rules": [ + { + "id": "rule.id.1", + "name": "Rule id 1 title", + "fullDescription": { + "text": "Rule id 1 title", + "markdown": "Rule id 1 title" + }, + "help": { + "text": "Rule id 1 title", + "markdown": "Rule id 1 title" + } }, - "columnKind": "utf16CodeUnits" + { + "id": "rule.id.2", + "name": "Rule id 2 title", + "fullDescription": { + "text": "Rule id 2 title", + "markdown": "Rule id 2 title" + }, + "help": { + "text": "Rule id 2 title", + "markdown": "Rule id 2 title" + } + } + ] } - ] -} \ No newline at end of file + }, + "columnKind": "utf16CodeUnits" + } + ] +} diff --git a/src/test/resources/sarif/result-with-partial-rule.json b/src/test/resources/sarif/result-with-partial-rule.json index 1363c5b4..3889d1e6 100644 --- a/src/test/resources/sarif/result-with-partial-rule.json +++ b/src/test/resources/sarif/result-with-partial-rule.json @@ -5,7 +5,7 @@ { "results": [ { - "ruleIndex": 0, + "ruleIndex": 0, "message": { "text": "reference rule by ruleIndex" } @@ -19,7 +19,7 @@ } }, { - "ruleId": "rule", + "ruleId": "rule", "message": { "text": "reference rule by ruleId" } diff --git a/src/test/resources/sarif/result_line_nr.json b/src/test/resources/sarif/result_line_nr.json index 36d1b694..2491f7e7 100644 --- a/src/test/resources/sarif/result_line_nr.json +++ b/src/test/resources/sarif/result_line_nr.json @@ -1,25189 +1,25189 @@ -{ - "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0.json", - "version": "2.1.0", - "runs": [ - { - "tool": { - "driver": { - "name": "Polyspace", - "semanticVersion": "R2021b", - "organization": "MathWorks", - "rules": [ - { - "id": "FLOAT_ZERO_DIV", - "name": "Float division by zero" - }, - { - "id": "NON_INIT_VAR", - "name": "Non-initialized variable" - }, - { - "id": "PTR_CAST", - "name": "Unreliable cast of pointer" - }, - { - "id": "DEAD_CODE", - "name": "Dead code" - }, - { - "id": "MISSING_RETURN", - "name": "Missing return statement" - }, - { - "id": "USELESS_WRITE", - "name": "Write without a further read" - }, - { - "id": "MISRA C:2012 D4.1", - "name": "Dir 4.1 Run-time failures shall be minimized." - }, - { - "id": "MISRA C:2012 2.1", - "name": "2.1 A project shall not contain unreachable code." - }, - { - "id": "MISRA C:2012 9.1", - "name": "9.1 The value of an object with automatic storage duration shall not be read before it has been set." - }, - { - "id": "MISRA C:2012 2.2", - "name": "2.2 There shall be no dead code." - }, - { - "id": "MISRA C:2012 5.8", - "name": "5.8 Identifiers that define objects or functions with external linkage shall be unique." - }, - { - "id": "MISRA C:2012 2.5", - "name": "2.5 A project should not contain unused macro declarations." - }, - { - "id": "MISRA C:2012 14.3", - "name": "14.3 Controlling expressions shall not be invariant." - }, - { - "id": "MISRA C:2012 8.13", - "name": "8.13 A pointer should point to a const-qualified type whenever possible." - }, - { - "id": "MISRA C:2012 2.7", - "name": "2.7 There should be no unused parameters in functions." - }, - { - "id": "MISRA C:2012 D1.1", - "name": "Dir 1.1 Any implementation-defined behaviour on which the output of the program depends shall be documented and understood." - }, - { - "id": "MISRA C:2012 8.7", - "name": "8.7 Functions and objects should not be defined with external linkage if they are referenced in only one translation unit." - }, - { - "id": "MISRA C:2012 12.1", - "name": "12.1 The precedence of operators within expressions should be made explicit." - }, - { - "id": "MISRA C:2012 8.6", - "name": "8.6 An identifier with external linkage shall have exactly one external definition." - }, - { - "id": "MISRA C:2012 11.3", - "name": "11.3 A cast shall not be performed between a pointer to object type and a pointer to a different object type." - }, - { - "id": "MISRA C:2012 15.7", - "name": "15.7 All if ... else if constructs shall be terminated with an else statement." - }, - { - "id": "MISRA C:2012 17.4", - "name": "17.4 All exit paths from a function with non-void return type shall have an explicit return statement with an expression." - }, - { - "id": "MISRA C:2012 21.10", - "name": "21.10 The Standard Library time and date functions shall not be used." - }, - { - "id": "MISRA C:2012 21.6", - "name": "21.6 The Standard Library input/output functions shall not be used." - }, - { - "id": "MISRA C:2012 D4.4", - "name": "Dir 4.4 Sections of code should not be \"commented out\"." - }, - { - "id": "MISRA C:2012 10.3", - "name": "10.3 The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category." - }, - { - "id": "MISRA C:2012 D4.6", - "name": "Dir 4.6 typedefs that indicate size and signedness should be used in place of the basic numerical types.", - "help": { - "text": "https://www.mathworks.com/matlabcentral/answers/479913-how-to-resolve-polyspace-misra-c-2012-d4-14-rule-when-am-passing-pointer-as-parameter-to-function", - "markdown": "[How to resolve polyspace misra-c-2812](https://www.mathworks.com/matlabcentral/answers/479913-how-to-resolve-polyspace-misra-c-2012-d4-14-rule-when-am-passing-pointer-as-parameter-to-function)" - } - }, - { - "id": "MISRA C:2012 8.4", - "name": "8.4 A compatible declaration shall be visible when an object or function with external linkage is defined." - }, - { - "id": "MISRA C:2012 8.3", - "name": "8.3 All declarations of an object or function shall use the same names and type qualifiers." - }, - { - "id": "LOCAL_VARS_MAX", - "name": "Higher Estimate of Size of Local Variables" - }, - { - "id": "CALLING", - "name": "Number of Calling Functions" - }, - { - "id": "PARAM", - "name": "Number of Function Parameters" - }, - { - "id": "AP_CG_CYCLE", - "name": "Number of Recursions" - }, - { - "id": "NCALLS", - "name": "Number of Call Occurrences" - }, - { - "id": "CALLS", - "name": "Number of Called Functions" - }, - { - "id": "FILES", - "name": "Number of Files" - }, - { - "id": "LEVEL", - "name": "Number of Call Levels" - }, - { - "id": "AP_CG_DIRECT_CYCLE", - "name": "Number of Direct Recursions" - }, - { - "id": "TOTAL_LINES", - "name": "Number of Lines" - }, - { - "id": "VG", - "name": "Cyclomatic Complexity" - }, - { - "id": "LOCAL_VARS", - "name": "Number of Local Non-Static Variables" - }, - { - "id": "GOTO", - "name": "Number of Goto Statements" - }, - { - "id": "LINES_WITHOUT_CMT", - "name": "Number of Lines Without Comment" - }, - { - "id": "INCLUDES", - "name": "Number of Headers" - }, - { - "id": "STMT", - "name": "Number of Instructions" - }, - { - "id": "LOCAL_STATIC_VARS", - "name": "Number of Local Static Variables" - }, - { - "id": "FLIN", - "name": "Number of Lines Within Body" - }, - { - "id": "COMF", - "name": "Comment Density" - }, - { - "id": "LOCAL_VARS_MIN", - "name": "Lower Estimate of Size of Local Variables" - }, - { - "id": "PATH", - "name": "Number of Paths" - }, - { - "id": "RETURN", - "name": "Number of Return Statements" - }, - { - "id": "FXLN", - "name": "Number of Executable Lines" - }, - { - "id": "VOCF", - "name": "Language Scope" - }, - { - "id": "FCO", - "name": "Estimated Function Coupling" - } - ] - } - }, - "artifacts": [ - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_utils.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_alg/pi_alg.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_task.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_app/pi_main.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_reset/pi_reset.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_log/pi_log.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_app/pi_globals.c" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_log/pi_log.h" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_task.h" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_alg/pi_alg.h" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_utils.h" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - }, - { - "location": { - "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_reset/pi_reset.h" - }, - "mimeType": "text/x-c", - "sourceLanguage": "c" - } - ], - "results": [ - { - "ruleId": "FLOAT_ZERO_DIV", - "ruleIndex": 0, - "message": { - "text": "Divisor is 0.0." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527522, - "metaFamily": "Defect", - "family": "Defect", - "group": "Numerical", - "information": "Impact: High", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 27, - "startColumn": 41 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NON_INIT_VAR", - "ruleIndex": 1, - "message": { - "text": "Local variable \u0027abs_control_output\u0027 may be read before being initialized." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527515, - "metaFamily": "Defect", - "family": "Defect", - "group": "Data flow", - "information": "Impact: High", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "assignedTo": "cguss", - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 102, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PTR_CAST", - "ruleIndex": 2, - "message": { - "text": "Invalid cast from:\n pointer to \u0027const uint8\u0027\nto\n pointer to \u0027const uint16\u0027.\nA pointer to an object type cannot reliably be cast to a pointer to a different object type." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527086, - "metaFamily": "Defect", - "family": "Defect", - "group": "Static memory", - "information": "Impact: Medium", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 30, - "startColumn": 36 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "DEAD_CODE", - "ruleIndex": 3, - "message": { - "text": "If-condition always evaluates to false.\nDead branch from line 102 to line 104." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527516, - "metaFamily": "Defect", - "family": "Defect", - "group": "Data flow", - "information": "Impact: Low", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 102, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISSING_RETURN", - "ruleIndex": 4, - "message": { - "text": "Missing return statement in non-void function \u0027pi_alg\u0027." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527094, - "metaFamily": "Defect", - "family": "Defect", - "group": "Data flow", - "information": "Impact: Low", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "assignedTo": "admin", - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 112, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "USELESS_WRITE", - "ruleIndex": 5, - "message": { - "text": "Variable \u0027k\u0027 is never read after this point." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527517, - "metaFamily": "Defect", - "family": "Defect", - "group": "Data flow", - "information": "Impact: Low", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "RED" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 40, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D4.1", - "ruleIndex": 6, - "message": { - "text": "Divisor is 0.0." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527523, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 4 Code design", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 27, - "startColumn": 41 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.1", - "ruleIndex": 7, - "message": { - "text": "If-condition always evaluates to false.\nDead branch from line 102 to line 104." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527520, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 102, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 9.1", - "ruleIndex": 8, - "message": { - "text": "Local variable \u0027abs_control_output\u0027 may be read before being initialized." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527521, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "9 Initialization", - "information": "Category: Mandatory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 102, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527506, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 65, - "startColumn": 70 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527507, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 34, - "startColumn": 21 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527504, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 90, - "startColumn": 93, - "snippet": { - "text": " if(pthread_create(\u0026ph[2],((void *)0),intp_task,((void *)0))!=0) { pi_reset_app(); }" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027read_input_reg\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527505, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 23, - "startColumn": 19 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027set_output_reg\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527510, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 54, - "startColumn": 19 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527511, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 88, - "startColumn": 93, - "snippet": { - "text": " if(pthread_create(\u0026ph[0],((void *)0),cyc_task1,((void *)0))!=0) { pi_reset_app(); }" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527508, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 12, - "startColumn": 66 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 5.8", - "ruleIndex": 10, - "message": { - "text": "variable \u0027direction\u0027 conflicts with the variable name \u0027direction\u0027 (pi_alg.c line 12)." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527509, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "5 Identifiers", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 37 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.5", - "ruleIndex": 11, - "message": { - "text": "Macro \u0027VER__\u0027 is not used." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527514, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 9, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527512, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 89, - "startColumn": 93, - "snippet": { - "text": " if(pthread_create(\u0026ph[1],((void *)0),cyc_task2,((void *)0))!=0) { pi_reset_app(); }" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527513, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 66, - "startColumn": 95 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "Variable \u0027k\u0027 is never read after this point." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527518, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 40, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 14.3", - "ruleIndex": 12, - "message": { - "text": "If condition is always false." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527519, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "14 Control statement expressions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 102, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 8.13", - "ruleIndex": 13, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527106, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 30 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 2.7", - "ruleIndex": 14, - "message": { - "text": "Function cyc_task2 has unused parameters." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527107, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.7", - "ruleIndex": 14, - "message": { - "text": "Function cyc_task1 has unused parameters." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527104, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 8.13", - "ruleIndex": 13, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527105, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 30 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 D1.1", - "ruleIndex": 15, - "message": { - "text": "Conversion of integer to floating-point number uses an implementation-defined direction of rounding in some cases." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527110, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 1 The implementation", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 42, - "startColumn": 54 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 8.13", - "ruleIndex": 13, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527111, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 56 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 D1.1", - "ruleIndex": 15, - "message": { - "text": "The main function should have the form \"int main (void)\" or \"int main(int argc, char* argv[])\"." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527108, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 1 The implementation", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.7", - "ruleIndex": 14, - "message": { - "text": "Function intp_task has unused parameters." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527109, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 8.7", - "ruleIndex": 16, - "message": { - "text": "Variable \u0027duty_cycle\u0027 should have internal linkage" - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527498, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 11, - "startColumn": 10, - "snippet": { - "text": " float32 duty_cycle;" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 12.1", - "ruleIndex": 17, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527114, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "12 Expressions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 117, - "startColumn": 20 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527499, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 42, - "startColumn": 68 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 12.1", - "ruleIndex": 17, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527112, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "12 Expressions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 117, - "startColumn": 15 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 8.6", - "ruleIndex": 18, - "message": { - "text": "The global variable \u0027log_buffer\u0027 has multiple tentative definitions\nThis defect occurs when linking the 2 translation units: pi_main.c and pi_log.c" - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527497, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 26, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 12.1", - "ruleIndex": 17, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527113, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "12 Expressions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 117, - "startColumn": 27 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527502, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 127, - "startColumn": 63 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527503, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 35, - "startColumn": 83 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527500, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 132, - "startColumn": 71 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 2.2", - "ruleIndex": 9, - "message": { - "text": "The call to function \u0027pi_reset_app\u0027 has no effect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527501, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 123, - "startColumn": 71 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D1.1", - "ruleIndex": 15, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527090, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 1 The implementation", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 54, - "startColumn": 32 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 D1.1", - "ruleIndex": 15, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527091, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 1 The implementation", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 59, - "startColumn": 30 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 11.3", - "ruleIndex": 19, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527088, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "11 Pointer type conversions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 30, - "startColumn": 36 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 14.3", - "ruleIndex": 12, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527089, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "14 Control statement expressions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 42, - "startColumn": 8, - "snippet": { - "text": " if(8 \u003c 4)" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 2.7", - "ruleIndex": 14, - "message": { - "text": "Function pi_alg has unused parameters." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527095, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "2 Unused code", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 15.7", - "ruleIndex": 20, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527092, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "15 Control flow", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 98, - "startColumn": 12 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 17.4", - "ruleIndex": 21, - "message": { - "text": "Missing return statement in non-void function \u0027pi_alg\u0027." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527093, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "17 Functions", - "information": "Category: Mandatory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 112, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 21.10", - "ruleIndex": 22, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527098, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 49, - "startColumn": 35 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.10", - "ruleIndex": 22, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527099, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 52, - "startColumn": 36, - "snippet": { - "text": " if(strftime(time_str, 80, \"%x - %I:%M%p\", tm_info) != 0U)" - } - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.6", - "ruleIndex": 23, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527096, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 44, - "startColumn": 22 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.6", - "ruleIndex": 23, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527097, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 55, - "startColumn": 57 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.6", - "ruleIndex": 23, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527102, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 75, - "startColumn": 31 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 8.13", - "ruleIndex": 13, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527103, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 30 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.10", - "ruleIndex": 22, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527100, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 48, - "startColumn": 31 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 21.6", - "ruleIndex": 23, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527101, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "21 Standard libraries", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 64, - "startColumn": 65 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 D4.4", - "ruleIndex": 24, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527079, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 4 Code design", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 37, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 10.3", - "ruleIndex": 25, - "message": { - "text": "The expression (of essential type category signed) is assigned to an object with a different essential type category (floating)" - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527082, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "10 The essential type model", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 51, - "startColumn": 37 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D4.6", - "ruleIndex": 26, - "message": { - "text": "\u0027int\u0027 doesn\u0027t provide information about its size. Define and use typedefs clarifying type and size for numerical types or use one of the exact-width numerical types defined in \u003cstdint.h\u003e." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527083, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 4 Code design", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 36, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D4.4", - "ruleIndex": 24, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527080, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 4 Code design", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 86, - "startColumn": 56 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ], - "message": { - "text": "undefined" - } - }, - { - "ruleId": "MISRA C:2012 8.4", - "ruleIndex": 27, - "message": { - "text": "Global definition of \u0027norm_factor\u0027 variable has no previous declaration." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527081, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 6 - }, - "region": { - "startLine": 2, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D1.1", - "ruleIndex": 15, - "message": { - "text": "Conversion of floating-point number to a narrower floating-point number uses an implementation-defined direction of rounding." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527087, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 1 The implementation", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 77, - "startColumn": 24 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 8.3", - "ruleIndex": 28, - "message": { - "text": "Parameter number 3 has different names." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527084, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "8 Declarations and definitions", - "information": "Category: Required", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "MISRA C:2012 D4.6", - "ruleIndex": 26, - "message": { - "text": "\u0027unsigned char\u0027 doesn\u0027t provide information about its size. Define and use typedefs clarifying type and size for numerical types or use one of the exact-width numerical types defined in \u003cstdint.h\u003e." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527085, - "metaFamily": "Coding Rule", - "family": "MISRA C:2012", - "group": "Dir 4 Code design", - "information": "Category: Advisory", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "VIOLET" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 144, - "startColumn": 5 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527490, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 68", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527491, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527488, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "AP_CG_CYCLE", - "ruleIndex": 32, - "message": { - "text": "This metric shows the number of recursions, both direct and indirect." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527489, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Project Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - } - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527494, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527495, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 18", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527492, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527493, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FILES", - "ruleIndex": 35, - "message": { - "text": "This metric shows the number of source files considered for analysis." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527496, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Project Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - } - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527474, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "AP_CG_DIRECT_CYCLE", - "ruleIndex": 37, - "message": { - "text": "This metric shows the number of instances of a function calling itself directly." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527475, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Project Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - } - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527472, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 150", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527473, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527478, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527479, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 11", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527476, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527477, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527482, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 121", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "INCLUDES", - "ruleIndex": 43, - "message": { - "text": "This metric shows the number of header files considered for analysis." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527483, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Project Metrics", - "information": "Value: 61", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - } - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527480, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527481, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527486, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 27", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527487, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527484, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527485, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527458, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527459, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527456, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527457, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527462, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527463, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527460, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 23", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527461, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527466, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 144", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527467, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527464, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527465, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527470, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527471, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527468, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527469, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527442, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527443, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527440, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527441, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527446, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527447, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527444, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527445, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527450, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 144", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527451, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527448, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1.6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527449, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 11", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527454, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527455, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527452, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527453, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527426, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527427, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527424, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527425, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527430, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 7 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527431, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 42", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527428, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527429, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527434, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527435, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527432, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527433, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527438, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 11", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527439, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 41", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527436, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527437, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527154, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 154", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527155, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 6 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527152, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527153, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527158, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 6 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527159, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 8 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527156, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 6 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527157, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 6 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527162, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4.3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527163, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527160, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527161, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 18", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527166, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 50", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527167, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527164, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527165, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527138, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527139, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527136, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527137, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3.3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527142, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527143, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527140, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527141, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527146, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527147, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527144, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527145, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527150, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527151, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527148, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527149, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527122, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 47", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527123, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527120, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527121, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527126, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3.6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527127, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527124, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527125, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 32", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527130, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527131, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527128, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 32", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527129, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527134, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527135, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527132, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527133, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527115, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 17", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 9 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527118, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 36", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527119, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3.3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527116, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527117, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527282, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527283, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527280, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527281, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527286, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527287, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527284, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527285, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527290, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527291, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527288, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527289, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527294, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 17", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527295, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527292, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527293, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527266, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527267, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527264, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527265, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527270, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527271, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527268, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527269, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527274, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527275, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527272, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527273, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527278, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527279, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527276, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527277, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527250, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527251, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527248, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527249, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 13", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527254, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527255, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527252, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527253, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527258, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 14", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527259, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527256, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527257, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527262, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527263, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527260, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527261, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527234, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527235, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527232, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527233, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527238, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527239, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527236, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527237, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527242, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527243, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 68", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527240, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527241, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 19", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527246, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527247, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 14", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 10 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527244, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527245, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527218, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527219, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527216, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527217, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527222, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527223, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527220, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1.6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527221, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527226, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527227, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527224, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527225, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527230, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527231, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 24", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527228, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527229, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527202, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527203, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527200, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527201, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527206, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527207, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527204, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527205, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527210, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527211, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527208, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527209, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527214, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1.2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527215, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527212, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527213, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527186, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 13", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527187, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 15", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527184, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527185, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 50", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527190, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527191, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 17", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527188, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527189, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527194, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527195, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527192, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527193, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527198, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527199, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 10 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527196, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527197, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527170, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 66", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527171, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 11 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527168, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527169, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 42", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527174, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527175, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527172, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 11 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527173, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527178, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527179, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527176, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527177, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 96", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527182, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527183, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527180, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527181, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527410, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527411, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 7", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527408, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527409, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527414, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527415, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527412, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527413, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 18", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527418, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527419, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527416, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 59", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527417, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527422, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 129", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527423, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527420, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4.0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527421, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527394, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527395, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527392, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527393, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527398, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527399, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527396, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527397, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 19", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527402, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527403, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527400, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527401, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 18", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527406, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 6", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527407, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527404, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527405, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527378, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527379, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527376, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527377, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 74", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527382, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527383, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 137, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "log_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527380, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527381, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527386, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4.9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527387, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527384, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 24", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527385, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527390, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527391, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527388, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527389, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527362, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2.2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527363, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527360, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527361, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 91", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527366, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527367, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "TOTAL_LINES", - "ruleIndex": 38, - "message": { - "text": "This metric shows the total number of lines in a file." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527364, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 7 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527365, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1.2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527370, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527371, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527368, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 11", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 9 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527369, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527374, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527375, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527372, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 121, - "startColumn": 13 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "clear_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527373, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527346, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527347, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 20", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527344, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527345, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 52, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task2()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527350, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 17", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527351, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527348, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 16", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527349, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 55", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527354, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527355, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 31", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527352, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527353, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527358, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 36", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 24, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "process_inputs()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527359, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527356, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527357, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527330, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527331, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 26", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527328, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 17", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527329, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 68, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_control_gains()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527334, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527335, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 82, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "main()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527332, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527333, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 109", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FCO", - "ruleIndex": 53, - "message": { - "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527338, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: -2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527339, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 40", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527336, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527337, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527342, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527343, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527340, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4.0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 5 - }, - "region": { - "startLine": 22, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_file()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527341, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527314, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 84, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_alg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527315, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 5", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 8 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527312, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527313, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VG", - "ruleIndex": 39, - "message": { - "text": "This metric shows the number of linearly independent paths through a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527318, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527319, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 74, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "pi_reset_app()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLING", - "ruleIndex": 30, - "message": { - "text": "This metric shows the number of distinct callers of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527316, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527317, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 33, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "cyc_task1()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527322, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "STMT", - "ruleIndex": 44, - "message": { - "text": "This metric shows the number of instructions in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527323, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 10", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527320, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 8", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527321, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527326, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 3", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FXLN", - "ruleIndex": 51, - "message": { - "text": "This metric shows the number of executable lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527327, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PARAM", - "ruleIndex": 31, - "message": { - "text": "This metric shows the number of arguments of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527324, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 110, - "startColumn": 7 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "write_log_buffer()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "FLIN", - "ruleIndex": 46, - "message": { - "text": "This metric shows the number of lines in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527325, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 13", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 120, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "initialize_io()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_STATIC_VARS", - "ruleIndex": 45, - "message": { - "text": "This metric shows the total number of local static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527298, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 142, - "startColumn": 16 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "get_direction()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "GOTO", - "ruleIndex": 41, - "message": { - "text": "This metric shows the number of goto statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527299, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 87, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "saturate()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527296, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 3 - }, - "region": { - "startLine": 66, - "startColumn": 14 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "intp_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS", - "ruleIndex": 40, - "message": { - "text": "This metric shows the number of local non-static variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527297, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "VOCF", - "ruleIndex": 52, - "message": { - "text": "This metric estimates the cost of maintaining or changing a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527302, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1.1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "PATH", - "ruleIndex": 49, - "message": { - "text": "This metric shows the number of paths through a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527303, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 4", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 6, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "state_reset_ir()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MIN", - "ruleIndex": 48, - "message": { - "text": "This metric shows the total size of local variables in a function taking nested scopes into account." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527300, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LOCAL_VARS_MAX", - "ruleIndex": 29, - "message": { - "text": "This metric shows the total size of all local variables in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527301, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 2", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527306, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 2 - }, - "region": { - "startLine": 14, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "control_task()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "NCALLS", - "ruleIndex": 33, - "message": { - "text": "This metric shows the number of calls in a function body." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527307, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527304, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "RETURN", - "ruleIndex": 50, - "message": { - "text": "This metric measures the number of return statements in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527305, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 15, - "startColumn": 9 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "look_up_even()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "COMF", - "ruleIndex": 47, - "message": { - "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527310, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 30", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 1 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LEVEL", - "ruleIndex": 36, - "message": { - "text": "This metric shows the maximum depth of nesting of control flow structures in a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527311, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 1", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 99, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "read_input_reg()", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "LINES_WITHOUT_CMT", - "ruleIndex": 42, - "message": { - "text": "This metric shows the total number of lines in a file, excluding code comments." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527308, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "File Metrics", - "information": "Value: 9", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 4 - }, - "region": { - "startLine": 1, - "startColumn": 1 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "File Scope", - "kind": "function" - } - ] - } - ] - }, - { - "ruleId": "CALLS", - "ruleIndex": 34, - "message": { - "text": "This metric shows the number of callees of a function." - }, - "level": "error", - "baselineState": "unchanged", - "rank": 100, - "kind": "fail", - "properties": { - "tags": [ - "databaseId", - "metaFamily", - "family", - "group", - "information", - "severity", - "status", - "comment", - "justified", - "assignedTo", - "ticketKey", - "color" - ], - "databaseId": 7527309, - "metaFamily": "Code Metric", - "family": "Code Metric", - "group": "Function Metrics", - "information": "Value: 0", - "severity": "Unset", - "status": "Unreviewed", - "comment": "", - "justified": false, - "color": "BLACK" - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0 - }, - "region": { - "startLine": 101, - "startColumn": 6 - } - }, - "logicalLocations": [ - { - "fullyQualifiedName": "set_output_reg()", - "kind": "function" - } - ] - } - ] - } - ] - } - ] -} +{ + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0.json", + "version": "2.1.0", + "runs": [ + { + "tool": { + "driver": { + "name": "Polyspace", + "semanticVersion": "R2021b", + "organization": "MathWorks", + "rules": [ + { + "id": "FLOAT_ZERO_DIV", + "name": "Float division by zero" + }, + { + "id": "NON_INIT_VAR", + "name": "Non-initialized variable" + }, + { + "id": "PTR_CAST", + "name": "Unreliable cast of pointer" + }, + { + "id": "DEAD_CODE", + "name": "Dead code" + }, + { + "id": "MISSING_RETURN", + "name": "Missing return statement" + }, + { + "id": "USELESS_WRITE", + "name": "Write without a further read" + }, + { + "id": "MISRA C:2012 D4.1", + "name": "Dir 4.1 Run-time failures shall be minimized." + }, + { + "id": "MISRA C:2012 2.1", + "name": "2.1 A project shall not contain unreachable code." + }, + { + "id": "MISRA C:2012 9.1", + "name": "9.1 The value of an object with automatic storage duration shall not be read before it has been set." + }, + { + "id": "MISRA C:2012 2.2", + "name": "2.2 There shall be no dead code." + }, + { + "id": "MISRA C:2012 5.8", + "name": "5.8 Identifiers that define objects or functions with external linkage shall be unique." + }, + { + "id": "MISRA C:2012 2.5", + "name": "2.5 A project should not contain unused macro declarations." + }, + { + "id": "MISRA C:2012 14.3", + "name": "14.3 Controlling expressions shall not be invariant." + }, + { + "id": "MISRA C:2012 8.13", + "name": "8.13 A pointer should point to a const-qualified type whenever possible." + }, + { + "id": "MISRA C:2012 2.7", + "name": "2.7 There should be no unused parameters in functions." + }, + { + "id": "MISRA C:2012 D1.1", + "name": "Dir 1.1 Any implementation-defined behaviour on which the output of the program depends shall be documented and understood." + }, + { + "id": "MISRA C:2012 8.7", + "name": "8.7 Functions and objects should not be defined with external linkage if they are referenced in only one translation unit." + }, + { + "id": "MISRA C:2012 12.1", + "name": "12.1 The precedence of operators within expressions should be made explicit." + }, + { + "id": "MISRA C:2012 8.6", + "name": "8.6 An identifier with external linkage shall have exactly one external definition." + }, + { + "id": "MISRA C:2012 11.3", + "name": "11.3 A cast shall not be performed between a pointer to object type and a pointer to a different object type." + }, + { + "id": "MISRA C:2012 15.7", + "name": "15.7 All if ... else if constructs shall be terminated with an else statement." + }, + { + "id": "MISRA C:2012 17.4", + "name": "17.4 All exit paths from a function with non-void return type shall have an explicit return statement with an expression." + }, + { + "id": "MISRA C:2012 21.10", + "name": "21.10 The Standard Library time and date functions shall not be used." + }, + { + "id": "MISRA C:2012 21.6", + "name": "21.6 The Standard Library input/output functions shall not be used." + }, + { + "id": "MISRA C:2012 D4.4", + "name": "Dir 4.4 Sections of code should not be \"commented out\"." + }, + { + "id": "MISRA C:2012 10.3", + "name": "10.3 The value of an expression shall not be assigned to an object with a narrower essential type or of a different essential type category." + }, + { + "id": "MISRA C:2012 D4.6", + "name": "Dir 4.6 typedefs that indicate size and signedness should be used in place of the basic numerical types.", + "help": { + "text": "https://www.mathworks.com/matlabcentral/answers/479913-how-to-resolve-polyspace-misra-c-2012-d4-14-rule-when-am-passing-pointer-as-parameter-to-function", + "markdown": "[How to resolve polyspace misra-c-2812](https://www.mathworks.com/matlabcentral/answers/479913-how-to-resolve-polyspace-misra-c-2012-d4-14-rule-when-am-passing-pointer-as-parameter-to-function)" + } + }, + { + "id": "MISRA C:2012 8.4", + "name": "8.4 A compatible declaration shall be visible when an object or function with external linkage is defined." + }, + { + "id": "MISRA C:2012 8.3", + "name": "8.3 All declarations of an object or function shall use the same names and type qualifiers." + }, + { + "id": "LOCAL_VARS_MAX", + "name": "Higher Estimate of Size of Local Variables" + }, + { + "id": "CALLING", + "name": "Number of Calling Functions" + }, + { + "id": "PARAM", + "name": "Number of Function Parameters" + }, + { + "id": "AP_CG_CYCLE", + "name": "Number of Recursions" + }, + { + "id": "NCALLS", + "name": "Number of Call Occurrences" + }, + { + "id": "CALLS", + "name": "Number of Called Functions" + }, + { + "id": "FILES", + "name": "Number of Files" + }, + { + "id": "LEVEL", + "name": "Number of Call Levels" + }, + { + "id": "AP_CG_DIRECT_CYCLE", + "name": "Number of Direct Recursions" + }, + { + "id": "TOTAL_LINES", + "name": "Number of Lines" + }, + { + "id": "VG", + "name": "Cyclomatic Complexity" + }, + { + "id": "LOCAL_VARS", + "name": "Number of Local Non-Static Variables" + }, + { + "id": "GOTO", + "name": "Number of Goto Statements" + }, + { + "id": "LINES_WITHOUT_CMT", + "name": "Number of Lines Without Comment" + }, + { + "id": "INCLUDES", + "name": "Number of Headers" + }, + { + "id": "STMT", + "name": "Number of Instructions" + }, + { + "id": "LOCAL_STATIC_VARS", + "name": "Number of Local Static Variables" + }, + { + "id": "FLIN", + "name": "Number of Lines Within Body" + }, + { + "id": "COMF", + "name": "Comment Density" + }, + { + "id": "LOCAL_VARS_MIN", + "name": "Lower Estimate of Size of Local Variables" + }, + { + "id": "PATH", + "name": "Number of Paths" + }, + { + "id": "RETURN", + "name": "Number of Return Statements" + }, + { + "id": "FXLN", + "name": "Number of Executable Lines" + }, + { + "id": "VOCF", + "name": "Language Scope" + }, + { + "id": "FCO", + "name": "Estimated Function Coupling" + } + ] + } + }, + "artifacts": [ + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_utils.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_alg/pi_alg.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_task.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_app/pi_main.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_reset/pi_reset.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_log/pi_log.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_app/pi_globals.c" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_log/pi_log.h" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_task.h" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_alg/pi_alg.h" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_task/pi_utils.h" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + }, + { + "location": { + "uri": "file:/c:/var/lib/jenkins/workspace/PSBF_PIControl_DeclPipeline_Access/pi_reset/pi_reset.h" + }, + "mimeType": "text/x-c", + "sourceLanguage": "c" + } + ], + "results": [ + { + "ruleId": "FLOAT_ZERO_DIV", + "ruleIndex": 0, + "message": { + "text": "Divisor is 0.0." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527522, + "metaFamily": "Defect", + "family": "Defect", + "group": "Numerical", + "information": "Impact: High", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 27, + "startColumn": 41 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NON_INIT_VAR", + "ruleIndex": 1, + "message": { + "text": "Local variable 'abs_control_output' may be read before being initialized." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527515, + "metaFamily": "Defect", + "family": "Defect", + "group": "Data flow", + "information": "Impact: High", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "assignedTo": "cguss", + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 102, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PTR_CAST", + "ruleIndex": 2, + "message": { + "text": "Invalid cast from:\n pointer to 'const uint8'\nto\n pointer to 'const uint16'.\nA pointer to an object type cannot reliably be cast to a pointer to a different object type." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527086, + "metaFamily": "Defect", + "family": "Defect", + "group": "Static memory", + "information": "Impact: Medium", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 30, + "startColumn": 36 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "DEAD_CODE", + "ruleIndex": 3, + "message": { + "text": "If-condition always evaluates to false.\nDead branch from line 102 to line 104." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527516, + "metaFamily": "Defect", + "family": "Defect", + "group": "Data flow", + "information": "Impact: Low", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 102, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISSING_RETURN", + "ruleIndex": 4, + "message": { + "text": "Missing return statement in non-void function 'pi_alg'." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527094, + "metaFamily": "Defect", + "family": "Defect", + "group": "Data flow", + "information": "Impact: Low", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "assignedTo": "admin", + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 112, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "USELESS_WRITE", + "ruleIndex": 5, + "message": { + "text": "Variable 'k' is never read after this point." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527517, + "metaFamily": "Defect", + "family": "Defect", + "group": "Data flow", + "information": "Impact: Low", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "RED" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 40, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D4.1", + "ruleIndex": 6, + "message": { + "text": "Divisor is 0.0." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527523, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 4 Code design", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 27, + "startColumn": 41 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.1", + "ruleIndex": 7, + "message": { + "text": "If-condition always evaluates to false.\nDead branch from line 102 to line 104." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527520, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 102, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 9.1", + "ruleIndex": 8, + "message": { + "text": "Local variable 'abs_control_output' may be read before being initialized." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527521, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "9 Initialization", + "information": "Category: Mandatory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 102, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527506, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 65, + "startColumn": 70 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527507, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 34, + "startColumn": 21 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527504, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 90, + "startColumn": 93, + "snippet": { + "text": " if(pthread_create(&ph[2],((void *)0),intp_task,((void *)0))!=0) { pi_reset_app(); }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'read_input_reg' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527505, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 23, + "startColumn": 19 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'set_output_reg' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527510, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 54, + "startColumn": 19 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527511, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 88, + "startColumn": 93, + "snippet": { + "text": " if(pthread_create(&ph[0],((void *)0),cyc_task1,((void *)0))!=0) { pi_reset_app(); }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527508, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 12, + "startColumn": 66 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 5.8", + "ruleIndex": 10, + "message": { + "text": "variable 'direction' conflicts with the variable name 'direction' (pi_alg.c line 12)." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527509, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "5 Identifiers", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 37 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.5", + "ruleIndex": 11, + "message": { + "text": "Macro 'VER__' is not used." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527514, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 9, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527512, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 89, + "startColumn": 93, + "snippet": { + "text": " if(pthread_create(&ph[1],((void *)0),cyc_task2,((void *)0))!=0) { pi_reset_app(); }" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527513, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 66, + "startColumn": 95 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "Variable 'k' is never read after this point." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527518, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 40, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 14.3", + "ruleIndex": 12, + "message": { + "text": "If condition is always false." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527519, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "14 Control statement expressions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 102, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 8.13", + "ruleIndex": 13, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527106, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 30 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 2.7", + "ruleIndex": 14, + "message": { + "text": "Function cyc_task2 has unused parameters." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527107, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.7", + "ruleIndex": 14, + "message": { + "text": "Function cyc_task1 has unused parameters." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527104, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 8.13", + "ruleIndex": 13, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527105, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 30 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 D1.1", + "ruleIndex": 15, + "message": { + "text": "Conversion of integer to floating-point number uses an implementation-defined direction of rounding in some cases." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527110, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 1 The implementation", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 42, + "startColumn": 54 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 8.13", + "ruleIndex": 13, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527111, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 56 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 D1.1", + "ruleIndex": 15, + "message": { + "text": "The main function should have the form \"int main (void)\" or \"int main(int argc, char* argv[])\"." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527108, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 1 The implementation", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.7", + "ruleIndex": 14, + "message": { + "text": "Function intp_task has unused parameters." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527109, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 8.7", + "ruleIndex": 16, + "message": { + "text": "Variable 'duty_cycle' should have internal linkage" + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527498, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 11, + "startColumn": 10, + "snippet": { + "text": " float32 duty_cycle;" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 12.1", + "ruleIndex": 17, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527114, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "12 Expressions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 117, + "startColumn": 20 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527499, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 42, + "startColumn": 68 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 12.1", + "ruleIndex": 17, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527112, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "12 Expressions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 117, + "startColumn": 15 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 8.6", + "ruleIndex": 18, + "message": { + "text": "The global variable 'log_buffer' has multiple tentative definitions\nThis defect occurs when linking the 2 translation units: pi_main.c and pi_log.c" + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527497, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 26, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 12.1", + "ruleIndex": 17, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527113, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "12 Expressions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 117, + "startColumn": 27 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527502, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 127, + "startColumn": 63 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527503, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 35, + "startColumn": 83 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527500, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 132, + "startColumn": 71 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 2.2", + "ruleIndex": 9, + "message": { + "text": "The call to function 'pi_reset_app' has no effect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527501, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 123, + "startColumn": 71 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D1.1", + "ruleIndex": 15, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527090, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 1 The implementation", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 54, + "startColumn": 32 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 D1.1", + "ruleIndex": 15, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527091, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 1 The implementation", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 59, + "startColumn": 30 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 11.3", + "ruleIndex": 19, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527088, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "11 Pointer type conversions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 30, + "startColumn": 36 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 14.3", + "ruleIndex": 12, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527089, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "14 Control statement expressions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 42, + "startColumn": 8, + "snippet": { + "text": " if(8 < 4)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 2.7", + "ruleIndex": 14, + "message": { + "text": "Function pi_alg has unused parameters." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527095, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "2 Unused code", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 15.7", + "ruleIndex": 20, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527092, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "15 Control flow", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 98, + "startColumn": 12 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 17.4", + "ruleIndex": 21, + "message": { + "text": "Missing return statement in non-void function 'pi_alg'." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527093, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "17 Functions", + "information": "Category: Mandatory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 112, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 21.10", + "ruleIndex": 22, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527098, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 49, + "startColumn": 35 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.10", + "ruleIndex": 22, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527099, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 52, + "startColumn": 36, + "snippet": { + "text": " if(strftime(time_str, 80, \"%x - %I:%M%p\", tm_info) != 0U)" + } + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.6", + "ruleIndex": 23, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527096, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 44, + "startColumn": 22 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.6", + "ruleIndex": 23, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527097, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 55, + "startColumn": 57 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.6", + "ruleIndex": 23, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527102, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 75, + "startColumn": 31 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 8.13", + "ruleIndex": 13, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527103, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 30 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.10", + "ruleIndex": 22, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527100, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 48, + "startColumn": 31 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 21.6", + "ruleIndex": 23, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527101, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "21 Standard libraries", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 64, + "startColumn": 65 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 D4.4", + "ruleIndex": 24, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527079, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 4 Code design", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 37, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 10.3", + "ruleIndex": 25, + "message": { + "text": "The expression (of essential type category signed) is assigned to an object with a different essential type category (floating)" + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527082, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "10 The essential type model", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 51, + "startColumn": 37 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D4.6", + "ruleIndex": 26, + "message": { + "text": "'int' doesn't provide information about its size. Define and use typedefs clarifying type and size for numerical types or use one of the exact-width numerical types defined in ." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527083, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 4 Code design", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 36, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D4.4", + "ruleIndex": 24, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527080, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 4 Code design", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 86, + "startColumn": 56 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ], + "message": { + "text": "undefined" + } + }, + { + "ruleId": "MISRA C:2012 8.4", + "ruleIndex": 27, + "message": { + "text": "Global definition of 'norm_factor' variable has no previous declaration." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527081, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 6 + }, + "region": { + "startLine": 2, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D1.1", + "ruleIndex": 15, + "message": { + "text": "Conversion of floating-point number to a narrower floating-point number uses an implementation-defined direction of rounding." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527087, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 1 The implementation", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 77, + "startColumn": 24 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 8.3", + "ruleIndex": 28, + "message": { + "text": "Parameter number 3 has different names." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527084, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "8 Declarations and definitions", + "information": "Category: Required", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "MISRA C:2012 D4.6", + "ruleIndex": 26, + "message": { + "text": "'unsigned char' doesn't provide information about its size. Define and use typedefs clarifying type and size for numerical types or use one of the exact-width numerical types defined in ." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527085, + "metaFamily": "Coding Rule", + "family": "MISRA C:2012", + "group": "Dir 4 Code design", + "information": "Category: Advisory", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "VIOLET" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 144, + "startColumn": 5 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527490, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 68", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527491, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527488, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "AP_CG_CYCLE", + "ruleIndex": 32, + "message": { + "text": "This metric shows the number of recursions, both direct and indirect." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527489, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Project Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + } + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527494, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527495, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 18", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527492, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527493, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FILES", + "ruleIndex": 35, + "message": { + "text": "This metric shows the number of source files considered for analysis." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527496, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Project Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + } + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527474, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "AP_CG_DIRECT_CYCLE", + "ruleIndex": 37, + "message": { + "text": "This metric shows the number of instances of a function calling itself directly." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527475, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Project Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + } + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527472, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 150", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527473, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527478, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527479, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 11", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527476, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527477, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527482, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 121", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "INCLUDES", + "ruleIndex": 43, + "message": { + "text": "This metric shows the number of header files considered for analysis." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527483, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Project Metrics", + "information": "Value: 61", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + } + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527480, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527481, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527486, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 27", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527487, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527484, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527485, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527458, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527459, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527456, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527457, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527462, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527463, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527460, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 23", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527461, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527466, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 144", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527467, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527464, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527465, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527470, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527471, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527468, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527469, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527442, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527443, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527440, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527441, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527446, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527447, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527444, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527445, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527450, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 144", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527451, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527448, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1.6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527449, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 11", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527454, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527455, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527452, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527453, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527426, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527427, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527424, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527425, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527430, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 7 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527431, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 42", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527428, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527429, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527434, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527435, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527432, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527433, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527438, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 11", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527439, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 41", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527436, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527437, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527154, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 154", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527155, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 6 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527152, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527153, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527158, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 6 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527159, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 8 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527156, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 6 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527157, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 6 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527162, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4.3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527163, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527160, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527161, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 18", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527166, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 50", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527167, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527164, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527165, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527138, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527139, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527136, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527137, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3.3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527142, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527143, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527140, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527141, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527146, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527147, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527144, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527145, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527150, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527151, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527148, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527149, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527122, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 47", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527123, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527120, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527121, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527126, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3.6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527127, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527124, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527125, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 32", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527130, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527131, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527128, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 32", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527129, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527134, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527135, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527132, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527133, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527115, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 17", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 9 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527118, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 36", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527119, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3.3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527116, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527117, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527282, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527283, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527280, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527281, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527286, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527287, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527284, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527285, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527290, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527291, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527288, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527289, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527294, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 17", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527295, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527292, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527293, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527266, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527267, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527264, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527265, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527270, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527271, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527268, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527269, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527274, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527275, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527272, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527273, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527278, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527279, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527276, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527277, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527250, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527251, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527248, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527249, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 13", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527254, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527255, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527252, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527253, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527258, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 14", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527259, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527256, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527257, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527262, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527263, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527260, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527261, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527234, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527235, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527232, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527233, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527238, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527239, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527236, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527237, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527242, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527243, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 68", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527240, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527241, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 19", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527246, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527247, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 14", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 10 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527244, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527245, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527218, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527219, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527216, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527217, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527222, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527223, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527220, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1.6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527221, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527226, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527227, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527224, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527225, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527230, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527231, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 24", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527228, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527229, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527202, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527203, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527200, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527201, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527206, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527207, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527204, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527205, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527210, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527211, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527208, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527209, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527214, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1.2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527215, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527212, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527213, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527186, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 13", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527187, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 15", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527184, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527185, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 50", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527190, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527191, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 17", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527188, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527189, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527194, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527195, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527192, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527193, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527198, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527199, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 10 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527196, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527197, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527170, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 66", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527171, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 11 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527168, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527169, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 42", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527174, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527175, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527172, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 11 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527173, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527178, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527179, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527176, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527177, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 96", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527182, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527183, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527180, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527181, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527410, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527411, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 7", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527408, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527409, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527414, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527415, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527412, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527413, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 18", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527418, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527419, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527416, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 59", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527417, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527422, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 129", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527423, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527420, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4.0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527421, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527394, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527395, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527392, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527393, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527398, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527399, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527396, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527397, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 19", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527402, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527403, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527400, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527401, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 18", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527406, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 6", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527407, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527404, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527405, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527378, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527379, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527376, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527377, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 74", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527382, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527383, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 137, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "log_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527380, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527381, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527386, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4.9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527387, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527384, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 24", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527385, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527390, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527391, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527388, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527389, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527362, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2.2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527363, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527360, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527361, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 91", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527366, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527367, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "TOTAL_LINES", + "ruleIndex": 38, + "message": { + "text": "This metric shows the total number of lines in a file." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527364, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 7 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527365, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1.2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527370, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527371, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527368, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 11", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 9 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527369, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527374, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527375, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527372, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 121, + "startColumn": 13 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "clear_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527373, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527346, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527347, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 20", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527344, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527345, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 52, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task2()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527350, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 17", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527351, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527348, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 16", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527349, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 55", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527354, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527355, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 31", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527352, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527353, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527358, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 36", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 24, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "process_inputs()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527359, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527356, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527357, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527330, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527331, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 26", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527328, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 17", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527329, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 68, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_control_gains()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527334, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527335, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 82, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "main()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527332, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527333, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 109", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FCO", + "ruleIndex": 53, + "message": { + "text": "This metric is calculated as: Number of call occurrences - Number of function definitions + 1." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527338, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: -2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527339, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 40", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527336, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527337, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527342, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527343, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527340, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4.0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 5 + }, + "region": { + "startLine": 22, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_file()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527341, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527314, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 84, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_alg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527315, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 5", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 8 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527312, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527313, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VG", + "ruleIndex": 39, + "message": { + "text": "This metric shows the number of linearly independent paths through a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527318, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527319, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 74, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "pi_reset_app()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLING", + "ruleIndex": 30, + "message": { + "text": "This metric shows the number of distinct callers of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527316, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527317, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 33, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "cyc_task1()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527322, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "STMT", + "ruleIndex": 44, + "message": { + "text": "This metric shows the number of instructions in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527323, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 10", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527320, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 8", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527321, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527326, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 3", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FXLN", + "ruleIndex": 51, + "message": { + "text": "This metric shows the number of executable lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527327, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PARAM", + "ruleIndex": 31, + "message": { + "text": "This metric shows the number of arguments of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527324, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 110, + "startColumn": 7 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "write_log_buffer()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "FLIN", + "ruleIndex": 46, + "message": { + "text": "This metric shows the number of lines in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527325, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 13", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 120, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "initialize_io()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_STATIC_VARS", + "ruleIndex": 45, + "message": { + "text": "This metric shows the total number of local static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527298, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 142, + "startColumn": 16 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "get_direction()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "GOTO", + "ruleIndex": 41, + "message": { + "text": "This metric shows the number of goto statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527299, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 87, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "saturate()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527296, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 3 + }, + "region": { + "startLine": 66, + "startColumn": 14 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "intp_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS", + "ruleIndex": 40, + "message": { + "text": "This metric shows the number of local non-static variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527297, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "VOCF", + "ruleIndex": 52, + "message": { + "text": "This metric estimates the cost of maintaining or changing a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527302, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1.1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "PATH", + "ruleIndex": 49, + "message": { + "text": "This metric shows the number of paths through a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527303, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 4", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 6, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "state_reset_ir()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MIN", + "ruleIndex": 48, + "message": { + "text": "This metric shows the total size of local variables in a function taking nested scopes into account." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527300, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LOCAL_VARS_MAX", + "ruleIndex": 29, + "message": { + "text": "This metric shows the total size of all local variables in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527301, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 2", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527306, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 2 + }, + "region": { + "startLine": 14, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "control_task()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "NCALLS", + "ruleIndex": 33, + "message": { + "text": "This metric shows the number of calls in a function body." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527307, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527304, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "RETURN", + "ruleIndex": 50, + "message": { + "text": "This metric measures the number of return statements in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527305, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 15, + "startColumn": 9 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "look_up_even()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "COMF", + "ruleIndex": 47, + "message": { + "text": "This metric shows the ratio of number of comments to number of statements, expressed as a percentage." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527310, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 30", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 1 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LEVEL", + "ruleIndex": 36, + "message": { + "text": "This metric shows the maximum depth of nesting of control flow structures in a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527311, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 1", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 99, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "read_input_reg()", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "LINES_WITHOUT_CMT", + "ruleIndex": 42, + "message": { + "text": "This metric shows the total number of lines in a file, excluding code comments." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527308, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "File Metrics", + "information": "Value: 9", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 4 + }, + "region": { + "startLine": 1, + "startColumn": 1 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "File Scope", + "kind": "function" + } + ] + } + ] + }, + { + "ruleId": "CALLS", + "ruleIndex": 34, + "message": { + "text": "This metric shows the number of callees of a function." + }, + "level": "error", + "baselineState": "unchanged", + "rank": 100, + "kind": "fail", + "properties": { + "tags": [ + "databaseId", + "metaFamily", + "family", + "group", + "information", + "severity", + "status", + "comment", + "justified", + "assignedTo", + "ticketKey", + "color" + ], + "databaseId": 7527309, + "metaFamily": "Code Metric", + "family": "Code Metric", + "group": "Function Metrics", + "information": "Value: 0", + "severity": "Unset", + "status": "Unreviewed", + "comment": "", + "justified": false, + "color": "BLACK" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "index": 0 + }, + "region": { + "startLine": 101, + "startColumn": 6 + } + }, + "logicalLocations": [ + { + "fullyQualifiedName": "set_output_reg()", + "kind": "function" + } + ] + } + ] + } + ] + } + ] +} diff --git a/src/test/resources/sarif/samples/2-Basics/empty-log.sarif.json b/src/test/resources/sarif/samples/2-Basics/empty-log.sarif.json index 1499d153..c605f3df 100644 --- a/src/test/resources/sarif/samples/2-Basics/empty-log.sarif.json +++ b/src/test/resources/sarif/samples/2-Basics/empty-log.sarif.json @@ -11,4 +11,4 @@ "results": [] } ] -} \ No newline at end of file +} diff --git a/src/test/resources/sarif/security-scan.json b/src/test/resources/sarif/security-scan.json index 6611deb5..26b13709 100644 --- a/src/test/resources/sarif/security-scan.json +++ b/src/test/resources/sarif/security-scan.json @@ -1,1801 +1,1801 @@ -{ - "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", - "version": "2.1.0", - "runs": [ - { - "results": [ - { - "ruleId": "SCS0016", - "ruleIndex": 0, - "level": "warning", - "message": { - "text": "Controller method is potentially vulnerable to Cross Site Request Forgery (CSRF)." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 315, - "startColumn": 41, - "endLine": 315, - "endColumn": 54 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 83, - "startColumn": 24, - "endLine": 83, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 128, - "startColumn": 24, - "endLine": 128, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 144, - "startColumn": 24, - "endLine": 144, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 194, - "startColumn": 24, - "endLine": 194, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 240, - "startColumn": 24, - "endLine": 240, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 292, - "startColumn": 24, - "endLine": 292, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 361, - "startColumn": 24, - "endLine": 361, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 378, - "startColumn": 24, - "endLine": 378, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 37, - "startColumn": 24, - "endLine": 37, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 52, - "startColumn": 24, - "endLine": 52, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 38, - "startColumn": 24, - "endLine": 38, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 71, - "startColumn": 24, - "endLine": 71, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 107, - "startColumn": 24, - "endLine": 107, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 144, - "startColumn": 24, - "endLine": 144, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 143, - "startColumn": 24, - "endLine": 143, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 28, - "startColumn": 24, - "endLine": 28, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 181, - "startColumn": 24, - "endLine": 181, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 150, - "startColumn": 24, - "endLine": 150, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 187, - "startColumn": 24, - "endLine": 187, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 86, - "startColumn": 24, - "endLine": 86, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0017", - "ruleIndex": 1, - "level": "warning", - "message": { - "text": "Request validation is disabled." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 113, - "startColumn": 24, - "endLine": 113, - "endColumn": 29 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0027", - "ruleIndex": 2, - "level": "warning", - "message": { - "text": "Potential Open Redirect vulnerability was found where 'url' in 'RedirectResult.RedirectResult(string url)' may be tainted by user-controlled data from 'CancellationToken cancellationToken' in method 'Task GmailController.AuthorizeAsync(CancellationToken cancellationToken)'." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 48, - "startColumn": 43, - "endLine": 48, - "endColumn": 61 - } - } - } - ], - "relatedLocations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 27, - "startColumn": 56, - "endLine": 27, - "endColumn": 91 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 356, - "startColumn": 84, - "endLine": 356, - "endColumn": 94 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 499, - "startColumn": 76, - "endLine": 499, - "endColumn": 86 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 682, - "startColumn": 80, - "endLine": 682, - "endColumn": 90 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 135, - "startColumn": 68, - "endLine": 135, - "endColumn": 81 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 1164, - "startColumn": 64, - "endLine": 1164, - "endColumn": 75 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 151, - "startColumn": 64, - "endLine": 151, - "endColumn": 74 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 58, - "startColumn": 68, - "endLine": 58, - "endColumn": 78 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 155, - "startColumn": 68, - "endLine": 155, - "endColumn": 79 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0009", - "ruleIndex": 3, - "level": "warning", - "message": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 176, - "startColumn": 68, - "endLine": 176, - "endColumn": 78 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0023", - "ruleIndex": 4, - "level": "warning", - "message": { - "text": "View state is not encrypted." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 3, - "startColumn": 1, - "endLine": 3, - "endColumn": 1 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0023", - "ruleIndex": 4, - "level": "warning", - "message": { - "text": "View state is not encrypted." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 88, - "startColumn": 1, - "endLine": 88, - "endColumn": 1 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 63, - "startColumn": 37, - "endLine": 63, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 95, - "startColumn": 37, - "endLine": 95, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 52, - "startColumn": 52, - "endLine": 52, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 85, - "startColumn": 52, - "endLine": 85, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 28, - "startColumn": 25, - "endLine": 28, - "endColumn": 37 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 95, - "startColumn": 37, - "endLine": 95, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 63, - "startColumn": 37, - "endLine": 63, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 52, - "startColumn": 52, - "endLine": 52, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 85, - "startColumn": 52, - "endLine": 85, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 28, - "startColumn": 25, - "endLine": 28, - "endColumn": 37 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 56, - "startColumn": 37, - "endLine": 56, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 88, - "startColumn": 37, - "endLine": 88, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 45, - "startColumn": 52, - "endLine": 45, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 78, - "startColumn": 52, - "endLine": 78, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 21, - "startColumn": 25, - "endLine": 21, - "endColumn": 37 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 87, - "startColumn": 30, - "endLine": 87, - "endColumn": 49 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 162, - "startColumn": 31, - "endLine": 162, - "endColumn": 50 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 56, - "startColumn": 37, - "endLine": 56, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0013", - "ruleIndex": 5, - "level": "warning", - "message": { - "text": "Potential usage of weak CipherMode." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 88, - "startColumn": 37, - "endLine": 88, - "endColumn": 40 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 45, - "startColumn": 52, - "endLine": 45, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "warning", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 78, - "startColumn": 52, - "endLine": 78, - "endColumn": 82 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "warning", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 21, - "startColumn": 25, - "endLine": 21, - "endColumn": 37 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "note", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 87, - "startColumn": 30, - "endLine": 87, - "endColumn": 49 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "note", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 162, - "startColumn": 31, - "endLine": 162, - "endColumn": 50 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "note", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 20, - "startColumn": 31, - "endLine": 20, - "endColumn": 43 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0006", - "ruleIndex": 6, - "level": "note", - "message": { - "text": "Weak hashing function." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 20, - "startColumn": 31, - "endLine": 20, - "endColumn": 43 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "error", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 61, - "startColumn": 33, - "endLine": 61, - "endColumn": 42 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0005", - "ruleIndex": 7, - "level": "error", - "message": { - "text": "Weak random number generator." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 514, - "startColumn": 53, - "endLine": 514, - "endColumn": 62 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0023", - "ruleIndex": 4, - "level": "error", - "message": { - "text": "View state is not encrypted." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "endLine": 2, - "endColumn": 1 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - }, - { - "ruleId": "SCS0023", - "ruleIndex": 4, - "level": "error", - "message": { - "text": "View state is not encrypted." - }, - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "uri": "DummyFile.cs" - }, - "region": { - "startLine": 2, - "startColumn": 1, - "endLine": 2, - "endColumn": 1 - } - } - } - ], - "properties": { - "warningLevel": 1 - } - } - ], - "tool": { - "driver": { - "name": "Security Code Scan", - "version": "5.6.2", - "dottedQuadFileVersion": "5.6.2.0", - "semanticVersion": "5.6.2", - "language": "en-US", - "rules": [ - { - "id": "SCS0016", - "shortDescription": { - "text": "Controller method is potentially vulnerable to Cross Site Request Forgery (CSRF)." - }, - "fullDescription": { - "text": "The annotation [ValidateAntiForgeryToken] is missing. The warning may be ignored/suppressed if .NET Core AutoValidateAntiforgeryToken is set up globally." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0016", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0017", - "shortDescription": { - "text": "Request validation is disabled." - }, - "fullDescription": { - "text": "Request validation is disabled. Request validation allows the filtering of some XSS patterns submitted to the application." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0017", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0027", - "shortDescription": { - "text": "Potential Open Redirect vulnerability was found where '{0}' in '{1}' may be tainted by user-controlled data from '{2}' in method '{3}'." - }, - "fullDescription": { - "text": "The untrusted value passed to the redirect should be validated." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0027", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0009", - "shortDescription": { - "text": "The cookie is missing 'HttpOnly' flag." - }, - "fullDescription": { - "text": "Cookies without 'HttpOnly' may be stolen in case of JavaScript injection (XSS)." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0009", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0023", - "shortDescription": { - "text": "View state is not encrypted." - }, - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0013", - "shortDescription": { - "text": "Potential usage of weak CipherMode." - }, - "fullDescription": { - "text": "This specific mode is susceptible to a cryptographic attack." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0013", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0006", - "shortDescription": { - "text": "Weak hashing function." - }, - "fullDescription": { - "text": "MD5 is no longer considered as a strong hashing algorithm." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0006", - "properties": { - "category": "Security" - } - }, - { - "id": "SCS0005", - "shortDescription": { - "text": "Weak random number generator." - }, - "fullDescription": { - "text": "It is possible to predict the next numbers of a pseudo random generator. Use a cryptographically strong generator for security sensitive purposes." - }, - "helpUri": "https://security-code-scan.github.io/#SCS0005", - "properties": { - "category": "Security" - } - } - ] - } - }, - "columnKind": "utf16CodeUnits" - } - ] -} +{ + "$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", + "version": "2.1.0", + "runs": [ + { + "results": [ + { + "ruleId": "SCS0016", + "ruleIndex": 0, + "level": "warning", + "message": { + "text": "Controller method is potentially vulnerable to Cross Site Request Forgery (CSRF)." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 315, + "startColumn": 41, + "endLine": 315, + "endColumn": 54 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 83, + "startColumn": 24, + "endLine": 83, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 128, + "startColumn": 24, + "endLine": 128, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 144, + "startColumn": 24, + "endLine": 144, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 194, + "startColumn": 24, + "endLine": 194, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 240, + "startColumn": 24, + "endLine": 240, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 292, + "startColumn": 24, + "endLine": 292, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 361, + "startColumn": 24, + "endLine": 361, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 378, + "startColumn": 24, + "endLine": 378, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 37, + "startColumn": 24, + "endLine": 37, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 52, + "startColumn": 24, + "endLine": 52, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 38, + "startColumn": 24, + "endLine": 38, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 71, + "startColumn": 24, + "endLine": 71, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 107, + "startColumn": 24, + "endLine": 107, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 144, + "startColumn": 24, + "endLine": 144, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 143, + "startColumn": 24, + "endLine": 143, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 28, + "startColumn": 24, + "endLine": 28, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 181, + "startColumn": 24, + "endLine": 181, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 150, + "startColumn": 24, + "endLine": 150, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 187, + "startColumn": 24, + "endLine": 187, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 86, + "startColumn": 24, + "endLine": 86, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0017", + "ruleIndex": 1, + "level": "warning", + "message": { + "text": "Request validation is disabled." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 113, + "startColumn": 24, + "endLine": 113, + "endColumn": 29 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0027", + "ruleIndex": 2, + "level": "warning", + "message": { + "text": "Potential Open Redirect vulnerability was found where 'url' in 'RedirectResult.RedirectResult(string url)' may be tainted by user-controlled data from 'CancellationToken cancellationToken' in method 'Task GmailController.AuthorizeAsync(CancellationToken cancellationToken)'." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 48, + "startColumn": 43, + "endLine": 48, + "endColumn": 61 + } + } + } + ], + "relatedLocations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 27, + "startColumn": 56, + "endLine": 27, + "endColumn": 91 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 356, + "startColumn": 84, + "endLine": 356, + "endColumn": 94 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 499, + "startColumn": 76, + "endLine": 499, + "endColumn": 86 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 682, + "startColumn": 80, + "endLine": 682, + "endColumn": 90 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 135, + "startColumn": 68, + "endLine": 135, + "endColumn": 81 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 1164, + "startColumn": 64, + "endLine": 1164, + "endColumn": 75 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 151, + "startColumn": 64, + "endLine": 151, + "endColumn": 74 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 58, + "startColumn": 68, + "endLine": 58, + "endColumn": 78 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 155, + "startColumn": 68, + "endLine": 155, + "endColumn": 79 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0009", + "ruleIndex": 3, + "level": "warning", + "message": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 176, + "startColumn": 68, + "endLine": 176, + "endColumn": 78 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0023", + "ruleIndex": 4, + "level": "warning", + "message": { + "text": "View state is not encrypted." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 3, + "startColumn": 1, + "endLine": 3, + "endColumn": 1 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0023", + "ruleIndex": 4, + "level": "warning", + "message": { + "text": "View state is not encrypted." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 88, + "startColumn": 1, + "endLine": 88, + "endColumn": 1 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 63, + "startColumn": 37, + "endLine": 63, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 95, + "startColumn": 37, + "endLine": 95, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 52, + "startColumn": 52, + "endLine": 52, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 85, + "startColumn": 52, + "endLine": 85, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 28, + "startColumn": 25, + "endLine": 28, + "endColumn": 37 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 95, + "startColumn": 37, + "endLine": 95, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 63, + "startColumn": 37, + "endLine": 63, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 52, + "startColumn": 52, + "endLine": 52, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 85, + "startColumn": 52, + "endLine": 85, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 28, + "startColumn": 25, + "endLine": 28, + "endColumn": 37 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 56, + "startColumn": 37, + "endLine": 56, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 88, + "startColumn": 37, + "endLine": 88, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 45, + "startColumn": 52, + "endLine": 45, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 78, + "startColumn": 52, + "endLine": 78, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 21, + "startColumn": 25, + "endLine": 21, + "endColumn": 37 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 87, + "startColumn": 30, + "endLine": 87, + "endColumn": 49 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 162, + "startColumn": 31, + "endLine": 162, + "endColumn": 50 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 56, + "startColumn": 37, + "endLine": 56, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0013", + "ruleIndex": 5, + "level": "warning", + "message": { + "text": "Potential usage of weak CipherMode." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 88, + "startColumn": 37, + "endLine": 88, + "endColumn": 40 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 45, + "startColumn": 52, + "endLine": 45, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "warning", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 78, + "startColumn": 52, + "endLine": 78, + "endColumn": 82 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "warning", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 21, + "startColumn": 25, + "endLine": 21, + "endColumn": 37 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "note", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 87, + "startColumn": 30, + "endLine": 87, + "endColumn": 49 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "note", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 162, + "startColumn": 31, + "endLine": 162, + "endColumn": 50 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "note", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 20, + "startColumn": 31, + "endLine": 20, + "endColumn": 43 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0006", + "ruleIndex": 6, + "level": "note", + "message": { + "text": "Weak hashing function." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 20, + "startColumn": 31, + "endLine": 20, + "endColumn": 43 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "error", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 61, + "startColumn": 33, + "endLine": 61, + "endColumn": 42 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0005", + "ruleIndex": 7, + "level": "error", + "message": { + "text": "Weak random number generator." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 514, + "startColumn": 53, + "endLine": 514, + "endColumn": 62 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0023", + "ruleIndex": 4, + "level": "error", + "message": { + "text": "View state is not encrypted." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 2, + "startColumn": 1, + "endLine": 2, + "endColumn": 1 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + }, + { + "ruleId": "SCS0023", + "ruleIndex": 4, + "level": "error", + "message": { + "text": "View state is not encrypted." + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": "DummyFile.cs" + }, + "region": { + "startLine": 2, + "startColumn": 1, + "endLine": 2, + "endColumn": 1 + } + } + } + ], + "properties": { + "warningLevel": 1 + } + } + ], + "tool": { + "driver": { + "name": "Security Code Scan", + "version": "5.6.2", + "dottedQuadFileVersion": "5.6.2.0", + "semanticVersion": "5.6.2", + "language": "en-US", + "rules": [ + { + "id": "SCS0016", + "shortDescription": { + "text": "Controller method is potentially vulnerable to Cross Site Request Forgery (CSRF)." + }, + "fullDescription": { + "text": "The annotation [ValidateAntiForgeryToken] is missing. The warning may be ignored/suppressed if .NET Core AutoValidateAntiforgeryToken is set up globally." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0016", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0017", + "shortDescription": { + "text": "Request validation is disabled." + }, + "fullDescription": { + "text": "Request validation is disabled. Request validation allows the filtering of some XSS patterns submitted to the application." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0017", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0027", + "shortDescription": { + "text": "Potential Open Redirect vulnerability was found where '{0}' in '{1}' may be tainted by user-controlled data from '{2}' in method '{3}'." + }, + "fullDescription": { + "text": "The untrusted value passed to the redirect should be validated." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0027", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0009", + "shortDescription": { + "text": "The cookie is missing 'HttpOnly' flag." + }, + "fullDescription": { + "text": "Cookies without 'HttpOnly' may be stolen in case of JavaScript injection (XSS)." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0009", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0023", + "shortDescription": { + "text": "View state is not encrypted." + }, + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0013", + "shortDescription": { + "text": "Potential usage of weak CipherMode." + }, + "fullDescription": { + "text": "This specific mode is susceptible to a cryptographic attack." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0013", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0006", + "shortDescription": { + "text": "Weak hashing function." + }, + "fullDescription": { + "text": "MD5 is no longer considered as a strong hashing algorithm." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0006", + "properties": { + "category": "Security" + } + }, + { + "id": "SCS0005", + "shortDescription": { + "text": "Weak random number generator." + }, + "fullDescription": { + "text": "It is possible to predict the next numbers of a pseudo random generator. Use a cryptographically strong generator for security sensitive purposes." + }, + "helpUri": "https://security-code-scan.github.io/#SCS0005", + "properties": { + "category": "Security" + } + } + ] + } + }, + "columnKind": "utf16CodeUnits" + } + ] +} diff --git a/src/test/resources/sarif/with-category.json b/src/test/resources/sarif/with-category.json index eb686cbe..801af2d8 100644 --- a/src/test/resources/sarif/with-category.json +++ b/src/test/resources/sarif/with-category.json @@ -285,4 +285,4 @@ "columnKind": "utf16CodeUnits" } ] -} \ No newline at end of file +} diff --git a/src/test/resources/sarif/with-messages.json b/src/test/resources/sarif/with-messages.json index 79283ee7..07fad3e1 100644 --- a/src/test/resources/sarif/with-messages.json +++ b/src/test/resources/sarif/with-messages.json @@ -936,4 +936,4 @@ "columnKind": "utf16CodeUnits" } ] -} \ No newline at end of file +} diff --git a/src/test/resources/sarif/with-toolConfigurationNotifications.json b/src/test/resources/sarif/with-toolConfigurationNotifications.json index 8ebbb465..251764ba 100644 --- a/src/test/resources/sarif/with-toolConfigurationNotifications.json +++ b/src/test/resources/sarif/with-toolConfigurationNotifications.json @@ -72,4 +72,4 @@ "columnKind": "utf16CodeUnits" } ] -} \ No newline at end of file +} diff --git a/src/test/resources/sarif/without-location.json b/src/test/resources/sarif/without-location.json index 175458bc..e94ae6c5 100644 --- a/src/test/resources/sarif/without-location.json +++ b/src/test/resources/sarif/without-location.json @@ -59,4 +59,4 @@ "columnKind": "utf16CodeUnits" } ] -} \ No newline at end of file +} diff --git a/src/test/resources/semgrep/semgrep-report.json b/src/test/resources/semgrep/semgrep-report.json index dbd3e61a..14e1e1eb 100644 --- a/src/test/resources/semgrep/semgrep-report.json +++ b/src/test/resources/semgrep/semgrep-report.json @@ -1278,4 +1278,4 @@ } ], "version": "1.4.0" -} \ No newline at end of file +} diff --git a/src/test/resources/sonar/sonar-report-2.json b/src/test/resources/sonar/sonar-report-2.json index 1df5a06e..dcd4f661 100644 --- a/src/test/resources/sonar/sonar-report-2.json +++ b/src/test/resources/sonar/sonar-report-2.json @@ -1607,4 +1607,4 @@ "key": "pki-middleware-sonar:app/controllers/Scear.java" } ] -} \ No newline at end of file +} diff --git a/src/test/resources/sonar/sonar-report-3.json b/src/test/resources/sonar/sonar-report-3.json index c8a01686..c93014c0 100644 --- a/src/test/resources/sonar/sonar-report-3.json +++ b/src/test/resources/sonar/sonar-report-3.json @@ -199,4 +199,4 @@ } ], "facets": [] -} \ No newline at end of file +} diff --git a/src/test/resources/sonar/sonar-report.json b/src/test/resources/sonar/sonar-report.json index 8aaafafa..a508af89 100644 --- a/src/test/resources/sonar/sonar-report.json +++ b/src/test/resources/sonar/sonar-report.json @@ -1,18 +1,18 @@ -{ - "version":"6.7.4.38452", - "issues":[ - { - "key":"AfhgjhgUhjhkhkOqm3c-", - "component":"com.example:myapp:src/main/java/com/example/myapp/App.java", - "line":28, - "startLine":28, - "endLine":28, - "message":"Complete the task associated to this TODO comment.", - "severity":"INFO", - "rule":"squid:S1135", - "status":"OPEN", - "isNew":false, - "creationDate":"2019-01-01T11:12:13+0900" - } - ] -} \ No newline at end of file +{ + "version": "6.7.4.38452", + "issues": [ + { + "key": "AfhgjhgUhjhkhkOqm3c-", + "component": "com.example:myapp:src/main/java/com/example/myapp/App.java", + "line": 28, + "startLine": 28, + "endLine": 28, + "message": "Complete the task associated to this TODO comment.", + "severity": "INFO", + "rule": "squid:S1135", + "status": "OPEN", + "isNew": false, + "creationDate": "2019-01-01T11:12:13+0900" + } + ] +}