{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"JValue.Operation (cyclomatic 69): JValue.Operation has cyclomatic complexity 69 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a97870d2dd7186661e48c198acc27f56d7a4c77c0fb57dff907ba5cf20908e"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.WriteValueAsync (cyclomatic 62): JsonWriter.WriteValueAsync has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"4044dab4358d4afd630dec66e9d671238bbb9a41b3a856d3c4bb4215ed536503"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.WriteValue (cyclomatic 62): JsonWriter.WriteValue has cyclomatic complexity 62 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1489f6a90ccec191ac6e00516e7120c15b3c14e745afb90a55190e2d41bdda"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (cyclomatic 54): JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdc0af20baa18fca24a0168cc40fca438c4d2604875719a173479794a6d1d12"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.DecimalTryParse (cyclomatic 54): ConvertUtils.DecimalTryParse has cyclomatic complexity 54 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"4acd4e4bb37260549091c656466bc8e870d6e9f5aac64c81a5b5fcfb3362bcd0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadStringValueAsync (cyclomatic 49): JsonTextReader.ReadStringValueAsync has cyclomatic complexity 49 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"12608848f9ff87808b21f2e953519e75e6fb06aa3113eb9f8034808cc77c8b54"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadStringValue (cyclomatic 49): JsonTextReader.ReadStringValue has cyclomatic complexity 49 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0155d105b03723d09990d17ed690507185c1f78d8ff5724330a656f490a92d9"}},{"ruleId":"D1","level":"warning","message":{"text":"JToken.ToObject (cyclomatic 46): JToken.ToObject has cyclomatic complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ead1fad17aa5d707798dfe52279fc1d9025bca5fc5b445161e86a8c523764fb"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.DoReadAsBooleanAsync (cyclomatic 44): JsonTextReader.DoReadAsBooleanAsync has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"0273f7fffaece36922cbea121bfd818fd6bc2bfa6c04e5811ba12f2158282494"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadAsBoolean (cyclomatic 44): JsonTextReader.ReadAsBoolean has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c71d18e0d8465e134da3cc9e9ee4a42c9e1e71977010c0d1e317134fc1fcd15"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadNumberValueAsync (cyclomatic 43): JsonTextReader.ReadNumberValueAsync has cyclomatic complexity 43 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7ecdb5ed1dc1f26ed01ac91589436cb6472279294c3025db0178f6e93e2628"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadNumberValue (cyclomatic 43): JsonTextReader.ReadNumberValue has cyclomatic complexity 43 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dba6f56cd77657867be542594f75af72bded2381d3eeeef2084a66f701c9cf"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParseReadNumber (cyclomatic 42): JsonTextReader.ParseReadNumber has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2475f9342ef73b9dbc094165043d593907aa775ee17bde617195b4c1c79861d"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlNodeConverter.SerializeNode (cyclomatic 41): XmlNodeConverter.SerializeNode has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"d533005d547564753518d662b12a52a9ec208d3de2a33fd3a623d1e365f659c5"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaScriptUtils.WriteEscapedJavaScriptString (cyclomatic 39): JavaScriptUtils.WriteEscapedJavaScriptString has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb42a17c97156ff75aacc64cb0bc3b713619773fe1c192f6fd9077fe8d5ca43f"}},{"ruleId":"D1","level":"warning","message":{"text":"JValue.Compare (cyclomatic 38): JValue.Compare has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee3c7056d5ff1aeb0ad351752039faf265e3c5a410373a00e69d571efe3d9d6"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.TryConvertInternal (cyclomatic 36): ConvertUtils.TryConvertInternal has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4fb51187134ae418608a3c70b473aa4dd019605c771b204dbd1d9c04b339fd"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParseValueAsync (cyclomatic 33): JsonTextReader.ParseValueAsync has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06e4bcecfe54770d66a558929fa3554a09cc980ce1cfbd862b2143c5060df08"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParseValue (cyclomatic 33): JsonTextReader.ParseValue has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"2538d7a613db98f0dabc2a9ec7ffb7bd8f43b15d75fd91b389a1a11b389720cd"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializer.ApplySerializerSettings (cyclomatic 31): JsonSerializer.ApplySerializerSettings has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3fe7d7fd6aa281af999fcec1e995f683bbeb65ded1012482584611cdd2e212"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.DoReadAsBytesAsync (cyclomatic 31): JsonTextReader.DoReadAsBytesAsync has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4f7c02793bc74df8d7cb357f802d0bcf9957ea703db2e56b6184d206a195b0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadAsBytes (cyclomatic 31): JsonTextReader.ReadAsBytes has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8348721f09fa1b881f3a9312f08e38acc5e04f8f1c0b5c8341d48f7316a39f0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadStringIntoBufferAsync (cyclomatic 30): JsonTextReader.ReadStringIntoBufferAsync has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"5172a5f2f2cfb234255c34b7d38e5b1ffe812f71b18b56fc8cc5c27738821c90"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ReadStringIntoBuffer (cyclomatic 30): JsonTextReader.ReadStringIntoBuffer has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c55dc42faca1c96b265828d86490ef0ffd9622349af739e65285e53934bff9"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateObject (cyclomatic 30): JsonSerializerInternalReader.CreateObject has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"3835134afcc6c8bc8dd760c4d7e9fa303d97b6c8373a11f638b5e4bb221b8d46"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaScriptUtils.WriteDefinitelyEscapedJavaScriptStringWithoutDelimitersAsync (cyclomatic 30): JavaScriptUtils.WriteDefinitelyEscapedJavaScriptStringWithoutDelimitersAsync has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"636105ed8314a0029172a918bc0c79703dcf99042f83c55ee58cb92b092e72fa"}},{"ruleId":"D1","level":"warning","message":{"text":"JPath.ParsePath (cyclomatic 29): JPath.ParsePath has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7bd8c981a22db5f146a577fffd75fca2b57d211ae7b428e7683c9d47152f47"}},{"ruleId":"D1","level":"warning","message":{"text":"JValue.WriteToAsync (cyclomatic 29): JValue.WriteToAsync has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.Async.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bffe02d735e696d035d511a68391e3047419069e5c83c13348297fd505386a"}},{"ruleId":"D1","level":"warning","message":{"text":"JValue.WriteTo (cyclomatic 29): JValue.WriteTo has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec22effaacc590b3d9e73f1d43f60aded0179f587b263b207d9adb7615679fa"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaGenerator.GenerateInternal (cyclomatic 29): JsonSchemaGenerator.GenerateInternal has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51815df843cd0bbd223e5316e95057727567732fd8be9490a5c57cfe24c05b1"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonValidatingReader.ValidateCurrentToken (cyclomatic 28): JsonValidatingReader.ValidateCurrentToken has cyclomatic complexity 28 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"0069d97e08bc5f8b1abffd055fd9aa105fcbfac227ea2544d16599ab2827cbd0"}},{"ruleId":"D1","level":"warning","message":{"text":"JContainer.ReadContentFromAsync (cyclomatic 28): JContainer.ReadContentFromAsync has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.Async.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"803c6f7a4963689ab1935413025ee0541520a3f2d3ef33817b346ea50f5c3b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"JContainer.ReadContentFrom (cyclomatic 28): JContainer.ReadContentFrom has cyclomatic complexity 28 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c6a94325ec062d557b17e657990274e4a22f5a516613e77ae7820b583c1da0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateDictionary (cyclomatic 27): JsonSerializerInternalReader.PopulateDictionary has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cfb8c268a9044433dcdb5c645a0a37c36e57f614d6ee832e430b82e94f0412"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.WriteTokenAsync (cyclomatic 26): JsonWriter.WriteTokenAsync has cyclomatic complexity 26 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd59bbb9f64d308240728da825ce0bed85abba933e1021752834b487a0e8f454"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSchemaBuilder.ResolveReferences (cyclomatic 26): JsonSchemaBuilder.ResolveReferences has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaBuilder.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3e1199fbb7bc25b1c904254f2dd0db0b912579b658f1de40050bc8e601308c"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateObject (cyclomatic 26): JsonSerializerInternalReader.PopulateObject has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"088516fc5828d52fcf86a3c171da0684704bf972de5936d93dafb9a6e2087c94"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializer.SerializeInternal (cyclomatic 25): JsonSerializer.SerializeInternal has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"53669a60587cd7994e412bb88d2bb016139d2a293ec0a008d9a2e4481d04f0d3"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.WriteToken (cyclomatic 25): JsonWriter.WriteToken has cyclomatic complexity 25 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33e0a970650c3d5681cfad191cd065cbd1adbb956bee7fc1e4d8608963721fd"}},{"ruleId":"D1","level":"warning","message":{"text":"BooleanQueryExpression.MatchTokens (cyclomatic 24): BooleanQueryExpression.MatchTokens has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/QueryExpression.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf598818577c0e4bef08839e61a6a27289aa1c99c650d5fe2d5c92a8dedeac"}},{"ruleId":"D1","level":"warning","message":{"text":"JValue.GetValueType (cyclomatic 24): JValue.GetValueType has cyclomatic complexity 24 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cfd37a5b14321440a153bcab72477fc1b56d2ba2aac02cf5023537393296bd"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContractResolver.SetPropertySettingsFromAttributes (cyclomatic 24): DefaultContractResolver.SetPropertySettingsFromAttributes has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597b296ca5ef903c4ab7a3f5647d4434171241fd7d6f4ff550e6324159fd615"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CalculatePropertyDetails (cyclomatic 23): JsonSerializerInternalReader.CalculatePropertyDetails has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea56856fb35730528b1b1ad5dcf4086b25a032842f378c5dcef6d048cef1ba29"}},{"ruleId":"D1","level":"warning","message":{"text":"BsonReader.ReadNormal (cyclomatic 22): BsonReader.ReadNormal has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e9b8029b0f468e02f1b08a5a0f95d4d65272beedbfae552763d1717277a75b"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlNodeConverter.ReadAttributeElements (cyclomatic 22): XmlNodeConverter.ReadAttributeElements has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e8213448be24f16af89440a288f3083cb43f02969c669eaf9ce27657342929"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlNodeConverter.DeserializeNode (cyclomatic 22): XmlNodeConverter.DeserializeNode has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac8d7180a9ffd8c3030953a6a1907e9088eac06aad0039f6b46acd530ef5dc3"}},{"ruleId":"D1","level":"warning","message":{"text":"JPath.ParseArrayIndexer (cyclomatic 22): JPath.ParseArrayIndexer has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d1bf39ee3324a2e413caea4f0c029843178c05b02031d699ca9cc4b64c0d2d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonArrayContract.JsonArrayContract.ctor (cyclomatic 22): JsonArrayContract.JsonArrayContract.ctor has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d62026931ded824f3ec463e60e17a16383644eff82d91ce6f496a6e7f4c6fe5"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateDynamic (cyclomatic 22): JsonSerializerInternalReader.CreateDynamic has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2ccf3ccab152f281e5a17b0d6e2d26402b6f4820825d2e757704623c9a1c1d"}},{"ruleId":"D1","level":"warning","message":{"text":"DateTimeParser.ParseTime (cyclomatic 21): DateTimeParser.ParseTime has cyclomatic complexity 21 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeParser.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc33f6d7886282dd6b0664622d72a8962feb0beaf24d375df5a1cc5ba2858a0d"}},{"ruleId":"D1","level":"warning","message":{"text":"EnumUtils.ParseEnum (cyclomatic 21): EnumUtils.ParseEnum has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/EnumUtils.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a43099ae9c8865a72c7c4fcc4f720b35d6eebb53fe7117afa9baac8fda3ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"ParametersMatchComparer.Compare (cyclomatic 21): ParametersMatchComparer.Compare has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MethodBinder.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"13288149227092567dc3449d8cf0b6a9895ff107adc3c0e4f940ff592851f4cc"}},{"ruleId":"D1","level":"warning","message":{"text":"JToken.ReadFrom (cyclomatic 20): JToken.ReadFrom has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2197}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0e3169f274c405d6434d3028d5a5198078360933e13fbc56a17d36de5a5d19"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateValueInternal (cyclomatic 20): JsonSerializerInternalReader.CreateValueInternal has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb19bd6e04234724a65b7a5eaf938ea0371603c6bf2b93da5057ed1b2324583d"}},{"ruleId":"D1","level":"warning","message":{"text":"MathUtils.IntLength (cyclomatic 20): MathUtils.IntLength has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MathUtils.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"39af460eede38c4b48deec08b04ddb4f494464ef69bf289ec6f7e4dd05f29fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"BsonBinaryWriter.WriteTokenInternal (cyclomatic 19): BsonBinaryWriter.WriteTokenInternal has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonBinaryWriter.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"830c7f749e22e029af88d108fd355917b4125de7b05d477c92d5990b775aefc9"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateMultidimensionalArray (cyclomatic 19): JsonSerializerInternalReader.PopulateMultidimensionalArray has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd96a792d56b23931ecf6069a5354bc86746f696e3da0b76f5cabff5ef61d70"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.ResolvePropertyAndCreatorValues (cyclomatic 19): JsonSerializerInternalReader.ResolvePropertyAndCreatorValues has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29f2332e4294efeb20f5eec2687fb09750c58e87a0fd72ea3f2888eef4d8b4b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalWriter.CheckForCircularReference (cyclomatic 19): JsonSerializerInternalWriter.CheckForCircularReference has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4069c1c6bd815f894ff198d2579e7d1cceeefead809eadce538454f533294"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.Int32TryParse (cyclomatic 19): ConvertUtils.Int32TryParse has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"db93ed9b33396d42fc456569093bc5c6de800b6541668ecda9680f1bb6031062"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlNodeConverter.ReadJson (cyclomatic 18): XmlNodeConverter.ReadJson has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b3ea1b5fb36abda10b806dcdf0fe399a02e07e1f1673b6719706044188e4a0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParsePostValueAsync (cyclomatic 18): JsonTextReader.ParsePostValueAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"48454d107b23c283399524eb1f1a24308ec1d0a0e6aeb6424d5bc257fb80955d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParsePostValue (cyclomatic 18): JsonTextReader.ParsePostValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d883b27ae1d5742916d9024a3290f1b1441a713abf158dc2a7ca73f586ab0b"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.AutoCompleteAsync (cyclomatic 18): JsonWriter.AutoCompleteAsync has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a906a7a9a1c99fa8fb5516e102c4b196e764f2f416b6986061ee5ecb7e9b9bf"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonWriter.InternalWriteEndAsync (cyclomatic 18): JsonWriter.InternalWriteEndAsync has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8fc951ea19f8e7e95adad876d660a7044a8f67cee4e68264f83c12dd7b9793"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultContractResolver.GetSerializableMembers (cyclomatic 18): DefaultContractResolver.GetSerializableMembers has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c88a3d0aefd7af6d1dc239dfa926c8d7e623c159905125393057233969de355"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParseCommentAsync (cyclomatic 17): JsonTextReader.ParseCommentAsync has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b333cce5e9d16e8e5765a27a8c880760d553577b818ffa3c5bd326466529b7"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.ParseComment (cyclomatic 17): JsonTextReader.ParseComment has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e8660f78b71adf06f85725b06a1581868efc98fcceacbcd7dd96eac551bb48"}},{"ruleId":"D1","level":"warning","message":{"text":"JPath.ParseExpression (cyclomatic 17): JPath.ParseExpression has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"253ec6215b5cebfb23cfb3b2479a08e1065f3fc1e1244b5bab67aff7b4559f3a"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateList (cyclomatic 17): JsonSerializerInternalReader.CreateList has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e35422e9cee1ca5292ab4940234d3f29484b849328bf152c4de99848f800c"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.EndProcessProperty (cyclomatic 17): JsonSerializerInternalReader.EndProcessProperty has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ffbe71cc6c5fb20dc04237360551668cc2214f2964f3bb09c119e8ac00db40"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvertUtils.Int64TryParse (cyclomatic 17): ConvertUtils.Int64TryParse has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aaaed06c2722a8f06e4d4f9a38f59b4167a83589e4959ceceb90d6af3c7a893"}},{"ruleId":"D1","level":"warning","message":{"text":"DateTimeParser.ParseZone (cyclomatic 17): DateTimeParser.ParseZone has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeParser.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5827d0413a9e6b4d62bf655a4b763d99b27901e0054dd514bcf34538c8e8d260"}},{"ruleId":"D1","level":"warning","message":{"text":"MethodBinder.FilterParameters (cyclomatic 17): MethodBinder.FilterParameters has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MethodBinder.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e608a39a24a022269ae7d701b93b18ff9c879a32dd935e69d857017abf2dc4"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializer.SetupReader (cyclomatic 16): JsonSerializer.SetupReader has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"2684595b1c1709299a9bea572714365e6e5a99f23f169fb918cb437ac5efdffc"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonTextReader.Read (cyclomatic 16): JsonTextReader.Read has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5e66c8b733106f00e88f6d65d1ab66095e3ed384b53c96676a156d655fad87"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonValidatingReader.WriteToken (cyclomatic 16): JsonValidatingReader.WriteToken has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"157d705bde0dbb2dba3f0d68e7bb4f52fdf341558b9ec0284c34cde5b285991f"}},{"ruleId":"D1","level":"warning","message":{"text":"ArraySliceFilter.ExecuteFilter (cyclomatic 16): ArraySliceFilter.ExecuteFilter has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/ArraySliceFilter.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bea17f7d0a2ddabe94db0f7f9c244a83fcd4f5a3857f881c9c82687ea752ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonDictionaryContract.JsonDictionaryContract.ctor (cyclomatic 16): JsonDictionaryContract.JsonDictionaryContract.ctor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9215c415bc17c8d9fdab581368d5d69a7fb43adbbddd8f71b134f76ea70bb0f"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.ReadMetadataPropertiesToken (cyclomatic 16): JsonSerializerInternalReader.ReadMetadataPropertiesToken has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c92617f54883528f505c994f1b79ed07315021e7faa0953cffe27fa9be2f14a"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.ReadMetadataProperties (cyclomatic 16): JsonSerializerInternalReader.ReadMetadataProperties has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee7ad20490cf9cff7af1451f939270a26f04222812a37fb127f2c019631f90"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateList (cyclomatic 16): JsonSerializerInternalReader.PopulateList has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1d7e62088e51f9c168233ef32ca80c5d8da90668be97a7d4c1239929389114"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (cognitive 144): JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters has cognitive complexity 144 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"021eaefe10600603cbc8609dcae8277beedba65543c6be90f824838a5b709598"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.DecimalTryParse (cognitive 123): ConvertUtils.DecimalTryParse has cognitive complexity 123 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e33f6d180ed60fc4241fb5d433270b637771c25a9842ebd2ec4ede816f2f664"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseReadNumber (cognitive 95): JsonTextReader.ParseReadNumber has cognitive complexity 95 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8155eb580adbb3350f1b3b275da87a054feb768ddaa6854fc12f0ce64dacdc"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptUtils.WriteEscapedJavaScriptString (cognitive 89): JavaScriptUtils.WriteEscapedJavaScriptString has cognitive complexity 89 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"802f8ee1a56f3108e784a011004f285349c89375cf41bdf010152bcc23b43428"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlNodeConverter.SerializeNode (cognitive 67): XmlNodeConverter.SerializeNode has cognitive complexity 67 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"3913c8caaebc7cb1d9b964277f10df90b480d528e3d64c5cce0efe11af35f17e"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlNodeConverter.ReadAttributeElements (cognitive 65): XmlNodeConverter.ReadAttributeElements has cognitive complexity 65 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4656199fd352100176124b93fdfe5db8572354c9cd65b65420d06de1933bd0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonWriter.WriteValueAsync (cognitive 63): JsonWriter.WriteValueAsync has cognitive complexity 63 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1263106cbef479e7ea8d3e6c9d5a5ce22f15823882736d6f2d687161a73551"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonWriter.WriteValue (cognitive 63): JsonWriter.WriteValue has cognitive complexity 63 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"175fcd40463f9bd30d0bbc85c0a1f4f7f5d505b3662bebd7aa5fd205dd5f4444"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateObject (cognitive 59): JsonSerializerInternalReader.PopulateObject has cognitive complexity 59 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2388}}}],"partialFingerprints":{"codehealthFindingId/v1":"5786af1e69a9f4067e5f63f8fc087f37c9493c69e0be0caebdb2dcd276282bec"}},{"ruleId":"D2","level":"warning","message":{"text":"JPath.ParseArrayIndexer (cognitive 55): JPath.ParseArrayIndexer has cognitive complexity 55 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14618acc25fea5424c3c3a1d706b85ddb85056f4938f9465b41b7bb2940944d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaBuilder.ResolveReferences (cognitive 54): JsonSchemaBuilder.ResolveReferences has cognitive complexity 54 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaBuilder.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb91c05dac5fb18b0f1a29cfc6c8769070a79ea3396b0b7b6a3ab51fbe172ed0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateObject (cognitive 54): JsonSerializerInternalReader.CreateObject has cognitive complexity 54 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b323621bdbded59ec038e046fa29758e96c88565cce7ec9d37b80d94ad3d54"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.ResolvePropertyAndCreatorValues (cognitive 53): JsonSerializerInternalReader.ResolvePropertyAndCreatorValues has cognitive complexity 53 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2242}}}],"partialFingerprints":{"codehealthFindingId/v1":"77ce416f0deff3480606b48ca29d988da1e6e52068a5b104ac989d88e3622a28"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateMultidimensionalArray (cognitive 50): JsonSerializerInternalReader.PopulateMultidimensionalArray has cognitive complexity 50 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa70b70e349e088e0b220581eb220d445ab04d643a10fedb08a45698083ce90"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateDictionary (cognitive 48): JsonSerializerInternalReader.PopulateDictionary has cognitive complexity 48 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d9172dc3ed681a9660180e5335eb9dd53bda0676caa5467f11af51c90f0657"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.TryConvertInternal (cognitive 48): ConvertUtils.TryConvertInternal has cognitive complexity 48 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d1fc242cafd5a17940dd8f77ebefffb580633b64eb58583acb340f9a47cd35"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlNodeConverter.DeserializeNode (cognitive 47): XmlNodeConverter.DeserializeNode has cognitive complexity 47 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3c744791daab19a29ba2392060d0079656e4ca47f67d6c69c952dee6581dde"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlNodeConverter.SerializeGroupedNodes (cognitive 46): XmlNodeConverter.SerializeGroupedNodes has cognitive complexity 46 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f1d5b3328e1b0965d1efa9d0cc74382405a2ee759a30f617c54777daf7f5a0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadStringIntoBufferAsync (cognitive 46): JsonTextReader.ReadStringIntoBufferAsync has cognitive complexity 46 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d93395759e087a1d6173a2ee82ab1121a7448db0959725c80d52e4db58365e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadStringIntoBuffer (cognitive 46): JsonTextReader.ReadStringIntoBuffer has cognitive complexity 46 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1136}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b634aef3cb39777744fc07f447441f096e0801325befa9492bdb7cabe5a32c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateDynamic (cognitive 45): JsonSerializerInternalReader.CreateDynamic has cognitive complexity 45 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"715a76feede8888ef1a4dd4a030cc6691019eeab19834252295a87b552b07ec8"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValidatingReader.WriteToken (cognitive 44): JsonValidatingReader.WriteToken has cognitive complexity 44 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70f7c5634327d778ae2c876c867e4d4c2aa83bb7310a8732d0ecc1db8bdca07"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaGenerator.GenerateInternal (cognitive 44): JsonSchemaGenerator.GenerateInternal has cognitive complexity 44 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4afc75874dd4e81fc5c15918ec4871b03e42e56b1ed9a6a755b11f0c7072a7"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadStringValueAsync (cognitive 43): JsonTextReader.ReadStringValueAsync has cognitive complexity 43 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"94afbd2e50e30a3f8ec5ad5dc7189125f5d550fa1640ec4ff1aff31994aa95ec"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadStringValue (cognitive 43): JsonTextReader.ReadStringValue has cognitive complexity 43 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d7145a95a4a6193c8aafd5f3902c4b40c7737843181d3d8080f5ee41c33f22"}},{"ruleId":"D2","level":"warning","message":{"text":"JPath.ParsePath (cognitive 43): JPath.ParsePath has cognitive complexity 43 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3289e1cced1ecbc1f6173c49a3fd9506e16405789475b14198cdc233edeaa23b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.ReadMetadataPropertiesToken (cognitive 43): JsonSerializerInternalReader.ReadMetadataPropertiesToken has cognitive complexity 43 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"c437549b75bd54d044fe8443401416f609552ac7301e1685da61ee990ab6614e"}},{"ruleId":"D2","level":"warning","message":{"text":"ArraySliceFilter.ExecuteFilter (cognitive 42): ArraySliceFilter.ExecuteFilter has cognitive complexity 42 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/ArraySliceFilter.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb7d2d5b2caa14e1717a569b2e3b950eae603df5c0917d92c13071c6e2fcdb5"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.ReadMetadataProperties (cognitive 41): JsonSerializerInternalReader.ReadMetadataProperties has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21f8aa37452a1605d3f67c072bbbcf6bf5c3d336ac61458cef57deccb716972"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptUtils.WriteDefinitelyEscapedJavaScriptStringWithoutDelimitersAsync (cognitive 41): JavaScriptUtils.WriteDefinitelyEscapedJavaScriptStringWithoutDelimitersAsync has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fe31223a813486219743dfe0f49005f7be45b4d42faeba4819aabec7a3e2cd"}},{"ruleId":"D2","level":"warning","message":{"text":"JValue.Compare (cognitive 39): JValue.Compare has cognitive complexity 39 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"897103fc21c1deecc7c02f853853491572553217a9ce5b6a3e74883d503511d5"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseCommentAsync (cognitive 38): JsonTextReader.ParseCommentAsync has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0594c4ab429818fbcb4741322587b27f63167f1a5646119e85afe0dab2231d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseComment (cognitive 38): JsonTextReader.ParseComment has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":2263}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c160fb7ec7f337cea25b2ba028e13938cd313e251468c80bc89928e6e4a8078"}},{"ruleId":"D2","level":"warning","message":{"text":"MathUtils.IntLength (cognitive 38): MathUtils.IntLength has cognitive complexity 38 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MathUtils.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5341ccacb8dc677a93423edd49d11bbd1a55fd97cc0fd3261d95253ef3c8ca57"}},{"ruleId":"D2","level":"warning","message":{"text":"JPath.ParseExpression (cognitive 36): JPath.ParseExpression has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cf4342abe7f798aaed6a6a36f9757056599d397559568c1b6df1e4e6715147"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.SetPropertySettingsFromAttributes (cognitive 36): DefaultContractResolver.SetPropertySettingsFromAttributes has cognitive complexity 36 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"a149153efcac2f5557ae9d4350e5f3e69e4ace45acd568a0e1dd22ac8747043f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.EndProcessProperty (cognitive 35): JsonSerializerInternalReader.EndProcessProperty has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":2597}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04fa21a5c8b927414ba0e9958ff13316953b16b6a376cc975e4fedbee8bad11"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.SerializeDynamic (cognitive 35): JsonSerializerInternalWriter.SerializeDynamic has cognitive complexity 35 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"328f023bd626129253d50bcfa7edda5fc96f7ee11eed0fda420aec33bc758597"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtils.GetChildPrivateProperties (cognitive 35): ReflectionUtils.GetChildPrivateProperties has cognitive complexity 35 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a96d48534c56b98a2e1eddfd5fc5f4d626480dd43b552de0a6fd7246409665"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadAsBoolean (cognitive 34): JsonTextReader.ReadAsBoolean has cognitive complexity 34 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19ff4ba7dbc1c9a96649a95924c4cf1ae168d46852ae9c8cd6c52df4c4d515f"}},{"ruleId":"D2","level":"warning","message":{"text":"JContainer.MergeEnumerableContent (cognitive 34): JContainer.MergeEnumerableContent has cognitive complexity 34 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d81a87a61eac1b603c70083435713c41a1f35623acfb69bc56ef1923eaa48c"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryExpression.MatchTokens (cognitive 34): BooleanQueryExpression.MatchTokens has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/QueryExpression.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa0fbab823218115ba156428d2dcdc768cac7a58005d3bd21362a334ddc21c"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.GetSerializableMembers (cognitive 34): DefaultContractResolver.GetSerializableMembers has cognitive complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1f5753494b572a80016318cdb623ee07f517f62d09af9e5fd63d3885bfd42e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateList (cognitive 34): JsonSerializerInternalReader.CreateList has cognitive complexity 34 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50a639e98e74d6a2d5fbbf202dac6fb1fe155826e57e4ef10f9a9a1572ee9fc"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseValue (cognitive 33): JsonTextReader.ParseValue has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1693}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f7bc7328fffbc1c4fb2e238353730a637eb156ad446cc15ac324d7bcc1b9cc"}},{"ruleId":"D2","level":"warning","message":{"text":"JValue.Operation (cognitive 33): JValue.Operation has cognitive complexity 33 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"defc6b403fd4c26cf26bd4d992778578addc855680e6b1be5b3b197e28287768"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeParser.ParseZone (cognitive 33): DateTimeParser.ParseZone has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeParser.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"8452b06c9f961e5b6d298ef1b373a178bdeb56b1b896b1a5943d54bf12c1f4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonWriter.InternalWriteEndAsync (cognitive 32): JsonWriter.InternalWriteEndAsync has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f335a1149eba4caddac404122e555115d3c1403da14b9e7176717f96c406576"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonArrayContract.JsonArrayContract.ctor (cognitive 32): JsonArrayContract.JsonArrayContract.ctor has cognitive complexity 32 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68a840e25c7a7b3010fd0be7121f8835f7513520ca17bf3026aa0e133581b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializer.ApplySerializerSettings (cognitive 31): JsonSerializer.ApplySerializerSettings has cognitive complexity 31 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fd8e6c3599cba6306fe6dd3f8ba5b63f30a3e0e4305dabddb922ae8ee5b41e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseValueAsync (cognitive 31): JsonTextReader.ParseValueAsync has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"712b424c281c04eee570eb979cae6dac523f2aee3f369096d36271f727908da6"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumUtils.ParseEnum (cognitive 31): EnumUtils.ParseEnum has cognitive complexity 31 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/EnumUtils.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb2684ebd546ebbd46abfb2d8a0e36f36a5740cf309950c166490a6cc7ba614"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.DoReadAsBooleanAsync (cognitive 30): JsonTextReader.DoReadAsBooleanAsync has cognitive complexity 30 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"694499a6aaa539053cf50264749c81c52f20790f12ca2a1a172a4a96a884ffcd"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.DoReadAsBytesAsync (cognitive 30): JsonTextReader.DoReadAsBytesAsync has cognitive complexity 30 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0829a1c3f05b84e3511e7a23a2352c5cda3ab735888da58e544694cda36267"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadAsBytes (cognitive 30): JsonTextReader.ReadAsBytes has cognitive complexity 30 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"7badf9d88e73bcd09ad395f4ec5187a6a7af28140e94b5a8f8f8c874f5b46b91"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.PopulateList (cognitive 30): JsonSerializerInternalReader.PopulateList has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2b1f6df102c5e736a764e92a47dac15347727e54e1ff8b383db1b5153d8483"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.Int32TryParse (cognitive 30): ConvertUtils.Int32TryParse has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8d1509bfee1864a084a8fcd79968428054985bd958e7907d2a690a1d24ca07"}},{"ruleId":"D2","level":"warning","message":{"text":"ParametersMatchComparer.Compare (cognitive 30): ParametersMatchComparer.Compare has cognitive complexity 30 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MethodBinder.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"4343210764f37fa9d1ca21ac800d9bfd12908638d146013ca572885ec5040a92"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPropertyCollection.AddProperty (cognitive 29): JsonPropertyCollection.AddProperty has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonPropertyCollection.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e4d91c44ab484ed1aacdc829caeaffe494385acf28925b781a7da64a9044d3"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.EnsureType (cognitive 29): JsonSerializerInternalReader.EnsureType has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc680814c7a12ad00ba246ab517e66e98d9324dec8165b8a713e95f4b2615633"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicReflectionDelegateFactory.GenerateCreateMethodCallIL (cognitive 29): DynamicReflectionDelegateFactory.GenerateCreateMethodCallIL has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DynamicReflectionDelegateFactory.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"27300c297934a52d7cc9d1b330c4963d02b7ace20d333f95e20a6bc26940847d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvertUtils.Int64TryParse (cognitive 28): ConvertUtils.Int64TryParse has cognitive complexity 28 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dd7fb6c13ef3994eade4aa2afbf8db769124297105de24af69c325af395f69"}},{"ruleId":"D2","level":"warning","message":{"text":"BsonReader.ReadNormal (cognitive 27): BsonReader.ReadNormal has cognitive complexity 27 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b875d09dc6c441c6b9a3706172b4165397cdc46170a00d065339d29cbd386"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadNumberValueAsync (cognitive 27): JsonTextReader.ReadNumberValueAsync has cognitive complexity 27 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3d1ad9b350f132f9c706c30e30a56afa467f5609be95f3ad06fc563836c26c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ReadNumberValue (cognitive 27): JsonTextReader.ReadNumberValue has cognitive complexity 27 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd394f54b2e4eec1f1f590fa38359c93b7bed3ad5cabd3f04a9c99878c2423e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseConstructor (cognitive 27): JsonTextReader.ParseConstructor has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb2058adbd044b5d955739a27fc13026ac3a2f3328ff8e5e0ebf123750694dd"}},{"ruleId":"D2","level":"warning","message":{"text":"JToken.RemoveAnnotations (cognitive 27): JToken.RemoveAnnotations has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2791}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7abb75c4a92700795d158c68483d2850cae1e69df4a560481186ed47a4a760"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.ToSeparatedCase (cognitive 27): StringUtils.ToSeparatedCase has cognitive complexity 27 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/StringUtils.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ce225bccd1e3a142cd4c45bcbf016b2f316cd6a6bf3f4c241cc872b1da0a63"}},{"ruleId":"D2","level":"warning","message":{"text":"JContainer.ReadContentFromAsync (cognitive 26): JContainer.ReadContentFromAsync has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.Async.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf74ab25cd372139acb9002435ad47a87ae85f8d02bbe841f2b6ed2480c57b19"}},{"ruleId":"D2","level":"warning","message":{"text":"JContainer.ReadContentFrom (cognitive 26): JContainer.ReadContentFrom has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"282e4fb82235e3f9acb6e5c28d15e4fe8cc9cee0f08eb5b5cd013816000443cf"}},{"ruleId":"D2","level":"warning","message":{"text":"JToken.RemoveAnnotations (cognitive 26): JToken.RemoveAnnotations has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2741}}}],"partialFingerprints":{"codehealthFindingId/v1":"e211753ef3a025be1cbd20bb00890414b55ee6f7839e9d83b0c7b710598de0db"}},{"ruleId":"D2","level":"warning","message":{"text":"JValue.WriteToAsync (cognitive 26): JValue.WriteToAsync has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.Async.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b1c3c8c782106e25a76ed6ac4bca81df0670b01a0e8f5f83f155f8c960dd10"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSerializationBinder.GetTypeFromTypeNameKey (cognitive 26): DefaultSerializationBinder.GetTypeFromTypeNameKey has cognitive complexity 26 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultSerializationBinder.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c12b64177b429fc7faf29d0f31d949f6cd269d3508a9db87c96eea7012b248f"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodBinder.FilterParameters (cognitive 26): MethodBinder.FilterParameters has cognitive complexity 26 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MethodBinder.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"339283b02ae789794434ac1ff5d5c54473576bec49427d2677408c2c44b91b47"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseConstructorAsync (cognitive 25): JsonTextReader.ParseConstructorAsync has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"57abc7a5039bcfbdb4456e1e54b1b108a9d50e7ad03c3109e98efb2671747f55"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParseReadString (cognitive 25): JsonTextReader.ParseReadString has cognitive complexity 25 (threshold 15). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f5c3f17f3f4ee01c1c01b688c05e70380d613f4c71198827cca906840805eb8"}},{"ruleId":"D2","level":"warning","message":{"text":"JPath.TryParseValue (cognitive 25): JPath.TryParseValue has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3501bfeefb474dfeb4a3aec177202c9de9af60c01cb779383556b0ffbed2f0e"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.CalculatePropertyValues (cognitive 25): JsonSerializerInternalWriter.CalculatePropertyValues has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c217c3d7977d0ae1d37f52cbecf6ba8fd87fc8deccc7bf53a822597c4a23e3"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeUtils.TryParseDateTimeOffset (cognitive 25): DateTimeUtils.TryParseDateTimeOffset has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dda4ff28a5922a582cb4bdd0091264d40b89d555f570cea5bbdeff281d6ccbf"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionObject.Create (cognitive 25): ReflectionObject.Create has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ReflectionObject.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc53b5cd1a8eb6c95137cf21546ae6e18c47e4c7a0de0e5f4806896e4e3cd61a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializer.SerializeInternal (cognitive 24): JsonSerializer.SerializeInternal has cognitive complexity 24 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57569208bbcbf09e4bff6138d5095e91a0667c19435c96bfacadf779461f27c"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValidatingReader.ValidateInteger (cognitive 24): JsonValidatingReader.ValidateInteger has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b59bdb82dd9d5300cadb4c4cd5bccda0a516115c022fad1fa25373fa766a948"}},{"ruleId":"D2","level":"warning","message":{"text":"JToken.ToObject (cognitive 24): JToken.ToObject has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2015}}}],"partialFingerprints":{"codehealthFindingId/v1":"642d809311010de1257fb7d52c5a5d2215b062ebb693d9b28dd6d2d4b94ed56c"}},{"ruleId":"D2","level":"warning","message":{"text":"JValue.WriteTo (cognitive 24): JValue.WriteTo has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac23f9e58a5d84dd756bad79b8c5877afb029ebba097aa6e0cdbf372a5efb2a9"}},{"ruleId":"D2","level":"warning","message":{"text":"ExpressionReflectionDelegateFactory.BuildMethodCall (cognitive 24): ExpressionReflectionDelegateFactory.BuildMethodCall has cognitive complexity 24 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ExpressionReflectionDelegateFactory.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cd5113cecf5e48487c89ed271e1fd177c1d8614cc25e47958b1a408ba269e6"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTableConverter.CreateRow (cognitive 23): DataTableConverter.CreateRow has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/DataTableConverter.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8df850cf0e3bb4b1475b03e9eb0828d18d2e13958dfd157df4899d6c9bf9eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParsePostValueAsync (cognitive 23): JsonTextReader.ParsePostValueAsync has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a50f9099e7f78f965940bbb8a7e08d3c0d1e350ac99be61c65ee177bea09e2"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.ParsePostValue (cognitive 23): JsonTextReader.ParsePostValue has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da25b8a300172a8a76c5de762e26b03f1944a8c1e8a064f76fb1ec754534fa7"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSchemaWriter.WriteSchema (cognitive 23): JsonSchemaWriter.WriteSchema has cognitive complexity 23 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaWriter.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e267bf1d5fed75ef6544b283e23219da6df5fe872ab7aded64c0da5bad7a646e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.GetCallbackMethodsForType (cognitive 23): DefaultContractResolver.GetCallbackMethodsForType has cognitive complexity 23 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b70cb2ff961e60127015a2f2053636682e5afc5ebeac72a1ac7da33237e0c74"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.SerializeObject (cognitive 23): JsonSerializerInternalWriter.SerializeObject has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7497780376885331d4ee403003fe520b8a86fc47ec6687bfdd4f9f1b273da39"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializer.SetupReader (cognitive 22): JsonSerializer.SetupReader has cognitive complexity 22 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e7fe97811e86d94870fcd0d12615aa02a8f633834796b457d0bb2c86789861"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.CreateObjectContract (cognitive 22): DefaultContractResolver.CreateObjectContract has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6a3a6ceab44e181f8be1ee7f647856104f4da3230009e7851c128cdc053996"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.CheckForCircularReference (cognitive 22): JsonSerializerInternalWriter.CheckForCircularReference has cognitive complexity 22 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d24d9f16c4eac7c0268d4de68af6cc628bd20af4add65b6ece2c71fe5689d"}},{"ruleId":"D2","level":"warning","message":{"text":"IsoDateTimeConverter.ReadJson (cognitive 21): IsoDateTimeConverter.ReadJson has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/IsoDateTimeConverter.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e96b1f5bd94e31f069193ce8ae20a5b3d470b2edc027e50112e0df23811c4f0"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonDictionaryContract.JsonDictionaryContract.ctor (cognitive 21): JsonDictionaryContract.JsonDictionaryContract.ctor has cognitive complexity 21 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e29691e3fb6a7eb5c934bdbc64c2783c5d755d4913219ed69a90500df47b181"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CalculatePropertyDetails (cognitive 21): JsonSerializerInternalReader.CalculatePropertyDetails has cognitive complexity 21 (threshold 15). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab9e2f676c8e4921496f7f506ee53526ea34789e514784c4154966b916aad9"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.SerializeMultidimensionalArray (cognitive 21): JsonSerializerInternalWriter.SerializeMultidimensionalArray has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a29e36a4c92986f261addbaee0ed4116363905e124ace1497a5fe2c8d2007"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeUtils.TryParseDateTime (cognitive 21): DateTimeUtils.TryParseDateTime has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"800826de8589f43f3abd534a2fc1a9912c3899523c73400485ade42a8b5760e6"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeUtils.TryParseDateTime (cognitive 21): DateTimeUtils.TryParseDateTime has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"669234975a0f6301fcf5f9b63857f84d7e24a58dcc6bb769dd7a9dabd6b654be"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeUtils.TryParseDateTimeOffset (cognitive 21): DateTimeUtils.TryParseDateTimeOffset has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2199754658d86fd925ac54902b5a1cc84a32d50a6bfb172c37680c3133c2bb13"}},{"ruleId":"D2","level":"warning","message":{"text":"DiscriminatedUnionConverter.ReadJson (cognitive 20): DiscriminatedUnionConverter.ReadJson has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/DiscriminatedUnionConverter.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e089121189393f96c44b9628e504857fab84035df785ba5c67f315ef0dc1e9"}},{"ruleId":"D2","level":"warning","message":{"text":"XElementWrapper.HasImplicitNamespaceAttribute (cognitive 20): XElementWrapper.HasImplicitNamespaceAttribute has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63bae1ab35f09c98d963121407a6934d3595fe1957610686c1ab2a32b2d6b00"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValidatingReader.ValidateCurrentToken (cognitive 20): JsonValidatingReader.ValidateCurrentToken has cognitive complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16e4599709f41e32b3ae74bfd3f36f9e8cdeea40e28858acce9c2e19f95bb1b"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayIndexFilter.ExecuteFilter (cognitive 20): ArrayIndexFilter.ExecuteFilter has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/ArrayIndexFilter.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e82ee136a41c2427f9c04f5eda4ec466e0529448aa0cf084c20e913df732ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldFilter.ExecuteFilter (cognitive 20): FieldFilter.ExecuteFilter has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/FieldFilter.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ca96af74318d046c3267731ffc50d4b635b30ee0839d0e644ced30d5eeedf8"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanFilter.ExecuteFilter (cognitive 20): ScanFilter.ExecuteFilter has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/ScanFilter.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfaa4a4591faefaadd9904c8892fa2c4232bee70e052d7b44742dba973c4b2ac"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSerializationBinder.GetGenericTypeFromTypeName (cognitive 20): DefaultSerializationBinder.GetGenericTypeFromTypeName has cognitive complexity 20 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultSerializationBinder.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9a4571b88fa6411798e602abcb446b37e0f84d8e79a208f7fda702d10b72e6"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.Populate (cognitive 20): JsonSerializerInternalReader.Populate has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9df30fb93243d3569f66bc14b4bfe8ffe8cf3afa77daf029dd04e70b6988df"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.SetPropertyValue (cognitive 20): JsonSerializerInternalReader.SetPropertyValue has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397490b73ec0e25522c6c5927e34c6cf2723e6496dc13b23ca01536dc223e85"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.CreateNewList (cognitive 20): JsonSerializerInternalReader.CreateNewList has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6258fc4b800c736abd7c2a0bcaea65ff0cb1334a6d92842e07020ff1fee211"}},{"ruleId":"D2","level":"warning","message":{"text":"DateTimeParser.ParseTime (cognitive 20): DateTimeParser.ParseTime has cognitive complexity 20 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeParser.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"157f4e3001d3100970803f7bbbcef7fc3f111d2340f00cc0c5a957c9f53c3d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"BsonReader.ReadString (cognitive 19): BsonReader.ReadString has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd61ab7d57738fa32276decc40a8e0a40959517054373d067b2e9df301332b15"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.PrepareBufferForReadData (cognitive 19): JsonTextReader.PrepareBufferForReadData has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"57fdadd098ec039e07b4510e2e1f6af5c5d79ea0d8bc9168d1672d4abcea2de3"}},{"ruleId":"D2","level":"warning","message":{"text":"JToken.Annotation (cognitive 19): JToken.Annotation has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2619}}}],"partialFingerprints":{"codehealthFindingId/v1":"84bbcdf0094a3cbf34f5f75d840eddbe6292876e8e398ee81547a3572b49b258"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalReader.Deserialize (cognitive 19): JsonSerializerInternalReader.Deserialize has cognitive complexity 19 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e62c60f609c1debc4382e4b1b70d58910c5215ffa77397e49c078af59a1b09"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldMultipleFilter.ExecuteFilter (cognitive 18): FieldMultipleFilter.ExecuteFilter has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/FieldMultipleFilter.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"501a256dcbbb6e0c12c3bb8293c0155c1f882d44927f889932d88034bcb51591"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanMultipleFilter.ExecuteFilter (cognitive 18): ScanMultipleFilter.ExecuteFilter has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/ScanMultipleFilter.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b75cbff37e2d0c25d1b53c4284e10c5dee3dda9d24c67febc391076287f770"}},{"ruleId":"D2","level":"warning","message":{"text":"JTokenWriter.WriteToken (cognitive 18): JTokenWriter.WriteToken has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JTokenWriter.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3efa81a3d1aeda6a233165d782a7a66d0d9c4f9eccbe4c4e02620030d2014d"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.SerializeDictionary (cognitive 18): JsonSerializerInternalWriter.SerializeDictionary has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ebe3aa9985c256fd4de82f884e0e089dd444036bdfa081e8eb2ce1b4292aa"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaScriptUtils.TryGetDateFromConstructorJson (cognitive 18): JavaScriptUtils.TryGetDateFromConstructorJson has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"489713e8208fbf9a60f6b52c1e5505d3f1ae25b5a759a5653830fdac84dfa538"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtils.GetFieldsAndProperties (cognitive 18): ReflectionUtils.GetFieldsAndProperties has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5fe2a8cb21110df448776098c00f04713551990ca88c17acb97cdf96f3f4ea"}},{"ruleId":"D2","level":"warning","message":{"text":"ParametersMatchComparer.ChooseMorePreciseType (cognitive 18): ParametersMatchComparer.ChooseMorePreciseType has cognitive complexity 18 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MethodBinder.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f124aa77a69d5b63c3ee468b82aa5761296d3c56da5d88402990306395f6168"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlNodeConverter.PushParentNamespaces (cognitive 17): XmlNodeConverter.PushParentNamespaces has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"087f86e3a3e2646923a37eb89c403ba8aff100c44a55df774c4361a105b1b34b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.Read (cognitive 17): JsonTextReader.Read has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"14919e55dad4baebd0a1474dc4c880665f3d32827eacbaca67fa6dc9f8601914"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonValidatingReader.ValidateFloat (cognitive 17): JsonValidatingReader.ValidateFloat has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"348bc8c841baca5b6b235be20a2b9e04d2ae232ef23633f593b425d2acf05be8"}},{"ruleId":"D2","level":"warning","message":{"text":"Extensions.Values (cognitive 17): Extensions.Values has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/Extensions.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9352eea44c64c129d76b7059efd89b888daed58ef646ec8eba057f63b6b923b9"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonSerializerInternalWriter.ShouldWriteType (cognitive 17): JsonSerializerInternalWriter.ShouldWriteType has cognitive complexity 17 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ecc4e270539d71c1018566f7e394822f2213a8266c27c0bf89f75755d0831f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTypeReflector.GetAttribute (cognitive 17): JsonTypeReflector.GetAttribute has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonTypeReflector.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85fa34b2e98fdda9f66fa8a84f9f1e9160828f8a7ae76d33f431fa41f277aba"}},{"ruleId":"D2","level":"warning","message":{"text":"BsonReader.GetString (cognitive 16): BsonReader.GetString has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"059204fa54e81c39786b5ea6d704596d43594c4604c6adb65595ef1d9f605e70"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.EatWhitespaceAsync (cognitive 16): JsonTextReader.EatWhitespaceAsync has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43572e68d87a2dde282a1473f450f765cbf2e0c9fabbd2d233356039506cfb9"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonTextReader.EatWhitespace (cognitive 16): JsonTextReader.EatWhitespace has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6d1d897ba2d34b5a08f36849bfe9890ec71e146c88b439b0b5b58ec1943106"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonWriter.AutoCompleteAsync (cognitive 16): JsonWriter.AutoCompleteAsync has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7ed1f3cc4d22c29209056d85b1f4fccfc9f9de98c89ecd381af0133d604cf50"}},{"ruleId":"D2","level":"warning","message":{"text":"JPath.ParseQuotedField (cognitive 16): JPath.ParseQuotedField has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8f62d27c4cd9709b834e731dc209eacfcf90a91ad6056405b45dab2d827f68"}},{"ruleId":"D2","level":"warning","message":{"text":"JValue.GetValueType (cognitive 16): JValue.GetValueType has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a40879106c94f7ab7bbbe67e8a039f327ee9aabc3bffb4fc0064f7c977b7df"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.SetExtensionDataDelegates (cognitive 16): DefaultContractResolver.SetExtensionDataDelegates has cognitive complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"4421a31fc70d57adeca8d78ad3d730678575cad9bf5c7c2f9bb90de0cfbc45ec"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultContractResolver.GetImmutableConstructor (cognitive 16): DefaultContractResolver.GetImmutableConstructor has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"5159c96397495b8f79e2d42b1e62e2bbe35e693c1a2aac52c1764a4734bc25a2"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumUtils.InternalFlagsFormat (cognitive 16): EnumUtils.InternalFlagsFormat has cognitive complexity 16 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/EnumUtils.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cf08486045c124d4b17e9f844ed43f65f8411f5a72b4b9b1477498a059b73c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonTextWriter: TooManyMethods \u2014 739 significant lines (blank, comment-only and punctuation-only lines excluded), 177 methods, declared across 2 files: Newtonsoft.Json/JsonTextWriter.Async.cs (122), Newtonsoft.Json/JsonTextWriter.cs (55). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextWriter.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98d2880ea7e7d58ba271c8ffece170db2ea3750d8344f44a9d221306098ad884"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonWriter: TooManyMethods \u2014 1413 significant lines (blank, comment-only and punctuation-only lines excluded), 173 methods, declared across 2 files: Newtonsoft.Json/JsonWriter.cs (96), Newtonsoft.Json/JsonWriter.Async.cs (77). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8c9b4e6207ca5bca90673c92ceb906985f6f47ceb6eeafdec6e4c610d37274"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JToken: TooManyMethods \u2014 1016 significant lines (blank, comment-only and punctuation-only lines excluded), 146 methods, declared across 2 files: Linq/JToken.cs (138), Linq/JToken.Async.cs (8). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3cc2d45dd18d93913aa03678d8f0e449628f2400d59e981cfc8cd55354f8d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonTextReader: TooManyMethods \u2014 2431 significant lines (blank, comment-only and punctuation-only lines excluded), 128 methods, declared across 2 files: Newtonsoft.Json/JsonTextReader.cs (73), Newtonsoft.Json/JsonTextReader.Async.cs (55). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b434b14a5d8a79e8a38c20fc5ec922dd7c8f904142253844b2cbd8b0e90b72e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Newtonsoft.Json/JsonTextReader.cs: FileTooLong \u2014 1453 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4696a92407d717ec20b07b3f48b3025d35a8d7972b1969fca1803d0bc82251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Serialization/JsonSerializerInternalReader.cs: FileTooLong \u2014 1339 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd4160daf08436233414c1e1260c5c7d64b1d7ee190261ccf3996bdf75836ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JContainer: TooManyMethods \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 70 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a2f4ed53854c6afe83414d44a7d06bb1a43d38110e28351ed3df9df3fab130"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Converters/XmlNodeConverter.cs: FileTooLong \u2014 1065 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"904798085ffb7e95a86a9887442af429ba69a857f3ab6da6d249f4b82ccdcf0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Newtonsoft.Json/JsonTextReader.Async.cs: FileTooLong \u2014 1006 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea57acc5c9ecc78418b7faca20ffbae844b55c846d640859cd412245aa627f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonReader: TooManyMethods \u2014 635 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods, declared across 2 files: Newtonsoft.Json/JsonReader.cs (44), Newtonsoft.Json/JsonReader.Async.cs (16). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f900eeb74cd80b18f8ca636699e86626c94744ca13476addf38a81f78c6b1ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JValue: TooManyMethods \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods, declared across 2 files: Linq/JValue.cs (58), Linq/JValue.Async.cs (1). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df61e22df3cbacc2d16a02e5d763566e484af6c864ad719632e91ca4da79d144"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Linq/JToken.cs: FileTooLong \u2014 977 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4770281f2a91ba01e84a843f305accfec088538aabdee5b1bff27bbd44c0a8e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JObject: TooManyMethods \u2014 290 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods, declared across 2 files: Linq/JObject.cs (54), Linq/JObject.Async.cs (3). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5a1fba047fb94536270a51bc0fb170e7f1ad0404e4b38a085e67cde58c0f70"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TraceJsonWriter: TooManyMethods \u2014 297 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/TraceJsonWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4d637f85931ee28fcd5253a5973998e16d8066b0446244131afeb49be0993f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: XmlNodeConverter: ClassTooLong \u2014 660 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c33c0714be8c091c99a44d92725383c436550bac5ed2822330c6968a05f6ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonSerializerInternalReader: TooManyMethods \u2014 1313 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff498cff83aa8644f1d87121f2b20c6819935e66d0e4d340434aba23d290be38"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultContractResolver: TooManyMethods \u2014 669 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1237c55f2f9be9d9e72bd4a4cfd225cb8da3f6347be0b9261e5ba4db4033b113"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReflectionUtils: TooManyMethods \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66606a75d08ce0e9badb9e1adf2f557a3878bad9066256a08f1eb22a1cc24c76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Newtonsoft.Json/JsonWriter.cs: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4155a0a250a73a2ecc6cfa0f7dc96a60af3a142d76bb3106c391f0ad4781c16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Serialization/DefaultContractResolver.cs: FileTooLong \u2014 698 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89615d06e4f9c8a8e410bdcc4de17a01133798547e7d4609e12eb95bf00868bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BsonWriter: TooManyMethods \u2014 161 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6673f724298bbdd446c5d2698b164fdae330ec882b4eebcb702899275ca05f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonSerializerInternalWriter: TooManyMethods \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eaf758564385dbb0a5774a55d694dabd17be7a5c7c1c58179f920537ec82fbd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JTokenWriter: TooManyMethods \u2014 171 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods, declared across 2 files: Linq/JTokenWriter.cs (39), Linq/JTokenWriter.Async.cs (1). To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JTokenWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21587e08df76745bd5647ff516815dc39ceca4584f792f2bbc2f6425cf6d812"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Newtonsoft.Json/JsonWriter.Async.cs: FileTooLong \u2014 664 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7278aab84631042c329f302c94dded0f927067637afef37230f73fb8faa72f1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ConvertUtils: ClassTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce43059f7d15fcdedb39b42a4fe737d1c534bd2a8ba479eb2d5ca5036dc0bf8a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Serialization/JsonSerializerInternalWriter.cs: FileTooLong \u2014 607 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd036834dac84db44b594258abaa0bcac6a508841c93c69f2d283b311746786"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JsonValidatingReader: TooManyMethods \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonValidatingReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01107db06b4935e14169daa435d1857311c010bbd442432fb72337fba318cb79"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Newtonsoft.Json/JsonReader.cs: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b039b623dd7f6b12adb45db392978dc34bfb85470e75f401514bfec59d99758"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsonSerializer: ClassTooLong \u2014 460 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonSerializer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8e9fdf740fa5322656364d66580dc46c3e33d975d296a7b1e922d2febba502"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utilities/ConvertUtils.cs: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ConvertUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8248fc4e30392e36a58cf51a831ced7898d29bfebb2c53631822ca0fa03b3ef7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DateTimeUtils: TooManyMethods \u2014 390 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab63a1203995744e43443ada753402063a0995547d549b7fead113daf2558dd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JPath: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/JPath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b338082860982bed0f7e3bd1cfaaa0dfe2a5f7aaf54e4a64e5738c52b028a9c1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BsonReader: ClassTooLong \u2014 430 significant lines (blank, comment-only and punctuation-only lines excluded), 27 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15faa0f21a4d811d9dea6207ee68f625b8947d4dc8d16e4ef2f0683d3f2b4b1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Linq/JContainer.cs: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3e23942ac7173baea55999a4124140ded20949ec822d743a6500d03c208819"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utilities/ReflectionUtils.cs: FileTooLong \u2014 525 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee44f37040ad22b561a582e0b9e6991b0fd9486176c48c41d27f2136312270a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Linq/JValue.cs: FileTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d4d594627f5c9f558ccd5ea185d643a775b7b7531063f03e95e22e17704d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Src/Newtonsoft.Json/JsonTextReader.cs:702-725 | Src/Newtonsoft.Json/JsonTextReader.cs:988-1011 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonTextReader.cs:702\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a354bdefd87079911cd21db24dcbdc46ba840ee810c0002800fcd76f472d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): Src/Newtonsoft.Json/Utilities/MathUtils.cs:52-75 | Src/Newtonsoft.Json/Utilities/MathUtils.cs:93-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/Utilities/MathUtils.cs:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/MathUtils.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cf1f58a6d48534dd7bf8f4023e2b84141cafd4c82cc68d1f386548c1ca9fd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): Src/Newtonsoft.Json/JsonTextReader.cs:1523-1544 | Src/Newtonsoft.Json/JsonTextReader.cs:1694-1715 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonTextReader.cs:1523\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64aa78dbd5de31cf97b23afa022fb354ee99396f32fa6f7bd6101b15fe609e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): Src/Newtonsoft.Json/JsonTextReader.cs:619-637 | Src/Newtonsoft.Json/JsonTextReader.cs:924-942 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonTextReader.cs:619\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee35811a2f9e04c6e443a9ffa24a7c6f22a252ee4640c34292fd8654d7d267db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): Src/Newtonsoft.Json/Linq/JValue.cs:444-458 | Src/Newtonsoft.Json/Linq/JValue.cs:477-491 | Src/Newtonsoft.Json/Linq/JValue.cs:508-522 | Src/Newtonsoft.Json/Linq/JValue.cs:540-554 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/Linq/JValue.cs:444\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"9644409225900003f728fe5a085e0e1104dd777de698f759fda50710d7894835"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): Src/Newtonsoft.Json/Linq/JValue.cs:272-286 | Src/Newtonsoft.Json/Linq/JValue.cs:297-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/Linq/JValue.cs:272\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"458e78fc5068b35f03e9dd30fe4f04e35f2b6cbb0a87942d8be95b4eab633b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): Src/Newtonsoft.Json/JsonReader.cs:288-300 | Src/Newtonsoft.Json/JsonWriter.cs:209-221 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonReader.cs:288\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonReader.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"986b97cae0e0a4d578a8f0d6eccc4ff5f66a1cafeda21af6b8fd8121dc55e95d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): Src/Newtonsoft.Json/JsonTextReader.cs:2080-2091 | Src/Newtonsoft.Json/JsonTextReader.cs:2119-2130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonTextReader.cs:2080\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ebe2829cab98c0b52705b082b85dd29edf934466dd302f7b714928262f0389"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): Src/Newtonsoft.Json/JsonTextReader.cs:2100-2109 | Src/Newtonsoft.Json/JsonTextReader.cs:2206-2215 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060Src/Newtonsoft.Json/JsonTextReader.cs:2100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.cs"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7b58c3459f7df6ba298c4eeaa4d507ddf90ea2a009705a68a9721645511f58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): Src/Newtonsoft.Json/Linq/JsonPath/QueryExpression.cs:254-260 | Src/Newtonsoft.Json/Linq/JsonPath/QueryExpression.cs:313-320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JsonPath/QueryExpression.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0be225f637c1492d8d80837c5e8e090093ca8b7e01ec5565ef7a04655802949"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JValue (LCOM4 11): JValue\u0027s methods form 11 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ee880c62c220d03dac4c467085b5966652c9e2cf8c8acd3b26fb80069d1705"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: JToken (LCOM4 6): JToken\u0027s methods form 6 groups that share no state and don\u0027t call each other \u2014 a sign it may have several responsibilities. Review whether it splits into focused classes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed468087d5b225fed413094cd764bed8c95381f92d0a7370aff578a48d5175bf"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: Src/Newtonsoft.Json/Linq/JToken.cs, Src/Newtonsoft.Json/JsonValidatingReader.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"db2ac42c880664665e52087b23aaccf5d7a52bb6daa964b77050b4eb2d55fbd5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (3 single-owned of 115 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable repeated across 44 files: The identical BarePragmaDisable (\u0060#pragma warning disable 618\u0060) appears in 44 files (69 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 69 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Benchmarks/DeserializeComparisonBenchmarks.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab620cf7df31d5e5f2664db909699117ceae1edd118e163da4d51b3c01b568c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Bson/BsonReaderAsyncTests.cs"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a9fc08ba3369100fc55800657b04ae2e7e616a863caffd7312e57dddd01e0c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Bson/BsonReaderAsyncTests.cs"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"930cf7eb4d2fc18e1114b37b6b41a618c8d0dede311370e50ef31ae7664d5799"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbc76520e9b4a2313b8e1093fd8748c28e4550e9604718f1ccbef3d3a012ab1"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Bson/BsonReaderTests.cs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"24c6def93a25fba5a24c790a152dc6b71f028c5c5fd3a4d471c635f5fa396d84"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/DemoTests.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9f227a0ba719cae947e740f156262413cf63f33ce34b5e3f79c2de05f391c7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs"},"region":{"startLine":1687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c500747ff2dab4c97c75007f914673931c69136ec98f25bc583acd71e95f3c5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs"},"region":{"startLine":1754}}}],"partialFingerprints":{"codehealthFindingId/v1":"9285ea0ffa814e6d9c5923e9043468a6a0b506e8d67614f0f72d3a6f896e23be"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs"},"region":{"startLine":6503}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5e951c6870416738ed2d2173f9e8e11e2d2b4bff746cfc483b0f64c633dc91"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/TestFixtureBase.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"022e80529a8feb02db7de8c3d3ae669222099dd64535a8675462ab61638190fd"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 169 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Documentation/Samples/Serializer/SerializeExtensionData.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3322a2a459ed95159c952778bd686fbb3a59a60568a8f9dbfee598044f2b08f1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 169 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/ExtensionDataTests.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca33a7da932be4580688e4edd99042f845a4ff676ca6823a68e37632b0838e1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable xUnit1013 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/FuzzRegressionTests.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead81fe95b09857ed83a73e379ec1918ba9c93dc33b2312c388269c2785ff392"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Schema/ExtensionsTests.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c0fd874d7a7545d71384280f708d0cacdb55b0e21b9f6f5ce1c9356cb61ef1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 649 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/ExtensionDataTests.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a27936ec9632793f8fca5a0bca6c817dae35df956da30d84c437efbad82a88d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/JsonSerializerTest.cs"},"region":{"startLine":4083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6970fef56ffc381fa347ac7703ae952cc6eb7a35554d99ff18ac223729c4e17"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0618 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Serialization/TypeNameHandlingTests.cs"},"region":{"startLine":2318}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2631452ade66dcf1e8fd69059e248270818d2e672f0ad0dbf8f27e10d73f5e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 108, 114 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/TestObjects/SubWithContractNewProperties.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f27b80f63818288ca6210d7276b09567cd6f16dac32bcc95278006bb523072"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 108, 114 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/TestObjects/SubWithContractVirtualProperties.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef54bd7e2f1fe15a17f2a40006cfd6c2651769168408915e8ebd78748ded6e25"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 108, 114 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/TestObjects/SubWithoutContractNewProperties.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"239f16c2b4d3b7e8d65fd9e02bcee145763c583adc6346fed6f6dc104896766f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UuidOld"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonBinaryType.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec1cfec2320196a2d0e41a990c3277face5ac9945bbef9d3de5d27988bb83ee"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 612,618 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonReader.cs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e9bc664e48ad3213c49475833cf51b99b14b02be2820b897e08714752f98e"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to update the writer state \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonWriter.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae14cf3ab706d30b2c75c903c2391a27bea4efa1c289ee3b18e9591b35e96c6"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack to update the writer state \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Bson/BsonWriter.cs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8b228e6f68a900ed3d0c6e744c7e1571e5d91cbcc8c0d0363ec885e8e450c7"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0051 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonException.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c5725cf94e7b1ba5d94551dc87a509b979a3578b032e7ace8727830de4e105"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // hack. want writer to change state as if a value had been written \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.cs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eab1009050b0849afc61ed2ef9ca1ac6a20f6eeadb92cd860d6c6522db66d73"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/Extensions.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87729aefe14a5eed81dce562f2931d3db29759ae680e4eea138703ea1e4d98a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/Extensions.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bba149132578a47efd8c42ef7feffb2452390ef87afb565234f59c304363e0e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JContainer.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"b786da0d7fda61040fa13d941315e4a6172d97a0a39d48b379fa6f6303f24478"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026, IL3050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JObject.cs"},"region":{"startLine":850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8621e50db5940abbad2baa24a4bac978f750efd2e112822f407e0bbe8b9e21d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026, IL3050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":2501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f120533523d75082fa1ba68d52610d8c9a509e454409d9264545e66bcf07ddfe"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026, IL3050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"1754a70705112162774a24e0d8ccee5d78aa52290d8ccafde6ac5671996f56f7"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026, IL3050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.cs"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbfa37e5ac3924097c489409a1097d16c27618e390d5ef30f7eb810a52e6136"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IL2026, IL3050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchema.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b7fa44ad860aa01fdb048c40895084ef092906809c6c3c6b9cbd430d9145ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make public in Newtonsoft.Json 14.0\u002B"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8863efcacfdef6860f243a1a793fd5c8af184cd6a4cd11e462b327d4799b6e0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make public in Newtonsoft.Json 14.0\u002B"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JToken.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"654ffe5e530c1097012b3d498109ecef118dea475a31f6d7fdaf5c12719a0e43"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Call WriteJsonAsync when it exists. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Linq/JValue.Async.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c29d3ea34c637c5c8d7027fdd8c3e7706fa5000c11bbde011a43adc0f545b76"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1584,1711,1572,1581,1580,1574 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/MemberSerialization.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"078f8702141ab2cddbbef986e214f4d1d1a5af322854dd7b83c5dedc17c747f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Add GetSchema to JsonConverter and use here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"75efe266e442e54b83858aae19d7e5f1dcc83f0e9e409bed0653fc9217e44724"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonFormatterConverter.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2379f070d38272eb2907f69e89c0f850b05ddf5e1d3a4aefa725aac997a21a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c82eaa30f09f191408c4b0b483fb0cfbd1013dfb11f3a79a3f47f7c1ccd6bc"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0fbad02865f895b0448698516789a2fabd69d7a46a8f6cbb95c19095406466"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0050 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54cf165c2277e407f075be145af3b1efce9ccf92c4ebcb2a9682edaefa4aa1f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8600, CS8602, CS8603, CS8604 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13e764dad49210548b069d7a5c26be456eefbec638445b929ca8334e9b61722"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8600, CS8602, CS8604 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2109db039c9af6a9bdd2e5dd20fc638d87eb3501bfe6fed95b21dc39574109"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1591 \u2014 the disable has no matching restore, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later. Close it with the matching restore directive immediately after the construct it covers, or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/Utilities/LinqBridge.cs"},"region":{"startLine":3037}}}],"partialFingerprints":{"codehealthFindingId/v1":"588eb3f031c4ef95ccf640f91a93e30dc33985d59d1b5421f28aa55cb4798c9f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NETSDK1023 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.csproj"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5c02f6514963e487c7fddab54b7b23afa5cfe2d174d76059d4a23564fb4dfd"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 1 project(s) carry only a thin slice of real code (e.g. \u0060Newtonsoft.Json.TestConsole(net46)\u0060 with 20 significant line(s)). The mean analysable-surface weight is 93 %, lowering Solution Shape by about 0.57 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Newtonsoft.Json.FuzzTests: Newtonsoft.Json.FuzzTests: 0 % XML-doc coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.FuzzTests/Newtonsoft.Json.FuzzTests.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18000a4fc4964737c55d577999b587b406a41c472d0460209c2dd5f6a2aeeee"}},{"ruleId":"D19","level":"warning","message":{"text":"Low XML-doc coverage: Newtonsoft.Json.TestConsole(net46): Newtonsoft.Json.TestConsole(net46): 0 % XML-doc coverage (0/2)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json.TestConsole/Newtonsoft.Json.TestConsole.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e458c128f5b503badbd367c05512dc3868511ce841021c114af61a22c2ce4b4"}},{"ruleId":"D23","level":"note","message":{"text":"Bounded contexts not declared: At 60k LoC across 21 projects the codebase is large and multi-module, so explicit bounded contexts are needed. Name this codebase\u0027s bounded contexts (\u22652 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in \u0060.codehealth/config.yaml\u0060 at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it \u2014 e.g. \u0060architecture:\u0060 \u2192 \u0060contexts:\u0060 \u2192 \u0060Billing: [\u0022src/billing\u0022, \u0022Acme.Billing\u0022]\u0060, \u0060Catalog: [\u0022src/catalog\u0022, \u0022Acme.Catalog\u0022]\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1c7e276c9c682731f01819ed5378b90ca320cde1b583c90920172911598362b3"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 4 project(s) overshoot their size bounds, lowering Project Cohesion to 5.0/10. The most over is \u0060Newtonsoft.Json(net8.0)\u0060 (60765 LoC, 144 public types across 6 namespaces). Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bddbca9c804db274cab60d4e7683499ab56a35eafecf2d57c041bec73838e45c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c730a413e06e31e38b9ce0614b4c1d4ecab89394ada4ef2802711e4baa76ec61"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fef619f91c5faf1a613330588a66207696827c9b7efcd6ebbc0ab5e65ada51f3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5c07f70120bd9b3b75166a5fbe2e097d8da799e8ec393d2fc5f038031c58d32"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59fff7cfb415cd5858c80cff5bb7ded900eaf5b814bf1e4da6a2658b65d4abd7"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dbe761ebbb75465bc1e9d533ee0067a578350d494909c0570b47778dd946b37e"},"taxa":[{"id":"CWE-502","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cf85abffe732f2645ef95a624d6badc26f0263616284d6a4cc46ca8e983031d"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b96b7173c4377d5bea4d6fd7b52323631c631c44172b743bec6f266c10a4e538"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a80c51272d9b6d0ddf0bfe8367adccf31da8f01e749ce0478379de8a3263de09"}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c15da98dccd3b6fd378cfdff14d19a86311446e2743e97e860c5e1e32d364573"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonWriter.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a93c7cee276333b067c4d977e8c6d8fc5eceba82f307ab54685f17545ff9b8"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextReader.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ea129c47a00819040a66a7a2dd0614c38efb8d248461afec14bd417c990e19"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Src/Newtonsoft.Json/JsonTextWriter.Async.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f86ad0febf029b935668cbfce3ed41c717df05d3d7dfa45ed377641908ee17"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 16 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than listed individually (19 orphaned of 166 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"CWE-353","shortDescription":{"text":"CWE-353"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-502","guid":"f7d3b296-aac0-5c5a-b706-e07faba26c36","name":"CWE-502","shortDescription":{"text":"CWE-502"},"helpUri":"https://cwe.mitre.org/data/definitions/502.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":13,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}