MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / test_doc_coverage

Function test_doc_coverage

tests/mcp_suite/mcp_handler_test.rs:3570–3581  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3568
3569#[tokio::test]
3570async fn test_doc_coverage() {
3571 let (cg, _dir) = setup_project().await;
3572 let result = handle_tool_call(&cg, "tracedecay_doc_coverage", json!({}), None, None)
3573 .await
3574 .unwrap();
3575 let text = extract_text(&result.value);
3576 assert!(
3577 text.contains("total_undocumented"),
3578 "should have total_undocumented key"
3579 );
3580 close_test_graph(cg).await;
3581}
3582
3583// ---------------------------------------------------------------------------
3584// 31. tracedecay_god_class

Callers

nothing calls this directly

Calls 4

close_test_graphFunction · 0.85
setup_projectFunction · 0.70
handle_tool_callFunction · 0.70
extract_textFunction · 0.70

Tested by

no test coverage detected