Back to Ruview

QE Coverage Gap Analysis Report

docs/qe-reports/07-coverage-gaps.md

1.99.0-pip28.3 KB
Original Source

QE Coverage Gap Analysis Report

Project: wifi-densepose (ruview) Date: 2026-04-05 Analyst: QE Coverage Specialist (V3) Scope: Python v1, Rust workspace (17 crates + ruv-neural), Mobile (React Native), Firmware (ESP32 C)


Executive Summary

CodebaseSource FilesFiles With TestsCoverage LevelRisk
Python v15918~30% file coverageHigh
Rust workspace293283 (inline #[cfg(test)])~97% file coverageLow
Rust integration tests--16 test filesModerateMedium
Mobile (React Native)7125~35% file coverageMedium
Firmware (ESP32 C)16 .c files3 fuzz targets~19% file coverageCritical

Total source files across all codebases: ~439 Files with some form of test coverage: ~339 Estimated overall file-level coverage: ~77%

Key finding: The Rust codebase has excellent inline test coverage (97% of source files contain #[cfg(test)] modules). The critical gaps are concentrated in Python services/infrastructure (0% coverage on 41 source files), firmware C code (13 of 16 source files untested), and mobile utility/navigation layers.


1. Python v1 Coverage Matrix

1.1 Covered Files (18 source files with dedicated tests)

Source FileTest File(s)Coverage LevelNotes
core/csi_processor.py (466 LOC)test_csi_processor.py, test_csi_processor_tdd.pyHighCore DSP pipeline, dual test files
core/phase_sanitizer.py (346 LOC)test_phase_sanitizer.py, test_phase_sanitizer_tdd.pyHighPhase unwrapping, dual test files
core/router_interface.py (293 LOC)test_router_interface.py, test_router_interface_tdd.pyHighRouter communication
hardware/csi_extractor.py (515 LOC)test_csi_extractor.py, _direct.py, _tdd.py, _tdd_complete.pyHigh4 test files, well covered
hardware/router_interface.py (240 LOC)test_router_interface.pyMediumShared with core test
models/densepose_head.py (278 LOC)test_densepose_head.pyMediumNeural network head
models/modality_translation.py (300 LOC)test_modality_translation.pyMediumWiFi-to-vision translation
sensing/* (5 files, ~2,058 LOC)test_sensing.pyLowSingle test file covers 5 source files

Integration test coverage:

AreaTest FileCovers
API endpointstest_api_endpoints.pyPartial API router coverage
Authenticationtest_authentication.pyPartial middleware/auth
CSI pipelinetest_csi_pipeline.pyEnd-to-end CSI flow
Full systemtest_full_system_integration.pySystem-level orchestration
Hardwaretest_hardware_integration.pyHardware service layer
Inferencetest_inference_pipeline.pyModel inference path
Pose pipelinetest_pose_pipeline.pyPose estimation flow
Rate limitingtest_rate_limiting.pyRate limit middleware
Streamingtest_streaming_pipeline.pyStream service
WebSockettest_websocket_streaming.pyWebSocket connections

1.2 Uncovered Files (41 source files -- NO dedicated tests)

Source FileLOCRiskRationale
services/pose_service.py855CriticalCore pose estimation orchestration -- highest complexity, production path
tasks/monitoring.py771CriticalSystem monitoring with DB queries, psutil, async tasks
database/connection.py639CriticalSQLAlchemy + Redis connection management, pooling, error handling
cli.py619HighCLI entry point, command routing
tasks/backup.py609HighDatabase backup operations, file management
tasks/cleanup.py597HighData cleanup, retention policies
commands/status.py510HighSystem status aggregation
middleware/error_handler.py504HighGlobal error handling, affects all requests
database/models.py497HighORM models, schema definitions
services/hardware_service.py481HighHardware abstraction layer
config/domains.py480MediumDomain configuration
services/health_check.py464HighHealth check logic, dependency monitoring
middleware/rate_limit.py464HighRate limiting implementation
api/routers/stream.py464HighStreaming API endpoints
api/websocket/connection_manager.py460CriticalWebSocket connection lifecycle management
middleware/auth.py456CriticalAuthentication middleware -- security-critical
config/settings.py436MediumSettings management
services/metrics.py430MediumMetrics collection
api/routers/health.py420MediumHealth check endpoints
api/routers/pose.py419HighPose estimation API endpoints
services/stream_service.py396HighReal-time streaming logic
services/orchestrator.py394CriticalService lifecycle orchestration
api/websocket/pose_stream.py383HighWebSocket pose streaming
middleware/cors.py374MediumCORS configuration
commands/start.py358MediumServer startup logic
app.py336MediumFastAPI app factory
api/middleware/rate_limit.py325MediumAPI-level rate limiting
api/middleware/auth.py302HighAPI-level authentication
commands/stop.py293MediumServer shutdown logic
main.py116LowEntry point
database/model_types.py59LowType definitions
database/migrations/001_initial.py--LowMigration script
database/migrations/env.py--LowAlembic config
testing/mock_csi_generator.py--LowTest utility
testing/mock_pose_generator.py--LowTest utility
logger.py--LowLogging config

Total uncovered Python LOC: ~12,280 (out of ~18,523 total = 66% of code lacks unit tests)


2. Rust Workspace Coverage Matrix

2.1 Crate-Level Summary

CrateSource FilesLOCFiles w/ #[cfg(test)]Integration TestsCoverage
wifi-densepose-core52,5965/5 (100%)0Excellent
wifi-densepose-signal2816,19428/28 (100%)1 (validation_test.rs)Excellent
wifi-densepose-nn72,9595/5 non-meta (100%)0Excellent
wifi-densepose-mat4319,57236/37 (97%)1 (integration_adr001.rs)Very Good
wifi-densepose-hardware114,0057/8 (88%)0Good
wifi-densepose-train1810,56214/15 (93%)6 test filesExcellent
wifi-densepose-ruvector164,62912/12 non-meta (100%)0Excellent
wifi-densepose-vitals71,8636/6 non-meta (100%)0Excellent
wifi-densepose-wifiscan235,77916/17 (94%)0Very Good
wifi-densepose-sensing-server1817,82515/16 (94%)3 test filesVery Good
wifi-densepose-wasm21,8051/1 (100%)0Good
wifi-densepose-wasm-edge6828,88866/66 non-meta (100%)3 test filesExcellent
wifi-densepose-desktop153,3098/11 (73%)1 (api_integration.rs)Moderate
wifi-densepose-cli31,3171/1 (100%)0Good
wifi-densepose-api110 (stub)0N/A (stub)
wifi-densepose-db110 (stub)0N/A (stub)
wifi-densepose-config110 (stub)0N/A (stub)

2.2 ruv-neural Sub-Crates

Sub-CrateLOCFilesFiles w/ TestsCoverage
ruv-neural-core2,325112/11 (18%)Low
ruv-neural-signal2,15776/7 (86%)Good
ruv-neural-sensor1,85572/7 (29%)Low
ruv-neural-mincut2,39487/8 (88%)Good
ruv-neural-memory1,54765/6 (83%)Good
ruv-neural-graph1,88776/7 (86%)Good
ruv-neural-esp321,50176/7 (86%)Good
ruv-neural-embed2,12088/8 (100%)Excellent
ruv-neural-decoder1,50965/6 (83%)Good
ruv-neural-cli1,70197/9 (78%)Good
ruv-neural-viz1,31465/6 (83%)Good
ruv-neural-wasm1,50744/4 (100%)Excellent

2.3 Rust Files Without Inline Tests (Specific Gaps)

FileCrateLOC (est.)Risk
api/handlers.rswifi-densepose-mat~400High -- HTTP request handlers for MAT
adaptive_classifier.rswifi-densepose-sensing-server~300High -- ML classifier
port/scan_port.rswifi-densepose-wifiscan~200Medium -- WiFi scan port
domain/config.rswifi-densepose-desktop~150Medium -- Desktop config
domain/firmware.rswifi-densepose-desktop~200Medium -- Firmware domain model
domain/node.rswifi-densepose-desktop~150Medium -- Node domain model
core/brain.rsruv-neural-core~300High -- Neural brain logic
core/graph.rsruv-neural-core~200Medium -- Graph construction
core/topology.rsruv-neural-core~200Medium -- Topology management
core/sensor.rsruv-neural-core~150Medium -- Sensor abstraction
core/signal.rsruv-neural-core~150Medium -- Signal types
core/embedding.rsruv-neural-core~150Medium -- Embedding logic
core/rvf.rsruv-neural-core~100Medium -- RVF format
core/traits.rsruv-neural-core~100Low -- Trait definitions
sensor/calibration.rsruv-neural-sensor~200High -- Sensor calibration
sensor/eeg.rsruv-neural-sensor~200Medium -- EEG processing
sensor/nv_diamond.rsruv-neural-sensor~200Medium -- NV diamond sensor
sensor/quality.rsruv-neural-sensor~150Medium -- Quality metrics
sensor/simulator.rsruv-neural-sensor~150Low -- Simulator

3. Mobile (React Native) Coverage Matrix

3.1 Covered Components (25 test files)

SourceTest FileCoverage
components/ConnectionBanner.tsx__tests__/components/ConnectionBanner.test.tsxGood
components/GaugeArc.tsx__tests__/components/GaugeArc.test.tsxGood
components/HudOverlay.tsx__tests__/components/HudOverlay.test.tsxGood
components/OccupancyGrid.tsx__tests__/components/OccupancyGrid.test.tsxGood
components/SignalBar.tsx__tests__/components/SignalBar.test.tsxGood
components/SparklineChart.tsx__tests__/components/SparklineChart.test.tsxGood
components/StatusDot.tsx__tests__/components/StatusDot.test.tsxGood
hooks/usePoseStream.ts__tests__/hooks/usePoseStream.test.tsGood
hooks/useRssiScanner.ts__tests__/hooks/useRssiScanner.test.tsGood
hooks/useServerReachability.ts__tests__/hooks/useServerReachability.test.tsGood
screens/LiveScreen/__tests__/screens/LiveScreen.test.tsxMedium
screens/MATScreen/__tests__/screens/MATScreen.test.tsxMedium
screens/SettingsScreen/__tests__/screens/SettingsScreen.test.tsxMedium
screens/VitalsScreen/__tests__/screens/VitalsScreen.test.tsxMedium
screens/ZonesScreen/__tests__/screens/ZonesScreen.test.tsxMedium
services/api.service.ts__tests__/services/api.service.test.tsGood
services/rssi.service.ts__tests__/services/rssi.service.test.tsGood
services/simulation.service.ts__tests__/services/simulation.service.test.tsGood
services/ws.service.ts__tests__/services/ws.service.test.tsGood
stores/matStore.ts__tests__/stores/matStore.test.tsGood
stores/poseStore.ts__tests__/stores/poseStore.test.tsGood
stores/settingsStore.ts__tests__/stores/settingsStore.test.tsGood
utils/colorMap.ts__tests__/utils/colorMap.test.tsGood
utils/ringBuffer.ts__tests__/utils/ringBuffer.test.tsGood
utils/urlValidator.ts__tests__/utils/urlValidator.test.tsGood

3.2 Uncovered Files (46 source files -- NO tests)

Source FileLOC (approx.)RiskRationale
components/ErrorBoundary.tsx40HighError boundary -- critical for crash resilience
components/LoadingSpinner.tsx30LowSimple presentational
components/ModeBadge.tsx25LowSimple presentational
components/ThemedText.tsx30LowTheme wrapper
components/ThemedView.tsx25LowTheme wrapper
hooks/useTheme.ts20MediumTheme context hook
hooks/useWebViewBridge.ts30HighBridge to native WebView -- complex IPC
navigation/MainTabs.tsx60MediumTab navigation config
navigation/RootNavigator.tsx50MediumRoot navigation tree
navigation/types.ts20LowType definitions
screens/LiveScreen/GaussianSplatWebView.tsx80High3D Gaussian splat renderer
screens/LiveScreen/GaussianSplatWebView.web.tsx60MediumWeb variant
screens/LiveScreen/LiveHUD.tsx70MediumHUD overlay sub-component
screens/LiveScreen/useGaussianBridge.ts50HighBridge hook for 3D rendering
screens/MATScreen/AlertCard.tsx50MediumAlert display card
screens/MATScreen/AlertList.tsx40LowAlert list container
screens/MATScreen/MatWebView.tsx60MediumMAT WebView integration
screens/MATScreen/SurvivorCounter.tsx30LowCounter display
screens/MATScreen/useMatBridge.ts50MediumBridge hook
screens/SettingsScreen/RssiToggle.tsx30LowToggle component
screens/SettingsScreen/ServerUrlInput.tsx40MediumURL input with validation
screens/SettingsScreen/ThemePicker.tsx35LowTheme selection
screens/VitalsScreen/BreathingGauge.tsx50MediumBreathing rate gauge
screens/VitalsScreen/HeartRateGauge.tsx50MediumHeart rate gauge
screens/VitalsScreen/MetricCard.tsx35LowMetric display card
screens/ZonesScreen/FloorPlanSvg.tsx80MediumSVG floor plan rendering
screens/ZonesScreen/ZoneLegend.tsx30LowLegend component
screens/ZonesScreen/useOccupancyGrid.ts50MediumOccupancy calculation hook
services/rssi.service.android.ts40MediumPlatform-specific RSSI
services/rssi.service.ios.ts40MediumPlatform-specific RSSI
services/rssi.service.web.ts30LowWeb fallback
theme/ThemeContext.tsx40MediumTheme provider
theme/colors.ts20LowColor constants
theme/spacing.ts15LowSpacing constants
theme/typography.ts20LowTypography config
theme/index.ts10LowRe-exports
constants/api.ts15LowAPI constants
constants/simulation.ts10LowSimulation constants
constants/websocket.ts12LowWebSocket constants
types/api.ts40LowType definitions
types/mat.ts30LowType definitions
types/navigation.ts15LowType definitions
types/sensing.ts25LowType definitions
utils/formatters.ts30MediumData formatting utilities

4. Firmware (ESP32 C) Coverage Matrix

4.1 Source Files

Source FileLOCTest CoverageRisk
edge_processing.c1,067Fuzz: fuzz_edge_enqueue.cHigh -- partial fuzz only
wasm_runtime.c867NoneCritical -- WASM execution on embedded
mock_csi.c696NoneLow -- test utility
mmwave_sensor.c571NoneCritical -- 60GHz FMCW sensor driver
wasm_upload.c432NoneHigh -- OTA WASM upload, security boundary
csi_collector.c420Fuzz: fuzz_csi_serialize.cMedium -- partial fuzz
display_ui.c386NoneLow -- UI rendering
display_hal.c382NoneLow -- Display HAL
nvs_config.c333Fuzz: fuzz_nvs_config.cMedium -- config storage
swarm_bridge.c327NoneCritical -- Multi-node mesh networking
main.c301NoneMedium -- Startup/init
ota_update.c266NoneCritical -- OTA firmware updates, security
rvf_parser.c239NoneHigh -- Binary format parsing
display_task.c175NoneLow -- Display task
stream_sender.c116NoneMedium -- Network data sender
power_mgmt.c81NoneMedium -- Power management

Firmware coverage summary:

  • 3 fuzz test files cover portions of 3 source files (csi_collector, edge_processing, nvs_config)
  • 13 of 16 source files (81%) have zero test coverage
  • 4,435 LOC in security/network-critical firmware is completely untested (wasm_runtime, mmwave_sensor, swarm_bridge, ota_update, wasm_upload)

5. Top 20 Highest-Risk Uncovered Areas

RankFileCodebaseLOCRiskRisk ScoreReason
1firmware/main/wasm_runtime.cFirmware867Critical0.98WASM execution on embedded device, untested attack surface
2firmware/main/ota_update.cFirmware266Critical0.97OTA firmware update -- integrity/authentication critical
3firmware/main/swarm_bridge.cFirmware327Critical0.96Multi-node mesh networking, untested protocol
4archive/v1/src/services/pose_service.pyPython855Critical0.95Core production path, highest complexity, no unit tests
5archive/v1/src/middleware/auth.pyPython456Critical0.94Authentication -- security-critical, no unit tests
6archive/v1/src/api/websocket/connection_manager.pyPython460Critical0.93WebSocket lifecycle, connection state, no tests
7firmware/main/mmwave_sensor.cFirmware571Critical0.9260GHz FMCW sensor driver, hardware-critical
8firmware/main/wasm_upload.cFirmware432Critical0.91OTA WASM upload, code injection risk
9archive/v1/src/services/orchestrator.pyPython394Critical0.90Service lifecycle management, no tests
10archive/v1/src/database/connection.pyPython639Critical0.89DB + Redis connection management, pooling
11archive/v1/src/middleware/error_handler.pyPython504High0.87Global error handler, affects all requests
12archive/v1/src/tasks/monitoring.pyPython771High0.86System monitoring, DB queries, async tasks
13archive/v1/src/services/hardware_service.pyPython481High0.85Hardware abstraction, device management
14archive/v1/src/middleware/rate_limit.pyPython464High0.84Rate limiting -- DoS protection
15archive/v1/src/services/health_check.pyPython464High0.83Health monitoring, dependency checks
16archive/v1/src/tasks/backup.pyPython609High0.82Data backup operations
17archive/v1/src/tasks/cleanup.pyPython597High0.81Data retention, cleanup logic
18firmware/main/rvf_parser.cFirmware239High0.80Binary format parsing -- buffer overflow risk
19archive/v1/src/api/routers/pose.pyPython419High0.79Pose API endpoint handlers
20mobile/hooks/useWebViewBridge.tsMobile30High0.78Native-WebView IPC bridge

6. Test Generation Recommendations

6.1 Priority 1: Critical -- Immediate Action Required

P1-1: Firmware Security Tests

Target: wasm_runtime.c, ota_update.c, swarm_bridge.c, wasm_upload.c Test Type: Unit tests + fuzz tests Recommended Scenarios:

  • Fuzz test for wasm_runtime.c: malformed WASM bytecode, oversized modules, stack overflow
  • Fuzz test for ota_update.c: corrupted firmware images, invalid signatures, partial downloads
  • Fuzz test for swarm_bridge.c: malformed mesh packets, replay attacks, node spoofing
  • Fuzz test for wasm_upload.c: oversized payloads, interrupted transfers, malicious modules
  • Unit tests for all boundary conditions in binary parsing paths

P1-2: Python Authentication and Security Middleware

Target: middleware/auth.py, api/middleware/auth.py Test Type: Unit tests + integration tests Recommended Scenarios:

  • Valid/invalid JWT token handling
  • Token expiration and refresh flows
  • Missing authorization headers
  • Role-based access control enforcement
  • SQL injection in authentication queries
  • Timing attack resistance on token comparison
  • Session fixation prevention

P1-3: Python Core Services

Target: services/pose_service.py, services/orchestrator.py Test Type: Unit tests (mock-first TDD) Recommended Scenarios:

  • PoseService: CSI data processing pipeline, model inference fallback, mock mode vs production mode isolation, concurrent pose estimation, error propagation
  • ServiceOrchestrator: Service startup ordering, graceful shutdown, background task management, health aggregation, error recovery

P1-4: Database Connection Management

Target: database/connection.py Test Type: Unit tests + integration tests Recommended Scenarios:

  • Connection pool exhaustion handling
  • Redis connection failure and reconnection
  • Async session lifecycle management
  • Connection string validation
  • Transaction isolation verification
  • Graceful degradation when database is unreachable

6.2 Priority 2: High -- Next Sprint

P2-1: Python WebSocket Layer

Target: api/websocket/connection_manager.py, api/websocket/pose_stream.py Test Type: Unit tests + integration tests Recommended Scenarios:

  • Connection lifecycle (open, message, close, error)
  • Concurrent connection handling
  • Message serialization/deserialization
  • Backpressure handling on slow consumers
  • Reconnection logic
  • Broadcast to multiple subscribers

P2-2: Python Infrastructure Tasks

Target: tasks/monitoring.py, tasks/backup.py, tasks/cleanup.py Test Type: Unit tests Recommended Scenarios:

  • Monitoring: metric collection, threshold alerting, database query mocking
  • Backup: file creation, rotation policy, error handling on disk full
  • Cleanup: retention policy enforcement, safe deletion, dry-run mode

P2-3: Python Error Handling

Target: middleware/error_handler.py, middleware/rate_limit.py Test Type: Unit tests Recommended Scenarios:

  • Error handler: exception type mapping, response format, stack trace sanitization, logging
  • Rate limiter: request counting, window sliding, IP-based limiting, exemption rules

P2-4: Firmware Sensor Drivers

Target: mmwave_sensor.c, rvf_parser.c Test Type: Fuzz tests + unit tests Recommended Scenarios:

  • mmWave: invalid sensor data, communication timeout, calibration failure
  • RVF parser: malformed headers, truncated data, integer overflow in length fields

6.3 Priority 3: Medium -- Scheduled Improvement

P3-1: Mobile Sub-Components

Target: Screen sub-components (GaussianSplatWebView, AlertCard, FloorPlanSvg, etc.) Test Type: Component tests (React Native Testing Library) Recommended Scenarios:

  • Render with various prop combinations
  • Error state rendering
  • Loading state transitions
  • Accessibility compliance (labels, roles)
  • Snapshot tests for visual regression

P3-2: Mobile Hooks and Navigation

Target: useWebViewBridge.ts, useTheme.ts, MainTabs.tsx, RootNavigator.tsx Test Type: Hook tests + navigation tests Recommended Scenarios:

  • WebView bridge: message passing, error handling, reconnection
  • Theme hook: theme switching, default values
  • Navigation: screen transitions, deep linking, back button behavior

P3-3: Rust Desktop Domain Models

Target: desktop/src/domain/config.rs, firmware.rs, node.rs Test Type: Unit tests (inline #[cfg(test)]) Recommended Scenarios:

  • Config: serialization roundtrip, default values, validation
  • Firmware: version comparison, compatibility checks
  • Node: state transitions, connection lifecycle

P3-4: Rust MAT API Handlers

Target: mat/src/api/handlers.rs Test Type: Integration tests Recommended Scenarios:

  • Request validation for all endpoints
  • Error response formatting
  • Concurrent request handling
  • Authorization enforcement

P3-5: Mobile Utility Functions

Target: utils/formatters.ts Test Type: Unit tests Recommended Scenarios:

  • Number formatting edge cases
  • Date/time formatting across locales
  • Null/undefined input handling

6.4 Priority 4: Low -- Backlog

P4-1: Python CLI and Commands

Target: cli.py, commands/start.py, commands/stop.py, commands/status.py Test Type: Integration tests Recommended Scenarios:

  • Command parsing, help text, invalid arguments
  • Startup/shutdown sequence verification

P4-2: Mobile Theme and Constants

Target: theme/, constants/, types/ Test Type: Unit tests (snapshot/value verification)

P4-3: ruv-neural Core Types

Target: ruv-neural-core/src/{brain,graph,topology,sensor,signal,embedding,rvf,traits}.rs Test Type: Unit tests (inline #[cfg(test)])

P4-4: ruv-neural Sensor Crate

Target: ruv-neural-sensor/src/{calibration,eeg,nv_diamond,quality,simulator}.rs Test Type: Unit tests (inline #[cfg(test)])


7. Coverage Improvement Roadmap

Phase 1: Security-Critical (Weeks 1-2)

  • Add 4 firmware fuzz tests (wasm_runtime, ota_update, swarm_bridge, wasm_upload)
  • Add Python auth middleware unit tests (30+ test cases)
  • Add Python WebSocket connection manager tests (20+ test cases)
  • Expected improvement: Firmware 19% -> 44%, Python 30% -> 38%

Phase 2: Core Business Logic (Weeks 3-4)

  • Add pose_service, orchestrator, hardware_service unit tests (60+ test cases)
  • Add database/connection integration tests (15+ test cases)
  • Add monitoring/backup/cleanup task tests (30+ test cases)
  • Expected improvement: Python 38% -> 55%

Phase 3: API and Infrastructure (Weeks 5-6)

  • Add error_handler, rate_limit middleware tests (25+ test cases)
  • Add API router tests for stream, health, pose endpoints (30+ test cases)
  • Add mobile sub-component tests (25+ test cases)
  • Expected improvement: Python 55% -> 70%, Mobile 35% -> 55%

Phase 4: Polish and Edge Cases (Weeks 7-8)

  • Add Rust desktop domain model tests
  • Add mobile navigation and hook tests
  • Add firmware rvf_parser and edge_processing unit tests
  • Add remaining Python CLI/command tests
  • Expected improvement: All codebases at 70%+ file coverage

Target State

CodebaseCurrentTargetGap to Close
Python v1~30%75%+45% (185+ new tests)
Rust workspace~97%99%+2% (15+ new tests)
Mobile~35%65%+30% (50+ new tests)
Firmware~19%50%+31% (8 new fuzz + 20 unit tests)

8. Risk Assessment Methodology

Risk scores (0.0 - 1.0) were calculated using:

FactorWeightDescription
Code complexity30%LOC, cyclomatic complexity, dependency count
Security criticality25%Authentication, authorization, network boundary, input parsing
Change frequency15%Git commit frequency on the file
Blast radius15%How many other components depend on this code
Data sensitivity10%Handles PII, credentials, or firmware integrity
Testability5%How difficult the code is to test (hardware deps, async, etc.)

Files scoring above 0.85 are flagged as Critical, 0.70-0.85 as High, 0.50-0.70 as Medium, below 0.50 as Low.


Report generated by QE Coverage Specialist (V3) -- Agentic QE v3 Analysis scope: 439 source files across 4 codebases 292 Rust files with inline test modules, 16 integration test files, 32 Python test files, 25 mobile test files, 3 firmware fuzz targets