logo

Back to index

LCC

Min: 0.0003, max: 0.8333, yellow zone: [0.4000 .. 0.6000].

Elements: 112, μ: 0.2237, σ: 0.1376, Var: 0.0189, defects: 14%.

Packages: 19, classes: 167.

Green: 13, yellow: 3, red: 151.

Class LCC attributes methods NC NDC NIC
o.s.p.cfg.L..$LiveVariables 0 6 5 10 0 0
o.s.p.cfg.L..$ReadWriteVisitor 0 2 6 15 0 0
o.s.p.cfg.LiveVariablesAnalysis 1 1 2 1 1 0
o.s.p.cfg.L..$VariableUsage 0 2 2 1 0 0
o.s.p.ini.P..$PhpIniFileImpl 0 2 2 1 0 0
o.s.p.ini.BasePhpIniIssue 0.3333 2 3 3 1 0
o.s.p.ini.P..$DirectiveImpl 0 3 3 3 0 0
o.s.p.ini.PhpIniParser 0 0 2 1 0 0
o.s.p.t.i.declaration.NamespaceNameTreeImpl 0.0758 5 12 66 5 0
o.s.p.t.i.declaration.FunctionDeclarationTreeImpl 0.1667 6 9 36 6 0
o.s.p.t.i.declaration.TraitPrecedenceTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.declaration.TypeTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.declaration.ConstantDeclarationTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.declaration.TraitMethodReferenceTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.declaration.BuiltInTypeTreeImpl 0.1667 1 4 6 1 0
o.s.p.t.i.declaration.MethodDeclarationTreeImpl 0.1556 7 10 45 7 0
o.s.p.t.i.declaration.ReturnTypeClauseTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.declaration.ClassDeclarationTreeImpl 0.1429 11 14 91 13 0
o.s.p.t.i.declaration.ClassPropertyDeclarationTreeImpl 0.1071 4 8 28 3 0
o.s.p.t.i.declaration.UseTraitDeclarationTreeImpl 0.1667 6 9 36 6 0
o.s.p.t.i.declaration.TraitAliasTreeImpl 0.1786 5 8 28 5 0
o.s.p.t.i.declaration.ParameterTreeImpl 0.1667 6 9 36 6 0
o.s.p.t.i.declaration.UseClauseTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.declaration.ParameterListTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.IfStatementTreeImpl 0.1455 9 11 55 8 0
o.s.p.t.i.statement.NamespaceStatementTreeImpl 0.1667 6 9 36 6 0
o.s.p.t.i.statement.SwitchStatementTreeImpl 0.1364 10 12 66 9 0
o.s.p.t.i.statement.DeclareStatementTreeImpl 0.2545 5 11 55 14 0
o.s.p.t.i.statement.VariableDeclarationTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.GotoStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.D..$DeclareStatementHead 0 4 4 6 0 0
o.s.p.t.i.statement.DefaultClauseTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.CaseClauseTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.statement.F..$ForEachStatementHeader 0 8 8 28 0 0
o.s.p.t.i.statement.ForStatementTreeImpl 0.3048 6 15 105 32 0
o.s.p.t.i.statement.ReturnStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.LabelTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.statement.CatchBlockTreeImpl 0.1667 6 9 36 6 0
o.s.p.t.i.statement.GlobalStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.UnsetVariableStatementTreeImpl 0.1786 5 8 28 5 0
o.s.p.t.i.statement.ForEachStatementTreeImpl 0.3048 6 15 105 32 0
o.s.p.t.i.statement.WhileStatementTreeImpl 0.1667 7 9 36 6 0
o.s.p.t.i.statement.F..$ForStatementHeader 0 8 8 28 0 0
o.s.p.t.i.statement.ElseifClauseTreeImpl 0.1905 5 7 21 4 0
o.s.p.t.i.statement.DoWhileStatementTreeImpl 0.1786 5 8 28 5 0
o.s.p.t.i.statement.ElseClauseTreeImpl 0.2 4 6 15 3 0
o.s.p.t.i.statement.EmptyStatementImpl 0.1667 1 4 6 1 0
o.s.p.t.i.statement.StaticStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.ExpressionListStatementTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.statement.ContinueStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.InlineHTMLTreeImpl 0.1667 1 4 6 1 0
o.s.p.t.i.statement.ThrowStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.ExpressionStatementTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.statement.BlockTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.TryStatementTreeImpl 0.1786 5 8 28 5 0
o.s.p.t.i.statement.BreakStatementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.statement.UseStatementTreeImpl 0.1455 9 11 55 8 0
o.s.p.p.a.visitors.IssueLocation 0.2 3 5 10 2 0
o.s.p.p.a.visitors.PHPSubscriptionCheck 0.1 1 5 10 1 0
o.s.p.p.a.visitors.PreciseIssue 0.1905 4 7 21 4 0
o.s.p.p.a.visitors.PHPCustomRulesDefinition 0 0 1 0 0 0
o.s.p.p.a.visitors.PHPTreeSubscriber 0 1 3 3 0 0
o.s.p.p.a.visitors.FileIssue 0.1667 3 4 6 1 0
o.s.p.p.a.visitors.PHPVisitorCheck 0.0003 1 88 3828 1 0
o.s.p.p.a.visitors.LineIssue 0.1 4 5 10 1 0
o.s.p.parser.PHPParser 0 0 2 1 0 0
o.s.p.parser.PHPParserBuilder 0 0 0 0 0 0
o.s.p.parser.P..$LineColumnValue 0 3 0 0 0 0
o.s.p.parser.LexicalConstant 0 0 0 0 0 0
o.s.p.parser.P..$InternalSyntaxSpacing 0 0 4 6 0 0
o.s.p.parser.TreeFactory 0 0 159 12561 0 0
o.s.p.parser.PHPNodeBuilder 0 1 2 1 0 0
o.s.p.parser.T..$Tuple 0 2 2 1 0 0
o.s.p.parser.PHPGrammar 1 2 152 11476 11476 0
o.s.p.p.a.cfg.PhpCfgBranchingBlock 0.5 3 5 10 5 0
o.s.p.p.a.cfg.ControlFlowGraph 0 3 3 3 0 0
o.s.p.p.a.cfg.PhpCfgBlock 0.2 4 6 15 3 0
o.s.p.p.a.cfg.C..$ForwardingBlock 0 1 3 3 0 0
o.s.p.p.a.cfg.ControlFlowGraphBuilder 0 8 0 0 0 0
o.s.p.p.a.cfg.PhpCfgEndBlock 0 0 4 6 0 0
o.s.p.p.a.cfg.C..$TryBodyEnd 0 2 0 0 0 0
o.s.p.p.a.cfg.C..$Breakable 0 2 0 0 0 0
o.s.p.t.i.lexical.InternalSyntaxTrivia 0.0128 5 13 78 1 0
o.s.p.t.i.lexical.InternalSyntaxToken 0.0167 9 16 120 2 0
o.s.p.p.a.tests.TestIssue 0.3619 3 15 105 38 0
o.s.p.p.a.tests.PhpTestFile 0.5 2 4 6 3 0
o.s.p.p.a.tests.PHPCheckTest 0 0 0 0 0 0
o.s.p.p.a.tests.T..$Location 0 5 4 6 0 0
o.s.p.p.a.tests.P..$Tuple 0 2 0 0 0 0
o.s.p.p.a.tests.PHPCheckVerifier 0 1 0 0 0 0
o.s.p.t.visitors.AssignmentExpressionVisitor 1 2 2 1 1 0
o.s.p.t.visitors.PHPCheckContext 0.3333 5 10 45 15 0
o.s.p.t.visitors.LegacyIssue 0.1905 4 7 21 4 0
o.s.p.compat.PhpFileImpl 1 1 4 6 6 0
o.s.p.compat.P..$InputFileIOException 0 0 0 0 0 0
o.s.php.PHPAnalyzer 0.8095 6 7 21 17 0
o.s.p.highlighter.SyntaxHighlighterVisitor 0 1 5 10 0 0
o.s.p.highlighter.SymbolHighlighter 0 0 1 0 0 0
o.s.p.t.symbols.MemberSymbolImpl 0 1 1 0 0 0
o.s.p.t.symbols.TypeSymbolImpl 0 3 3 3 0 0
o.s.p.t.symbols.SymbolVisitor 0.1621 8 23 253 41 0
o.s.p.t.symbols.DeclarationVisitor 0.8333 3 4 6 5 0
o.s.p.t.symbols.MemberQualifiedName 1 2 4 6 6 0
o.s.p.t.symbols.S..$ClassMemberUsageState 0 4 0 0 0 0
o.s.p.t.symbols.UndeclaredSymbol 0 0 0 0 0 0
o.s.p.t.symbols.SymbolImpl 0.1818 7 11 55 10 0
o.s.p.t.symbols.Scope 0.1905 5 7 21 4 0
o.s.p.t.symbols.SymbolQualifiedName 1 1 4 6 6 0
o.s.p.t.symbols.SymbolTableImpl 0.0667 4 6 15 1 0
o.s.p.tree.TreeUtils 0 0 0 0 0 0
o.s.p.metrics.C..$ShallowComplexityVisitor 1 1 3 3 3 0
o.s.p.metrics.CognitiveComplexityVisitor 0.6691 3 17 136 91 0
o.s.p.metrics.C..$1CompilationUnitVisitor 0 1 3 3 0 0
o.s.p.metrics.C..$CognitiveComplexity 0 3 2 1 0 0
o.s.p.metrics.CpdVisitor 0 1 7 21 0 0
o.s.p.metrics.CounterVisitor 0.3 3 5 10 3 0
o.s.p.metrics.C..$ComplexityComponent 0 2 2 1 0 0
o.s.p.metrics.LineVisitor 0.5 1 4 6 3 0
o.s.p.metrics.FileMeasures 0.0579 11 20 190 11 0
o.s.p.metrics.C..$CpdToken 0 2 2 1 0 0
o.s.p.metrics.CommentLineVisitor 0.6667 2 4 6 4 0
o.s.p.metrics.MetricsVisitor 0.3333 2 3 3 1 0
o.s.p.metrics.ExecutableLineVisitor 0.3333 1 3 3 1 0
o.s.p.metrics.ComplexityVisitor 0 1 11 55 0 0
o.s.p.utils.SourceBuilder 0 3 2 1 0 0
o.s.p.utils.ExpectedIssuesParser 0 1 1 0 0 0
o.s.p.t.i.expression.ArrayPairTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.CompoundVariableTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.NewExpressionTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.expression.MemberAccessTreeImpl 0.25 4 8 28 7 0
o.s.p.t.i.expression.HeredocStringLiteralTreeImpl 0.2381 3 7 21 5 0
o.s.p.t.i.expression.ArrayAssignmentPatternTreeImpl 0.2381 3 7 21 5 0
o.s.p.t.i.expression.AssignmentByReferenceTreeImpl 0.25 4 8 28 7 0
o.s.p.t.i.expression.ParenthesizedExpressionTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.ConditionalExpressionTreeImpl 0.1944 5 9 36 7 0
o.s.p.t.i.expression.FunctionExpressionTreeImpl 0.1556 7 10 45 7 0
o.s.p.t.i.expression.YieldExpressionTreeImpl 0.1786 5 8 28 5 0
o.s.p.t.i.expression.AnonymousClassTreeImpl 0.1429 11 15 105 15 0
o.s.p.t.i.expression.NameIdentifierTreeImpl 0.1 1 5 10 1 0
o.s.p.t.i.expression.LiteralTreeImpl 0.3 2 5 10 3 0
o.s.p.t.i.expression.ComputedVariableTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.VariableVariableTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.expression.ArrayInitializerFunctionTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.expression.ExpandableStringLiteralTreeImpl 0.2381 3 7 21 5 0
o.s.p.t.i.expression.LexicalVariablesTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.expression.PrefixExpressionTreeImpl 0.2 3 5 10 2 0
o.s.p.t.i.expression.H..$HeredocBody 0 1 4 6 0 0
o.s.p.t.i.expression.ExpandableStringCharactersTreeImpl 0.3 2 5 10 3 0
o.s.p.t.i.expression.PrefixedCastExpressionTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.expression.ArrayAccessTreeImpl 0.2143 4 8 28 6 0
o.s.p.t.i.expression.ListExpressionTreeImpl 0.2143 4 8 28 6 0
o.s.p.t.i.expression.ArrayInitializerBracketTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.ReferenceVariableTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.expression.BinaryExpressionTreeImpl 0.2 4 6 15 3 0
o.s.p.t.i.expression.ArrayAssignmentPatternElementTreeImpl 0.2 3 6 15 3 0
o.s.p.t.i.expression.ArrayAssignmentPatternElements 0 3 3 3 0 0
o.s.p.t.i.expression.PostfixExpressionTreeImpl 0.2 3 5 10 2 0
o.s.p.t.i.expression.SpreadArgumentTreeImpl 0.2 2 5 10 2 0
o.s.p.t.i.expression.AssignmentExpressionTreeImpl 0.2381 4 7 21 5 0
o.s.p.t.i.expression.CastExpressionTreeImpl 0.1905 4 7 21 4 0
o.s.p.t.i.expression.FunctionCallTreeImpl 0.2143 4 8 28 6 0
o.s.p.t.impl.VariableIdentifierTreeImpl 0.2 1 6 15 3 0
o.s.p.t.impl.PHPTree 0.0357 1 8 28 1 0
o.s.p.t.impl.SeparatedListImpl 0.7236 2 27 351 254 0
o.s.p.t.impl.S..$ElementAndSeparatorIterator 1 5 2 1 1 0
o.s.p.t.impl.ScriptTreeImpl 0.2 2 5 10 2 0
o.s.p.t.impl.CompilationUnitTreeImpl 0.2 2 5 10 2 0

Download XML.