Code Complexity Review
workflow:code-complexity-review
Workflowworkflows/workflows/workflows-architecture-deep.yaml·Open in Graph → {
"id": "workflow:code-complexity-review",
"_kind": "Workflow",
"_file": "workflows/workflows/workflows-architecture-deep.yaml",
"_cluster": "workflows",
"attributes": {
"displayName": "Code Complexity Review",
"workflowKind": "governance",
"triggerType": "scheduled",
"typicalCadence": "monthly",
"complexity": "single-team",
"description": "Measures and reviews code complexity metrics across the codebase --\ncomputing cyclomatic complexity, cognitive complexity, lines of code per\nfunction, nesting depth, and coupling metrics; identifying hotspots that\ncorrelate with defect density; comparing trends against established\nthresholds; flagging modules that exceed complexity budgets; and producing\nprioritized refactoring recommendations. Excludes implementing the\nrefactoring itself.\n"
},
"outgoingEdges": [
{
"from": "workflow:code-complexity-review",
"to": "role:staff-engineer",
"kind": "involves_role",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "role:tech-lead",
"kind": "involves_role",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "role:code-reviewer",
"kind": "involves_role",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "skill-area:dead-code-elimination",
"kind": "requires_skill_area",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "skill-area:code-review-practice",
"kind": "requires_skill_area",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "domain:software-engineering",
"kind": "applies_to_domain",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "responsibility:review-architecture-changes",
"kind": "triggers_responsibility",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "responsibility:code-review-coverage",
"kind": "triggers_responsibility",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "org-unit:engineering",
"kind": "performed_by_org_unit",
"attributes": {}
},
{
"from": "workflow:code-complexity-review",
"to": "org-unit:engineering-productivity",
"kind": "performed_by_org_unit",
"attributes": {}
}
],
"incomingEdges": []
}