logo

Back to index

PCC

Min: 0.0526, max: 0.7500, yellow zone: [0.4000 .. 0.6000].

Elements: 18, μ: 0.3310, σ: 0.2107, Var: 0.0444, defects: 28%.

Packages: 19, classes: 167.

Green: 151, yellow: 2, red: 14.

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

Download XML.