logo

Back to index

LCOM

Min: 1.0000, max: 4003.0000, yellow zone: [15.0000 .. 5.0000].

Elements: 137, μ: 45.1971, σ: 340.0784, Var: 115653.3261, defects: 1%.

Packages: 19, classes: 169.

Green: 60, yellow: 69, red: 40.

Class LCOM methods pairs empty nonempty
o.s.p.ini.P..$DirectiveImpl 3 3 3 3 0
o.s.p.ini.P..$PhpIniFileImpl 1 2 1 1 0
o.s.p.ini.BasePhpIniIssue 1 3 3 2 1
o.s.p.ini.PhpIniParser 1 2 1 1 0
o.s.p.cfg.L..$VariableUsage 1 2 1 1 0
o.s.p.cfg.LiveVariablesAnalysis 0 2 1 0 1
o.s.p.cfg.L..$LiveVariables 10 5 10 10 0
o.s.p.cfg.L..$ReadWriteVisitor 15 6 15 15 0
o.s.p.t.i.declaration.TypeTreeImpl 6 5 10 8 2
o.s.p.t.i.declaration.UseTraitDeclarationTreeImpl 24 9 36 30 6
o.s.p.t.i.declaration.MethodDeclarationTreeImpl 31 10 45 38 7
o.s.p.t.i.declaration.ConstantDeclarationTreeImpl 9 6 15 12 3
o.s.p.t.i.declaration.ParameterTreeImpl 24 9 36 30 6
o.s.p.t.i.declaration.ClassDeclarationTreeImpl 65 14 91 78 13
o.s.p.t.i.declaration.ParameterListTreeImpl 9 6 15 12 3
o.s.p.t.i.declaration.ReturnTypeClauseTreeImpl 6 5 10 8 2
o.s.p.t.i.declaration.NamespaceNameTreeImpl 56 12 66 61 5
o.s.p.t.i.declaration.FunctionDeclarationTreeImpl 24 9 36 30 6
o.s.p.t.i.declaration.BuiltInTypeTreeImpl 4 4 6 5 1
o.s.p.t.i.declaration.UseClauseTreeImpl 13 7 21 17 4
o.s.p.t.i.declaration.TraitMethodReferenceTreeImpl 9 6 15 12 3
o.s.p.t.i.declaration.TraitPrecedenceTreeImpl 13 7 21 17 4
o.s.p.t.i.declaration.ClassPropertyDeclarationTreeImpl 22 8 28 25 3
o.s.p.t.i.declaration.TraitAliasTreeImpl 18 8 28 23 5
o.s.p.t.i.statement.ReturnStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.DoWhileStatementTreeImpl 18 8 28 23 5
o.s.p.t.i.statement.BlockTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.ExpressionListStatementTreeImpl 6 5 10 8 2
o.s.p.t.i.statement.ExpressionStatementTreeImpl 6 5 10 8 2
o.s.p.t.i.statement.GotoStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.UseStatementTreeImpl 39 11 55 47 8
o.s.p.t.i.statement.F..$ForStatementHeader 28 8 28 28 0
o.s.p.t.i.statement.CatchBlockTreeImpl 24 9 36 30 6
o.s.p.t.i.statement.ElseClauseTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.TryStatementTreeImpl 18 8 28 23 5
o.s.p.t.i.statement.ContinueStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.EchoTagStatementTreeImpl 6 5 10 8 2
o.s.p.t.i.statement.F..$ForEachStatementHeader 28 8 28 28 0
o.s.p.t.i.statement.StaticStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.ElseifClauseTreeImpl 13 7 21 17 4
o.s.p.t.i.statement.CaseClauseTreeImpl 13 7 21 17 4
o.s.p.t.i.statement.BreakStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.SwitchStatementTreeImpl 48 12 66 57 9
o.s.p.t.i.statement.VariableDeclarationTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.GlobalStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.ForStatementTreeImpl 41 15 105 73 32
o.s.p.t.i.statement.ThrowStatementTreeImpl 9 6 15 12 3
o.s.p.t.i.statement.InlineHTMLTreeImpl 4 4 6 5 1
o.s.p.t.i.statement.IfStatementTreeImpl 39 11 55 47 8
o.s.p.t.i.statement.DeclareStatementTreeImpl 27 11 55 41 14
o.s.p.t.i.statement.D..$DeclareStatementHead 6 4 6 6 0
o.s.p.t.i.statement.LabelTreeImpl 6 5 10 8 2
o.s.p.t.i.statement.NamespaceStatementTreeImpl 24 9 36 30 6
o.s.p.t.i.statement.ForEachStatementTreeImpl 41 15 105 73 32
o.s.p.t.i.statement.WhileStatementTreeImpl 24 9 36 30 6
o.s.p.t.i.statement.EmptyStatementImpl 4 4 6 5 1
o.s.p.t.i.statement.UnsetVariableStatementTreeImpl 18 8 28 23 5
o.s.p.t.i.statement.DefaultClauseTreeImpl 9 6 15 12 3
o.s.p.p.a.visitors.IssueLocation 6 5 10 8 2
o.s.p.p.a.visitors.PHPSubscriptionCheck 13 6 15 14 1
o.s.p.p.a.visitors.PHPTreeSubscriber 6 4 6 6 0
o.s.p.p.a.visitors.PHPCustomRulesDefinition 3 3 3 3 0
o.s.p.p.a.visitors.LineIssue 8 5 10 9 1
o.s.p.p.a.visitors.PHPVisitorCheck 4003 90 4005 4004 1
o.s.p.p.a.visitors.PreciseIssue 13 7 21 17 4
o.s.p.p.a.visitors.FileIssue 4 4 6 5 1
o.s.p.parser.P..$InternalSyntaxSpacing 6 4 6 6 0
o.s.p.parser.LexicalConstant 0 0 0 0 0
o.s.p.parser.T..$Tuple 1 2 1 1 0
o.s.p.parser.PHPParserBuilder 0 0 0 0 0
o.s.p.parser.PHPNodeBuilder 1 2 1 1 0
o.s.p.parser.PHPParser 1 2 1 1 0
o.s.p.parser.P..$LineColumnValue 0 0 0 0 0
o.s.p.parser.TreeFactory 12720 160 12720 12720 0
o.s.p.parser.PHPGrammar 0 154 11781 0 11781
o.s.p.p.a.cfg.PhpCfgEndBlock 6 4 6 6 0
o.s.p.p.a.cfg.PhpCfgBranchingBlock 0 5 10 5 5
o.s.p.p.a.cfg.C..$Breakable 0 0 0 0 0
o.s.p.p.a.cfg.PhpCfgBlock 9 6 15 12 3
o.s.p.p.a.cfg.C..$ForwardingBlock 3 3 3 3 0
o.s.p.p.a.cfg.C..$TryBodyEnd 0 0 0 0 0
o.s.p.p.a.cfg.ControlFlowGraph 3 3 3 3 0
o.s.p.p.a.cfg.ControlFlowGraphBuilder 0 0 0 0 0
o.s.p.t.i.lexical.InternalSyntaxToken 116 16 120 118 2
o.s.p.t.i.lexical.InternalSyntaxTrivia 76 13 78 77 1
o.s.p.p.a.tests.TestIssue 29 15 105 67 38
o.s.p.p.a.tests.T..$Location 6 4 6 6 0
o.s.p.p.a.tests.PHPCheckTest 0 0 0 0 0
o.s.p.p.a.tests.PHPCheckVerifier 0 0 0 0 0
o.s.p.p.a.tests.P..$Tuple 0 0 0 0 0
o.s.p.p.a.tests.PhpTestFile 1 3 3 2 1
o.s.p.compat.PhpFileImpl 0 3 3 0 3
o.s.p.compat.P..$InputFileIOException 0 0 0 0 0
o.s.p.t.visitors.PHPCheckContext 15 10 45 30 15
o.s.p.t.visitors.AssignmentExpressionVisitor 0 2 1 0 1
o.s.p.t.visitors.LegacyIssue 13 7 21 17 4
o.s.php.PHPAnalyzer 0 7 21 4 17
o.s.p.highlighter.SymbolHighlighter 0 1 0 0 0
o.s.p.highlighter.SyntaxHighlighterVisitor 10 5 10 10 0
o.s.p.t.symbols.S..$ClassMemberUsageState 0 0 0 0 0
o.s.p.t.symbols.TypeSymbolImpl 3 3 3 3 0
o.s.p.t.symbols.SymbolQualifiedName 0 4 6 0 6
o.s.p.t.symbols.Scope 13 7 21 17 4
o.s.p.t.symbols.MemberSymbolImpl 0 1 0 0 0
o.s.p.t.symbols.UndeclaredSymbol 0 0 0 0 0
o.s.p.t.symbols.MemberQualifiedName 0 4 6 0 6
o.s.p.t.symbols.SymbolTableImpl 13 6 15 14 1
o.s.p.t.symbols.DeclarationVisitor 0 4 6 1 5
o.s.p.t.symbols.SymbolImpl 35 11 55 45 10
o.s.p.t.symbols.SymbolVisitor 171 23 253 212 41
o.s.p.tree.TreeUtils 0 0 0 0 0
o.s.p.utils.SourceBuilder 1 2 1 1 0
o.s.p.utils.ExpectedIssuesParser 0 1 0 0 0
o.s.p.metrics.C..$1CompilationUnitVisitor 3 3 3 3 0
o.s.p.metrics.C..$ShallowComplexityVisitor 0 3 3 0 3
o.s.p.metrics.LineVisitor 0 4 6 3 3
o.s.p.metrics.CommentLineVisitor 0 4 6 2 4
o.s.p.metrics.C..$CpdToken 1 2 1 1 0
o.s.p.metrics.CognitiveComplexityVisitor 0 17 136 45 91
o.s.p.metrics.C..$CognitiveComplexity 1 2 1 1 0
o.s.p.metrics.ExecutableLineVisitor 1 3 3 2 1
o.s.p.metrics.CpdVisitor 21 7 21 21 0
o.s.p.metrics.C..$ComplexityComponent 1 2 1 1 0
o.s.p.metrics.CounterVisitor 4 5 10 7 3
o.s.p.metrics.ComplexityVisitor 55 11 55 55 0
o.s.p.metrics.MetricsVisitor 1 3 3 2 1
o.s.p.metrics.FileMeasures 77 14 91 84 7
o.s.p.t.i.expression.VariableVariableTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.ArrayInitializerFunctionTreeImpl 13 7 21 17 4
o.s.p.t.i.expression.H..$HeredocBody 6 4 6 6 0
o.s.p.t.i.expression.HeredocStringLiteralTreeImpl 11 7 21 16 5
o.s.p.t.i.expression.ReferenceVariableTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.PrefixedCastExpressionTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.ExecutionOperatorTreeImpl 4 4 6 5 1
o.s.p.t.i.expression.FunctionExpressionTreeImpl 31 10 45 38 7
o.s.p.t.i.expression.ArrayPairTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.ArrayAssignmentPatternElements 3 3 3 3 0
o.s.p.t.i.expression.BinaryExpressionTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.ArrayAccessTreeImpl 16 8 28 22 6
o.s.p.t.i.expression.ArrayAssignmentPatternTreeImpl 11 7 21 16 5
o.s.p.t.i.expression.ArrayAssignmentPatternElementTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.FunctionCallTreeImpl 16 8 28 22 6
o.s.p.t.i.expression.AssignmentByReferenceTreeImpl 14 8 28 21 7
o.s.p.t.i.expression.ListExpressionTreeImpl 16 8 28 22 6
o.s.p.t.i.expression.AssignmentExpressionTreeImpl 11 7 21 16 5
o.s.p.t.i.expression.NameIdentifierTreeImpl 8 5 10 9 1
o.s.p.t.i.expression.LiteralTreeImpl 4 5 10 7 3
o.s.p.t.i.expression.CastExpressionTreeImpl 13 7 21 17 4
o.s.p.t.i.expression.ConditionalExpressionTreeImpl 22 9 36 29 7
o.s.p.t.i.expression.ArrayInitializerBracketTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.ExpandableStringLiteralTreeImpl 11 7 21 16 5
o.s.p.t.i.expression.NewExpressionTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.LexicalVariablesTreeImpl 13 7 21 17 4
o.s.p.t.i.expression.PrefixExpressionTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.ExpandableStringCharactersTreeImpl 4 5 10 7 3
o.s.p.t.i.expression.YieldExpressionTreeImpl 18 8 28 23 5
o.s.p.t.i.expression.CompoundVariableTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.SpreadArgumentTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.MemberAccessTreeImpl 14 8 28 21 7
o.s.p.t.i.expression.PostfixExpressionTreeImpl 6 5 10 8 2
o.s.p.t.i.expression.AnonymousClassTreeImpl 75 15 105 90 15
o.s.p.t.i.expression.ParenthesizedExpressionTreeImpl 9 6 15 12 3
o.s.p.t.i.expression.ComputedVariableTreeImpl 9 6 15 12 3
o.s.p.t.impl.VariableIdentifierTreeImpl 9 6 15 12 3
o.s.p.t.impl.S..$ElementAndSeparatorIterator 0 2 1 0 1
o.s.p.t.impl.SeparatedListImpl 0 27 351 97 254
o.s.p.t.impl.PHPTree 34 9 36 35 1
o.s.p.t.impl.ScriptTreeImpl 6 5 10 8 2
o.s.p.t.impl.CompilationUnitTreeImpl 6 5 10 8 2

Download XML.