Executive summary
⚠ A critical security finding caps this grade — resolve it before relying on the score below; see the Security lens.
Template / example. This repo declares itself a template, kata, sample or demo — code to read or copy, not operate — so the ship-it and operate-it dimensions (CI/CD, observability, ADRs, architecture docs, deployment security) are N/A and what remains is judged accordingly.
This system holds a 61% health score, placing it in the At Risk category. While the architecture is robust and the codebase is small, the overall standing is fragile due to significant gaps in code maintainability and operational readiness. For the business, this means the asset is stable today but carries hidden costs that will slow future delivery and increase the likelihood of defects as changes accumulate.
The system is small, comprising roughly 9,373 lines of production code, with a rebuild cost estimated at approximately €18,000 or 0.1 person-years. This low replacement cost is a key strength; it means the business is not locked into a complex, expensive legacy monolith. However, the value tied up here is still significant because the code contains 73% straight-line logic, representing core business rules that must remain accurate and understandable. The low rebuild cost actually increases the urgency to fix quality issues now, as the barrier to a clean slate is low, but the risk of technical debt accumulating in a small, fast-moving team is high.
The primary risk is poor code health, which scores only 56%. This lens measures how easy the code is to modify and debug. A score this low suggests that simple changes may require disproportionate effort, leading to slower feature delivery and higher defect rates. This is the most critical area to address because it directly impacts the team’s velocity and the cost of every future enhancement. Without improvement, the team will spend more time understanding and fixing code than building new value.
A secondary concern is operational readiness, which also scores 62%. This reflects gaps in testing reliability, security practices, and observability. While no critical security breaches were confirmed, the lack of measured test reliability means we cannot guarantee that changes will not break existing functionality. This creates a risk of unexpected outages or regressions in production, which can damage customer trust and require emergency engineering effort to resolve.
On the positive side, the architecture is strong at 90%, indicating that components are well-structured and changes are unlikely to cause widespread ripple effects. This provides a solid foundation for future growth. Additionally, the small size of the system makes it manageable and less prone to the complexity issues that plague larger applications.
The highest-leverage action is to fix resource disposal patterns. The analysis identifies that ownership of resources is unclear, leading to potential leaks or premature releases. By clarifying who creates and who disposes of each resource, the team can immediately reduce runtime errors and improve stability. This fix is low-cost and high-impact, addressing a root cause of many subtle bugs. Focus here first, as it will yield the most immediate improvement in system reliability and code health.
Raise Code Health 56 → 70 (the Healthy floor) ⇒ headline 61 → ~65.
New since the last scan (2+)
Rebuild cost & value ~ Modeled — €5,900–€30,000
| Cost to rebuild | €5,900–€30,000 |
|---|---|
| Domain complexity | Standard |
| Quality factor | 0.8× (at 61% quality) |
| Size & shape | Small · effort split not classified for 5,952 line(s) outside the .NET model (the tier breakdown is a C#-only syntax walk) |
| Effort basis | The rebuild estimate prices 8,950 code lines. Comment-only lines count toward the 9,373-line size but are not build effort. |
This codebase represents roughly ~0.1 person-years of build effort (about ~€18,000 to rebuild). Its weakest lens is Code Health at 56% — the part of that asset most exposed by the findings below.
Top priorities
Diagnosis — what's actually going on
Architecture — bounded-context dependency graph
Architecture — module dependency matrix
| depends on → | 1 Metering.BaseTypes.EventHub | 2 Metering.RuntimeCS | 3 AggregatorFunctionHost | 4 Metering.Aggregator | 5 Metering.BaseTypes.EventHub.PingMessageModule | 6 Metering.BaseTypes.WaterfallTypes | 7 Metering.Integration | 8 Metering.BaseTypes | 9 Metering.Integration.SnapshotIntervalConfigurationModule | 10 Metering.BaseTypes.BillingDimensionModule | 11 Metering.BaseTypes.Json.JsonInternals.BillingDimension | 12 Metering.BaseTypes.Json.JsonInternals.BillingDimensions | 13 Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity | 14 Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent | 15 Metering.BaseTypes.Json.JsonInternals.IncludedQuantity | 16 Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent | 17 Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders | 18 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest | 19 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO | 20 Metering.BaseTypes.MeterCollectionLogic | 21 Metering.BaseTypes.MeterModule | 22 Metering.BaseTypes.MeterValueModule | 23 Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic | 24 Metering.ClientSDK | 25 Metering.EventHub.CaptureProcessor | 26 Metering.Integration.MarketplaceClient | 27 Metering.Integration.MeterCollectionStore | 28 Metering.Integration.MeteringAggregator | 29 Metering.NUnitTests.Billing | 30 Metering.NUnitTests.BusinessLogicTests | 31 Metering.NUnitTests.WaterfallUnitTests | 32 Metering.Utils | 33 Metering.Utils.Status | 34 ReadEventHubCaptureSampleProgram | 35 ReplayCaptureForPartitionProgram | 36 ReprocessLocalEventHubCaptureFilesProgram | 37 Metering.ClientSDK.MeteringEventHubExtensions | 38 Metering.Integration.MeterCollectionStore.Naming | 39 Metering.Utils.ManagementUtils | 40 Metering.Utils.ReportingOverviewModule |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Metering.BaseTypes.EventHub | ||||||||||||||||||||||||||||||||||||||||
| 2 Metering.RuntimeCS | ||||||||||||||||||||||||||||||||||||||||
| 3 AggregatorFunctionHost | 1 | |||||||||||||||||||||||||||||||||||||||
| 4 Metering.Aggregator | 1 | |||||||||||||||||||||||||||||||||||||||
| 5 Metering.BaseTypes.EventHub.PingMessageModule | 3 | |||||||||||||||||||||||||||||||||||||||
| 6 Metering.BaseTypes.WaterfallTypes | 13 | |||||||||||||||||||||||||||||||||||||||
| 7 Metering.Integration | 2 | |||||||||||||||||||||||||||||||||||||||
| 8 Metering.BaseTypes | 5 | 2 | ||||||||||||||||||||||||||||||||||||||
| 9 Metering.Integration.SnapshotIntervalConfigurationModule | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 10 Metering.BaseTypes.BillingDimensionModule | 2 | |||||||||||||||||||||||||||||||||||||||
| 11 Metering.BaseTypes.Json.JsonInternals.BillingDimension | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Metering.BaseTypes.Json.JsonInternals.BillingDimensions | 2 | |||||||||||||||||||||||||||||||||||||||
| 13 Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 Metering.BaseTypes.Json.JsonInternals.IncludedQuantity | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Metering.BaseTypes.MeterCollectionLogic | 3 | 9 | ||||||||||||||||||||||||||||||||||||||
| 21 Metering.BaseTypes.MeterModule | 1 | 10 | ||||||||||||||||||||||||||||||||||||||
| 22 Metering.BaseTypes.MeterValueModule | 1 | 7 | ||||||||||||||||||||||||||||||||||||||
| 23 Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic | 5 | 4 | ||||||||||||||||||||||||||||||||||||||
| 24 Metering.ClientSDK | 3 | |||||||||||||||||||||||||||||||||||||||
| 25 Metering.EventHub.CaptureProcessor | 4 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 Metering.Integration.MarketplaceClient | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 27 Metering.Integration.MeterCollectionStore | 4 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 Metering.Integration.MeteringAggregator | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 29 Metering.NUnitTests.Billing | 1 | 9 | ||||||||||||||||||||||||||||||||||||||
| 30 Metering.NUnitTests.BusinessLogicTests | 2 | 3 | ||||||||||||||||||||||||||||||||||||||
| 31 Metering.NUnitTests.WaterfallUnitTests | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 32 Metering.Utils | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 Metering.Utils.Status | 4 | 2 | 1 | |||||||||||||||||||||||||||||||||||||
| 34 ReadEventHubCaptureSampleProgram | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 ReplayCaptureForPartitionProgram | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 36 ReprocessLocalEventHubCaptureFilesProgram | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 37 Metering.ClientSDK.MeteringEventHubExtensions | 2 | 5 | 1 | |||||||||||||||||||||||||||||||||||||
| 38 Metering.Integration.MeterCollectionStore.Naming | 3 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 Metering.Utils.ManagementUtils | 3 | 2 | 4 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 Metering.Utils.ReportingOverviewModule | 2 | 1 |
3→2 AggregatorFunctionHost depends on Metering.RuntimeCS✕
- Type pairs
- 1 distinct (type in AggregatorFunctionHost → type in Metering.RuntimeCS) reference.
- Which types
AggregatorFunctionHost.AggregatorFunction→Metering.RuntimeCS.AggregationWorker
- Direction
- AggregatorFunctionHost uses Metering.RuntimeCS. Changing Metering.RuntimeCS can break AggregatorFunctionHost, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
4→2 Metering.Aggregator depends on Metering.RuntimeCS✕
- Type pairs
- 1 distinct (type in Metering.Aggregator → type in Metering.RuntimeCS) reference.
- Which types
Metering.Aggregator.Worker→Metering.RuntimeCS.AggregationWorker
- Direction
- Metering.Aggregator uses Metering.RuntimeCS. Changing Metering.RuntimeCS can break Metering.Aggregator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
5→1 Metering.BaseTypes.EventHub.PingMessageModule depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 3 distinct (type in Metering.BaseTypes.EventHub.PingMessageModule → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.BaseTypes.EventHub.PingMessageModule.PingMessageModule→Metering.BaseTypes.EventHub.PartitionIDMetering.BaseTypes.EventHub.PingMessageModule.PingMessageModule→Metering.BaseTypes.EventHub.PingMessageMetering.BaseTypes.EventHub.PingMessageModule.PingMessageModule→Metering.BaseTypes.EventHub.PingReason
- Direction
- Metering.BaseTypes.EventHub.PingMessageModule uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes.EventHub.PingMessageModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
6→8 Metering.BaseTypes.WaterfallTypes depends on Metering.BaseTypes cycle✕
- Type pairs
- 13 distinct (type in Metering.BaseTypes.WaterfallTypes → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.WaterfallTypes.ConsumptionReport→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.ConsumptionReport→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.SubtractionAggregation→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.SubtractionAggregation→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.WaterfallBillingDimensionItem→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.WaterfallBillingDimensionItem→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.WaterfallMeterValue→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.WaterfallMeterValue→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.WaterfallModelRange→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.WaterfallModelRange→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.WaterfallModelRow→Metering.BaseTypes.QuantityMetering.BaseTypes.WaterfallTypes.WaterfallOverageOverage→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.WaterfallOverageOverage→Metering.BaseTypes.Quantity
- Direction
- Metering.BaseTypes.WaterfallTypes uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.WaterfallTypes, not the reverse.
- Position
- Above the diagonal — a cycle. Neither module can be changed, tested or deployed independently until one of these dependencies goes.
7→1 Metering.Integration depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 2 distinct (type in Metering.Integration → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.Integration.EventHubConfig→Metering.BaseTypes.EventHub.EventHubNameMetering.Integration.MeteringConnections→Metering.BaseTypes.EventHub.EventHubName
- Direction
- Metering.Integration uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Integration, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→1 Metering.BaseTypes depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 5 distinct (type in Metering.BaseTypes → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.BaseTypes.Meter→Metering.BaseTypes.EventHub.MessagePositionMetering.BaseTypes.MeterCollection→Metering.BaseTypes.EventHub.EventHubEvent`1Metering.BaseTypes.MeterCollection→Metering.BaseTypes.EventHub.MessagePositionMetering.BaseTypes.MeteringUpdateEvent→Metering.BaseTypes.EventHub.PingMessageMetering.BaseTypes.RemoveUnprocessedMessages→Metering.BaseTypes.EventHub.PartitionID
- Direction
- Metering.BaseTypes uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
8→6 Metering.BaseTypes depends on Metering.BaseTypes.WaterfallTypes✕
- Type pairs
- 2 distinct (type in Metering.BaseTypes → type in Metering.BaseTypes.WaterfallTypes) references.
- Which types
Metering.BaseTypes.BillingDimension→Metering.BaseTypes.WaterfallTypes.WaterfallBillingDimensionMetering.BaseTypes.MeterValue→Metering.BaseTypes.WaterfallTypes.WaterfallMeterValue
- Direction
- Metering.BaseTypes uses Metering.BaseTypes.WaterfallTypes. Changing Metering.BaseTypes.WaterfallTypes can break Metering.BaseTypes, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→1 Metering.Integration.SnapshotIntervalConfigurationModule depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.Integration.SnapshotIntervalConfigurationModule → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.Integration.SnapshotIntervalConfigurationModule.SnapshotIntervalConfigurationModule→Metering.BaseTypes.EventHub.MessagePosition
- Direction
- Metering.Integration.SnapshotIntervalConfigurationModule uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Integration.SnapshotIntervalConfigurationModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
9→7 Metering.Integration.SnapshotIntervalConfigurationModule depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in Metering.Integration.SnapshotIntervalConfigurationModule → type in Metering.Integration) reference.
- Which types
Metering.Integration.SnapshotIntervalConfigurationModule.SnapshotIntervalConfigurationModule→Metering.Integration.SnapshotIntervalConfiguration
- Direction
- Metering.Integration.SnapshotIntervalConfigurationModule uses Metering.Integration. Changing Metering.Integration can break Metering.Integration.SnapshotIntervalConfigurationModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
10→8 Metering.BaseTypes.BillingDimensionModule depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.BaseTypes.BillingDimensionModule → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.BillingDimensionModule.BillingDimensionModule→Metering.BaseTypes.BillingDimensionMetering.BaseTypes.BillingDimensionModule.BillingDimensionModule→Metering.BaseTypes.DimensionId
- Direction
- Metering.BaseTypes.BillingDimensionModule uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.BillingDimensionModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
11→8 Metering.BaseTypes.Json.JsonInternals.BillingDimension depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.BillingDimension → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.BillingDimension.BillingDimension→Metering.BaseTypes.BillingDimension
- Direction
- Metering.BaseTypes.Json.JsonInternals.BillingDimension uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.BillingDimension, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
12→8 Metering.BaseTypes.Json.JsonInternals.BillingDimensions depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.BaseTypes.Json.JsonInternals.BillingDimensions → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.Json.JsonInternals.BillingDimensions.BillingDimensions→Metering.BaseTypes.ApplicationInternalMeterNameMetering.BaseTypes.Json.JsonInternals.BillingDimensions.BillingDimensions→Metering.BaseTypes.BillingDimension
- Direction
- Metering.BaseTypes.Json.JsonInternals.BillingDimensions uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.BillingDimensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
13→8 Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity.ConsumedQuantity→Metering.BaseTypes.ConsumedQuantity
- Direction
- Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.ConsumedQuantity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→1 Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent.EventHubEvent_MeteringUpdateEvent→Metering.BaseTypes.EventHub.EventHubEvent`1
- Direction
- Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
14→8 Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent.EventHubEvent_MeteringUpdateEvent→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.EventHubEvent_MeteringUpdateEvent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
15→8 Metering.BaseTypes.Json.JsonInternals.IncludedQuantity depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.IncludedQuantity → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.IncludedQuantity.IncludedQuantity→Metering.BaseTypes.IncludedQuantity
- Direction
- Metering.BaseTypes.Json.JsonInternals.IncludedQuantity uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.IncludedQuantity, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
16→8 Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent.InternalUsageEvent→Metering.BaseTypes.InternalUsageEvent
- Direction
- Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.InternalUsageEvent, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
17→8 Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders.AzureHttpResponseHeaders→Metering.BaseTypes.AzureHttpResponseHeaders
- Direction
- Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.Marketplace.AzureHttpResponseHeaders, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
18→8 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest.MarketplaceBatchRequest→Metering.BaseTypes.MarketplaceBatchRequest
- Direction
- Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchRequest, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
19→8 Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO → type in Metering.BaseTypes) reference.
- Which types
Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO.MarketplaceBatchResponseDTO→Metering.BaseTypes.MarketplaceBatchResponseDTO
- Direction
- Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.Json.JsonInternals.Marketplace.MarketplaceBatchResponseDTO, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→1 Metering.BaseTypes.MeterCollectionLogic depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 3 distinct (type in Metering.BaseTypes.MeterCollectionLogic → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.EventHub.EventHubEvent`1Metering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.EventHub.MessagePositionMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.EventHub.StartingPosition
- Direction
- Metering.BaseTypes.MeterCollectionLogic uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes.MeterCollectionLogic, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
20→8 Metering.BaseTypes.MeterCollectionLogic depends on Metering.BaseTypes✕
- Type pairs
- 9 distinct (type in Metering.BaseTypes.MeterCollectionLogic → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.InternalUsageEventMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.MarketplaceRequestMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.MarketplaceResourceIdMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.MarketplaceResponseMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.MeterCollectionMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.MeteringUpdateEventMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.RemoveUnprocessedMessagesMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.SubscriptionCreationInformationMetering.BaseTypes.MeterCollectionLogic.MeterCollectionLogic→Metering.BaseTypes.UnprocessableMessage
- Direction
- Metering.BaseTypes.MeterCollectionLogic uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.MeterCollectionLogic, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→1 Metering.BaseTypes.MeterModule depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.MeterModule → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.EventHub.MessagePosition
- Direction
- Metering.BaseTypes.MeterModule uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes.MeterModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
21→8 Metering.BaseTypes.MeterModule depends on Metering.BaseTypes✕
- Type pairs
- 10 distinct (type in Metering.BaseTypes.MeterModule → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.ApplicationInternalMeterNameMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.BillingDimensionMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.InternalUsageEventMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.MarketplaceRequestMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.MarketplaceResourceIdMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.MarketplaceResponseMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.MarketplaceSuccessResponseMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.MeterMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.QuantityMetering.BaseTypes.MeterModule.MeterModule→Metering.BaseTypes.SubscriptionCreationInformation
- Direction
- Metering.BaseTypes.MeterModule uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.MeterModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→1 Metering.BaseTypes.MeterValueModule depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.BaseTypes.MeterValueModule → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.EventHub.MessagePosition
- Direction
- Metering.BaseTypes.MeterValueModule uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.BaseTypes.MeterValueModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
22→8 Metering.BaseTypes.MeterValueModule depends on Metering.BaseTypes✕
- Type pairs
- 7 distinct (type in Metering.BaseTypes.MeterValueModule → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.ApplicationInternalMeterNameMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.BillingDimensionMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.DimensionIdMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.MarketplaceResourceIdMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.MeterValueMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.PlanIdMetering.BaseTypes.MeterValueModule.MeterValueModule→Metering.BaseTypes.Quantity
- Direction
- Metering.BaseTypes.MeterValueModule uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.MeterValueModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→6 Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic depends on Metering.BaseTypes.WaterfallTypes✕
- Type pairs
- 5 distinct (type in Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic → type in Metering.BaseTypes.WaterfallTypes) references.
- Which types
Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.WaterfallTypes.SubtractionAggregationMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.WaterfallTypes.WaterfallBillingDimensionMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.WaterfallTypes.WaterfallBillingDimensionItemMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.WaterfallTypes.WaterfallMeterValueMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.WaterfallTypes.WaterfallModelRow
- Direction
- Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic uses Metering.BaseTypes.WaterfallTypes. Changing Metering.BaseTypes.WaterfallTypes can break Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
23→8 Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic depends on Metering.BaseTypes✕
- Type pairs
- 4 distinct (type in Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic → type in Metering.BaseTypes) references.
- Which types
Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.DimensionIdMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.MarketplaceResourceIdMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.PlanIdMetering.BaseTypes.WaterfallTypes.WaterfallMeterLogic.WaterfallMeterLogic→Metering.BaseTypes.Quantity
- Direction
- Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.BaseTypes.WaterfallTypes.WaterfallMeterLogic, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
24→8 Metering.ClientSDK depends on Metering.BaseTypes✕
- Type pairs
- 3 distinct (type in Metering.ClientSDK → type in Metering.BaseTypes) references.
- Which types
Metering.ClientSDK.Consumption→Metering.BaseTypes.MarketplaceResourceIdMetering.ClientSDK.MeterValue→Metering.BaseTypes.ApplicationInternalMeterNameMetering.ClientSDK.MeterValue→Metering.BaseTypes.Quantity
- Direction
- Metering.ClientSDK uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.ClientSDK, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→1 Metering.EventHub.CaptureProcessor depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 4 distinct (type in Metering.EventHub.CaptureProcessor → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.EventHub.CaptureProcessor.CaptureProcessor→Metering.BaseTypes.EventHub.EventHubEvent`1Metering.EventHub.CaptureProcessor.CaptureProcessor→Metering.BaseTypes.EventHub.EventHubNameMetering.EventHub.CaptureProcessor.CaptureProcessor→Metering.BaseTypes.EventHub.MessagePositionMetering.EventHub.CaptureProcessor.CaptureProcessor→Metering.BaseTypes.EventHub.PartitionID
- Direction
- Metering.EventHub.CaptureProcessor uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.EventHub.CaptureProcessor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→7 Metering.EventHub.CaptureProcessor depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in Metering.EventHub.CaptureProcessor → type in Metering.Integration) reference.
- Which types
Metering.EventHub.CaptureProcessor.CaptureProcessor→Metering.Integration.MeteringConnections
- Direction
- Metering.EventHub.CaptureProcessor uses Metering.Integration. Changing Metering.Integration can break Metering.EventHub.CaptureProcessor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
25→8 Metering.EventHub.CaptureProcessor depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.EventHub.CaptureProcessor → type in Metering.BaseTypes) reference.
- Which types
Metering.EventHub.CaptureProcessor.CaptureProcessor→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- Metering.EventHub.CaptureProcessor uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.EventHub.CaptureProcessor, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→7 Metering.Integration.MarketplaceClient depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in Metering.Integration.MarketplaceClient → type in Metering.Integration) reference.
- Which types
Metering.Integration.MarketplaceClient.MarketplaceClient→Metering.Integration.MeteringConfigurationProvider
- Direction
- Metering.Integration.MarketplaceClient uses Metering.Integration. Changing Metering.Integration can break Metering.Integration.MarketplaceClient, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
26→8 Metering.Integration.MarketplaceClient depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.Integration.MarketplaceClient → type in Metering.BaseTypes) references.
- Which types
Metering.Integration.MarketplaceClient.MarketplaceClient→Metering.BaseTypes.MarketplaceBatchResponseMetering.Integration.MarketplaceClient.MarketplaceClient→Metering.BaseTypes.MarketplaceRequest
- Direction
- Metering.Integration.MarketplaceClient uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Integration.MarketplaceClient, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→1 Metering.Integration.MeterCollectionStore depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 4 distinct (type in Metering.Integration.MeterCollectionStore → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.Integration.MeterCollectionStore.MeterCollectionStore→Metering.BaseTypes.EventHub.MessagePositionMetering.Integration.MeterCollectionStore.MeterCollectionStore→Metering.BaseTypes.EventHub.PartitionIDMetering.Integration.MeterCollectionStore.SnapshotName→Metering.BaseTypes.EventHub.EventHubNameMetering.Integration.MeterCollectionStore.SnapshotName→Metering.BaseTypes.EventHub.MessagePosition
- Direction
- Metering.Integration.MeterCollectionStore uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Integration.MeterCollectionStore, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→7 Metering.Integration.MeterCollectionStore depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in Metering.Integration.MeterCollectionStore → type in Metering.Integration) reference.
- Which types
Metering.Integration.MeterCollectionStore.MeterCollectionStore→Metering.Integration.MeteringConnections
- Direction
- Metering.Integration.MeterCollectionStore uses Metering.Integration. Changing Metering.Integration can break Metering.Integration.MeterCollectionStore, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
27→8 Metering.Integration.MeterCollectionStore depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.Integration.MeterCollectionStore → type in Metering.BaseTypes) reference.
- Which types
Metering.Integration.MeterCollectionStore.MeterCollectionStore→Metering.BaseTypes.MeterCollection
- Direction
- Metering.Integration.MeterCollectionStore uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Integration.MeterCollectionStore, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→1 Metering.Integration.MeteringAggregator depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.Integration.MeteringAggregator → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.Integration.MeteringAggregator.MeteringAggregator→Metering.BaseTypes.EventHub.EventHubProcessorEvent`2
- Direction
- Metering.Integration.MeteringAggregator uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Integration.MeteringAggregator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
28→8 Metering.Integration.MeteringAggregator depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.Integration.MeteringAggregator → type in Metering.BaseTypes) references.
- Which types
Metering.Integration.MeteringAggregator.MeteringAggregator→Metering.BaseTypes.MeterCollectionMetering.Integration.MeteringAggregator.MeteringAggregator→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- Metering.Integration.MeteringAggregator uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Integration.MeteringAggregator, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→1 Metering.NUnitTests.Billing depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in Metering.NUnitTests.Billing → type in Metering.BaseTypes.EventHub) reference.
- Which types
Metering.NUnitTests.Billing.Billing→Metering.BaseTypes.EventHub.EventHubEvent`1
- Direction
- Metering.NUnitTests.Billing uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.NUnitTests.Billing, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
29→8 Metering.NUnitTests.Billing depends on Metering.BaseTypes✕
- Type pairs
- 9 distinct (type in Metering.NUnitTests.Billing → type in Metering.BaseTypes) references.
- Which types
Metering.NUnitTests.Billing.Billing→Metering.BaseTypes.MarketplaceResourceIdMetering.NUnitTests.Billing.Billing→Metering.BaseTypes.MeterCollectionMetering.NUnitTests.Billing.Billing→Metering.BaseTypes.MeteringUpdateEventMetering.NUnitTests.Billing.Billing→Metering.BaseTypes.PlanMetering.NUnitTests.Billing.Billing→Metering.BaseTypes.SubscriptionCreationInformationMetering.NUnitTests.Billing.MeterValue_subtractQuantityFromMeterValue_Vector→Metering.BaseTypes.QuantityMetering.NUnitTests.Billing.MeterValue_subtractQuantityFromMeterValue_Vector→Metering.BaseTypes.SimpleMeterValueMetering.NUnitTests.Billing.MeterValue_topupMonthlyCredits_Vector→Metering.BaseTypes.SimpleMeterValueMetering.NUnitTests.Billing.RenewalIntervalCheck→Metering.BaseTypes.RenewalInterval
- Direction
- Metering.NUnitTests.Billing uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.NUnitTests.Billing, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→1 Metering.NUnitTests.BusinessLogicTests depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 2 distinct (type in Metering.NUnitTests.BusinessLogicTests → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.NUnitTests.BusinessLogicTests.BusinessLogicTests→Metering.BaseTypes.EventHub.EventHubEvent`1Metering.NUnitTests.BusinessLogicTests.TestFile→Metering.BaseTypes.EventHub.EventHubEvent`1
- Direction
- Metering.NUnitTests.BusinessLogicTests uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.NUnitTests.BusinessLogicTests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
30→8 Metering.NUnitTests.BusinessLogicTests depends on Metering.BaseTypes✕
- Type pairs
- 3 distinct (type in Metering.NUnitTests.BusinessLogicTests → type in Metering.BaseTypes) references.
- Which types
Metering.NUnitTests.BusinessLogicTests.BusinessLogicTests→Metering.BaseTypes.MeterCollectionMetering.NUnitTests.BusinessLogicTests.BusinessLogicTests→Metering.BaseTypes.MeteringUpdateEventMetering.NUnitTests.BusinessLogicTests.TestFile→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- Metering.NUnitTests.BusinessLogicTests uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.NUnitTests.BusinessLogicTests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→6 Metering.NUnitTests.WaterfallUnitTests depends on Metering.BaseTypes.WaterfallTypes✕
- Type pairs
- 1 distinct (type in Metering.NUnitTests.WaterfallUnitTests → type in Metering.BaseTypes.WaterfallTypes) reference.
- Which types
Metering.NUnitTests.WaterfallUnitTests.WaterfallUnitTests→Metering.BaseTypes.WaterfallTypes.WaterfallMeterValue
- Direction
- Metering.NUnitTests.WaterfallUnitTests uses Metering.BaseTypes.WaterfallTypes. Changing Metering.BaseTypes.WaterfallTypes can break Metering.NUnitTests.WaterfallUnitTests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
31→8 Metering.NUnitTests.WaterfallUnitTests depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.NUnitTests.WaterfallUnitTests → type in Metering.BaseTypes) references.
- Which types
Metering.NUnitTests.WaterfallUnitTests.WaterfallUnitTests→Metering.BaseTypes.DimensionIdMetering.NUnitTests.WaterfallUnitTests.WaterfallUnitTests→Metering.BaseTypes.Quantity
- Direction
- Metering.NUnitTests.WaterfallUnitTests uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.NUnitTests.WaterfallUnitTests, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
32→8 Metering.Utils depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.Utils → type in Metering.BaseTypes) reference.
- Which types
Metering.Utils.ReportingOverview→Metering.BaseTypes.Quantity
- Direction
- Metering.Utils uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Utils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→1 Metering.Utils.Status depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 4 distinct (type in Metering.Utils.Status → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.Utils.Status.PartitionProps→Metering.BaseTypes.EventHub.PartitionIDMetering.Utils.Status.Status→Metering.BaseTypes.EventHub.EventsToCatchupMetering.Utils.Status.Status→Metering.BaseTypes.EventHub.MessagePositionMetering.Utils.Status.Status→Metering.BaseTypes.EventHub.PartitionID
- Direction
- Metering.Utils.Status uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Utils.Status, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→7 Metering.Utils.Status depends on Metering.Integration✕
- Type pairs
- 2 distinct (type in Metering.Utils.Status → type in Metering.Integration) references.
- Which types
Metering.Utils.Status.Status→Metering.Integration.MeteringConfigurationProviderMetering.Utils.Status.Status→Metering.Integration.MeteringConnections
- Direction
- Metering.Utils.Status uses Metering.Integration. Changing Metering.Integration can break Metering.Utils.Status, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
33→8 Metering.Utils.Status depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in Metering.Utils.Status → type in Metering.BaseTypes) reference.
- Which types
Metering.Utils.Status.Status→Metering.BaseTypes.MeterCollection
- Direction
- Metering.Utils.Status uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Utils.Status, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→1 ReadEventHubCaptureSampleProgram depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in ReadEventHubCaptureSampleProgram → type in Metering.BaseTypes.EventHub) reference.
- Which types
ReadEventHubCaptureSampleProgram.ReadEventHubCaptureSampleProgram→Metering.BaseTypes.EventHub.PartitionID
- Direction
- ReadEventHubCaptureSampleProgram uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break ReadEventHubCaptureSampleProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→7 ReadEventHubCaptureSampleProgram depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in ReadEventHubCaptureSampleProgram → type in Metering.Integration) reference.
- Which types
ReadEventHubCaptureSampleProgram.ReadEventHubCaptureSampleProgram→Metering.Integration.MeteringConnections
- Direction
- ReadEventHubCaptureSampleProgram uses Metering.Integration. Changing Metering.Integration can break ReadEventHubCaptureSampleProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
34→8 ReadEventHubCaptureSampleProgram depends on Metering.BaseTypes✕
- Type pairs
- 1 distinct (type in ReadEventHubCaptureSampleProgram → type in Metering.BaseTypes) reference.
- Which types
ReadEventHubCaptureSampleProgram.ReadEventHubCaptureSampleProgram→Metering.BaseTypes.MeterCollection
- Direction
- ReadEventHubCaptureSampleProgram uses Metering.BaseTypes. Changing Metering.BaseTypes can break ReadEventHubCaptureSampleProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→1 ReplayCaptureForPartitionProgram depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 1 distinct (type in ReplayCaptureForPartitionProgram → type in Metering.BaseTypes.EventHub) reference.
- Which types
ReplayCaptureForPartitionProgram.ReplayCaptureForPartitionProgram→Metering.BaseTypes.EventHub.EventHubEvent`1
- Direction
- ReplayCaptureForPartitionProgram uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break ReplayCaptureForPartitionProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→7 ReplayCaptureForPartitionProgram depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in ReplayCaptureForPartitionProgram → type in Metering.Integration) reference.
- Which types
ReplayCaptureForPartitionProgram.ReplayCaptureForPartitionProgram→Metering.Integration.MeteringConnections
- Direction
- ReplayCaptureForPartitionProgram uses Metering.Integration. Changing Metering.Integration can break ReplayCaptureForPartitionProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
35→8 ReplayCaptureForPartitionProgram depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in ReplayCaptureForPartitionProgram → type in Metering.BaseTypes) references.
- Which types
ReplayCaptureForPartitionProgram.ReplayCaptureForPartitionProgram→Metering.BaseTypes.MeterCollectionReplayCaptureForPartitionProgram.ReplayCaptureForPartitionProgram→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- ReplayCaptureForPartitionProgram uses Metering.BaseTypes. Changing Metering.BaseTypes can break ReplayCaptureForPartitionProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→1 ReprocessLocalEventHubCaptureFilesProgram depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 2 distinct (type in ReprocessLocalEventHubCaptureFilesProgram → type in Metering.BaseTypes.EventHub) references.
- Which types
ReprocessLocalEventHubCaptureFilesProgram.ReprocessLocalEventHubCaptureFilesProgram→Metering.BaseTypes.EventHub.EventHubEvent`1ReprocessLocalEventHubCaptureFilesProgram.ReprocessLocalEventHubCaptureFilesProgram→Metering.BaseTypes.EventHub.PartitionID
- Direction
- ReprocessLocalEventHubCaptureFilesProgram uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break ReprocessLocalEventHubCaptureFilesProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
36→8 ReprocessLocalEventHubCaptureFilesProgram depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in ReprocessLocalEventHubCaptureFilesProgram → type in Metering.BaseTypes) references.
- Which types
ReprocessLocalEventHubCaptureFilesProgram.ReprocessLocalEventHubCaptureFilesProgram→Metering.BaseTypes.MarketplaceResourceIdReprocessLocalEventHubCaptureFilesProgram.ReprocessLocalEventHubCaptureFilesProgram→Metering.BaseTypes.MeterCollection
- Direction
- ReprocessLocalEventHubCaptureFilesProgram uses Metering.BaseTypes. Changing Metering.BaseTypes can break ReprocessLocalEventHubCaptureFilesProgram, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→1 Metering.ClientSDK.MeteringEventHubExtensions depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 2 distinct (type in Metering.ClientSDK.MeteringEventHubExtensions → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.EventHub.PartitionIDMetering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.EventHub.PingMessage
- Direction
- Metering.ClientSDK.MeteringEventHubExtensions uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.ClientSDK.MeteringEventHubExtensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→8 Metering.ClientSDK.MeteringEventHubExtensions depends on Metering.BaseTypes✕
- Type pairs
- 5 distinct (type in Metering.ClientSDK.MeteringEventHubExtensions → type in Metering.BaseTypes) references.
- Which types
Metering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.MarketplaceBatchResponseMetering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.MarketplaceResourceIdMetering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.MeteringUpdateEventMetering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.QuantityMetering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.BaseTypes.SubscriptionCreationInformation
- Direction
- Metering.ClientSDK.MeteringEventHubExtensions uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.ClientSDK.MeteringEventHubExtensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
37→24 Metering.ClientSDK.MeteringEventHubExtensions depends on Metering.ClientSDK✕
- Type pairs
- 1 distinct (type in Metering.ClientSDK.MeteringEventHubExtensions → type in Metering.ClientSDK) reference.
- Which types
Metering.ClientSDK.MeteringEventHubExtensions.MeteringEventHubExtensions→Metering.ClientSDK.MeterValue
- Direction
- Metering.ClientSDK.MeteringEventHubExtensions uses Metering.ClientSDK. Changing Metering.ClientSDK can break Metering.ClientSDK.MeteringEventHubExtensions, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→1 Metering.Integration.MeterCollectionStore.Naming depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 3 distinct (type in Metering.Integration.MeterCollectionStore.Naming → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.Integration.MeterCollectionStore.Naming.Naming→Metering.BaseTypes.EventHub.EventHubNameMetering.Integration.MeterCollectionStore.Naming.Naming→Metering.BaseTypes.EventHub.MessagePositionMetering.Integration.MeterCollectionStore.Naming.Naming→Metering.BaseTypes.EventHub.PartitionID
- Direction
- Metering.Integration.MeterCollectionStore.Naming uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Integration.MeterCollectionStore.Naming, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→7 Metering.Integration.MeterCollectionStore.Naming depends on Metering.Integration✕
- Type pairs
- 1 distinct (type in Metering.Integration.MeterCollectionStore.Naming → type in Metering.Integration) reference.
- Which types
Metering.Integration.MeterCollectionStore.Naming.Naming→Metering.Integration.MeteringConnections
- Direction
- Metering.Integration.MeterCollectionStore.Naming uses Metering.Integration. Changing Metering.Integration can break Metering.Integration.MeterCollectionStore.Naming, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
38→27 Metering.Integration.MeterCollectionStore.Naming depends on Metering.Integration.MeterCollectionStore✕
- Type pairs
- 1 distinct (type in Metering.Integration.MeterCollectionStore.Naming → type in Metering.Integration.MeterCollectionStore) reference.
- Which types
Metering.Integration.MeterCollectionStore.Naming.Naming→Metering.Integration.MeterCollectionStore.SnapshotName
- Direction
- Metering.Integration.MeterCollectionStore.Naming uses Metering.Integration.MeterCollectionStore. Changing Metering.Integration.MeterCollectionStore can break Metering.Integration.MeterCollectionStore.Naming, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→1 Metering.Utils.ManagementUtils depends on Metering.BaseTypes.EventHub✕
- Type pairs
- 3 distinct (type in Metering.Utils.ManagementUtils → type in Metering.BaseTypes.EventHub) references.
- Which types
Metering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.EventHub.EventHubEvent`1Metering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.EventHub.MessagePositionMetering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.EventHub.PartitionID
- Direction
- Metering.Utils.ManagementUtils uses Metering.BaseTypes.EventHub. Changing Metering.BaseTypes.EventHub can break Metering.Utils.ManagementUtils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→7 Metering.Utils.ManagementUtils depends on Metering.Integration✕
- Type pairs
- 2 distinct (type in Metering.Utils.ManagementUtils → type in Metering.Integration) references.
- Which types
Metering.Utils.ManagementUtils.ManagementUtils→Metering.Integration.MeteringConfigurationProviderMetering.Utils.ManagementUtils.ManagementUtils→Metering.Integration.MeteringConnections
- Direction
- Metering.Utils.ManagementUtils uses Metering.Integration. Changing Metering.Integration can break Metering.Utils.ManagementUtils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→8 Metering.Utils.ManagementUtils depends on Metering.BaseTypes✕
- Type pairs
- 4 distinct (type in Metering.Utils.ManagementUtils → type in Metering.BaseTypes) references.
- Which types
Metering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.MarketplaceRequestMetering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.MarketplaceResourceIdMetering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.MeterCollectionMetering.Utils.ManagementUtils.ManagementUtils→Metering.BaseTypes.MeteringUpdateEvent
- Direction
- Metering.Utils.ManagementUtils uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Utils.ManagementUtils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
39→32 Metering.Utils.ManagementUtils depends on Metering.Utils✕
- Type pairs
- 1 distinct (type in Metering.Utils.ManagementUtils → type in Metering.Utils) reference.
- Which types
Metering.Utils.ManagementUtils.ManagementUtils→Metering.Utils.ReportingOverview
- Direction
- Metering.Utils.ManagementUtils uses Metering.Utils. Changing Metering.Utils can break Metering.Utils.ManagementUtils, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→8 Metering.Utils.ReportingOverviewModule depends on Metering.BaseTypes✕
- Type pairs
- 2 distinct (type in Metering.Utils.ReportingOverviewModule → type in Metering.BaseTypes) references.
- Which types
Metering.Utils.ReportingOverviewModule.ReportingOverviewModule→Metering.BaseTypes.ApplicationInternalMeterNameMetering.Utils.ReportingOverviewModule.ReportingOverviewModule→Metering.BaseTypes.BillingDimension
- Direction
- Metering.Utils.ReportingOverviewModule uses Metering.BaseTypes. Changing Metering.BaseTypes can break Metering.Utils.ReportingOverviewModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
40→32 Metering.Utils.ReportingOverviewModule depends on Metering.Utils✕
- Type pairs
- 1 distinct (type in Metering.Utils.ReportingOverviewModule → type in Metering.Utils) reference.
- Which types
Metering.Utils.ReportingOverviewModule.ReportingOverviewModule→Metering.Utils.ReportingOverview
- Direction
- Metering.Utils.ReportingOverviewModule uses Metering.Utils. Changing Metering.Utils can break Metering.Utils.ReportingOverviewModule, not the reverse.
- Position
- Below the diagonal — points down the layering, which is what you want.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2021 — Security Misconfiguration | 54 | High / Critical |
| A03:2021 — Injection | 23 | High / Critical |
| A02:2021 — Cryptographic Failures | 3 | High / Critical |
Roadmap
First, ensure disposal patterns correctly match object ownership by releasing only what the type created and avoiding unnecessary finalizers. Next, replace interpolated strings in log messages with structured logging to improve performance and queryability, while also guarding expensive diagnostic materialization behind level checks to avoid unnecessary computation. Finally, enable nullable reference types across all projects to resolve warnings properly instead of suppressing them, and address the single instance of swallowed exceptions to improve error visibility.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 EmptyCatchBlock finding(s) in Explicit Debt — start with EventHubObservableClient.cs. | +4.4 pts | Low | Explicit Debt |
| Resolve the 1 WriteOnlyPrivateField finding(s) in Explicit Debt — start with Error.cshtml.cs. | +4.4 pts | Low | Explicit Debt |
| Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Json.fs, EventHubObservableClient.cs, EventHubCaptureProcessor.fs. | +3.2 pts | Low | Knowledge Freshness |
| Resolve the 4 CommentedOutCode finding(s) in Explicit Debt — start with DemoClientProgram.cs, MeterModels.cs, NotificationSchemas.cs. | +3.0 pts | Low | Explicit Debt |
| Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release. | +5.9 pts | Medium | Disposal-pattern correctness |
| Interpolated log message defeats structured logging | +5.9 pts | Medium | Structured logging |
| Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`. | +5.9 pts | Medium | Nullable reference types |
| Each finding names the diagnostic call and the expression inside its argument whose cost scales with a collection. Confirm from the two that the argument is built before the call — that is C#'s evaluation order, not a guess — then put the construction behind the same level check the sink applies: `if (logger.IsEnabled(LogLevel.Trace))` for Microsoft.Extensions.Logging, the repository's own debug flag where it has one, or a message template whose ARGUMENTS the logging framework only formats when the level is on. Moving the call is not the fix: it is the join/projection in the argument that is paid, wherever the call sits. | +5.7 pts | Medium | Unguarded diagnostic materialisation |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | IaC & Container Security: Critical IaC: REDACTED |
| REDACTED | 1.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| src/Metering.EventHub/EventHubObservableClient.cs | 2.9 | Mixed | Explicit Debt: EmptyCatchBlock |
| REDACTED | 4.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 5.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.1 | Near-clean | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.4 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.4 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.9 | Near-clean | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.9 | Near-clean | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Near-clean | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Near-clean | Secrets (history): REDACTED: REDACTED |
| src/Metering.RuntimeCS/PartitionIDHash.cs | 7.4 | Near-clean | Cyclomatic Complexity: PartitionIDHashExtensions.DeterminePartitionId (cyclomatic 20) |
| src/Metering.Runtime/EventHubCaptureProcessor.fs | 7.4 | Near-clean | Code Duplication: Duplicated block (39 lines × 2) |
| src/Demos/DemoWebApp/Pages/Error.cshtml.cs | 7.6 | Near-clean | Explicit Debt: WriteOnlyPrivateField |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 62 of 67 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 5 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 67 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 173 of 220 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D6 Cohesion (LCOM4) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: this repository's production source spans .cs, .fs, and our analyzer cannot run the .fs test suite(s) — so no coverage was collected for the repository as a whole. The .NET half may well have built and run; what is missing is a coverage figure that covers the product, and we do not publish a partial one as if it were complete. This is OUR limitation, not a defect in the repo — coverage is excluded from the score rather than counted as a near-zero. In the meantime, produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures and real coverage will be read. You can widen what we reach: optional: add a coverage collector to your test run and commit (or publish into the working tree) its Cobertura/OpenCover/lcov output, and the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the test run produced no results for any test tier, so no test ever ran and flakiness could not be exercised. The cause could not be attributed, so it is excluded from the score rather than read as an absence of tests.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (12 contributor(s) across 862 commit(s) sampled, automation and bot accounts excluded). One of them holds 89% of the history; the other 11 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D17 Explicit Debt — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. The 6 deducted marker(s) and the 0.6/KLoC density on this row were taken over this repository's .NET projects ALONE: .fs (4,424 lines, 56% of production source) went unread, because every marker collector on this path is reached through a C# workspace. D17's marker collectors need a compiler we do not have for that language, so none of its nine marker kinds were read there. The debt in that source is UNMEASURED — its absence from the score above is a gap in this analyzer's language coverage, not a finding that the code carries none.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- D23 Boundary Type-Coupling — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. At 7845 LoC across 15 projects this is a large multi-module system that clearly needs explicit bounded contexts. Bounded contexts cannot be inferred from a codebase that is not physically organised by them (D-321), so with none declared there are no boundaries for the coupling pass to measure across. You can widen what we reach: name this codebase's bounded contexts (≥2 module groups, e.g. per subsystem) so cross-boundary type coupling can be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D39 IL Efficiency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. IL NOT MEASURED: the analyzer's own build of this repository failed for an ENVIRONMENT reason (exit 1) — MSBuild's engine or the CLR gave up, or our image does not carry the SDK band/targeting pack this repository needs. This is OUR limitation, not a defect in the repo, and it is not a statement that this repository fails to build. D18 owns the question of whether this repository builds; it was not answered here.
- P2 Observability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
- Package restore incomplete — third-party types were unresolved in part of the solution — NuGet restore did not complete for src/Demos/SaaSIntegration/src/PublisherPortal/PublisherPortal.csproj, so those projects were analysed with framework references only: every check keyed on a third-party type saw an error type there and reported nothing. Findings on those projects are a lower bound; run `dotnet restore` on them and rescan.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
2 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was EventHubObservableClient.CreateInternal at 23.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cyclomatic Complexity — start with EventHubObservableClient.CreateInternal (cyclomatic 23), PartitionIDHashExtensions.DeterminePartitionId (cyclomatic 20). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cyclomatic Complexity from 9.4 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was EventHubObservableClient.CreateInternal at 27.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with EventHubObservableClient.CreateInternal (cognitive 27). — Refactoring it lifts Cognitive Complexity from 9.3 to about 10.0/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
3 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 2 MethodTooLong finding(s) in God Classes — start with EventHubObservableClient.cs, PartitionIDHash.cs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 FileTooLong finding(s) in God Classes — start with Json.fs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
12 duplicated block group(s) detected. 4 of the 12 are in trees this repository does not ship — vendored, example/demo, fixture and benchmark code — and are ranked below the shipped groups rather than excluded from them: the duplication there is real and is still counted in this dimension's score. The dimensions that publish a production-file census leave those trees out of theirs, so this count is deliberately drawn over the wider population.
What to do
- Resolve the 2 Duplicated block (9 lines × 2) finding(s) in Code Duplication — start with ClientSDK.fs, EventHubCaptureProcessor.fs. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (39 lines × 2) finding(s) in Code Duplication — start with EventHubCaptureProcessor.fs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (27 lines × 2) finding(s) in Code Duplication — start with EventHubObservableClient.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
15 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
19 outdated, 0 vulnerable, 1 deprecated, 1 prerelease packages.
What to do
- Resolve the 1 Deprecated finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Prerelease dependency finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
REDACTED scan ran and found no leaked secrets.
D14 · License Compliance
0 of 291 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 40 direct `PackageReference`(s), and 210 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
6 deducted debt markers + 0 dead symbols across 3421 LoC in the .NET projects (0.6/KLoC) → score 8.9. Measured on the .NET source only: .fs (56% of production source) was not read, and carries at least 0 uncounted task marker(s) in 0 file(s).
What to do
- Resolve the 1 WriteOnlyPrivateField finding(s) in Explicit Debt — start with Error.cshtml.cs. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 EmptyCatchBlock finding(s) in Explicit Debt — start with EventHubObservableClient.cs. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 4 CommentedOutCode finding(s) in Explicit Debt — start with DemoClientProgram.cs, MeterModels.cs, NotificationSchemas.cs. — One of this dimension's main actionable groups (4 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README and a dedicated deploy/README document give an overview of what the metering-billing-accelerator project is (metered billing for Azure Marketplace) with links to YouTube videos, plus a table of contents covering design goals, which challenges it solves, architecture, data structures, deployment prerequisites, and parameters. The architecture/design docs are also present at high level but not fully developed in this summary. A README.md under the deploy/ directory documents its own tier (the deploy/ directory) rather than the repository root, so any missing installation or usage guidance for that tier is flagged against it. The project's documentation is excellent: the READMEs and architecture/Docs markdown files are well written for an accelerator solution. The XML-doc coverage is low (0-26% across 27 documents), but the visible content is clear and complete for a development setup guide — it covers requirements (.NET Core 6, Event Hubs with capture, storage account, Marketplace credentials), Azure environment options (AD auth, simulated managed identity, old-fashioned service principal secrets), and an overview of how to submit metering values locally. The visible documents are well structured with headings; the summary is a factual assessment of quality. The project's documentation is excellent: the READMEs for each repository (Enterprise-Reference-Architecture-Checklist.md, Single Region Architecture, Event-Hub-Monitoring, MarketplaceDataStructures, old_snippets) are complete and well written; a dedicated architecture-design doc Enterprise-Reference-Architecture-Checklist.md gives an ordering of ARM Template steps with numbered prerequisites and links to the Azure Well-Architected Framework; the questions document is a deep, well-structured FAQ covering the system's ping mechanism, renewal intervals, snapshotting, and state transitions. The XML-doc coverage for MeteredTimerFunction (92%) and LandingPage (2%) is high but not perfect.
D21 · Naming Consistency
2 naming inconsistencies across 200 sampled symbols.
What to do
- Resolve the 1 Inconsistent casing convention for property names within the… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Inconsistent casing style for compound property names. 'Access_token'… finding(s) in Naming Consistency. — One of this dimension's main actionable groups (1 recommendation-level).
D24 · Comment Value
62 valuable / 2 redundant across 124 sampled comments; 2 shown with locations.
D26 · Project Cohesion
2 of 15 projects flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split Metering.EventHub finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Split Metering.RuntimeCS finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D27 · Navigability
88 % of calls cross a namespace and 6 % go through an interface, but 75 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
What to do
- Improve Navigability — currently 8.6/10. — 88 % of calls cross a namespace and 6 % go through an interface, but 75 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
2 finding(s): 0 critical, 2 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 2 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
23 finding(s): 0 critical, 12 high, 11 medium, 0 low. 11 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 4 file(s) — `src/Demos/SaaSIntegration/src/PublisherPortal/Services/ProcessLatestMetered.cs` (lines 17–113), `src/Metering.Tests/data/BusinessLogic/CleanUpUnprocessableMessages/001--event--2021-11-04--16-12-27--string-junk.json`, `src/Metering.Tests/data/BusinessLogic/CleanUpUnprocessableMessages/002--event--2021-11-04--16-12-28--binary-junk.json`, `src/Metering.Tests/data/BusinessLogic/CleanUpUnprocessableMessages/003--event--2021-11-04--16-12-29--binary-junk.json` — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them. In 1 of those file(s) — `src/Demos/SaaSIntegration/src/PublisherPortal/Services/ProcessLatestMetered.cs` — the break is at a TYPE DECLARATION (a C# primary constructor semgrep's grammar cannot parse), so the loss is wider than the named lines: rules scoped to that type see no type to scope to and are blind over its whole body, while rules matching statements keep working there. Absence of a type-scoped finding in those types is not evidence of anything. Separately, one or more rules could not re-parse an embedded snippet in 3 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 7 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 11 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (11 issue-level, 0 of them charged here).
D31 · IaC & Container Security
54 finding(s): 3 critical, 3 high, 44 medium, 4 low.
What to do
- Resolve the 44 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (21), REDACTED (6), REDACTED (5). — One of this dimension's main actionable groups (44 warning-level).
- Resolve the 3 Critical IaC finding(s) in IaC & Container Security — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 3 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
D34 · Knowledge Freshness
41 of 41 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/Metering.BaseTypes/Json.fs. Counted over 41 of the 111 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with Json.fs, EventHubObservableClient.cs, EventHubCaptureProcessor.fs. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 23 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX8 · Test isolation
C2 · Access Controls
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×11) — src/Metering.EventHub/EventHubObservableClient.cs:118, src/Metering.EventHub/EventHubObservableClient.cs:119, src/Metering.EventHub/EventHubObservableClient.cs:120, …
What to do
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Add a 'Testing' section to the root README — how to run the test suite.
- Add a README to the 15 of 15 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record significant decisions one document per decision — dated, stating the context, the decision and its consequences — and keep them together wherever your design docs already live (a conventional `docs/adr/` tree, with each file named `NNNN-title` in whatever markup those docs already use, is the most discoverable form).
M3 · Folder & project structure
- Only 3/15 projects share a common root namespace — the code's module identity is inconsistent.
What to do
- Adopt a consistent root-namespace convention (a shared prefix, e.g. Acme.*); short project-file/directory names are fine as long as the RootNamespace is uniform.
M4 · Documentation accuracy
- README advertises Kubernetes, but no Kubernetes manifest or chart exists — searched for: `kubernetes`, `k8s`, `helm`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest files (package.json, *.csproj, *.props, *.slnx, *.yml, Dockerfile); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong.
What to do
- Reconcile the README with reality: README advertises Kubernetes, but no Kubernetes manifest or chart exists.
P1 · CI/CD gates
P4 · Deployment & Rollback
- Deployment automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.
- Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it.
What to do
- Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
P6 · Release Hygiene
P7 · Outbound HTTP resilience
- The app makes outbound HTTP calls but no resilience handler was detected (Polly / AddStandardResilienceHandler / circuit-breaker). A slow or failing dependency will cascade — add timeouts, retries with back-off, and a circuit breaker.
What to do
- Add `AddStandardResilienceHandler()` (or Polly policies) to your HttpClient registrations so a flaky dependency can't take the app down.
S1 · Web-Security Posture
- MD5/SHA1 is constructed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ for content integrity, or a KDF (PBKDF2/Argon2/BCrypt) for password storage. If it only derives a non-security identifier (a cache key, a file or mutex name), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as `System.IO.Hashing.XxHash64`/`Crc32` says it in code — since the algorithm alone cannot distinguish the two uses. — src/Demos/DemoClient/DemoClientProgram.cs:110
- No Content-Security-Policy / X-Frame-Options / X-Content-Type-Options configuration found — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (`System.IO.Hashing.XxHash64`/`Crc32`) where it only derives an identifier such as a cache key or a mutex name.
- Add security response headers (Content-Security-Policy, X-Frame-Options, X-Content-Type-Options) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
- Blocking on a Task with `.Wait()`/`.GetAwaiter().GetResult()` can deadlock (and wastes a thread). Prefer awaiting it: make the caller `async` and `await` instead. Where a synchronous entry point must stay — a public sync API you cannot break, or a process entry point that must not return until the work finishes — the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process. — src/Metering.RuntimeCS/AggregationWorker.cs:186
What to do
- Sync-over-async (deadlock risk)
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
- `cts` is a `CancellationTokenSource`, which implements `IDisposable`, and it is created here (line 80). Every use of it in `Run` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var cts = …;`), which releases it at the end of the scope on every path including a throw. — src/Demos/ManagedAppIntegration/src/NotificationFunction/NotificationWebhook.cs:80
What to do
- Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 18/39 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. (×19) — src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:14, src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:66, src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:88, …
- No CancellationToken parameter — the body observes an ambient token instead (a field or a context object), so the work does stop on cancellation, but a caller cannot cancel this call independently of the owner that created that token. (×2) — src/Demos/ManagedAppIntegration/src/NotificationFunction/NotificationWebhook.cs:26, src/Demos/SaaSIntegration/src/MeteredPage/Services/ProcessLatestMetered.cs:21
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
- `LogTrace` at line 27 is called with an argument built by `JsonConvert.SerializeObject(dimensionConfigs)` (line 27), whose cost grows with the collection it walks. C# evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because LogTrace is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `IsEnabled` test, no debug flag, no conditional-compilation region. — src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:27
What to do
- Each finding names the diagnostic call and the expression inside its argument whose cost scales with a collection. Confirm from the two that the argument is built before the call — that is C#'s evaluation order, not a guess — then put the construction behind the same level check the sink applies: `if (logger.IsEnabled(LogLevel.Trace))` for Microsoft.Extensions.Logging, the repository's own debug flag where it has one, or a message template whose ARGUMENTS the logging framework only formats when the level is on. Moving the call is not the fix: it is the join/projection in the argument that is paid, wherever the call sits.
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — src/Metering.EventHub/EventHubObservableClient.cs:355
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
- Logging an interpolated string (`$"..."`) collapses the event to plain text — you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: `LogInformation("User {UserId} did {Action}", id, action)`. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template+args overload that forwards to the underlying logger, then migrate call sites to it. (×37) — src/AggregatorFunctionHost/AggregatorFunction.cs:36, src/Metering.EventHub/EventHubObservableClient.cs:84, src/Metering.EventHub/EventHubObservableClient.cs:105, …
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 7/15 NRT-eligible project(s) enable <Nullable>enable</Nullable> (projects targeting a pre-C#-8 framework are excluded — NRTs aren't available there). NRTs catch a whole class of null-deref bugs at compile time.
- ~2.0 `!` suppressions per 1k syntax nodes — 10 suppression(s) across the 4964 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 56% | Adequate — gated by X4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 90% | Exemplary | Strongest area. |
| Maturity | 62% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 62% | Adequate — gated by P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 70% | Adequate — gated by D31, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Not included — 52 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX2 Stateful singletons — no singleton implementations detected
- AX6 Interface segregation — no public interfaces
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 1 — a container did not start, exited, or never became healthy) — container .-metered-billing-accelerator-main-1 exited (139); runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C3 Audit Trail — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C4 Data Retention — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- C5 Data-Subject Rights — No personal data detected in the analyzed source — no PII-typed entity/column names (Email, FirstName, DateOfBirth, …), no ASP.NET Identity / user-account model, and no stored user credentials. GDPR data-protection controls are therefore N/A here. If this is intentional, record the no-PII posture in an ADR; if the app does process personal data, name those fields conventionally so this dimension activates.
- D10 Test Quality — ~1648 lines of test source are present (.fs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not measured — no test run produced results
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a C#/VB .NET solution, but this repository's production source is mostly .fs, which the C#/VB workspace does not load — the projects that loaded are an immaterial minority, so solution shape was not assessed for this repository. Not scored — this is a gap in the analyzer's reach, not a verdict about this repository.
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — Cross-context type coupling could not be assessed — this codebase's bounded contexts are neither declared nor inferable.
- D25 ADR Conformance — no ADRs to check
- D30 Dependency Vulnerabilities — nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D39 IL Efficiency — IL not measured — the analyzer's build of the target did not succeed
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D6 Cohesion (LCOM4) — D6 reads a CS/VB/GO/SCALA/SWIFT/DART/JAVA/PY/KT/TS/TSX/MTS/CTS/JS/JSX/MJS/CJS/PHP/RB/RS/ERL/EX/EXS class graph only — this repository's production source is .fs, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — analyzer environment
- D9 Test Distribution — Test source is present (.fs) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 39 value object(s); 1 domain event(s); its domain events are published by services or handlers — no domain entity raises one
- ED1 Event-Driven — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 1 event handler(s); a message-bus package
- ED5 Idempotency — 1 mutating command handler(s)/consumer(s) detected and 1 handler method(s) walked, but no persistent write was recognised in any of them — idempotency not assessed
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P2 Observability — Observability was not assessed: this check recognises the logging, tracing/metrics and health-check idioms of .NET, the JVM, Go, Python, JavaScript/TypeScript, Rust, Ruby, PHP, Swift, Dart, Elixir and Erlang, and most of this repository's production source is in none of them. Absence of an idiom this check recognises is NOT evidence that this repo lacks structured logging. This is a gap in the analyzer, not a finding about this repository.
- P3 Security & performance tooling — This repo declares itself a template / kata / sample / demo — code meant to be read or copied, not operated. SAST, secret/dependency scanning and performance benchmarks are deferred to the application you build from it, so their absence is not a defect here. The dimension reactivates once the repo becomes a real app.
- P8 Schema migrations — no EF Core usage detected
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF3 Async & latency hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 22 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- WriteOnlyPrivateField src/Demos/DemoWebApp/Pages/Error.cshtml.cs:15
- EmptyCatchBlock src/Metering.EventHub/EventHubObservableClient.cs:355
- REDACTED
Serious — 89 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- CommentedOutCode src/Demos/DemoClient/DemoClientProgram.cs:37
- CommentedOutCode src/Demos/SaaSIntegration/src/MeteredPage/ViewModels/MeterModels.cs:5
- CommentedOutCode src/Metering.SharedResourceBroker/NotificationSchemas.cs:12
- CommentedOutCode src/Metering.EventHub/EventHubObservableClient.cs:118
- REDACTED
- REDACTED
- REDACTED
- MethodTooLong: EventHubObservableClient.CreateInternal src/Metering.EventHub/EventHubObservableClient.cs:32
- MethodTooLong: PartitionIDHashExtensions.DeterminePartitionId src/Metering.RuntimeCS/PartitionIDHash.cs:14
- Duplicated block (9 lines × 2) src/Metering.Runtime/ClientSDK.fs:136
- Duplicated block (9 lines × 2) src/Metering.Runtime/EventHubCaptureProcessor.fs:82
- EventHubObservableClient.CreateInternal (cyclomatic 23) src/Metering.EventHub/EventHubObservableClient.cs:32
- PartitionIDHashExtensions.DeterminePartitionId (cyclomatic 20) src/Metering.RuntimeCS/PartitionIDHash.cs:14
- Deprecated: Azure.Identity
- Prerelease dependency: Nerdbank.GitVersioning
- EventHubObservableClient.CreateInternal (cognitive 27) src/Metering.EventHub/EventHubObservableClient.cs:32
- REDACTED
- FileTooLong: Metering.BaseTypes/Json.fs src/Metering.BaseTypes/Json.fs
- REDACTED
- REDACTED
- Duplicated block (39 lines × 2) src/Metering.Runtime/EventHubCaptureProcessor.fs:215
- Duplicated block (27 lines × 2) src/Metering.EventHub/EventHubObservableClient.cs:257
- Duplicated block (11 lines × 2) src/Metering.BaseTypes/MeteringValue.fs:30
- Duplicated block (10 lines × 3) src/Metering.RuntimeCS/PartitionIDHash.cs:95
- Duplicated block (4–7 lines × 3) src/Metering.Runtime/EventHubCaptureProcessor.fs:169
- Duplicated block (5 lines × 2) src/Metering.EventHub/EventHubObservableClient.cs:36
- Duplicated block (25 lines × 2) src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/Definitions/Plan.cs:8
- Duplicated block (16 lines × 2) REDACTED:37
- Duplicated block (11–13 lines × 2) REDACTED:35
- Duplicated block (10 lines × 2) src/Demos/SaaSIntegration/src/LandingPage/Program.cs:9
- End-of-life runtime: .NET net7.0
- Off the main sequence: Metering.EventHub
- Outbound HTTP without resilience
- Weak hash algorithm src/Demos/DemoClient/DemoClientProgram.cs:110
- NuGet dependencies are not locked
- Sync-over-async (deadlock risk) src/Metering.RuntimeCS/AggregationWorker.cs:186
- Disposable created and abandoned in the method that made it src/Demos/ManagedAppIntegration/src/NotificationFunction/NotificationWebhook.cs:80
- Swallowed exception (empty catch) src/Metering.EventHub/EventHubObservableClient.cs:355
Minor — 79 finding(s)
- Interpolated log message defeats structured logging src/AggregatorFunctionHost/AggregatorFunction.cs:36
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:84
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:105
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:113
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:131
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:137
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:144
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:160
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:164
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:171
- Interpolated log message defeats structured logging src/Metering.EventHub/EventHubObservableClient.cs:188
- Interpolated log message defeats structured logging src/Metering.RuntimeCS/AggregationWorker.cs:76
- Interpolated log message defeats structured logging src/Metering.RuntimeCS/AggregationWorker.cs:80
- Interpolated log message defeats structured logging src/Metering.RuntimeCS/AggregationWorker.cs:93
- Interpolated log message defeats structured logging src/Metering.RuntimeCS/AggregationWorker.cs:187
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:27
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:39
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:40
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:41
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:53
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:57
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:79
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:93
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/NotificationFunction/MeteredWebhook.cs:43
- Interpolated log message defeats structured logging src/Demos/ManagedAppIntegration/src/NotificationFunction/MeteredWebhook.cs:53
- Commented-out code src/Metering.EventHub/EventHubObservableClient.cs:118
- Commented-out code src/Metering.EventHub/EventHubObservableClient.cs:119
- Commented-out code src/Metering.EventHub/EventHubObservableClient.cs:120
- Commented-out code src/Metering.EventHub/EventHubObservableClient.cs:123
- Commented-out code src/Metering.EventHub/EventHubObservableClient.cs:124
- Commented-out code src/Metering.RuntimeCS/AggregationWorker.cs:33
- Commented-out code src/Metering.SharedResourceBroker/ApplicationService.cs:41
- Commented-out code src/Metering.SharedResourceBroker/ApplicationService.cs:42
- Commented-out code src/Metering.SharedResourceBroker/ApplicationService.cs:43
- Commented-out code src/Metering.SharedResourceBroker/Controllers/ResourceController.cs:51
- Commented-out code src/Metering.SharedResourceBroker/Program.cs:22
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Most significant orphaned file src/Metering.BaseTypes/Json.fs
- Most significant orphaned file src/Metering.EventHub/EventHubObservableClient.cs
- Most significant orphaned file src/Metering.Runtime/EventHubCaptureProcessor.fs
- redundant comment src/Metering.SharedResourceBroker/Program.cs:22
- redundant comment src/Metering.SharedResourceBroker/Program.cs:44
- Documentation: no project overview README.md
- Inconsistent casing convention for property names within the BillingDefinition type. 'id' uses lowercase while 'processStatus' uses camelCase. Given the presence of other camelCase properties (e.g., Access_token, Quantity), 'id' appears to be an outlier or a direct mapping to a wire-format key that breaks the local naming convention.
- Inconsistent casing style for compound property names. 'Access_token' uses an underscore separator while 'processStatus' uses camelCase. This indicates a lack of consistent naming convention for multi-word identifiers within the ManagedWebhook.Definitions namespace.
- Split Metering.EventHub
- Split Metering.RuntimeCS
- REDACTED
- Dormant codebase
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No ADRs
- Inconsistent root namespaces
- README/code drift
- No rollback/health safety
- No release approval gate
- No security response headers detected
- Not all async methods take a CancellationToken
- Diagnostic log message is built whether or not it is wanted src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/CronJob.cs:27
- Nullable reference types not enabled everywhere
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 30 finding(s)
- Outdated: Nerdbank.GitVersioning
- Outdated: FSharp.Core
- Outdated: Microsoft.VisualStudio.Azure.Containers.Tools.Targets
- Outdated: Microsoft.Extensions.Hosting
- Outdated: coverlet.collector
- Outdated: Microsoft.NET.Test.Sdk
- Outdated: NUnit
- Outdated: NUnit3TestAdapter
- Outdated: Apache.Avro
- Outdated: Azure.Identity
- Outdated: Azure.Messaging.EventHubs
- Outdated: Azure.Messaging.EventHubs.Processor
- Outdated: Azure.Storage.Blobs
- Outdated: FSharp.Control.AsyncSeq
- Outdated: Microsoft.Extensions.Configuration
- Outdated: Microsoft.Extensions.Configuration.EnvironmentVariables
- Outdated: Microsoft.Extensions.DependencyInjection.Abstractions
- Outdated: Microsoft.Extensions.Logging.Abstractions
- Outdated: System.Reactive.Linq
- XML-doc coverage: DemoWebApp src/Demos/DemoWebApp/DemoWebApp.csproj
- XML-doc coverage: Aggregator src/Aggregator/Aggregator.csproj
- XML-doc coverage: AggregatorFunctionHost src/AggregatorFunctionHost/AggregatorFunctionHost.csproj
- XML-doc coverage: Metering.EventHub src/Metering.EventHub/Metering.EventHub.csproj
- XML-doc coverage: Metering.RuntimeCS src/Metering.RuntimeCS/Metering.RuntimeCS.csproj
- XML-doc coverage: MeteredTimerFunction src/Demos/ManagedAppIntegration/src/MeteredTimerFunction/MeteredTimerFunction.csproj
- XML-doc coverage: NotificationFunction src/Demos/ManagedAppIntegration/src/NotificationFunction/NotificationFunction.csproj
- XML-doc coverage: LandingPage src/Demos/SaaSIntegration/src/LandingPage/LandingPage.csproj
- XML-doc coverage: MeteredPage src/Demos/SaaSIntegration/src/MeteredPage/MeteredPage.csproj
- XML-doc coverage: Metering.SharedResourceBroker src/Metering.SharedResourceBroker/Metering.SharedResourceBroker.csproj
- XML-doc coverage: PublisherPortal src/Demos/SaaSIntegration/src/PublisherPortal/PublisherPortal.csproj
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6857cbf4c3bc41d485825d3eef6fbe72/history.json --exit-code 0 --source . | 2 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6857cbf4c3bc41d485825d3eef6fbe72/tree.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 23 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | nuget | — | nuget: not applicable — nuget: the solution did not restore on the analyzer's .NET SDK (an SDK/target-framework/restore mismatch, common for an older codebase), so there was no restored dependency graph to scan | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 54 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Email — 1 field(s)
- IndexViewModel.Email src/Demos/SaaSIntegration/src/LandingPage/ViewModels/Home/IndexViewModel.cs:8