\Drupal\strata\Health\Tripwire UnclassifiedGrowth

Too much of the ephemeral keyspace is being captured without anyone knowing what it is.

Unclassified keys are captured on purpose: an unrecognised key is a gap in the heuristics rather than evidence it does not matter, and dropping it would create a silent hole. But that default is safe only while the unclassified share stays small. A newly installed module that names its cache bin unconventionally can put millions of derivable keys into the backup, and the first sign would otherwise be the storage bill.

A warning, not an error: nothing stored is wrong, and the fix is a person spending a minute on the classification page.

Summary

Methods
Properties
Constants
code
check
No public properties found
SHARE
FLOOR
No protected methods found
No protected properties found
No protected constants found
No private methods found
No private properties found
No private constants found

Constant

SHARE

SHARE = 0.25

Share of the discovered keyspace that may be undecided before this fires.

FLOOR

FLOOR = 100

Keys below which the share is not worth reporting.

On a keyspace of a dozen keys any share is noise, and a fresh install has almost nothing in it.

Methods

code()

code() : string

The stable dotted code every finding from this tripwire reports under.

Returns

string —

For example "frame.digest_mismatch".

check()

check(array  $observation) : \Drupal\strata\Health\Finding|null

Evaluates the check against one observation.

Parameters

array $observation

Scalars the caller already had in hand. A tripwire reads from this and nothing else.

Returns

\Drupal\strata\Health\Finding|null —

A finding when the symptom is present, or NULL when the check is satisfied.