addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / code / minLength
Added value: +1
addedInput schema / properties / language / minLength
Added value: +1
addedOutput schema / properties / data / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / analysis / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / analysis / properties
Added value: +{
+ "limitations": {
+ "items": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "method": {
+ "enum": [
+ "Python AST with deterministic lexical metrics",
+ "deterministic lexical heuristics"
+ ],
+ "type": "string"
+ },
+ "version": {
+ "const": "apiacre-code-metrics/3",
+ "type": "string"
+ }
+}
addedOutput schema / properties / data / properties / analysis / required
Added value: +[
+ "version",
+ "method",
+ "limitations"
+]
addedOutput schema / properties / data / properties / averageLineLength / maximum
Added value: +2000000
addedOutput schema / properties / data / properties / averageLineLength / minimum
Added value: +0
addedOutput schema / properties / data / properties / blankLineDensity / maximum
Added value: +1
addedOutput schema / properties / data / properties / blankLineDensity / minimum
Added value: +0
addedOutput schema / properties / data / properties / branchPoints / minimum
Added value: +0
addedOutput schema / properties / data / properties / classes / minimum
Added value: +0
addedOutput schema / properties / data / properties / commentDensity / maximum
Added value: +1
addedOutput schema / properties / data / properties / commentDensity / minimum
Added value: +0
addedOutput schema / properties / data / properties / complexityPerFunction / minimum
Added value: +1
addedOutput schema / properties / data / properties / estimatedCyclomaticComplexity / minimum
Added value: +1
addedOutput schema / properties / data / properties / functionMetrics / items / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / functionMetrics / items / properties
Added value: +{
+ "branchPoints": {
+ "maximum": 2000000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "endLine": {
+ "maximum": 2000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "estimatedCyclomaticComplexity": {
+ "maximum": 2000001,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "kind": {
+ "enum": [
+ "function",
+ "async-function"
+ ],
+ "type": "string"
+ },
+ "line": {
+ "maximum": 2000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "lines": {
+ "maximum": 2000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "name": {
+ "maxLength": 2000000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "parameters": {
+ "maximum": 2000000,
+ "minimum": 0,
+ "type": "integer"
+ }
+}
addedOutput schema / properties / data / properties / functionMetrics / items / required
Added value: +[
+ "name",
+ "kind",
+ "line",
+ "endLine",
+ "lines",
+ "parameters",
+ "branchPoints",
+ "estimatedCyclomaticComplexity"
+]
addedOutput schema / properties / data / properties / functionMetrics / items / type
Added value: +"object"
addedOutput schema / properties / data / properties / functionMetrics / maxItems
Added value: +500
addedOutput schema / properties / data / properties / functions / minimum
Added value: +0
addedOutput schema / properties / data / properties / language / maxLength
Added value: +40
addedOutput schema / properties / data / properties / language / minLength
Added value: +1
changedOutput schema / properties / data / properties / language / type
Previous value: -[
- "string",
- "null"
-]New value: +"string"
addedOutput schema / properties / data / properties / lines / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / lines / properties
Added value: +{
+ "blank": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "code": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "comments": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "integer"
+ }
+}
addedOutput schema / properties / data / properties / lines / required
Added value: +[
+ "total",
+ "code",
+ "comments",
+ "blank"
+]
addedOutput schema / properties / data / properties / longLineCount / minimum
Added value: +0
addedOutput schema / properties / data / properties / maintainabilitySignal / maximum
Added value: +100
addedOutput schema / properties / data / properties / maintainabilitySignal / minimum
Added value: +0
addedOutput schema / properties / data / properties / maximumFunctionComplexity / minimum
Added value: +1
addedOutput schema / properties / data / properties / maximumLineLength / maximum
Added value: +2000000
addedOutput schema / properties / data / properties / maximumLineLength / minimum
Added value: +0
addedOutput schema / properties / data / properties / reviewSignals / items / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / reviewSignals / items / properties
Added value: +{
+ "code": {
+ "enum": [
+ "syntax-error",
+ "high-complexity-density",
+ "long-lines",
+ "work-markers",
+ "low-comment-density",
+ "large-source-unit"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 500,
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ }
+}
addedOutput schema / properties / data / properties / reviewSignals / items / required
Added value: +[
+ "code",
+ "severity",
+ "message"
+]
addedOutput schema / properties / data / properties / reviewSignals / items / type
Added value: +"object"
addedOutput schema / properties / data / properties / reviewSignals / maxItems
Added value: +6
addedOutput schema / properties / data / properties / source / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / source / properties
Added value: +{
+ "characters": {
+ "maximum": 2000000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "sha256": {
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "utf8Bytes": {
+ "maximum": 2000000,
+ "minimum": 1,
+ "type": "integer"
+ }
+}
addedOutput schema / properties / data / properties / source / required
Added value: +[
+ "sha256",
+ "characters",
+ "utf8Bytes"
+]
addedOutput schema / properties / data / properties / syntax / additionalProperties
Added value: +false
addedOutput schema / properties / data / properties / syntax / properties
Added value: +{
+ "engine": {
+ "enum": [
+ "python-ast",
+ "lexical-heuristics"
+ ],
+ "type": "string"
+ },
+ "error": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "line": {
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "message": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "line",
+ "offset",
+ "message"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "valid": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+}
addedOutput schema / properties / data / properties / syntax / required
Added value: +[
+ "engine",
+ "valid",
+ "error"
+]
addedOutput schema / properties / data / properties / workMarkerCount / minimum
Added value: +0
addedOutput schema / properties / data / required
Added value: +[
+ "language",
+ "source",
+ "lines",
+ "classes",
+ "functions",
+ "branchPoints",
+ "estimatedCyclomaticComplexity",
+ "complexityPerFunction",
+ "maximumFunctionComplexity",
+ "functionMetrics",
+ "functionsTruncated",
+ "syntax",
+ "maximumLineLength",
+ "averageLineLength",
+ "commentDensity",
+ "blankLineDensity",
+ "longLineCount",
+ "workMarkerCount",
+ "maintainabilitySignal",
+ "reviewSignals",
+ "analysis"
+]