diff --git a/analyzers/its/expected/Automapper/AutoMapper--net461-S109.json b/analyzers/its/expected/Automapper/AutoMapper--net461-S109.json index 7f9a6245c11..969f6b86647 100644 --- a/analyzers/its/expected/Automapper/AutoMapper--net461-S109.json +++ b/analyzers/its/expected/Automapper/AutoMapper--net461-S109.json @@ -15,32 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", -"region": { -"startLine": 42, -"startColumn": 51, -"endLine": 42, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", -"region": { -"startLine": 43, -"startColumn": 53, -"endLine": 43, -"endColumn": 54 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", diff --git a/analyzers/its/expected/Automapper/AutoMapper--netstandard2.0-S109.json b/analyzers/its/expected/Automapper/AutoMapper--netstandard2.0-S109.json index 7f9a6245c11..969f6b86647 100644 --- a/analyzers/its/expected/Automapper/AutoMapper--netstandard2.0-S109.json +++ b/analyzers/its/expected/Automapper/AutoMapper--netstandard2.0-S109.json @@ -15,32 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", -"region": { -"startLine": 42, -"startColumn": 51, -"endLine": 42, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", -"region": { -"startLine": 43, -"startColumn": 53, -"endLine": 43, -"endColumn": 54 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Automapper\src\AutoMapper\Execution\TypeMapPlanBuilder.cs", diff --git a/analyzers/its/expected/Ember-MM/Ember.Plugins-{9496C697-5AFD-4813-AEDC-AF33FACEADF0}-S109.json b/analyzers/its/expected/Ember-MM/Ember.Plugins-{9496C697-5AFD-4813-AEDC-AF33FACEADF0}-S109.json deleted file mode 100644 index 4db28000d0c..00000000000 --- a/analyzers/its/expected/Ember-MM/Ember.Plugins-{9496C697-5AFD-4813-AEDC-AF33FACEADF0}-S109.json +++ /dev/null @@ -1,17 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '9' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Ember-MM\Ember.Plugins\Utility.cs", -"region": { -"startLine": 46, -"startColumn": 38, -"endLine": 46, -"endColumn": 39 -} -} -} -] -} diff --git a/analyzers/its/expected/Nancy/Nancy--net452-S109.json b/analyzers/its/expected/Nancy/Nancy--net452-S109.json index c2332d601e4..3b97c92440f 100644 --- a/analyzers/its/expected/Nancy/Nancy--net452-S109.json +++ b/analyzers/its/expected/Nancy/Nancy--net452-S109.json @@ -15,19 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Conventions\DefaultAcceptHeaderCoercionConventions.cs", -"region": { -"startLine": 39, -"startColumn": 162, -"endLine": 39, -"endColumn": 163 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\Cryptography\AesEncryptionProvider.cs", @@ -80,19 +67,6 @@ }, { "id": "S109", -"message": "Assign this magic number '8' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Cryptography\PassphraseKeyGenerator.cs", -"region": { -"startLine": 26, -"startColumn": 31, -"endLine": 26, -"endColumn": 32 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", @@ -745,19 +719,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\Nancy\src\Nancy\HttpLinkRelation.cs", -"region": { -"startLine": 144, -"startColumn": 58, -"endLine": 144, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\Nancy\src\Nancy\HttpMultipart.cs", "region": { "startLine": 74, @@ -795,19 +756,6 @@ }, { "id": "S109", -"message": "Assign this magic number '8192' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", -"region": { -"startLine": 416, -"startColumn": 17, -"endLine": 416, -"endColumn": 21 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '8196' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", @@ -823,19 +771,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\Nancy\src\Nancy\Owin\NancyMiddleware.cs", -"region": { -"startLine": 239, -"startColumn": 41, -"endLine": 239, -"endColumn": 42 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\Nancy\src\Nancy\Request.cs", "region": { "startLine": 186, @@ -847,123 +782,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Response.cs", -"region": { -"startLine": 35, -"startColumn": 51, -"endLine": 35, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Responses\Negotiation\MediaRange.cs", -"region": { -"startLine": 38, -"startColumn": 32, -"endLine": 38, -"endColumn": 33 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Responses\Negotiation\MediaRange.cs", -"region": { -"startLine": 48, -"startColumn": 33, -"endLine": 48, -"endColumn": 34 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Constraints\LengthRouteSegmentConstraint.cs", -"region": { -"startLine": 31, -"startColumn": 38, -"endLine": 31, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Constraints\RangeRouteSegmentConstraint.cs", -"region": { -"startLine": 34, -"startColumn": 38, -"endLine": 34, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Trie\Nodes\CaptureNodeWithDefaultValue.cs", -"region": { -"startLine": 74, -"startColumn": 36, -"endLine": 74, -"endColumn": 37 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Trie\TrieNodeFactory.cs", -"region": { -"startLine": 48, -"startColumn": 89, -"endLine": 48, -"endColumn": 90 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Security\Csrf.cs", -"region": { -"startLine": 212, -"startColumn": 40, -"endLine": 212, -"endColumn": 41 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Session\CookieBasedSessions.cs", -"region": { -"startLine": 188, -"startColumn": 105, -"endLine": 188, -"endColumn": 106 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\StaticConfiguration.cs", diff --git a/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S109.json b/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S109.json index c2332d601e4..3b97c92440f 100644 --- a/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S109.json +++ b/analyzers/its/expected/Nancy/Nancy--netstandard2.0-S109.json @@ -15,19 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Conventions\DefaultAcceptHeaderCoercionConventions.cs", -"region": { -"startLine": 39, -"startColumn": 162, -"endLine": 39, -"endColumn": 163 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\Cryptography\AesEncryptionProvider.cs", @@ -80,19 +67,6 @@ }, { "id": "S109", -"message": "Assign this magic number '8' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Cryptography\PassphraseKeyGenerator.cs", -"region": { -"startLine": 26, -"startColumn": 31, -"endLine": 26, -"endColumn": 32 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\Helpers\HttpEncoder.cs", @@ -745,19 +719,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\Nancy\src\Nancy\HttpLinkRelation.cs", -"region": { -"startLine": 144, -"startColumn": 58, -"endLine": 144, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\Nancy\src\Nancy\HttpMultipart.cs", "region": { "startLine": 74, @@ -795,19 +756,6 @@ }, { "id": "S109", -"message": "Assign this magic number '8192' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", -"region": { -"startLine": 416, -"startColumn": 17, -"endLine": 416, -"endColumn": 21 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '8196' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\IO\RequestStream.cs", @@ -823,19 +771,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\Nancy\src\Nancy\Owin\NancyMiddleware.cs", -"region": { -"startLine": 239, -"startColumn": 41, -"endLine": 239, -"endColumn": 42 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\Nancy\src\Nancy\Request.cs", "region": { "startLine": 186, @@ -847,123 +782,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Response.cs", -"region": { -"startLine": 35, -"startColumn": 51, -"endLine": 35, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Responses\Negotiation\MediaRange.cs", -"region": { -"startLine": 38, -"startColumn": 32, -"endLine": 38, -"endColumn": 33 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Responses\Negotiation\MediaRange.cs", -"region": { -"startLine": 48, -"startColumn": 33, -"endLine": 48, -"endColumn": 34 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Constraints\LengthRouteSegmentConstraint.cs", -"region": { -"startLine": 31, -"startColumn": 38, -"endLine": 31, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Constraints\RangeRouteSegmentConstraint.cs", -"region": { -"startLine": 34, -"startColumn": 38, -"endLine": 34, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Trie\Nodes\CaptureNodeWithDefaultValue.cs", -"region": { -"startLine": 74, -"startColumn": 36, -"endLine": 74, -"endColumn": 37 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Routing\Trie\TrieNodeFactory.cs", -"region": { -"startLine": 48, -"startColumn": 89, -"endLine": 48, -"endColumn": 90 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Security\Csrf.cs", -"region": { -"startLine": 212, -"startColumn": 40, -"endLine": 212, -"endColumn": 41 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy\Session\CookieBasedSessions.cs", -"region": { -"startLine": 188, -"startColumn": 105, -"endLine": 188, -"endColumn": 106 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Nancy\src\Nancy\StaticConfiguration.cs", diff --git a/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--net452-S109.json b/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--net452-S109.json index 18f561a3d6b..9c9f75f7467 100644 --- a/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--net452-S109.json +++ b/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--net452-S109.json @@ -6,19 +6,6 @@ "location": { "uri": "sources\Nancy\src\Nancy.Authentication.Basic\BasicAuthentication.cs", "region": { -"startLine": 96, -"startColumn": 62, -"endLine": 96, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy.Authentication.Basic\BasicAuthentication.cs", -"region": { "startLine": 127, "startColumn": 97, "endLine": 127, diff --git a/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--netstandard2.0-S109.json b/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--netstandard2.0-S109.json index 18f561a3d6b..9c9f75f7467 100644 --- a/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--netstandard2.0-S109.json +++ b/analyzers/its/expected/Nancy/Nancy.Authentication.Basic--netstandard2.0-S109.json @@ -6,19 +6,6 @@ "location": { "uri": "sources\Nancy\src\Nancy.Authentication.Basic\BasicAuthentication.cs", "region": { -"startLine": 96, -"startColumn": 62, -"endLine": 96, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Nancy\src\Nancy.Authentication.Basic\BasicAuthentication.cs", -"region": { "startLine": 127, "startColumn": 97, "endLine": 127, diff --git a/analyzers/its/expected/Net5/recordsnullability-FFF05CEC-71BD-4BE5-AF0B-19715601DF35-net5.0-S109.json b/analyzers/its/expected/Net5/recordsnullability-FFF05CEC-71BD-4BE5-AF0B-19715601DF35-net5.0-S109.json deleted file mode 100644 index 193f4ef968a..00000000000 --- a/analyzers/its/expected/Net5/recordsnullability-FFF05CEC-71BD-4BE5-AF0B-19715601DF35-net5.0-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '2013' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Net5\Net5Samples\RecordsAndNullability\Program.cs", -"region": { -"startLine": 15, -"startColumn": 53, -"endLine": 15, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2015' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Net5\Net5Samples\RecordsAndNullability\Program.cs", -"region": { -"startLine": 16, -"startColumn": 37, -"endLine": 16, -"endColumn": 41 -} -} -} -] -} diff --git a/analyzers/its/expected/Net5/variouspatternsofpatterns-3EFB6389-ED5B-4E14-809C-B43AF38748D9-net5.0-S109.json b/analyzers/its/expected/Net5/variouspatternsofpatterns-3EFB6389-ED5B-4E14-809C-B43AF38748D9-net5.0-S109.json index f90e458762d..c3927dba9bd 100644 --- a/analyzers/its/expected/Net5/variouspatternsofpatterns-3EFB6389-ED5B-4E14-809C-B43AF38748D9-net5.0-S109.json +++ b/analyzers/its/expected/Net5/variouspatternsofpatterns-3EFB6389-ED5B-4E14-809C-B43AF38748D9-net5.0-S109.json @@ -15,45 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '99' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Net5\Net5Samples\VariousPatternsOfPatterns\Program.cs", -"region": { -"startLine": 23, -"startColumn": 68, -"endLine": 23, -"endColumn": 70 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Net5\Net5Samples\VariousPatternsOfPatterns\Program.cs", -"region": { -"startLine": 24, -"startColumn": 63, -"endLine": 24, -"endColumn": 65 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\Net5\Net5Samples\VariousPatternsOfPatterns\Program.cs", -"region": { -"startLine": 25, -"startColumn": 68, -"endLine": 25, -"endColumn": 71 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\Net5\Net5Samples\VariousPatternsOfPatterns\Program.cs", diff --git a/analyzers/its/expected/NetCore31/NetCore31--netcoreapp3.1-S109.json b/analyzers/its/expected/NetCore31/NetCore31--netcoreapp3.1-S109.json deleted file mode 100644 index d79a2630ec3..00000000000 --- a/analyzers/its/expected/NetCore31/NetCore31--netcoreapp3.1-S109.json +++ /dev/null @@ -1,82 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '10000000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 15, -"startColumn": 27, -"endLine": 15, -"endColumn": 37 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1623' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 22, -"startColumn": 27, -"endLine": 22, -"endColumn": 31 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '8000001' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 29, -"startColumn": 55, -"endLine": 29, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '42' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 29, -"startColumn": 96, -"endLine": 29, -"endColumn": 98 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '55' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 36, -"startColumn": 58, -"endLine": 36, -"endColumn": 60 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '42' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31\Controllers\S5693Controller.cs", -"region": { -"startLine": 49, -"startColumn": 55, -"endLine": 49, -"endColumn": 57 -} -} -} -] -} diff --git a/analyzers/its/expected/NetCore31WithConfigurableRules/NetCore31WithConfigurableRules--netcoreapp3.1-S109.json b/analyzers/its/expected/NetCore31WithConfigurableRules/NetCore31WithConfigurableRules--netcoreapp3.1-S109.json deleted file mode 100644 index 7e1c9c3d90d..00000000000 --- a/analyzers/its/expected/NetCore31WithConfigurableRules/NetCore31WithConfigurableRules--netcoreapp3.1-S109.json +++ /dev/null @@ -1,56 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '43' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31WithConfigurableRules\Controllers\MyController.cs", -"region": { -"startLine": 13, -"startColumn": 27, -"endLine": 13, -"endColumn": 29 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '41' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31WithConfigurableRules\Controllers\MyController.cs", -"region": { -"startLine": 18, -"startColumn": 27, -"endLine": 18, -"endColumn": 29 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '43' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31WithConfigurableRules\Controllers\MyController.cs", -"region": { -"startLine": 23, -"startColumn": 55, -"endLine": 23, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '41' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\NetCore31WithConfigurableRules\Controllers\MyController.cs", -"region": { -"startLine": 28, -"startColumn": 55, -"endLine": 28, -"endColumn": 57 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka--netstandard2.0-S109.json index 8e4ec13de08..3f7f1f8b9fd 100644 --- a/analyzers/its/expected/akka.net/Akka--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka--netstandard2.0-S109.json @@ -54,19 +54,6 @@ }, { "id": "S109", -"message": "Assign this magic number '1970' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Actor\ActorSystem.cs", -"region": { -"startLine": 216, -"startColumn": 77, -"endLine": 216, -"endColumn": 81 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Actor\Address.cs", @@ -106,19 +93,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Actor\Deployer.cs", -"region": { -"startLine": 61, -"startColumn": 65, -"endLine": 61, -"endColumn": 66 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Actor\Scheduler\HashedWheelTimerScheduler.cs", @@ -808,58 +782,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Helios.Concurrency.DedicatedThreadPool.cs", -"region": { -"startLine": 544, -"startColumn": 30, -"endLine": 544, -"endColumn": 31 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Helios.Concurrency.DedicatedThreadPool.cs", -"region": { -"startLine": 548, -"startColumn": 30, -"endLine": 548, -"endColumn": 31 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '6' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Helios.Concurrency.DedicatedThreadPool.cs", -"region": { -"startLine": 552, -"startColumn": 30, -"endLine": 552, -"endColumn": 31 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '64' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Helios.Concurrency.DedicatedThreadPool.cs", -"region": { -"startLine": 559, -"startColumn": 55, -"endLine": 559, -"endColumn": 57 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '256' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\IO\Buffers\DirectBufferPool.cs", @@ -964,19 +886,6 @@ }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\IO\TcpSettings.cs", -"region": { -"startLine": 48, -"startColumn": 94, -"endLine": 48, -"endColumn": 95 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '512' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\IO\TcpSettings.cs", @@ -1029,45 +938,6 @@ }, { "id": "S109", -"message": "Assign this magic number '36500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Pattern\CircuitBreaker.cs", -"region": { -"startLine": 160, -"startColumn": 89, -"endLine": 160, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Pattern\CircuitBreaker.cs", -"region": { -"startLine": 342, -"startColumn": 107, -"endLine": 342, -"endColumn": 110 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Routing\RoutedActorCell.cs", -"region": { -"startLine": 143, -"startColumn": 81, -"endLine": 143, -"endColumn": 84 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Util\AppVersion.cs", @@ -1098,19 +968,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka\Util\AppVersion.cs", "region": { -"startLine": 178, -"startColumn": 45, -"endLine": 178, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Util\AppVersion.cs", -"region": { "startLine": 184, "startColumn": 26, "endLine": 184, @@ -1133,19 +990,6 @@ }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Util\AppVersion.cs", -"region": { -"startLine": 188, -"startColumn": 45, -"endLine": 188, -"endColumn": 46 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Util\AppVersion.cs", @@ -1380,19 +1224,6 @@ }, { "id": "S109", -"message": "Assign this magic number '1970' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Util\Extensions\DateTimeExtensions.cs", -"region": { -"startLine": 22, -"startColumn": 51, -"endLine": 22, -"endColumn": 55 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Util\Internal\Extensions.cs", @@ -2758,19 +2589,6 @@ }, { "id": "S109", -"message": "Assign this magic number '8' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka\Util\MurmurHash.cs", -"region": { -"startLine": 270, -"startColumn": 31, -"endLine": 270, -"endColumn": 32 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka\Util\TokenBucket.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Benchmarks--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.Benchmarks--netcoreapp3.1-S109.json index 62e8a9427b4..3fda3483e67 100644 --- a/analyzers/its/expected/akka.net/Akka.Benchmarks--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Benchmarks--netcoreapp3.1-S109.json @@ -2,162 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '1337' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\ActorPathBenchmarks.cs", -"region": { -"startLine": 23, -"startColumn": 82, -"endLine": 23, -"endColumn": 86 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1337' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\ActorPathBenchmarks.cs", -"region": { -"startLine": 24, -"startColumn": 82, -"endLine": 24, -"endColumn": 86 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\ActorSelectionBenchmark.cs", -"region": { -"startLine": 16, -"startColumn": 17, -"endLine": 16, -"endColumn": 22 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\AddressBenchmarks.cs", -"region": { -"startLine": 23, -"startColumn": 71, -"endLine": 23, -"endColumn": 75 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4123' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\AddressBenchmarks.cs", -"region": { -"startLine": 24, -"startColumn": 71, -"endLine": 24, -"endColumn": 75 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\PingPongBenchmarks.cs", -"region": { -"startLine": 19, -"startColumn": 53, -"endLine": 19, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\PingPongBenchmarks.cs", -"region": { -"startLine": 19, -"startColumn": 69, -"endLine": 19, -"endColumn": 70 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\PingPongBenchmarks.cs", -"region": { -"startLine": 19, -"startColumn": 85, -"endLine": 19, -"endColumn": 86 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\SpawnActorBenchmarks.cs", -"region": { -"startLine": 18, -"startColumn": 52, -"endLine": 18, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\SpawnActorBenchmarks.cs", -"region": { -"startLine": 18, -"startColumn": 68, -"endLine": 18, -"endColumn": 69 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\SpawnActorBenchmarks.cs", -"region": { -"startLine": 21, -"startColumn": 17, -"endLine": 21, -"endColumn": 24 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Actor\SpawnActorBenchmarks.cs", -"region": { -"startLine": 41, -"startColumn": 88, -"endLine": 41, -"endColumn": 89 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\HeartbeatNodeRingBenchmarks.cs", @@ -199,58 +43,6 @@ "id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\HeartbeatNodeRingBenchmarks.cs", -"region": { -"startLine": 27, -"startColumn": 122, -"endLine": 27, -"endColumn": 123 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\HeartbeatNodeRingBenchmarks.cs", -"region": { -"startLine": 45, -"startColumn": 20, -"endLine": 45, -"endColumn": 24 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\ReachabilityBenchmarks.cs", -"region": { -"startLine": 17, -"startColumn": 17, -"endLine": 17, -"endColumn": 20 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\ReachabilityBenchmarks.cs", -"region": { -"startLine": 20, -"startColumn": 17, -"endLine": 20, -"endColumn": 20 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\ReachabilityBenchmarks.cs", "region": { "startLine": 44, @@ -327,32 +119,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\VectorClockBenchmarks.cs", -"region": { -"startLine": 17, -"startColumn": 17, -"endLine": 17, -"endColumn": 20 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\VectorClockBenchmarks.cs", -"region": { -"startLine": 20, -"startColumn": 17, -"endLine": 20, -"endColumn": 21 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Cluster\VectorClockBenchmarks.cs", @@ -422,19 +188,6 @@ "location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\IO\ByteStringBenchmarks.cs", "region": { -"startLine": 63, -"startColumn": 20, -"endLine": 63, -"endColumn": 22 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\IO\ByteStringBenchmarks.cs", -"region": { "startLine": 78, "startColumn": 37, "endLine": 78, @@ -461,19 +214,6 @@ "location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\IO\TcpOperationsBenchmarks.cs", "region": { -"startLine": 26, -"startColumn": 118, -"endLine": 26, -"endColumn": 121 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\IO\TcpOperationsBenchmarks.cs", -"region": { "startLine": 34, "startColumn": 17, "endLine": 34, @@ -626,19 +366,6 @@ }, { "id": "S109", -"message": "Assign this magic number '123' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Serialization\SerializationBenchmarks.cs", -"region": { -"startLine": 31, -"startColumn": 35, -"endLine": 31, -"endColumn": 38 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Utils\ConsistentHashBenchmarks.cs", @@ -1117,19 +844,6 @@ "endColumn": 75 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\Akka.Benchmarks\Utils\FastLazyBenchmarks.cs", -"region": { -"startLine": 31, -"startColumn": 77, -"endLine": 31, -"endColumn": 81 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.Cluster--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Cluster--netstandard2.0-S109.json index 60658056371..59078640f95 100644 --- a/analyzers/its/expected/akka.net/Akka.Cluster--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Cluster--netstandard2.0-S109.json @@ -80,45 +80,6 @@ }, { "id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster\ClusterSettings.cs", -"region": { -"startLine": 110, -"startColumn": 53, -"endLine": 110, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster\Member.cs", -"region": { -"startLine": 318, -"startColumn": 34, -"endLine": 318, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster\Member.cs", -"region": { -"startLine": 369, -"startColumn": 34, -"endLine": 369, -"endColumn": 35 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Cluster\SBR\DowningStrategy.cs", @@ -197,19 +158,6 @@ }, { "id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster\SBR\SplitBrainResolverSettings.cs", -"region": { -"startLine": 55, -"startColumn": 50, -"endLine": 55, -"endColumn": 51 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Cluster\SBR\SplitBrainResolverSettings.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Cluster.Sharding--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Cluster.Sharding--netstandard2.0-S109.json index fe4e053a98e..df2e1f58339 100644 --- a/analyzers/its/expected/akka.net/Akka.Cluster.Sharding--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Cluster.Sharding--netstandard2.0-S109.json @@ -2,19 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\DDataShard.cs", -"region": { -"startLine": 59, -"startColumn": 76, -"endLine": 59, -"endColumn": 77 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\Internal\AbstractLeastShardAllocationStrategy.cs", @@ -28,58 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\PersistentShard.cs", -"region": { -"startLine": 56, -"startColumn": 76, -"endLine": 56, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\Shard.cs", -"region": { -"startLine": 431, -"startColumn": 76, -"endLine": 431, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\ShardCoordinator.cs", -"region": { -"startLine": 184, -"startColumn": 93, -"endLine": 184, -"endColumn": 96 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\ShardRegion.cs", -"region": { -"startLine": 446, -"startColumn": 64, -"endLine": 446, -"endColumn": 67 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Sharding\ShardRegion.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Cluster.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Cluster.TestKit--netstandard2.0-S109.json deleted file mode 100644 index d01925c1bc6..00000000000 --- a/analyzers/its/expected/akka.net/Akka.Cluster.TestKit--netstandard2.0-S109.json +++ /dev/null @@ -1,17 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '25' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.TestKit\MultiNodeClusterSpec.cs", -"region": { -"startLine": 358, -"startColumn": 65, -"endLine": 358, -"endColumn": 67 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.Cluster.Tests.Performance--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.Cluster.Tests.Performance--netcoreapp3.1-S109.json deleted file mode 100644 index 0d6ba302455..00000000000 --- a/analyzers/its/expected/akka.net/Akka.Cluster.Tests.Performance--netcoreapp3.1-S109.json +++ /dev/null @@ -1,95 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Serialization\ClusterMessageSerializerSpec.cs", -"region": { -"startLine": 63, -"startColumn": 154, -"endLine": 63, -"endColumn": 155 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Serialization\ClusterMessageSerializerSpec.cs", -"region": { -"startLine": 63, -"startColumn": 212, -"endLine": 63, -"endColumn": 216 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Serialization\ClusterMessageSerializerSpec.cs", -"region": { -"startLine": 77, -"startColumn": 152, -"endLine": 77, -"endColumn": 153 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Serialization\ClusterMessageSerializerSpec.cs", -"region": { -"startLine": 77, -"startColumn": 210, -"endLine": 77, -"endColumn": 214 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Serialization\ClusterMessageSerializerSpec.cs", -"region": { -"startLine": 94, -"startColumn": 59, -"endLine": 94, -"endColumn": 60 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Startup\ClusterStartupSpec.cs", -"region": { -"startLine": 43, -"startColumn": 122, -"endLine": 43, -"endColumn": 123 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Cluster.Tests.Performance\Startup\ClusterStartupSpec.cs", -"region": { -"startLine": 67, -"startColumn": 56, -"endLine": 67, -"endColumn": 57 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.Cluster.Tools--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Cluster.Tools--netstandard2.0-S109.json index b4f4684848c..cabc6f02184 100644 --- a/analyzers/its/expected/akka.net/Akka.Cluster.Tools--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Cluster.Tools--netstandard2.0-S109.json @@ -30,19 +30,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Tools\Client\ClusterReceptionist.cs", -"region": { -"startLine": 630, -"startColumn": 42, -"endLine": 630, -"endColumn": 43 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Tools\PublishSubscribe\DistributedPubSubMediator.cs", "region": { "startLine": 162, @@ -93,32 +80,6 @@ }, { "id": "S109", -"message": "Assign this magic number '15' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Tools\Singleton\ClusterSingletonManager.cs", -"region": { -"startLine": 744, -"startColumn": 87, -"endLine": 744, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '15' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Tools\Singleton\ClusterSingletonManager.cs", -"region": { -"startLine": 748, -"startColumn": 83, -"endLine": 748, -"endColumn": 87 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.Cluster.Tools\Singleton\ClusterSingletonManager.cs", diff --git a/analyzers/its/expected/akka.net/Akka.DI.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.DI.TestKit--netstandard2.0-S109.json index a48f7abf550..2315a7a069f 100644 --- a/analyzers/its/expected/akka.net/Akka.DI.TestKit--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.DI.TestKit--netstandard2.0-S109.json @@ -51,58 +51,6 @@ "endColumn": 27 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\dependencyinjection\Akka.DI.TestKit\DiResolverSpec.cs", -"region": { -"startLine": 377, -"startColumn": 119, -"endLine": 377, -"endColumn": 120 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\dependencyinjection\Akka.DI.TestKit\DiResolverSpec.cs", -"region": { -"startLine": 377, -"startColumn": 149, -"endLine": 377, -"endColumn": 151 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\dependencyinjection\Akka.DI.TestKit\DiResolverSpec.cs", -"region": { -"startLine": 388, -"startColumn": 119, -"endLine": 388, -"endColumn": 120 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\dependencyinjection\Akka.DI.TestKit\DiResolverSpec.cs", -"region": { -"startLine": 388, -"startColumn": 149, -"endLine": 388, -"endColumn": 151 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.DistributedData--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.DistributedData--netstandard2.0-S109.json index 006a3de8906..a5e1f0a98d7 100644 --- a/analyzers/its/expected/akka.net/Akka.DistributedData--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.DistributedData--netstandard2.0-S109.json @@ -93,32 +93,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 70, -"startColumn": 92, -"endLine": 70, -"endColumn": 93 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 71, -"startColumn": 120, -"endLine": 71, -"endColumn": 123 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", @@ -132,58 +106,6 @@ }, { "id": "S109", -"message": "Assign this magic number '120' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 74, -"startColumn": 94, -"endLine": 74, -"endColumn": 97 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '300' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 75, -"startColumn": 111, -"endLine": 75, -"endColumn": 114 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '6' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 78, -"startColumn": 111, -"endLine": 78, -"endColumn": 112 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", -"region": { -"startLine": 79, -"startColumn": 124, -"endLine": 79, -"endColumn": 126 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\ReplicatorSettings.cs", @@ -210,32 +132,6 @@ }, { "id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\Serialization\ReplicatorMessageSerializer.cs", -"region": { -"startLine": 161, -"startColumn": 55, -"endLine": 161, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\Serialization\ReplicatorMessageSerializer.cs", -"region": { -"startLine": 162, -"startColumn": 57, -"endLine": 162, -"endColumn": 58 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\cluster\Akka.DistributedData\Serialization\ReplicatorMessageSerializer.cs", diff --git a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net471-S109.json b/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net471-S109.json deleted file mode 100644 index e8d651c4289..00000000000 --- a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net471-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 410, -"startColumn": 63, -"endLine": 410, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 435, -"startColumn": 59, -"endLine": 435, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net5.0-S109.json b/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net5.0-S109.json deleted file mode 100644 index e8d651c4289..00000000000 --- a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--net5.0-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 410, -"startColumn": 63, -"endLine": 410, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 435, -"startColumn": 59, -"endLine": 435, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--netcoreapp3.1-S109.json deleted file mode 100644 index e8d651c4289..00000000000 --- a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner--netcoreapp3.1-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 410, -"startColumn": 63, -"endLine": 410, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner\Program.cs", -"region": { -"startLine": 435, -"startColumn": 59, -"endLine": 435, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner.Shared--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner.Shared--netstandard2.0-S109.json index 574c8366205..d1baa087e35 100644 --- a/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner.Shared--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.MultiNodeTestRunner.Shared--netstandard2.0-S109.json @@ -12,19 +12,6 @@ "endColumn": 65 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.MultiNodeTestRunner.Shared\Sinks\MessageSink.cs", -"region": { -"startLine": 67, -"startColumn": 91, -"endLine": 67, -"endColumn": 92 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net471-S109.json b/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net471-S109.json deleted file mode 100644 index 9adaf12e5b4..00000000000 --- a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net471-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 66, -"startColumn": 47, -"endLine": 66, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 153, -"startColumn": 59, -"endLine": 153, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net5.0-S109.json b/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net5.0-S109.json deleted file mode 100644 index 9adaf12e5b4..00000000000 --- a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--net5.0-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 66, -"startColumn": 47, -"endLine": 66, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 153, -"startColumn": 59, -"endLine": 153, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.NodeTestRunner--netcoreapp3.1-S109.json deleted file mode 100644 index 9adaf12e5b4..00000000000 --- a/analyzers/its/expected/akka.net/Akka.NodeTestRunner--netcoreapp3.1-S109.json +++ /dev/null @@ -1,30 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 66, -"startColumn": 47, -"endLine": 66, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.NodeTestRunner\Program.cs", -"region": { -"startLine": 153, -"startColumn": 59, -"endLine": 153, -"endColumn": 60 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.Persistence--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Persistence--netstandard2.0-S109.json index 99e49da13f3..9431b26a6b5 100644 --- a/analyzers/its/expected/akka.net/Akka.Persistence--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Persistence--netstandard2.0-S109.json @@ -12,32 +12,6 @@ "endColumn": 65 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence\Snapshot\SnapshotStore.cs", -"region": { -"startLine": 43, -"startColumn": 89, -"endLine": 43, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '30' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence\Snapshot\SnapshotStore.cs", -"region": { -"startLine": 44, -"startColumn": 90, -"endLine": 44, -"endColumn": 92 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.Persistence.Sql.Common--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Persistence.Sql.Common--netstandard2.0-S109.json index 341d7534319..5e3970f419d 100644 --- a/analyzers/its/expected/akka.net/Akka.Persistence.Sql.Common--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Persistence.Sql.Common--netstandard2.0-S109.json @@ -41,32 +41,6 @@ }, { "id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.Common\Journal\BatchingSqlJournal.cs", -"region": { -"startLine": 146, -"startColumn": 83, -"endLine": 146, -"endColumn": 85 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '60' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.Common\Journal\BatchingSqlJournal.cs", -"region": { -"startLine": 147, -"startColumn": 85, -"endLine": 147, -"endColumn": 87 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '64' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.Common\Journal\BatchingSqlJournal.cs", @@ -106,19 +80,6 @@ }, { "id": "S109", -"message": "Assign this magic number '30' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.Common\Journal\BatchingSqlJournal.cs", -"region": { -"startLine": 289, -"startColumn": 95, -"endLine": 289, -"endColumn": 97 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.Common\Snapshot\QueryExecutor.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Persistence.Sql.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Persistence.Sql.TestKit--netstandard2.0-S109.json index 23d94d7b4b0..f2f5b6c268e 100644 --- a/analyzers/its/expected/akka.net/Akka.Persistence.Sql.TestKit--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Persistence.Sql.TestKit--netstandard2.0-S109.json @@ -2,19 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.TestKit\DefaultConfigSpec.cs", -"region": { -"startLine": 32, -"startColumn": 104, -"endLine": 32, -"endColumn": 105 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\contrib\persistence\Akka.Persistence.Sql.TestKit\DefaultConfigSpec.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Persistence.TCK--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Persistence.TCK--netstandard2.0-S109.json index 34824d6af23..c822fd75dc3 100644 --- a/analyzers/its/expected/akka.net/Akka.Persistence.TCK--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Persistence.TCK--netstandard2.0-S109.json @@ -41,19 +41,6 @@ }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 168, -"startColumn": 45, -"endLine": 168, -"endColumn": 46 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -84,19 +71,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 176, -"startColumn": 48, -"endLine": 176, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 177, "startColumn": 34, "endLine": 177, @@ -123,19 +97,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 184, -"startColumn": 63, -"endLine": 184, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 185, "startColumn": 34, "endLine": 185, @@ -158,32 +119,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 192, -"startColumn": 45, -"endLine": 192, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 192, -"startColumn": 48, -"endLine": 192, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -210,45 +145,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 200, -"startColumn": 45, -"endLine": 200, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 200, -"startColumn": 48, -"endLine": 200, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 200, -"startColumn": 51, -"endLine": 200, -"endColumn": 52 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -279,32 +175,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 208, -"startColumn": 45, -"endLine": 208, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 208, -"startColumn": 48, -"endLine": 208, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 209, "startColumn": 81, "endLine": 209, @@ -331,32 +201,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 216, -"startColumn": 45, -"endLine": 216, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 216, -"startColumn": 48, -"endLine": 216, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 217, "startColumn": 81, "endLine": 217, @@ -379,32 +223,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 224, -"startColumn": 45, -"endLine": 224, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 224, -"startColumn": 48, -"endLine": 224, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -418,32 +236,6 @@ }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 231, -"startColumn": 45, -"endLine": 231, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 231, -"startColumn": 48, -"endLine": 231, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -496,19 +288,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { -"startLine": 258, -"startColumn": 66, -"endLine": 258, -"endColumn": 69 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", @@ -539,19 +318,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 268, -"startColumn": 52, -"endLine": 268, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 269, "startColumn": 84, "endLine": 269, @@ -643,19 +409,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", "region": { -"startLine": 315, -"startColumn": 45, -"endLine": 315, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '6' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Journal\JournalSpec.cs", -"region": { "startLine": 321, "startColumn": 40, "endLine": 321, @@ -756,19 +509,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\AllEventsSpec.cs", -"region": { -"startLine": 56, -"startColumn": 57, -"endLine": 56, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\AllEventsSpec.cs", @@ -782,19 +522,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\AllEventsSpec.cs", -"region": { -"startLine": 65, -"startColumn": 57, -"endLine": 65, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\AllEventsSpec.cs", @@ -899,19 +626,6 @@ }, { "id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", -"region": { -"startLine": 70, -"startColumn": 57, -"endLine": 70, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", @@ -964,32 +678,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", -"region": { -"startLine": 100, -"startColumn": 57, -"endLine": 100, -"endColumn": 60 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", -"region": { -"startLine": 105, -"startColumn": 57, -"endLine": 105, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", @@ -1068,19 +756,6 @@ }, { "id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentAllEventsSpec.cs", -"region": { -"startLine": 164, -"startColumn": 57, -"endLine": 164, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", @@ -1094,19 +769,6 @@ }, { "id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", -"region": { -"startLine": 50, -"startColumn": 56, -"endLine": 50, -"endColumn": 59 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", @@ -1120,14 +782,14 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", "region": { -"startLine": 82, -"startColumn": 57, -"endLine": 82, -"endColumn": 60 +"startLine": 83, +"startColumn": 27, +"endLine": 83, +"endColumn": 28 } } }, @@ -1137,59 +799,7 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", "region": { -"startLine": 83, -"startColumn": 27, -"endLine": 83, -"endColumn": 28 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", -"region": { -"startLine": 94, -"startColumn": 51, -"endLine": 94, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", -"region": { -"startLine": 107, -"startColumn": 51, -"endLine": 107, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", -"region": { -"startLine": 120, -"startColumn": 51, -"endLine": 120, -"endColumn": 52 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByPersistenceIdSpec.cs", -"region": { -"startLine": 180, +"startLine": 180, "startColumn": 27, "endLine": 180, "endColumn": 28 @@ -1237,19 +847,6 @@ }, { "id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", -"region": { -"startLine": 64, -"startColumn": 57, -"endLine": 64, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", @@ -1367,32 +964,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", -"region": { -"startLine": 113, -"startColumn": 57, -"endLine": 113, -"endColumn": 60 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", -"region": { -"startLine": 118, -"startColumn": 57, -"endLine": 118, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", @@ -1510,19 +1081,6 @@ }, { "id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", -"region": { -"startLine": 185, -"startColumn": 57, -"endLine": 185, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentEventsByTagSpec.cs", @@ -1536,19 +1094,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", -"region": { -"startLine": 50, -"startColumn": 47, -"endLine": 50, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", @@ -1579,19 +1124,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", "region": { -"startLine": 65, -"startColumn": 47, -"endLine": 65, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", -"region": { "startLine": 66, "startColumn": 31, "endLine": 66, @@ -1614,32 +1146,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", -"region": { -"startLine": 86, -"startColumn": 56, -"endLine": 86, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", -"region": { -"startLine": 90, -"startColumn": 57, -"endLine": 90, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\CurrentPersistenceIdsSpec.cs", @@ -1653,19 +1159,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByPersistenceIdSpec.cs", -"region": { -"startLine": 89, -"startColumn": 57, -"endLine": 89, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByPersistenceIdSpec.cs", @@ -1705,32 +1198,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByTagSpec.cs", -"region": { -"startLine": 55, -"startColumn": 57, -"endLine": 55, -"endColumn": 60 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByTagSpec.cs", -"region": { -"startLine": 63, -"startColumn": 57, -"endLine": 63, -"endColumn": 60 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByTagSpec.cs", @@ -1809,32 +1276,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\EventsByTagSpec.cs", -"region": { -"startLine": 105, -"startColumn": 58, -"endLine": 105, -"endColumn": 61 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 62, -"startColumn": 47, -"endLine": 62, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -1848,58 +1289,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 65, -"startColumn": 56, -"endLine": 65, -"endColumn": 58 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 79, -"startColumn": 47, -"endLine": 79, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 82, -"startColumn": 68, -"endLine": 82, -"endColumn": 71 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 86, -"startColumn": 47, -"endLine": 86, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -1991,19 +1380,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 110, -"startColumn": 47, -"endLine": 110, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2017,32 +1393,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 114, -"startColumn": 56, -"endLine": 114, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 116, -"startColumn": 47, -"endLine": 116, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2056,32 +1406,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 120, -"startColumn": 56, -"endLine": 120, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 137, -"startColumn": 47, -"endLine": 137, -"endColumn": 49 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2095,19 +1419,6 @@ }, { "id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 142, -"startColumn": 61, -"endLine": 142, -"endColumn": 65 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2121,19 +1432,6 @@ }, { "id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 147, -"startColumn": 61, -"endLine": 147, -"endColumn": 65 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2151,19 +1449,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", "region": { -"startLine": 163, -"startColumn": 47, -"endLine": 163, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { "startLine": 165, "startColumn": 38, "endLine": 165, @@ -2173,19 +1458,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 167, -"startColumn": 60, -"endLine": 167, -"endColumn": 63 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2203,19 +1475,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", "region": { -"startLine": 172, -"startColumn": 47, -"endLine": 172, -"endColumn": 49 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { "startLine": 174, "startColumn": 38, "endLine": 174, @@ -2225,32 +1484,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 176, -"startColumn": 60, -"endLine": 176, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 202, -"startColumn": 51, -"endLine": 202, -"endColumn": 53 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2264,32 +1497,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 204, -"startColumn": 60, -"endLine": 204, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 211, -"startColumn": 52, -"endLine": 211, -"endColumn": 54 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2303,19 +1510,6 @@ }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", -"region": { -"startLine": 213, -"startColumn": 60, -"endLine": 213, -"endColumn": 63 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '400' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Query\PersistenceIdsSpec.cs", @@ -2407,45 +1601,6 @@ }, { "id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { -"startLine": 119, -"startColumn": 112, -"endLine": 119, -"endColumn": 118 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { -"startLine": 126, -"startColumn": 84, -"endLine": 126, -"endColumn": 85 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { -"startLine": 129, -"startColumn": 88, -"endLine": 129, -"endColumn": 89 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", @@ -2472,19 +1627,6 @@ }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { -"startLine": 147, -"startColumn": 84, -"endLine": 147, -"endColumn": 86 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", @@ -2502,19 +1644,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", "region": { -"startLine": 154, -"startColumn": 88, -"endLine": 154, -"endColumn": 90 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { "startLine": 156, "startColumn": 40, "endLine": 156, @@ -2537,19 +1666,6 @@ }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { -"startLine": 165, -"startColumn": 84, -"endLine": 165, -"endColumn": 86 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", @@ -2593,19 +1709,6 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", "region": { -"startLine": 172, -"startColumn": 123, -"endLine": 172, -"endColumn": 125 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TCK\Snapshot\SnapshotStoreSpec.cs", -"region": { "startLine": 174, "startColumn": 40, "endLine": 174, diff --git a/analyzers/its/expected/akka.net/Akka.Persistence.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Persistence.TestKit--netstandard2.0-S109.json deleted file mode 100644 index cd3edf2049b..00000000000 --- a/analyzers/its/expected/akka.net/Akka.Persistence.TestKit--netstandard2.0-S109.json +++ /dev/null @@ -1,69 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TestKit\Journal\JournalRecoveryBehaviorSetter.cs", -"region": { -"startLine": 29, -"startColumn": 38, -"endLine": 29, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TestKit\Journal\JournalWriteBehaviorSetter.cs", -"region": { -"startLine": 29, -"startColumn": 38, -"endLine": 29, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TestKit\SnapshotStore\SnapshotStoreDeleteBehaviorSetter.cs", -"region": { -"startLine": 29, -"startColumn": 38, -"endLine": 29, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TestKit\SnapshotStore\SnapshotStoreLoadBehaviorSetter.cs", -"region": { -"startLine": 29, -"startColumn": 38, -"endLine": 29, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Persistence.TestKit\SnapshotStore\SnapshotStoreSaveBehaviorSetter.cs", -"region": { -"startLine": 29, -"startColumn": 38, -"endLine": 29, -"endColumn": 39 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.Remote--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Remote--netstandard2.0-S109.json index 69041b2acbf..f079ee6b67e 100644 --- a/analyzers/its/expected/akka.net/Akka.Remote--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Remote--netstandard2.0-S109.json @@ -2,19 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\AkkaProtocolSettings.cs", -"region": { -"startLine": 58, -"startColumn": 109, -"endLine": 58, -"endColumn": 111 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1.2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Remote\Endpoint.cs", @@ -93,32 +80,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\EndpointManager.cs", -"region": { -"startLine": 492, -"startColumn": 163, -"endLine": 492, -"endColumn": 165 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\EndpointManager.cs", -"region": { -"startLine": 691, -"startColumn": 91, -"endLine": 691, -"endColumn": 93 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Remote\PhiAccrualFailureDetector.cs", @@ -262,71 +223,6 @@ }, { "id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransport.cs", -"region": { -"startLine": 318, -"startColumn": 132, -"endLine": 318, -"endColumn": 133 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransport.cs", -"region": { -"startLine": 318, -"startColumn": 138, -"endLine": 318, -"endColumn": 139 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransport.cs", -"region": { -"startLine": 321, -"startColumn": 107, -"endLine": 321, -"endColumn": 108 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransport.cs", -"region": { -"startLine": 325, -"startColumn": 99, -"endLine": 325, -"endColumn": 100 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '15' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransportSettings.cs", -"region": { -"startLine": 82, -"startColumn": 95, -"endLine": 82, -"endColumn": 97 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2552' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Remote\Transport\DotNetty\DotNettyTransportSettings.cs", @@ -441,19 +337,6 @@ "endColumn": 74 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote\Transport\TestTransport.cs", -"region": { -"startLine": 814, -"startColumn": 50, -"endLine": 814, -"endColumn": 51 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.Remote.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Remote.TestKit--netstandard2.0-S109.json index 86c5843b23d..1f795146125 100644 --- a/analyzers/its/expected/akka.net/Akka.Remote.TestKit--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Remote.TestKit--netstandard2.0-S109.json @@ -4,32 +4,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Remote.TestKit\CommandLine.cs", -"region": { -"startLine": 72, -"startColumn": 38, -"endLine": 72, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.TestKit\Conductor.cs", -"region": { -"startLine": 404, -"startColumn": 37, -"endLine": 404, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\akka.net\src\core\Akka.Remote.TestKit\Extension.cs", "region": { "startLine": 132, @@ -80,32 +54,6 @@ }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.TestKit\MultiNodeSpec.cs", -"region": { -"startLine": 445, -"startColumn": 88, -"endLine": 445, -"endColumn": 89 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.TestKit\Player.cs", -"region": { -"startLine": 488, -"startColumn": 63, -"endLine": 488, -"endColumn": 67 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '125000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Remote.TestKit\Player.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Remote.Tests.Performance--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.Remote.Tests.Performance--netcoreapp3.1-S109.json index 5852c59f221..d34e7c594b4 100644 --- a/analyzers/its/expected/akka.net/Akka.Remote.Tests.Performance--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Remote.Tests.Performance--netcoreapp3.1-S109.json @@ -2,97 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\InboundMessageDispatcherSpec.cs", -"region": { -"startLine": 94, -"startColumn": 129, -"endLine": 94, -"endColumn": 131 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Serialization\FastHashSpecs.cs", -"region": { -"startLine": 24, -"startColumn": 75, -"endLine": 24, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Serialization\FastHashSpecs.cs", -"region": { -"startLine": 33, -"startColumn": 75, -"endLine": 33, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Transports\AssociationStressSpecBase.cs", -"region": { -"startLine": 69, -"startColumn": 34, -"endLine": 69, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Transports\AssociationStressSpecBase.cs", -"region": { -"startLine": 69, -"startColumn": 60, -"endLine": 69, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Transports\RemoteMessagingThroughputSpecBase.cs", -"region": { -"startLine": 170, -"startColumn": 63, -"endLine": 170, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Transports\RemoteMessagingThroughputSpecBase.cs", -"region": { -"startLine": 171, -"startColumn": 34, -"endLine": 171, -"endColumn": 38 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Remote.Tests.Performance\Transports\TestTransportAssociationStressSpec.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Streams--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.Streams--netstandard2.0-S109.json index 4b667bf209d..bea1af6b89a 100644 --- a/analyzers/its/expected/akka.net/Akka.Streams--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Streams--netstandard2.0-S109.json @@ -67,19 +67,6 @@ }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\ActorMaterializer.cs", -"region": { -"startLine": 679, -"startColumn": 72, -"endLine": 679, -"endColumn": 73 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams\Actors\RequestStrategies.cs", @@ -353,32 +340,6 @@ }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Dsl\StreamConverters.cs", -"region": { -"startLine": 65, -"startColumn": 98, -"endLine": 65, -"endColumn": 99 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Dsl\StreamConverters.cs", -"region": { -"startLine": 107, -"startColumn": 63, -"endLine": 107, -"endColumn": 64 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams\Dsl\StreamRefs.cs", @@ -392,32 +353,6 @@ }, { "id": "S109", -"message": "Assign this magic number '30' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Dsl\StreamRefs.cs", -"region": { -"startLine": 67, -"startColumn": 102, -"endLine": 67, -"endColumn": 104 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Dsl\StreamRefs.cs", -"region": { -"startLine": 68, -"startColumn": 126, -"endLine": 68, -"endColumn": 127 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams\Implementation\ActorProcessor.cs", @@ -446,19 +381,6 @@ "id": "S109", "message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Implementation\FanOut.cs", -"region": { -"startLine": 711, -"startColumn": 64, -"endLine": 711, -"endColumn": 65 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { "uri": "sources\akka.net\src\core\Akka.Streams\Implementation\Fusing\ActorGraphInterpreter.cs", "region": { "startLine": 164, @@ -665,32 +587,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Implementation\StreamLayout.cs", -"region": { -"startLine": 588, -"startColumn": 60, -"endLine": 588, -"endColumn": 61 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Implementation\StreamLayout.cs", -"region": { -"startLine": 588, -"startColumn": 83, -"endLine": 588, -"endColumn": 84 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '4' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams\Implementation\StreamLayout.cs", @@ -782,32 +678,6 @@ }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Shape.cs", -"region": { -"startLine": 668, -"startColumn": 34, -"endLine": 668, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams\Shape.cs", -"region": { -"startLine": 669, -"startColumn": 35, -"endLine": 669, -"endColumn": 36 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '32' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams\Util\BitOperations.cs", diff --git a/analyzers/its/expected/akka.net/Akka.Streams.Tests.Performance--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.Streams.Tests.Performance--netcoreapp3.1-S109.json index 3af8fa948c1..31e3b0dfbfb 100644 --- a/analyzers/its/expected/akka.net/Akka.Streams.Tests.Performance--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Streams.Tests.Performance--netcoreapp3.1-S109.json @@ -6,2207 +6,465 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 71, -"startColumn": 86, -"endLine": 71, -"endColumn": 87 +"startLine": 134, +"startColumn": 40, +"endLine": 134, +"endColumn": 41 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 76, -"startColumn": 101, -"endLine": 76, -"endColumn": 102 +"startLine": 142, +"startColumn": 41, +"endLine": 142, +"endColumn": 42 } } }, { "id": "S109", -"message": "Assign this magic number '300' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 79, -"startColumn": 53, -"endLine": 79, -"endColumn": 56 +"startLine": 150, +"startColumn": 42, +"endLine": 150, +"endColumn": 43 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 84, -"startColumn": 101, -"endLine": 84, -"endColumn": 102 +"startLine": 159, +"startColumn": 40, +"endLine": 159, +"endColumn": 41 } } }, { "id": "S109", -"message": "Assign this magic number '300' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 87, -"startColumn": 53, -"endLine": 87, -"endColumn": 56 +"startLine": 167, +"startColumn": 41, +"endLine": 167, +"endColumn": 42 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 92, -"startColumn": 101, -"endLine": 92, -"endColumn": 102 +"startLine": 175, +"startColumn": 42, +"endLine": 175, +"endColumn": 43 } } }, { "id": "S109", -"message": "Assign this magic number '300' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 95, -"startColumn": 53, -"endLine": 95, -"endColumn": 56 +"startLine": 187, +"startColumn": 40, +"endLine": 187, +"endColumn": 42 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 101, -"startColumn": 101, -"endLine": 101, -"endColumn": 102 +"startLine": 195, +"startColumn": 41, +"endLine": 195, +"endColumn": 43 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 104, -"startColumn": 53, -"endLine": 104, -"endColumn": 56 +"startLine": 203, +"startColumn": 42, +"endLine": 203, +"endColumn": 44 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 109, -"startColumn": 101, -"endLine": 109, -"endColumn": 102 +"startLine": 212, +"startColumn": 40, +"endLine": 212, +"endColumn": 42 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 112, -"startColumn": 53, -"endLine": 112, -"endColumn": 56 +"startLine": 220, +"startColumn": 41, +"endLine": 220, +"endColumn": 43 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 117, -"startColumn": 101, -"endLine": 117, -"endColumn": 102 +"startLine": 228, +"startColumn": 42, +"endLine": 228, +"endColumn": 44 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 120, -"startColumn": 53, -"endLine": 120, -"endColumn": 56 +"startLine": 250, +"startColumn": 30, +"endLine": 250, +"endColumn": 32 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", "region": { -"startLine": 129, -"startColumn": 101, -"endLine": 129, -"endColumn": 102 +"startLine": 271, +"startColumn": 40, +"endLine": 271, +"endColumn": 46 } } }, { "id": "S109", -"message": "Assign this magic number '700' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 132, -"startColumn": 53, -"endLine": 132, -"endColumn": 56 +"startLine": 224, +"startColumn": 40, +"endLine": 224, +"endColumn": 42 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 134, -"startColumn": 40, -"endLine": 134, +"startLine": 228, +"startColumn": 39, +"endLine": 228, "endColumn": 41 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 137, -"startColumn": 101, -"endLine": 137, -"endColumn": 102 +"startLine": 229, +"startColumn": 33, +"endLine": 229, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '700' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 140, -"startColumn": 53, -"endLine": 140, -"endColumn": 56 +"startLine": 230, +"startColumn": 33, +"endLine": 230, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 142, -"startColumn": 41, -"endLine": 142, -"endColumn": 42 +"startLine": 231, +"startColumn": 33, +"endLine": 231, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 145, -"startColumn": 101, -"endLine": 145, -"endColumn": 102 +"startLine": 232, +"startColumn": 33, +"endLine": 232, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '700' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 148, -"startColumn": 53, -"endLine": 148, -"endColumn": 56 +"startLine": 233, +"startColumn": 33, +"endLine": 233, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 150, -"startColumn": 42, -"endLine": 150, -"endColumn": 43 +"startLine": 234, +"startColumn": 33, +"endLine": 234, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 154, -"startColumn": 101, -"endLine": 154, -"endColumn": 102 +"startLine": 235, +"startColumn": 33, +"endLine": 235, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 157, -"startColumn": 53, -"endLine": 157, -"endColumn": 56 +"startLine": 236, +"startColumn": 33, +"endLine": 236, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", "region": { -"startLine": 159, -"startColumn": 40, -"endLine": 159, -"endColumn": 41 +"startLine": 237, +"startColumn": 33, +"endLine": 237, +"endColumn": 35 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 162, -"startColumn": 101, -"endLine": 162, -"endColumn": 102 +"startLine": 25, +"startColumn": 87, +"endLine": 25, +"endColumn": 89 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 165, -"startColumn": 53, -"endLine": 165, -"endColumn": 56 +"startLine": 32, +"startColumn": 88, +"endLine": 32, +"endColumn": 91 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 167, -"startColumn": 41, -"endLine": 167, -"endColumn": 42 +"startLine": 39, +"startColumn": 89, +"endLine": 39, +"endColumn": 93 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 170, -"startColumn": 101, -"endLine": 170, +"startLine": 54, +"startColumn": 100, +"endLine": 54, "endColumn": 102 } } }, { "id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 173, -"startColumn": 53, -"endLine": 173, -"endColumn": 56 +"startLine": 61, +"startColumn": 101, +"endLine": 61, +"endColumn": 104 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 175, -"startColumn": 42, -"endLine": 175, -"endColumn": 43 +"startLine": 68, +"startColumn": 102, +"endLine": 68, +"endColumn": 106 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 182, -"startColumn": 101, -"endLine": 182, -"endColumn": 102 +"startLine": 83, +"startColumn": 110, +"endLine": 83, +"endColumn": 112 } } }, { "id": "S109", -"message": "Assign this magic number '1200' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 185, -"startColumn": 53, -"endLine": 185, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 187, -"startColumn": 40, -"endLine": 187, -"endColumn": 42 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 190, -"startColumn": 101, -"endLine": 190, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 193, -"startColumn": 53, -"endLine": 193, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 195, -"startColumn": 41, -"endLine": 195, -"endColumn": 43 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 198, -"startColumn": 101, -"endLine": 198, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 201, -"startColumn": 53, -"endLine": 201, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 203, -"startColumn": 42, -"endLine": 203, -"endColumn": 44 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 207, -"startColumn": 101, -"endLine": 207, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 210, -"startColumn": 53, -"endLine": 210, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 212, -"startColumn": 40, -"endLine": 212, -"endColumn": 42 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 215, -"startColumn": 101, -"endLine": 215, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 218, -"startColumn": 53, -"endLine": 218, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 220, -"startColumn": 41, -"endLine": 220, -"endColumn": 43 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 223, -"startColumn": 101, -"endLine": 223, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 226, -"startColumn": 53, -"endLine": 226, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 228, -"startColumn": 42, -"endLine": 228, -"endColumn": 44 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 250, -"startColumn": 30, -"endLine": 250, -"endColumn": 32 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FlowSelectBenchmark.cs", -"region": { -"startLine": 271, -"startColumn": 40, -"endLine": 271, -"endColumn": 46 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 224, -"startColumn": 40, -"endLine": 224, -"endColumn": 42 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 228, -"startColumn": 39, -"endLine": 228, -"endColumn": 41 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 229, -"startColumn": 33, -"endLine": 229, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 230, -"startColumn": 33, -"endLine": 230, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 231, -"startColumn": 33, -"endLine": 231, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 232, -"startColumn": 33, -"endLine": 232, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 233, -"startColumn": 33, -"endLine": 233, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 234, -"startColumn": 33, -"endLine": 234, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 235, -"startColumn": 33, -"endLine": 235, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 236, -"startColumn": 33, -"endLine": 236, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 237, -"startColumn": 33, -"endLine": 237, -"endColumn": 35 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 271, -"startColumn": 80, -"endLine": 271, -"endColumn": 82 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 275, -"startColumn": 101, -"endLine": 275, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 277, -"startColumn": 53, -"endLine": 277, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 281, -"startColumn": 108, -"endLine": 281, -"endColumn": 109 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 283, -"startColumn": 53, -"endLine": 283, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 287, -"startColumn": 101, -"endLine": 287, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 289, -"startColumn": 53, -"endLine": 289, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 293, -"startColumn": 108, -"endLine": 293, -"endColumn": 109 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '110' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 295, -"startColumn": 53, -"endLine": 295, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 299, -"startColumn": 101, -"endLine": 299, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '60' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 301, -"startColumn": 53, -"endLine": 301, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 305, -"startColumn": 101, -"endLine": 305, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '350' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 307, -"startColumn": 53, -"endLine": 307, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 311, -"startColumn": 108, -"endLine": 311, -"endColumn": 109 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 313, -"startColumn": 53, -"endLine": 313, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 317, -"startColumn": 101, -"endLine": 317, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 319, -"startColumn": 53, -"endLine": 319, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 323, -"startColumn": 101, -"endLine": 323, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '50' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 325, -"startColumn": 53, -"endLine": 325, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 329, -"startColumn": 101, -"endLine": 329, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\FusedGraphsBenchmark.cs", -"region": { -"startLine": 331, -"startColumn": 53, -"endLine": 331, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 15, -"startColumn": 90, -"endLine": 15, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 17, -"startColumn": 53, -"endLine": 17, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 22, -"startColumn": 90, -"endLine": 22, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 24, -"startColumn": 53, -"endLine": 24, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 25, -"startColumn": 87, -"endLine": 25, -"endColumn": 89 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 29, -"startColumn": 90, -"endLine": 29, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 31, -"startColumn": 53, -"endLine": 31, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 32, -"startColumn": 88, -"endLine": 32, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 36, -"startColumn": 90, -"endLine": 36, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '150' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 38, -"startColumn": 53, -"endLine": 38, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 39, -"startColumn": 89, -"endLine": 39, -"endColumn": 93 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 44, -"startColumn": 90, -"endLine": 44, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 46, -"startColumn": 53, -"endLine": 46, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 51, -"startColumn": 90, -"endLine": 51, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 53, -"startColumn": 53, -"endLine": 53, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 54, -"startColumn": 100, -"endLine": 54, -"endColumn": 102 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 58, -"startColumn": 90, -"endLine": 58, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 60, -"startColumn": 53, -"endLine": 60, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 61, -"startColumn": 101, -"endLine": 61, -"endColumn": 104 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 65, -"startColumn": 90, -"endLine": 65, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 67, -"startColumn": 53, -"endLine": 67, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 68, -"startColumn": 102, -"endLine": 68, -"endColumn": 106 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 73, -"startColumn": 90, -"endLine": 73, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 75, -"startColumn": 53, -"endLine": 75, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 80, -"startColumn": 90, -"endLine": 80, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 82, -"startColumn": 53, -"endLine": 82, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 83, -"startColumn": 110, -"endLine": 83, -"endColumn": 112 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 87, -"startColumn": 90, -"endLine": 87, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 89, -"startColumn": 53, -"endLine": 89, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 90, -"startColumn": 111, -"endLine": 90, -"endColumn": 114 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 94, -"startColumn": 97, -"endLine": 94, -"endColumn": 98 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 96, -"startColumn": 53, -"endLine": 96, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 97, -"startColumn": 112, -"endLine": 97, -"endColumn": 116 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 102, -"startColumn": 90, -"endLine": 102, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 104, -"startColumn": 53, -"endLine": 104, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 109, -"startColumn": 90, -"endLine": 109, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 111, -"startColumn": 53, -"endLine": 111, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 112, -"startColumn": 109, -"endLine": 112, -"endColumn": 111 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 116, -"startColumn": 90, -"endLine": 116, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 118, -"startColumn": 53, -"endLine": 118, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 119, -"startColumn": 110, -"endLine": 119, -"endColumn": 113 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 123, -"startColumn": 90, -"endLine": 123, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 125, -"startColumn": 53, -"endLine": 125, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", -"region": { -"startLine": 126, -"startColumn": 111, -"endLine": 126, -"endColumn": 115 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 21, -"startColumn": 90, -"endLine": 21, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 23, -"startColumn": 53, -"endLine": 23, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 28, -"startColumn": 90, -"endLine": 28, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 31, -"startColumn": 53, -"endLine": 31, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 32, -"startColumn": 82, -"endLine": 32, -"endColumn": 83 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 36, -"startColumn": 90, -"endLine": 36, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 39, -"startColumn": 53, -"endLine": 39, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", -"region": { -"startLine": 40, -"startColumn": 83, -"endLine": 40, -"endColumn": 85 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 49, -"startColumn": 71, -"endLine": 49, -"endColumn": 73 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '39062' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 49, -"startColumn": 76, -"endLine": 49, -"endColumn": 81 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 56, -"startColumn": 64, -"endLine": 56, -"endColumn": 65 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 64, -"startColumn": 51, -"endLine": 64, -"endColumn": 53 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 73, -"startColumn": 53, -"endLine": 73, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 83, -"startColumn": 53, -"endLine": 83, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 94, -"startColumn": 53, -"endLine": 94, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '8000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", -"region": { -"startLine": 104, -"startColumn": 53, -"endLine": 104, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 38, -"startColumn": 34, -"endLine": 38, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 38, -"startColumn": 86, -"endLine": 38, -"endColumn": 90 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '150000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 39, -"startColumn": 87, -"endLine": 39, -"endColumn": 93 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 50, -"startColumn": 34, -"endLine": 50, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 50, -"startColumn": 86, -"endLine": 50, -"endColumn": 90 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", -"region": { -"startLine": 51, -"startColumn": 87, -"endLine": 51, -"endColumn": 92 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 35, -"startColumn": 86, -"endLine": 35, -"endColumn": 87 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 38, -"startColumn": 90, -"endLine": 38, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 40, -"startColumn": 53, -"endLine": 40, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 45, -"startColumn": 90, -"endLine": 45, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 47, -"startColumn": 53, -"endLine": 47, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 48, -"startColumn": 62, -"endLine": 48, -"endColumn": 64 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 52, -"startColumn": 90, -"endLine": 52, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 54, -"startColumn": 53, -"endLine": 54, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 55, -"startColumn": 63, -"endLine": 55, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 59, -"startColumn": 90, -"endLine": 59, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '150' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 61, -"startColumn": 53, -"endLine": 61, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 62, -"startColumn": 64, -"endLine": 62, -"endColumn": 68 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 67, -"startColumn": 90, -"endLine": 67, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 69, -"startColumn": 53, -"endLine": 69, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 74, -"startColumn": 90, -"endLine": 74, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 76, -"startColumn": 53, -"endLine": 76, -"endColumn": 54 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 77, -"startColumn": 75, -"endLine": 77, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 81, -"startColumn": 90, -"endLine": 81, -"endColumn": 91 +"startLine": 90, +"startColumn": 111, +"endLine": 90, +"endColumn": 114 } } }, { "id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 83, -"startColumn": 53, -"endLine": 83, -"endColumn": 55 +"startLine": 97, +"startColumn": 112, +"endLine": 97, +"endColumn": 116 } } }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 84, -"startColumn": 76, -"endLine": 84, -"endColumn": 79 +"startLine": 112, +"startColumn": 109, +"endLine": 112, +"endColumn": 111 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 88, -"startColumn": 90, -"endLine": 88, -"endColumn": 91 +"startLine": 119, +"startColumn": 110, +"endLine": 119, +"endColumn": 113 } } }, @@ -2214,155 +472,155 @@ "id": "S109", "message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\GraphBuilderBenchmark.cs", "region": { -"startLine": 90, -"startColumn": 53, -"endLine": 90, -"endColumn": 57 +"startLine": 126, +"startColumn": 111, +"endLine": 126, +"endColumn": 115 } } }, { "id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", "region": { -"startLine": 91, -"startColumn": 77, -"endLine": 91, -"endColumn": 81 +"startLine": 32, +"startColumn": 82, +"endLine": 32, +"endColumn": 83 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\InterpreterBenchmark.cs", "region": { -"startLine": 96, -"startColumn": 90, -"endLine": 96, -"endColumn": 91 +"startLine": 40, +"startColumn": 83, +"endLine": 40, +"endColumn": 85 } } }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", "region": { -"startLine": 98, -"startColumn": 53, -"endLine": 98, -"endColumn": 54 +"startLine": 49, +"startColumn": 71, +"endLine": 49, +"endColumn": 73 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '39062' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\IO\FileSourcesBenchmark.cs", "region": { -"startLine": 103, -"startColumn": 90, -"endLine": 103, -"endColumn": 91 +"startLine": 49, +"startColumn": 76, +"endLine": 49, +"endColumn": 81 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '150000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", "region": { -"startLine": 105, -"startColumn": 53, -"endLine": 105, -"endColumn": 54 +"startLine": 39, +"startColumn": 87, +"endLine": 39, +"endColumn": 93 } } }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\JsonFramingBenchmark.cs", "region": { -"startLine": 106, -"startColumn": 85, -"endLine": 106, -"endColumn": 87 +"startLine": 51, +"startColumn": 87, +"endLine": 51, +"endColumn": 92 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 110, -"startColumn": 90, -"endLine": 110, -"endColumn": 91 +"startLine": 48, +"startColumn": 62, +"endLine": 48, +"endColumn": 64 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 112, -"startColumn": 53, -"endLine": 112, -"endColumn": 54 +"startLine": 55, +"startColumn": 63, +"endLine": 55, +"endColumn": 66 } } }, { "id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 113, -"startColumn": 86, -"endLine": 113, -"endColumn": 89 +"startLine": 62, +"startColumn": 64, +"endLine": 62, +"endColumn": 68 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 117, -"startColumn": 90, -"endLine": 117, -"endColumn": 91 +"startLine": 77, +"startColumn": 75, +"endLine": 77, +"endColumn": 77 } } }, { "id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 120, -"startColumn": 53, -"endLine": 120, -"endColumn": 57 +"startLine": 84, +"startColumn": 76, +"endLine": 84, +"endColumn": 79 } } }, @@ -2372,67 +630,54 @@ "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 121, -"startColumn": 87, -"endLine": 121, -"endColumn": 91 +"startLine": 91, +"startColumn": 77, +"endLine": 91, +"endColumn": 81 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 126, -"startColumn": 90, -"endLine": 126, -"endColumn": 91 +"startLine": 106, +"startColumn": 85, +"endLine": 106, +"endColumn": 87 } } }, { "id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 128, -"startColumn": 53, -"endLine": 128, -"endColumn": 54 +"startLine": 113, +"startColumn": 86, +"endLine": 113, +"endColumn": 89 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", "region": { -"startLine": 133, -"startColumn": 90, -"endLine": 133, +"startLine": 121, +"startColumn": 87, +"endLine": 121, "endColumn": 91 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 135, -"startColumn": 53, -"endLine": 135, -"endColumn": 54 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", @@ -2446,32 +691,6 @@ }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 140, -"startColumn": 90, -"endLine": 140, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 142, -"startColumn": 53, -"endLine": 142, -"endColumn": 55 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", @@ -2485,32 +704,6 @@ }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 147, -"startColumn": 97, -"endLine": 147, -"endColumn": 98 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", -"region": { -"startLine": 149, -"startColumn": 53, -"endLine": 149, -"endColumn": 56 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MaterializationBenchmark.cs", @@ -2521,97 +714,6 @@ "endColumn": 90 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 59, -"startColumn": 86, -"endLine": 59, -"endColumn": 87 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 63, -"startColumn": 90, -"endLine": 63, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '200' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 65, -"startColumn": 53, -"endLine": 65, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 70, -"startColumn": 90, -"endLine": 70, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 72, -"startColumn": 53, -"endLine": 72, -"endColumn": 56 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 77, -"startColumn": 90, -"endLine": 77, -"endColumn": 91 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '600' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Streams.Tests.Performance\MergeManyBenchmark.cs", -"region": { -"startLine": 79, -"startColumn": 53, -"endLine": 79, -"endColumn": 56 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/Akka.TestKit--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Akka.TestKit--netstandard2.0-S109.json deleted file mode 100644 index 4daff6e0c5a..00000000000 --- a/analyzers/its/expected/akka.net/Akka.TestKit--netstandard2.0-S109.json +++ /dev/null @@ -1,56 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.TestKit\TestKitBase.cs", -"region": { -"startLine": 175, -"startColumn": 37, -"endLine": 175, -"endColumn": 38 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.TestKit\TestKitBase.cs", -"region": { -"startLine": 175, -"startColumn": 67, -"endLine": 175, -"endColumn": 69 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.TestKit\TestLatch.cs", -"region": { -"startLine": 45, -"startColumn": 44, -"endLine": 45, -"endColumn": 45 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.TestKit\TestLatch.cs", -"region": { -"startLine": 57, -"startColumn": 48, -"endLine": 57, -"endColumn": 49 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Akka.Tests.Performance--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Akka.Tests.Performance--netcoreapp3.1-S109.json index d67e8dc60b1..0baf8cc90e6 100644 --- a/analyzers/its/expected/akka.net/Akka.Tests.Performance--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/Akka.Tests.Performance--netcoreapp3.1-S109.json @@ -2,1223 +2,183 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorMemoryFootprintSpec.cs", -"region": { -"startLine": 75, -"startColumn": 162, -"endLine": 75, -"endColumn": 164 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorMemoryFootprintSpec.cs", -"region": { -"startLine": 87, -"startColumn": 151, -"endLine": 87, -"endColumn": 153 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorMemoryFootprintSpec.cs", -"region": { -"startLine": 99, -"startColumn": 151, -"endLine": 99, -"endColumn": 153 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorMemoryFootprintSpec.cs", -"region": { -"startLine": 114, -"startColumn": 59, -"endLine": 114, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathEqualitySpec.cs", -"region": { -"startLine": 35, -"startColumn": 64, -"endLine": 35, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathEqualitySpec.cs", -"region": { -"startLine": 35, -"startColumn": 90, -"endLine": 35, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathEqualitySpec.cs", -"region": { -"startLine": 49, -"startColumn": 64, -"endLine": 49, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathEqualitySpec.cs", -"region": { -"startLine": 49, -"startColumn": 90, -"endLine": 49, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 31, -"startColumn": 64, -"endLine": 31, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 31, -"startColumn": 90, -"endLine": 31, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 43, -"startColumn": 64, -"endLine": 43, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 43, -"startColumn": 90, -"endLine": 43, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 55, -"startColumn": 64, -"endLine": 55, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 55, -"startColumn": 90, -"endLine": 55, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 68, -"startColumn": 64, -"endLine": 68, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 68, -"startColumn": 90, -"endLine": 68, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 81, -"startColumn": 64, -"endLine": 81, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 81, -"startColumn": 90, -"endLine": 81, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 94, -"startColumn": 64, -"endLine": 94, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 94, -"startColumn": 90, -"endLine": 94, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 107, -"startColumn": 64, -"endLine": 107, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 107, -"startColumn": 90, -"endLine": 107, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 121, -"startColumn": 64, -"endLine": 121, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 121, -"startColumn": 90, -"endLine": 121, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 133, -"startColumn": 64, -"endLine": 133, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 133, -"startColumn": 90, -"endLine": 133, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", -"region": { -"startLine": 141, -"startColumn": 33, -"endLine": 141, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 67, -"startColumn": 34, -"endLine": 67, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 67, -"startColumn": 90, -"endLine": 67, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 79, -"startColumn": 34, -"endLine": 79, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 94, -"startColumn": 34, -"endLine": 94, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 108, -"startColumn": 34, -"endLine": 108, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 108, -"startColumn": 90, -"endLine": 108, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 118, -"startColumn": 34, -"endLine": 118, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSelectionSpecs.cs", -"region": { -"startLine": 118, -"startColumn": 90, -"endLine": 118, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", -"region": { -"startLine": 38, -"startColumn": 133, -"endLine": 38, -"endColumn": 135 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", -"region": { -"startLine": 48, -"startColumn": 53, -"endLine": 48, -"endColumn": 57 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", -"region": { -"startLine": 53, -"startColumn": 54, -"endLine": 53, -"endColumn": 59 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", -"region": { -"startLine": 60, -"startColumn": 55, -"endLine": 60, -"endColumn": 61 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 43, -"startColumn": 53, -"endLine": 43, -"endColumn": 55 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 96, -"startColumn": 49, -"endLine": 96, -"endColumn": 51 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 137, -"startColumn": 82, -"endLine": 137, -"endColumn": 84 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 138, -"startColumn": 83, -"endLine": 138, -"endColumn": 85 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 218, -"startColumn": 145, -"endLine": 218, -"endColumn": 146 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 219, -"startColumn": 117, -"endLine": 219, -"endColumn": 118 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 220, -"startColumn": 117, -"endLine": 220, -"endColumn": 118 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 226, -"startColumn": 64, -"endLine": 226, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 227, -"startColumn": 35, -"endLine": 227, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 244, -"startColumn": 64, -"endLine": 244, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 245, -"startColumn": 35, -"endLine": 245, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 262, -"startColumn": 64, -"endLine": 262, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 263, -"startColumn": 35, -"endLine": 263, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 280, -"startColumn": 64, -"endLine": 280, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 281, -"startColumn": 35, -"endLine": 281, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", -"region": { -"startLine": 299, -"startColumn": 58, -"endLine": 299, -"endColumn": 62 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 29, -"startColumn": 153, -"endLine": 29, -"endColumn": 155 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 29, -"startColumn": 179, -"endLine": 29, -"endColumn": 183 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 38, -"startColumn": 154, -"endLine": 38, -"endColumn": 156 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 38, -"startColumn": 180, -"endLine": 38, -"endColumn": 184 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 48, -"startColumn": 64, -"endLine": 48, -"endColumn": 66 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 48, -"startColumn": 90, -"endLine": 48, -"endColumn": 94 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 56, -"startColumn": 33, -"endLine": 56, -"endColumn": 39 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '9091' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", -"region": { -"startLine": 58, -"startColumn": 73, -"endLine": 58, -"endColumn": 77 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 58, -"startColumn": 67, -"endLine": 58, -"endColumn": 69 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 58, -"startColumn": 123, -"endLine": 58, -"endColumn": 127 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 70, -"startColumn": 67, -"endLine": 70, -"endColumn": 69 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 70, -"startColumn": 123, -"endLine": 70, -"endColumn": 127 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 82, -"startColumn": 67, -"endLine": 82, -"endColumn": 69 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Internal\ChildrenContainerSpec.cs", -"region": { -"startLine": 82, -"startColumn": 123, -"endLine": 82, -"endColumn": 127 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5000' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Pattern\AskSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorPathSpec.cs", "region": { -"startLine": 44, -"startColumn": 35, -"endLine": 44, +"startLine": 141, +"startColumn": 33, +"endLine": 141, "endColumn": 39 } } }, { "id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Pattern\AskSpec.cs", -"region": { -"startLine": 44, -"startColumn": 62, -"endLine": 44, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Scheduler\DefaultSchedulerPerformanceTests.cs", -"region": { -"startLine": 58, -"startColumn": 79, -"endLine": 58, -"endColumn": 81 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '40' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Scheduler\DefaultSchedulerPerformanceTests.cs", -"region": { -"startLine": 61, -"startColumn": 34, -"endLine": 61, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\DispatcherThroughputSpecBase.cs", -"region": { -"startLine": 74, -"startColumn": 154, -"endLine": 74, -"endColumn": 155 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\GetMailboxTypeSpec.cs", -"region": { -"startLine": 46, -"startColumn": 163, -"endLine": 46, -"endColumn": 165 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '2' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\GetMailboxTypeSpec.cs", -"region": { -"startLine": 62, -"startColumn": 59, -"endLine": 62, -"endColumn": 63 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", -"region": { -"startLine": 44, -"startColumn": 45, -"endLine": 44, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", -"region": { -"startLine": 44, -"startColumn": 134, -"endLine": 44, -"endColumn": 138 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", -"region": { -"startLine": 52, -"startColumn": 45, -"endLine": 52, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1500' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", -"region": { -"startLine": 52, -"startColumn": 134, -"endLine": 52, -"endColumn": 138 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", "region": { -"startLine": 72, -"startColumn": 45, -"endLine": 72, -"endColumn": 47 +"startLine": 48, +"startColumn": 53, +"endLine": 48, +"endColumn": 57 } } }, { "id": "S109", -"message": "Assign this magic number '1500' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", "region": { -"startLine": 72, -"startColumn": 134, -"endLine": 72, -"endColumn": 138 +"startLine": 53, +"startColumn": 54, +"endLine": 53, +"endColumn": 59 } } }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorSystemShutdownSpec.cs", "region": { -"startLine": 80, -"startColumn": 45, -"endLine": 80, -"endColumn": 47 +"startLine": 60, +"startColumn": 55, +"endLine": 60, +"endColumn": 61 } } }, { "id": "S109", -"message": "Assign this magic number '1500' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxBenchmarks.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 80, -"startColumn": 134, -"endLine": 80, -"endColumn": 138 +"startLine": 43, +"startColumn": 53, +"endLine": 43, +"endColumn": 55 } } }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxMemoryFootprintSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 52, -"startColumn": 162, -"endLine": 52, -"endColumn": 164 +"startLine": 96, +"startColumn": 49, +"endLine": 96, +"endColumn": 51 } } }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxMemoryFootprintSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 64, -"startColumn": 166, -"endLine": 64, -"endColumn": 168 +"startLine": 137, +"startColumn": 82, +"endLine": 137, +"endColumn": 84 } } }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '20' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxMemoryFootprintSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 76, -"startColumn": 164, -"endLine": 76, -"endColumn": 166 +"startLine": 138, +"startColumn": 83, +"endLine": 138, +"endColumn": 85 } } }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MailboxMemoryFootprintSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 88, -"startColumn": 164, -"endLine": 88, -"endColumn": 166 +"startLine": 218, +"startColumn": 145, +"endLine": 218, +"endColumn": 146 } } }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MessageDispatchAndReceiveBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 46, -"startColumn": 45, -"endLine": 46, -"endColumn": 47 +"startLine": 219, +"startColumn": 117, +"endLine": 219, +"endColumn": 118 } } }, { "id": "S109", -"message": "Assign this magic number '1500' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\MessageDispatchAndReceiveBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\ActorThroughputSpec.cs", "region": { -"startLine": 46, -"startColumn": 134, -"endLine": 46, -"endColumn": 138 +"startLine": 220, +"startColumn": 117, +"endLine": 220, +"endColumn": 118 } } }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '100000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\ReceiveOnlyBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\AddressSpec.cs", "region": { "startLine": 56, -"startColumn": 45, +"startColumn": 33, "endLine": 56, -"endColumn": 47 +"endColumn": 39 } } }, { "id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Dispatch\ReceiveOnlyBenchmark.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Scheduler\DefaultSchedulerPerformanceTests.cs", "region": { -"startLine": 56, -"startColumn": 134, -"endLine": 56, -"endColumn": 138 +"startLine": 58, +"startColumn": 79, +"endLine": 58, +"endColumn": 81 } } }, { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", +"message": "Assign this magic number '40' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Event\EventStreamThroughputSpec.cs", +"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Actor\Scheduler\DefaultSchedulerPerformanceTests.cs", "region": { "startLine": 61, -"startColumn": 64, +"startColumn": 34, "endLine": 61, -"endColumn": 65 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Event\EventStreamThroughputSpec.cs", -"region": { -"startLine": 62, -"startColumn": 35, -"endLine": 62, -"endColumn": 39 +"endColumn": 36 } } }, @@ -1263,19 +223,6 @@ }, { "id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Util\SerializationBenchmarks.cs", -"region": { -"startLine": 32, -"startColumn": 75, -"endLine": 32, -"endColumn": 77 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1000000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\core\Akka.Tests.Performance\Util\SerializationBenchmarks.cs", @@ -1286,32 +233,6 @@ "endColumn": 40 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '13' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Util\StandardOutWriterMemoryBenchmark.cs", -"region": { -"startLine": 39, -"startColumn": 34, -"endLine": 39, -"endColumn": 36 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '1000' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\core\Akka.Tests.Performance\Util\StandardOutWriterMemoryBenchmark.cs", -"region": { -"startLine": 39, -"startColumn": 93, -"endLine": 39, -"endColumn": 97 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/ClusterSharding.Node--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/ClusterSharding.Node--netcoreapp3.1-S109.json index 958449503f9..f275b2b5b0e 100644 --- a/analyzers/its/expected/akka.net/ClusterSharding.Node--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/ClusterSharding.Node--netcoreapp3.1-S109.json @@ -2,19 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '60' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\ClusterSharding\ClusterSharding.Node\Customers.cs", -"region": { -"startLine": 47, -"startColumn": 52, -"endLine": 47, -"endColumn": 54 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '5000' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\examples\Cluster\ClusterSharding\ClusterSharding.Node\Program.cs", @@ -25,32 +12,6 @@ "endColumn": 30 } } -}, -{ -"id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\ClusterSharding\ClusterSharding.Node\Program.cs", -"region": { -"startLine": 108, -"startColumn": 79, -"endLine": 108, -"endColumn": 80 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\ClusterSharding\ClusterSharding.Node\Program.cs", -"region": { -"startLine": 108, -"startColumn": 104, -"endLine": 108, -"endColumn": 105 -} -} } ] } diff --git a/analyzers/its/expected/akka.net/PingPong--net471-S109.json b/analyzers/its/expected/akka.net/PingPong--net471-S109.json index fb729d69823..f2499aac580 100644 --- a/analyzers/its/expected/akka.net/PingPong--net471-S109.json +++ b/analyzers/its/expected/akka.net/PingPong--net471-S109.json @@ -145,19 +145,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", -"region": { -"startLine": 197, -"startColumn": 54, -"endLine": 197, -"endColumn": 56 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", diff --git a/analyzers/its/expected/akka.net/PingPong--net5.0-S109.json b/analyzers/its/expected/akka.net/PingPong--net5.0-S109.json index fb729d69823..f2499aac580 100644 --- a/analyzers/its/expected/akka.net/PingPong--net5.0-S109.json +++ b/analyzers/its/expected/akka.net/PingPong--net5.0-S109.json @@ -145,19 +145,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", -"region": { -"startLine": 197, -"startColumn": 54, -"endLine": 197, -"endColumn": 56 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", diff --git a/analyzers/its/expected/akka.net/PingPong--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/PingPong--netcoreapp3.1-S109.json index fb729d69823..f2499aac580 100644 --- a/analyzers/its/expected/akka.net/PingPong--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/PingPong--netcoreapp3.1-S109.json @@ -145,19 +145,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", -"region": { -"startLine": 197, -"startColumn": 54, -"endLine": 197, -"endColumn": 56 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '3' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\PingPong\Program.cs", diff --git a/analyzers/its/expected/akka.net/Samples.Cluster.AdaptiveGroup--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/Samples.Cluster.AdaptiveGroup--netcoreapp3.1-S109.json deleted file mode 100644 index d266cec37c1..00000000000 --- a/analyzers/its/expected/akka.net/Samples.Cluster.AdaptiveGroup--netcoreapp3.1-S109.json +++ /dev/null @@ -1,17 +0,0 @@ -{ -"issues": [ -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\Metrics\Samples.Cluster.AdaptiveGroup\Program.cs", -"region": { -"startLine": 48, -"startColumn": 33, -"endLine": 48, -"endColumn": 35 -} -} -} -] -} diff --git a/analyzers/its/expected/akka.net/Samples.Cluster.Metrics.Common--netstandard2.0-S109.json b/analyzers/its/expected/akka.net/Samples.Cluster.Metrics.Common--netstandard2.0-S109.json index 66dff1870e4..a2682f87692 100644 --- a/analyzers/its/expected/akka.net/Samples.Cluster.Metrics.Common--netstandard2.0-S109.json +++ b/analyzers/its/expected/akka.net/Samples.Cluster.Metrics.Common--netstandard2.0-S109.json @@ -15,32 +15,6 @@ }, { "id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\Metrics\Samples.Cluster.Metrics.Common\FactorialFrontend.cs", -"region": { -"startLine": 45, -"startColumn": 29, -"endLine": 45, -"endColumn": 31 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '10' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\examples\Cluster\Metrics\Samples.Cluster.Metrics.Common\FactorialFrontend.cs", -"region": { -"startLine": 80, -"startColumn": 64, -"endLine": 80, -"endColumn": 66 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '1024' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\examples\Cluster\Metrics\Samples.Cluster.Metrics.Common\MetricListener.cs", diff --git a/analyzers/its/expected/akka.net/SpawnBenchmark--net471-S109.json b/analyzers/its/expected/akka.net/SpawnBenchmark--net471-S109.json index 3e8098b7b3a..2e42d9bb8e4 100644 --- a/analyzers/its/expected/akka.net/SpawnBenchmark--net471-S109.json +++ b/analyzers/its/expected/akka.net/SpawnBenchmark--net471-S109.json @@ -2,32 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\Program.cs", -"region": { -"startLine": 25, -"startColumn": 46, -"endLine": 25, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\RootActor.cs", -"region": { -"startLine": 41, -"startColumn": 73, -"endLine": 41, -"endColumn": 74 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '9' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\SpawnBenchmark\SpawnActor.cs", diff --git a/analyzers/its/expected/akka.net/SpawnBenchmark--net5.0-S109.json b/analyzers/its/expected/akka.net/SpawnBenchmark--net5.0-S109.json index 3e8098b7b3a..2e42d9bb8e4 100644 --- a/analyzers/its/expected/akka.net/SpawnBenchmark--net5.0-S109.json +++ b/analyzers/its/expected/akka.net/SpawnBenchmark--net5.0-S109.json @@ -2,32 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\Program.cs", -"region": { -"startLine": 25, -"startColumn": 46, -"endLine": 25, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\RootActor.cs", -"region": { -"startLine": 41, -"startColumn": 73, -"endLine": 41, -"endColumn": 74 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '9' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\SpawnBenchmark\SpawnActor.cs", diff --git a/analyzers/its/expected/akka.net/SpawnBenchmark--netcoreapp3.1-S109.json b/analyzers/its/expected/akka.net/SpawnBenchmark--netcoreapp3.1-S109.json index 3e8098b7b3a..2e42d9bb8e4 100644 --- a/analyzers/its/expected/akka.net/SpawnBenchmark--netcoreapp3.1-S109.json +++ b/analyzers/its/expected/akka.net/SpawnBenchmark--netcoreapp3.1-S109.json @@ -2,32 +2,6 @@ "issues": [ { "id": "S109", -"message": "Assign this magic number '5' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\Program.cs", -"region": { -"startLine": 25, -"startColumn": 46, -"endLine": 25, -"endColumn": 47 -} -} -}, -{ -"id": "S109", -"message": "Assign this magic number '7' to a well-named (variable|constant), and use the (variable|constant) instead.", -"location": { -"uri": "sources\akka.net\src\benchmark\SpawnBenchmark\RootActor.cs", -"region": { -"startLine": 41, -"startColumn": 73, -"endLine": 41, -"endColumn": 74 -} -} -}, -{ -"id": "S109", "message": "Assign this magic number '9' to a well-named (variable|constant), and use the (variable|constant) instead.", "location": { "uri": "sources\akka.net\src\benchmark\SpawnBenchmark\SpawnActor.cs", diff --git a/analyzers/rspec/cs/S109_c#.html b/analyzers/rspec/cs/S109_c#.html index 614e2386a14..76102b28ac0 100644 --- a/analyzers/rspec/cs/S109_c#.html +++ b/analyzers/rspec/cs/S109_c#.html @@ -27,5 +27,12 @@
This rule doesn’t raise an issue when the magic number is used as part of the GetHashCode
method or a variable/field declaration.
This rule doesn’t raise an issue when the magic number is used as part of:
+GetHashCode
method This rule doesn’t raise an issue when the magic number is used as part of the GetHashCode
method or a variable/field declaration.
This rule doesn’t raise an issue when the magic number is used as part of:
+GetHashCode
method