Add metric to stamp #780
Annotations
10 warnings
Run Analysis:
src/ProjectOrigin.Stamp.Server/Exceptions/CertificateDomainException.cs#L7
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'CertificateDomainException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Metrics/StampMetrics.cs#L11
Make '_certificatesIssuedCounterObs' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Metrics/StampMetrics.cs#L13
Make '_certificatesIssuedGaugeObs' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Metrics/StampMetrics.cs#L11
Remove this unread private field '_certificatesIssuedCounterObs' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Metrics/StampMetrics.cs#L13
Remove this unread private field '_certificatesIssuedGaugeObs' or refactor the code to use its value. (https://rules.sonarsource.com/csharp/RSPEC-4487)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Exceptions/TransientException.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'TransientException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Exceptions/WalletException.cs#L6
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'WalletException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Serialization/IHDPublicKeyConverter.cs#L30
Rename class 'IHDPublicKeySchemaFilter' to match pascal case naming rules, consider using 'IhdPublicKeySchemaFilter'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/Serialization/IHDPublicKeyConverter.cs#L10
Rename class 'IHDPublicKeyConverter' to match pascal case naming rules, consider using 'IhdPublicKeyConverter'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
Run Analysis:
src/ProjectOrigin.Stamp.Server/ValueObjects/ValueObject.cs#L8
Seal class 'ValueObject' or implement 'IEqualityComparer<T>' instead. (https://rules.sonarsource.com/csharp/RSPEC-4035)
|
Loading