Skip to main content

Crate sofie_check

Crate sofie_check 

Source

Structs§

AllowList
dead-code-allow.toml: [[item]] and [[dependency]] entries.
CommentDensity
CrateSource
Date
A UTC calendar day, counted from 1970-01-01.
Finding
GodType
MigratedSchema
What the migrations so far leave in the database: columns with their types, checks and indexes.
Screen
Screens
Read and parsed once per run, then borrowed by every rule and generator.

Enums§

Rule

Constants§

ALLOW_FILE
MAX_COMMENT_RATIO
MAX_GOD_TYPE_SCORE
Lower it when the worst type is split; never raise it.
MAX_UNUSED_PUBLIC_RATIO
Lower it as dead code is deleted; never raise it.

Functions§

check
check_client_feature
The wiring hands each client area its bundle through sofie’s clients feature, so without it the app fails to compile on a name the error does not explain.
check_dead_code
check_flag_ages
check_structure
load_workspace_crates
missing_gen_exports
rank_god_types
report
sort_findings