Skip to main content

Module pixel_coverage

Module pixel_coverage 

Source
Expand description

Pixel-Level GUI Coverage Visualization (Advanced Feature A)

Requires the media feature for image crate support. Pixel-Level GUI Coverage Visualization (Advanced Feature A)

Grid-based coverage tracking that renders heatmaps showing which screen regions have been exercised by tests. Identifies untested visual regions between UI elements.

Modules§

ansi
ANSI escape codes for terminal output
thresholds
Coverage threshold presets

Structs§

BatchProcessor
Batch processor for pixel operations
BitmapFont
Simple 5x7 bitmap font for PNG text rendering Each character is represented as a 7-element array of u8 (5 bits per row)
CieDe2000Metric
CIEDE2000 color difference metric (ISO/CIE 11664-6:2014)
ColorPalette
Color palette for heatmap rendering
CombinedCoverageReport
Combined coverage report (line + pixel coverage)
ConfidenceInterval
Confidence interval for statistical rigor
ConfigValidationError
Configuration validation error
CoverageCell
A single coverage cell in the grid
CoverageHypothesis
A falsifiable coverage hypothesis
DeltaEBatchResult
Result of batch Delta E computation
DeltaEResult
Result of CIEDE2000 comparison
DemoGapRegion
A gap region in the pixel buffer
Downscaler
Downscaler for rapid L1 checks
FalsifiabilityGate
Popperian Falsifiability Gate (Jidoka - stop-the-line) If hypothesis cannot be falsified, the entire analysis is invalid.
FalsifiableHypothesis
A falsifiable hypothesis about pixel coverage (full Popperian specification)
FalsifiableHypothesisBuilder
Builder for FalsifiableHypothesis
FalsificationCondition
A condition that would falsify the hypothesis
GapRegion
Detected gap region in coverage
GpuPixelBuffer
GPU pixel buffer for demo rendering
GridConfig
Grid configuration
HashCache
Hash cache for perceptual hashes
Lab
Lab color space representation
LineCoverageReport
Line/element coverage report (from GuiCoverage)
OutputConfig
Output configuration
ParallelContext
Parallel processing context
PcgRng
PCG-XSH-RR random number generator (O’Neill, 2014)
PerceptualHash
Perceptual hash for image fingerprinting
PerformanceConfig
Performance configuration
PixelCoverageConfig
Root configuration for pixel coverage in probar.toml
PixelCoverageReport
Pixel coverage report
PixelCoverageTracker
Pixel coverage tracker for grid-based UI coverage
PixelPoint
A point in screen coordinates
PixelRegion
A rectangular region in screen coordinates
PixelVerificationResult
Complete verification result for pixel-perfect comparison
PixelVerificationSuite
Complete pixel-perfect verification suite
PngHeatmap
PNG heatmap export with trueno-viz style output
PsnrMetric
Peak Signal-to-Noise Ratio metric
PsnrResult
Result of PSNR comparison
Rgb
RGB color
RichTerminalHeatmap
Rich terminal heatmap with full visualization
ScoreBar
Visual score bar for terminal output
SsimBatchResult
Result of batch SSIM computation
SsimMetric
Structural Similarity Index Measure Range: -1 to 1 (1 = identical, 0 = no similarity)
SsimResult
Result of SSIM comparison
StatsPanel
Stats panel content for combined coverage display
TerminalHeatmap
Terminal heatmap renderer
ThresholdConfig
Threshold configuration
VerificationConfig
Verification metric configuration
WasmCoverageStats
Coverage statistics with Wilson CI
WasmDemoConfig
Configuration for the WASM pixel demo
WasmPixelDemo
Demo state for TUI rendering

Enums§

ComparisonOperator
Comparison operators for falsification conditions
DeltaEClassification
CIEDE2000 perceptibility classification
DemoGapSeverity
Severity level for gap regions
DemoPalette
Color palette options
FalsificationLayer
Layer of falsification testing
GateResult
Result of falsifiability gate evaluation
OutputMode
Output mode for terminal rendering
PhashAlgorithm
Perceptual hash algorithm selection
PsnrQuality
PSNR quality classification
WasmDemoConfigError
Configuration errors

Traits§

HeatmapRenderer
Heatmap renderer trait for extensibility

Functions§

wilson_confidence_interval
Calculate Wilson score confidence interval (Wilson, 1927)