logo

Back to index

LCOM2

Min: 0.0461, max: 0.9773, yellow zone: [0.4000 .. 0.6000].

Elements: 137, μ: 0.7169, σ: 0.1492, Var: 0.0222, defects: 20%.

Packages: 19, classes: 167.

Green: 124, yellow: 13, red: 30.

Class LCOM2 methods attributes
o.s.p.ini.BasePhpIniIssue 0.5 3 2
o.s.p.ini.P..$DirectiveImpl 0.6667 3 3
o.s.p.ini.PhpIniParser 0 2 0
o.s.p.ini.P..$PhpIniFileImpl 0.5 2 2
o.s.p.cfg.L..$ReadWriteVisitor 1 6 2
o.s.p.cfg.L..$VariableUsage 0.5 2 2
o.s.p.cfg.L..$LiveVariables 0.8333 5 6
o.s.p.cfg.LiveVariablesAnalysis 0 2 1
o.s.p.p.a.visitors.IssueLocation 0.6667 5 3
o.s.p.p.a.visitors.PHPTreeSubscriber 0.75 4 1
o.s.p.p.a.visitors.PHPSubscriptionCheck 0.6667 6 1
o.s.p.p.a.visitors.LineIssue 0.75 5 4
o.s.p.p.a.visitors.PreciseIssue 0.75 7 4
o.s.p.p.a.visitors.PHPCustomRulesDefinition 1 3 1
o.s.p.p.a.visitors.FileIssue 0.6667 4 3
o.s.p.p.a.visitors.PHPVisitorCheck 0.9773 88 1
o.s.p.t.i.statement.LabelTreeImpl 0.7333 5 3
o.s.p.t.i.statement.InlineHTMLTreeImpl 0.75 4 2
o.s.p.t.i.statement.DeclareStatementTreeImpl 0.803 11 6
o.s.p.t.i.statement.GotoStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.NamespaceStatementTreeImpl 0.8095 9 7
o.s.p.t.i.statement.SwitchStatementTreeImpl 0.8417 12 10
o.s.p.t.i.statement.ElseClauseTreeImpl 0.7083 6 4
o.s.p.t.i.statement.TryStatementTreeImpl 0.7917 8 6
o.s.p.t.i.statement.UnsetVariableStatementTreeImpl 0.7917 8 6
o.s.p.t.i.statement.ForEachStatementTreeImpl 0.8111 15 6
o.s.p.t.i.statement.CatchBlockTreeImpl 0.8095 9 7
o.s.p.t.i.statement.EmptyStatementImpl 0.75 4 2
o.s.p.t.i.statement.ExpressionStatementTreeImpl 0.7333 5 3
o.s.p.t.i.statement.DefaultClauseTreeImpl 0.75 6 4
o.s.p.t.i.statement.ReturnStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.D..$DeclareStatementHead 0.75 4 4
o.s.p.t.i.statement.BreakStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.F..$ForStatementHeader 0.875 8 8
o.s.p.t.i.statement.CaseClauseTreeImpl 0.7714 7 5
o.s.p.t.i.statement.IfStatementTreeImpl 0.8283 11 9
o.s.p.t.i.statement.ExpressionListStatementTreeImpl 0.7333 5 3
o.s.p.t.i.statement.ElseifClauseTreeImpl 0.7429 7 5
o.s.p.t.i.statement.WhileStatementTreeImpl 0.7937 9 7
o.s.p.t.i.statement.VariableDeclarationTreeImpl 0.75 6 4
o.s.p.t.i.statement.DoWhileStatementTreeImpl 0.7917 8 6
o.s.p.t.i.statement.F..$ForEachStatementHeader 0.875 8 8
o.s.p.t.i.statement.ContinueStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.StaticStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.UseStatementTreeImpl 0.8283 11 9
o.s.p.t.i.statement.BlockTreeImpl 0.75 6 4
o.s.p.t.i.statement.ThrowStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.GlobalStatementTreeImpl 0.75 6 4
o.s.p.t.i.statement.ForStatementTreeImpl 0.8111 15 6
o.s.p.t.i.declaration.TraitAliasTreeImpl 0.7917 8 6
o.s.p.t.i.declaration.ParameterTreeImpl 0.8095 9 7
o.s.p.t.i.declaration.FunctionDeclarationTreeImpl 0.8095 9 7
o.s.p.t.i.declaration.UseClauseTreeImpl 0.7714 7 5
o.s.p.t.i.declaration.BuiltInTypeTreeImpl 0.75 4 2
o.s.p.t.i.declaration.TraitMethodReferenceTreeImpl 0.75 6 4
o.s.p.t.i.declaration.ClassPropertyDeclarationTreeImpl 0.7812 8 4
o.s.p.t.i.declaration.MethodDeclarationTreeImpl 0.825 10 8
o.s.p.t.i.declaration.NamespaceNameTreeImpl 0.875 12 6
o.s.p.t.i.declaration.ClassDeclarationTreeImpl 0.8506 14 11
o.s.p.t.i.declaration.TypeTreeImpl 0.7333 5 3
o.s.p.t.i.declaration.UseTraitDeclarationTreeImpl 0.8095 9 7
o.s.p.t.i.declaration.ConstantDeclarationTreeImpl 0.75 6 4
o.s.p.t.i.declaration.TraitPrecedenceTreeImpl 0.7714 7 5
o.s.p.t.i.declaration.ReturnTypeClauseTreeImpl 0.7333 5 3
o.s.p.t.i.declaration.ParameterListTreeImpl 0.75 6 4
o.s.p.parser.T..$Tuple 0.5 2 2
o.s.p.parser.PHPNodeBuilder 0.75 2 2
o.s.p.parser.PHPParser 0 2 0
o.s.p.parser.LexicalConstant 0 0 39
o.s.p.parser.PHPParserBuilder 0 0 0
o.s.p.parser.P..$LineColumnValue 0 0 3
o.s.p.parser.P..$InternalSyntaxSpacing 0 4 0
o.s.p.parser.TreeFactory 1 159 2
o.s.p.parser.PHPGrammar 0.0461 152 2
o.s.p.p.a.cfg.PhpCfgBranchingBlock 0.5333 5 3
o.s.p.p.a.cfg.PhpCfgBlock 0.75 6 4
o.s.p.p.a.cfg.C..$TryBodyEnd 0 0 2
o.s.p.p.a.cfg.PhpCfgEndBlock 0 4 0
o.s.p.p.a.cfg.C..$ForwardingBlock 0.6667 3 1
o.s.p.p.a.cfg.ControlFlowGraph 0.8333 3 6
o.s.p.p.a.cfg.C..$Breakable 0 0 2
o.s.p.p.a.cfg.ControlFlowGraphBuilder 0 0 8
o.s.p.t.i.lexical.InternalSyntaxTrivia 0.9077 13 5
o.s.p.t.i.lexical.InternalSyntaxToken 0.9236 16 9
o.s.p.p.a.tests.TestIssue 0.7111 15 3
o.s.p.p.a.tests.PhpTestFile 0.5 4 2
o.s.p.p.a.tests.PHPCheckTest 0 0 1
o.s.p.p.a.tests.PHPCheckVerifier 0 0 2
o.s.p.p.a.tests.P..$Tuple 0 0 10
o.s.p.p.a.tests.T..$Location 0.8 4 5
o.s.p.t.visitors.PHPCheckContext 0.8 10 5
o.s.p.t.visitors.AssignmentExpressionVisitor 0.25 2 2
o.s.p.t.visitors.LegacyIssue 0.75 7 4
o.s.p.compat.P..$InputFileIOException 0 0 0
o.s.p.compat.PhpFileImpl 0 4 1
o.s.php.PHPAnalyzer 0.619 7 6
o.s.p.tree.TreeUtils 0 0 0
o.s.p.t.symbols.TypeSymbolImpl 0.6667 3 3
o.s.p.t.symbols.MemberSymbolImpl 0 1 1
o.s.p.t.symbols.Scope 0.7714 7 5
o.s.p.t.symbols.SymbolTableImpl 0.8333 6 4
o.s.p.t.symbols.S..$ClassMemberUsageState 0 0 4
o.s.p.t.symbols.DeclarationVisitor 0.25 4 3
o.s.p.t.symbols.MemberQualifiedName 0.125 4 2
o.s.p.t.symbols.SymbolImpl 0.8182 11 7
o.s.p.t.symbols.UndeclaredSymbol 0 0 0
o.s.p.t.symbols.SymbolQualifiedName 0.5 4 2
o.s.p.t.symbols.SymbolVisitor 0.8913 23 10
o.s.p.highlighter.SyntaxHighlighterVisitor 1 5 3
o.s.p.highlighter.SymbolHighlighter 0 1 0
o.s.p.utils.SourceBuilder 1 2 3
o.s.p.utils.ExpectedIssuesParser 0 1 1
o.s.p.metrics.C..$CpdToken 0.5 2 2
o.s.p.metrics.MetricsVisitor 0.8333 3 6
o.s.p.metrics.C..$1CompilationUnitVisitor 1 3 1
o.s.p.metrics.C..$CognitiveComplexity 0.6667 2 3
o.s.p.metrics.CounterVisitor 0.7 5 4
o.s.p.metrics.LineVisitor 0.25 4 1
o.s.p.metrics.CommentLineVisitor 0.375 4 2
o.s.p.metrics.ExecutableLineVisitor 0.3333 3 1
o.s.p.metrics.ComplexityVisitor 1 11 1
o.s.p.metrics.C..$ShallowComplexityVisitor 0 3 1
o.s.p.metrics.C..$ComplexityComponent 0.5 2 2
o.s.p.metrics.CpdVisitor 0.9524 7 3
o.s.p.metrics.CognitiveComplexityVisitor 0.6667 17 3
o.s.p.metrics.FileMeasures 0.9 20 11
o.s.p.t.i.expression.ExpandableStringCharactersTreeImpl 0.6 5 2
o.s.p.t.i.expression.ExpandableStringLiteralTreeImpl 0.75 7 4
o.s.p.t.i.expression.H..$HeredocBody 0.75 4 1
o.s.p.t.i.expression.MemberAccessTreeImpl 0.7188 8 4
o.s.p.t.i.expression.LexicalVariablesTreeImpl 0.7714 7 5
o.s.p.t.i.expression.LiteralTreeImpl 0.6 5 2
o.s.p.t.i.expression.SpreadArgumentTreeImpl 0.7333 5 3
o.s.p.t.i.expression.PostfixExpressionTreeImpl 0.6667 5 3
o.s.p.t.i.expression.AssignmentByReferenceTreeImpl 0.75 8 5
o.s.p.t.i.expression.YieldExpressionTreeImpl 0.7917 8 6
o.s.p.t.i.expression.HeredocStringLiteralTreeImpl 0.75 7 4
o.s.p.t.i.expression.AnonymousClassTreeImpl 0.8722 15 12
o.s.p.t.i.expression.NameIdentifierTreeImpl 0.8 5 2
o.s.p.t.i.expression.FunctionCallTreeImpl 0.775 8 5
o.s.p.t.i.expression.ParenthesizedExpressionTreeImpl 0.75 6 4
o.s.p.t.i.expression.ArrayAssignmentPatternElementTreeImpl 0.75 6 4
o.s.p.t.i.expression.ArrayInitializerFunctionTreeImpl 0.7714 7 5
o.s.p.t.i.expression.ArrayInitializerBracketTreeImpl 0.75 6 4
o.s.p.t.i.expression.ComputedVariableTreeImpl 0.75 6 4
o.s.p.t.i.expression.AssignmentExpressionTreeImpl 0.7143 7 4
o.s.p.t.i.expression.CompoundVariableTreeImpl 0.75 6 4
o.s.p.t.i.expression.ListExpressionTreeImpl 0.775 8 5
o.s.p.t.i.expression.PrefixExpressionTreeImpl 0.6667 5 3
o.s.p.t.i.expression.NewExpressionTreeImpl 0.7333 5 3
o.s.p.t.i.expression.BinaryExpressionTreeImpl 0.7083 6 4
o.s.p.t.i.expression.PrefixedCastExpressionTreeImpl 0.7333 5 3
o.s.p.t.i.expression.VariableVariableTreeImpl 0.7333 5 3
o.s.p.t.i.expression.ArrayPairTreeImpl 0.75 6 4
o.s.p.t.i.expression.FunctionExpressionTreeImpl 0.825 10 8
o.s.p.t.i.expression.ArrayAccessTreeImpl 0.775 8 5
o.s.p.t.i.expression.ConditionalExpressionTreeImpl 0.7963 9 6
o.s.p.t.i.expression.ReferenceVariableTreeImpl 0.7333 5 3
o.s.p.t.i.expression.ArrayAssignmentPatternElements 0.6667 3 3
o.s.p.t.i.expression.ArrayAssignmentPatternTreeImpl 0.75 7 4
o.s.p.t.i.expression.CastExpressionTreeImpl 0.7714 7 5
o.s.p.t.impl.PHPTree 0.7778 9 1
o.s.p.t.impl.SeparatedListImpl 0.537 27 2
o.s.p.t.impl.S..$ElementAndSeparatorIterator 0.4 2 5
o.s.p.t.impl.ScriptTreeImpl 0.7333 5 3
o.s.p.t.impl.CompilationUnitTreeImpl 0.7333 5 3
o.s.p.t.impl.VariableIdentifierTreeImpl 0.75 6 2

Download XML.