MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / project_checks

Function project_checks

libatomic/src/review/graph.rs:835–846  ·  view source on GitHub ↗
(out: &mut Projection, analysis: &AnalysisReport)

Source from the content-addressed store, hash-verified

833}
834
835fn project_checks(out: &mut Projection, analysis: &AnalysisReport) {
836 for check in &analysis.checks {
837 let id = local_id("check", check);
838 out.node(
839 &id,
840 "check",
841 &format!("{}: {}", check.rule, check.path),
842 encode(check),
843 );
844 out.edge(ReviewPass::AntiSlop.id(), "has_check", &id);
845 }
846}
847
848fn measurement_label(value: &atomic_audit::Measurement) -> String {
849 match value {

Callers 1

projectFunction · 0.85

Calls 5

local_idFunction · 0.70
encodeFunction · 0.70
nodeMethod · 0.45
edgeMethod · 0.45
idMethod · 0.45

Tested by

no test coverage detected