Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

240 B
Raw Blame
package sample

func DeeplyNested(x int) int {
	if x > 0 {
		for i := 0; i < x; i++ {
			if i%2 == 0 {
				for i > 0 {
					if i == 5 {
						return i
					}
					i--
				}
			}
		}
	}
	return 0
}

func Shallow(x int) int {
	return x + 1
}