double (@NotNull PsiCodeBlock body, int branchCount) { final StatementCountVisitor visitor = new StatementCountVisitor(); body.accept(visitor); return (double)branchCount / (double)visitor.getStatementCount(); }