logo

Back to index

CCM

Min: 0.0055, max: 0.5000, yellow zone: [0.4000 .. 0.6000].

Elements: 131, μ: 0.0793, σ: 0.0911, Var: 0.0083, defects: 9%.

Packages: 19, classes: 169.

Green: 37, yellow: 3, red: 129.

Class CCM methods nc ncc nmp
o.s.p.cfg.L..$ReadWriteVisitor 0.0556 6 5 6 15
o.s.p.cfg.L..$LiveVariables 0.15 5 6 4 10
o.s.p.cfg.L..$VariableUsage NaN 2 0 0 1
o.s.p.cfg.LiveVariablesAnalysis 0.5 2 1 2 1
o.s.p.ini.P..$DirectiveImpl NaN 3 0 0 3
o.s.p.ini.P..$PhpIniFileImpl NaN 2 0 0 1
o.s.p.ini.BasePhpIniIssue 0.3333 3 1 1 3
o.s.p.ini.PhpIniParser NaN 2 0 0 1
o.s.p.p.a.visitors.PreciseIssue 0.0635 7 4 3 21
o.s.p.p.a.visitors.IssueLocation 0.05 5 2 4 10
o.s.p.p.a.visitors.PHPVisitorCheck 0.0101 90 3488 86 4005
o.s.p.p.a.visitors.PHPSubscriptionCheck 0.0667 6 2 2 15
o.s.p.p.a.visitors.FileIssue 0.1667 4 1 1 6
o.s.p.p.a.visitors.PHPCustomRulesDefinition NaN 3 0 0 3
o.s.p.p.a.visitors.PHPTreeSubscriber NaN 4 0 0 6
o.s.p.p.a.visitors.LineIssue 0.1 5 1 1 10
o.s.p.t.i.declaration.UseTraitDeclarationTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.declaration.ClassDeclarationTreeImpl 0.0119 14 13 12 91
o.s.p.t.i.declaration.NamespaceNameTreeImpl 0.0152 12 5 5 66
o.s.p.t.i.declaration.TraitAliasTreeImpl 0.0298 8 5 6 28
o.s.p.t.i.declaration.ParameterListTreeImpl 0.05 6 3 4 15
o.s.p.t.i.declaration.ReturnTypeClauseTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.declaration.TraitPrecedenceTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.declaration.UseClauseTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.declaration.ClassPropertyDeclarationTreeImpl 0.0286 8 4 5 28
o.s.p.t.i.declaration.ParameterTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.declaration.TraitMethodReferenceTreeImpl 0.05 6 3 4 15
o.s.p.t.i.declaration.FunctionDeclarationTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.declaration.BuiltInTypeTreeImpl 0.0833 4 1 2 6
o.s.p.t.i.declaration.TypeTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.declaration.MethodDeclarationTreeImpl 0.0194 10 7 8 45
o.s.p.t.i.declaration.ConstantDeclarationTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.F..$ForStatementHeader NaN 8 0 0 28
o.s.p.t.i.statement.ForEachStatementTreeImpl 0.0234 15 32 13 105
o.s.p.t.i.statement.CaseClauseTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.statement.WhileStatementTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.statement.DoWhileStatementTreeImpl 0.0298 8 5 6 28
o.s.p.t.i.statement.ElseClauseTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.D..$DeclareStatementHead NaN 4 0 0 6
o.s.p.t.i.statement.F..$ForEachStatementHeader NaN 8 0 0 28
o.s.p.t.i.statement.UseStatementTreeImpl 0.0162 11 8 9 55
o.s.p.t.i.statement.EmptyStatementImpl 0.0833 4 1 2 6
o.s.p.t.i.statement.IfStatementTreeImpl 0.0162 11 8 9 55
o.s.p.t.i.statement.DefaultClauseTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.StaticStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.TryStatementTreeImpl 0.0298 8 5 6 28
o.s.p.t.i.statement.InlineHTMLTreeImpl 0.0833 4 1 2 6
o.s.p.t.i.statement.ExpressionListStatementTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.statement.EchoTagStatementTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.statement.UnsetVariableStatementTreeImpl 0.0298 8 5 6 28
o.s.p.t.i.statement.CatchBlockTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.statement.SwitchStatementTreeImpl 0.0136 12 9 10 66
o.s.p.t.i.statement.LabelTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.statement.GotoStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.DeclareStatementTreeImpl 0.0283 11 14 9 55
o.s.p.t.i.statement.NamespaceStatementTreeImpl 0.0238 9 6 7 36
o.s.p.t.i.statement.VariableDeclarationTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.BreakStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.ThrowStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.ForStatementTreeImpl 0.0234 15 32 13 105
o.s.p.t.i.statement.ContinueStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.GlobalStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.ReturnStatementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.BlockTreeImpl 0.05 6 3 4 15
o.s.p.t.i.statement.ElseifClauseTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.statement.ExpressionStatementTreeImpl 0.0667 5 2 3 10
o.s.p.parser.P..$LineColumnValue NaN 0 0 0 0
o.s.p.parser.PHPParserBuilder NaN 0 0 0 0
o.s.p.parser.PHPParser 1 2 1 1 1
o.s.p.parser.TreeFactory 0.0008 160 1303 127 12720
o.s.p.parser.PHPNodeBuilder NaN 2 0 0 1
o.s.p.parser.T..$Tuple NaN 2 0 0 1
o.s.p.parser.P..$InternalSyntaxSpacing NaN 4 0 0 6
o.s.p.parser.LexicalConstant NaN 0 0 0 0
o.s.p.parser.PHPGrammar 0.0065 154 11781 154 11781
o.s.p.p.a.cfg.PhpCfgBranchingBlock 0.125 5 5 4 10
o.s.p.p.a.cfg.PhpCfgBlock 0.0667 6 3 3 15
o.s.p.p.a.cfg.ControlFlowGraphBuilder NaN 0 0 0 0
o.s.p.p.a.cfg.ControlFlowGraph NaN 3 0 0 3
o.s.p.p.a.cfg.PhpCfgEndBlock 0.0833 4 1 2 6
o.s.p.p.a.cfg.C..$ForwardingBlock 0.1667 3 1 2 3
o.s.p.p.a.cfg.C..$Breakable NaN 0 0 0 0
o.s.p.p.a.cfg.C..$TryBodyEnd NaN 0 0 0 0
o.s.p.t.i.lexical.InternalSyntaxTrivia 0.0064 13 1 2 78
o.s.p.t.i.lexical.InternalSyntaxToken 0.0056 16 2 3 120
o.s.p.p.a.tests.TestIssue 0.0452 15 38 8 105
o.s.p.p.a.tests.T..$Location NaN 4 0 0 6
o.s.p.p.a.tests.PHPCheckVerifier NaN 0 0 0 0
o.s.p.p.a.tests.PHPCheckTest NaN 0 0 0 0
o.s.p.p.a.tests.P..$Tuple NaN 0 0 0 0
o.s.p.p.a.tests.PhpTestFile 0.1667 4 3 3 6
o.s.p.compat.P..$InputFileIOException NaN 0 0 0 0
o.s.p.compat.PhpFileImpl 0.25 4 6 4 6
o.s.p.t.visitors.AssignmentExpressionVisitor 0.5 2 1 2 1
o.s.p.t.visitors.LegacyIssue 0.0635 7 4 3 21
o.s.p.t.visitors.PHPCheckContext 0.0833 10 15 4 45
o.s.php.PHPAnalyzer 0.0804 8 18 8 28
o.s.p.tree.TreeUtils NaN 0 0 0 0
o.s.p.t.symbols.S..$ClassMemberUsageState NaN 0 0 0 0
o.s.p.t.symbols.DeclarationVisitor 0.2083 4 5 4 6
o.s.p.t.symbols.SymbolImpl 0.025 11 11 8 55
o.s.p.t.symbols.TypeSymbolImpl NaN 3 0 0 3
o.s.p.t.symbols.UndeclaredSymbol NaN 0 0 0 0
o.s.p.t.symbols.MemberSymbolImpl NaN 1 0 0 0
o.s.p.t.symbols.SymbolTableImpl 0.05 6 3 4 15
o.s.p.t.symbols.SymbolQualifiedName 0.25 4 6 4 6
o.s.p.t.symbols.Scope 0.0381 7 4 5 21
o.s.p.t.symbols.MemberQualifiedName 0.25 4 6 4 6
o.s.p.t.symbols.SymbolVisitor 0.0147 23 82 22 253
o.s.p.highlighter.SyntaxHighlighterVisitor 0.2 5 10 5 10
o.s.p.highlighter.SymbolHighlighter NaN 1 0 0 0
o.s.p.utils.SourceBuilder NaN 2 0 0 1
o.s.p.utils.ExpectedIssuesParser NaN 1 0 0 0
o.s.p.metrics.ExecutableLineVisitor 0.1667 3 1 2 3
o.s.p.metrics.CpdVisitor 0.0476 7 3 3 21
o.s.p.metrics.ComplexityVisitor 0.0909 11 55 11 55
o.s.p.metrics.CounterVisitor 0.08 5 4 5 10
o.s.p.metrics.C..$ShallowComplexityVisitor 0.3333 3 3 3 3
o.s.p.metrics.CognitiveComplexityVisitor 0.0536 17 124 17 136
o.s.p.metrics.FileMeasures 0.0055 14 7 14 91
o.s.p.metrics.C..$ComplexityComponent NaN 2 0 0 1
o.s.p.metrics.MetricsVisitor 0.2222 3 2 3 3
o.s.p.metrics.CommentLineVisitor 0.1667 4 4 4 6
o.s.p.metrics.LineVisitor 0.1667 4 3 3 6
o.s.p.metrics.C..$CognitiveComplexity NaN 2 0 0 1
o.s.p.metrics.C..$1CompilationUnitVisitor 0.3333 3 3 3 3
o.s.p.metrics.C..$CpdToken NaN 2 0 0 1
o.s.p.t.i.expression.ArrayAssignmentPatternElementTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.H..$HeredocBody 0.0833 4 1 2 6
o.s.p.t.i.expression.VariableVariableTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.LexicalVariablesTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.expression.ArrayInitializerFunctionTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.expression.NameIdentifierTreeImpl 0.05 5 1 2 10
o.s.p.t.i.expression.ExpandableStringCharactersTreeImpl 0.1 5 3 3 10
o.s.p.t.i.expression.MemberAccessTreeImpl 0.0417 8 7 6 28
o.s.p.t.i.expression.CastExpressionTreeImpl 0.0381 7 4 5 21
o.s.p.t.i.expression.HeredocStringLiteralTreeImpl 0.0476 7 5 5 21
o.s.p.t.i.expression.ArrayAccessTreeImpl 0.0357 8 6 6 28
o.s.p.t.i.expression.SpreadArgumentTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.AssignmentExpressionTreeImpl 0.0476 7 5 5 21
o.s.p.t.i.expression.PrefixExpressionTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.AssignmentByReferenceTreeImpl 0.0417 8 7 6 28
o.s.p.t.i.expression.PrefixedCastExpressionTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.ReferenceVariableTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.LiteralTreeImpl 0.1 5 3 3 10
o.s.p.t.i.expression.NewExpressionTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.ParenthesizedExpressionTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.ArrayAssignmentPatternElements NaN 3 0 0 3
o.s.p.t.i.expression.ArrayPairTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.ArrayInitializerBracketTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.FunctionCallTreeImpl 0.0357 8 6 6 28
o.s.p.t.i.expression.PostfixExpressionTreeImpl 0.0667 5 2 3 10
o.s.p.t.i.expression.CompoundVariableTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.ArrayAssignmentPatternTreeImpl 0.0476 7 5 5 21
o.s.p.t.i.expression.ConditionalExpressionTreeImpl 0.0278 9 7 7 36
o.s.p.t.i.expression.ExecutionOperatorTreeImpl 0.0833 4 1 2 6
o.s.p.t.i.expression.YieldExpressionTreeImpl 0.0298 8 5 6 28
o.s.p.t.i.expression.FunctionExpressionTreeImpl 0.0194 10 7 8 45
o.s.p.t.i.expression.AnonymousClassTreeImpl 0.011 15 15 13 105
o.s.p.t.i.expression.ComputedVariableTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.ListExpressionTreeImpl 0.0357 8 6 6 28
o.s.p.t.i.expression.BinaryExpressionTreeImpl 0.05 6 3 4 15
o.s.p.t.i.expression.ExpandableStringLiteralTreeImpl 0.0476 7 5 5 21
o.s.p.t.impl.S..$ElementAndSeparatorIterator 0.5 2 1 2 1
o.s.p.t.impl.SeparatedListImpl 0.0363 27 255 20 351
o.s.p.t.impl.VariableIdentifierTreeImpl 0.0667 6 3 3 15
o.s.p.t.impl.CompilationUnitTreeImpl 0.0667 5 2 3 10
o.s.p.t.impl.ScriptTreeImpl 0.0667 5 2 3 10
o.s.p.t.impl.PHPTree 0.0238 9 6 7 36

Download XML.