logo

Back to index

OCC

Min: 0.0112, max: 0.8571, yellow zone: [0.4000 .. 0.6000].

Elements: 113, μ: 0.3286, σ: 0.1985, Var: 0.0394, defects: 27%.

Packages: 19, classes: 169.

Green: 34, yellow: 23, red: 112.

Class OCC n A Rw_total
o.s.p.cfg.L..$ReadWriteVisitor 0 6 2 0
o.s.p.cfg.L..$LiveVariables 0 5 6 0
o.s.p.cfg.L..$VariableUsage 0 2 2 0
o.s.p.cfg.LiveVariablesAnalysis 1 2 1 1 1
o.s.p.ini.P..$DirectiveImpl 0 3 3 0
o.s.p.ini.P..$PhpIniFileImpl 0 2 2 0
o.s.p.ini.BasePhpIniIssue 0.5 3 2 1 0.5
o.s.p.ini.PhpIniParser 0 2 0 0
o.s.p.p.a.visitors.PreciseIssue 0.3333 7 4 4 0.3333333333333333
o.s.p.p.a.visitors.IssueLocation 0.25 5 3 2 0.25
o.s.p.p.a.visitors.PHPVisitorCheck 0.0112 90 1 1 0.011235955056179775
o.s.p.p.a.visitors.PHPSubscriptionCheck 0.2 6 1 1 0.2
o.s.p.p.a.visitors.FileIssue 0.3333 4 3 1 0.3333333333333333
o.s.p.p.a.visitors.PHPCustomRulesDefinition 0 3 1 0
o.s.p.p.a.visitors.PHPTreeSubscriber 0 4 1 0
o.s.p.p.a.visitors.LineIssue 0.25 5 4 1 0.25
o.s.p.t.i.declaration.UseTraitDeclarationTreeImpl 0.125 9 7 6 0.125
o.s.p.t.i.declaration.ClassDeclarationTreeImpl 0.1538 14 11 13 0.15384615384615385
o.s.p.t.i.declaration.NamespaceNameTreeImpl 0.1818 12 6 5 0.18181818181818182
o.s.p.t.i.declaration.TraitAliasTreeImpl 0.1429 8 6 5 0.14285714285714285
o.s.p.t.i.declaration.ParameterListTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.declaration.ReturnTypeClauseTreeImpl 0.5 5 3 2 0.5
o.s.p.t.i.declaration.TraitPrecedenceTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.declaration.UseClauseTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.declaration.ClassPropertyDeclarationTreeImpl 0.1429 8 4 3 0.14285714285714285
o.s.p.t.i.declaration.ParameterTreeImpl 0.125 9 7 6 0.125
o.s.p.t.i.declaration.TraitMethodReferenceTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.declaration.FunctionDeclarationTreeImpl 0.125 9 7 6 0.125
o.s.p.t.i.declaration.BuiltInTypeTreeImpl 0.3333 4 2 1 0.3333333333333333
o.s.p.t.i.declaration.TypeTreeImpl 0.5 5 3 2 0.5
o.s.p.t.i.declaration.MethodDeclarationTreeImpl 0.1111 10 8 7 0.1111111111111111
o.s.p.t.i.declaration.ConstantDeclarationTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.F..$ForStatementHeader 0 8 8 0
o.s.p.t.i.statement.ForEachStatementTreeImpl 0.5 15 6 32 0.5
o.s.p.t.i.statement.CaseClauseTreeImpl 0.5 7 5 4 0.5
o.s.p.t.i.statement.WhileStatementTreeImpl 0.75 9 7 6 0.75
o.s.p.t.i.statement.DoWhileStatementTreeImpl 0.1429 8 6 5 0.14285714285714285
o.s.p.t.i.statement.ElseClauseTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.D..$DeclareStatementHead 0 4 4 0
o.s.p.t.i.statement.F..$ForEachStatementHeader 0 8 8 0
o.s.p.t.i.statement.UseStatementTreeImpl 0.1 11 9 8 0.1
o.s.p.t.i.statement.EmptyStatementImpl 0.3333 4 2 1 0.3333333333333333
o.s.p.t.i.statement.IfStatementTreeImpl 0.1 11 9 8 0.1
o.s.p.t.i.statement.DefaultClauseTreeImpl 0.6 6 4 3 0.6
o.s.p.t.i.statement.StaticStatementTreeImpl 0.6 6 4 3 0.6
o.s.p.t.i.statement.TryStatementTreeImpl 0.7143 8 6 5 0.7142857142857143
o.s.p.t.i.statement.InlineHTMLTreeImpl 0.3333 4 2 1 0.3333333333333333
o.s.p.t.i.statement.ExpressionListStatementTreeImpl 0.5 5 3 2 0.5
o.s.p.t.i.statement.EchoTagStatementTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.statement.UnsetVariableStatementTreeImpl 0.7143 8 6 5 0.7142857142857143
o.s.p.t.i.statement.CatchBlockTreeImpl 0.125 9 7 6 0.125
o.s.p.t.i.statement.SwitchStatementTreeImpl 0.8182 12 10 9 0.8181818181818182
o.s.p.t.i.statement.LabelTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.statement.GotoStatementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.DeclareStatementTreeImpl 0.4 11 6 14 0.4
o.s.p.t.i.statement.NamespaceStatementTreeImpl 0.125 9 7 6 0.125
o.s.p.t.i.statement.VariableDeclarationTreeImpl 0.6 6 4 3 0.6
o.s.p.t.i.statement.BreakStatementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.ThrowStatementTreeImpl 0.6 6 4 3 0.6
o.s.p.t.i.statement.ForStatementTreeImpl 0.5 15 6 32 0.5
o.s.p.t.i.statement.ContinueStatementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.GlobalStatementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.ReturnStatementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.BlockTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.statement.ElseifClauseTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.statement.ExpressionStatementTreeImpl 0.25 5 3 2 0.25
o.s.p.parser.P..$LineColumnValue NaN 0 3 0
o.s.p.parser.PHPParserBuilder NaN 0 0 0
o.s.p.parser.PHPParser 0 2 0 0
o.s.p.parser.TreeFactory 0 160 2 0
o.s.p.parser.PHPNodeBuilder 0 2 2 0
o.s.p.parser.T..$Tuple 0 2 2 0
o.s.p.parser.P..$InternalSyntaxSpacing 0 4 0 0
o.s.p.parser.LexicalConstant NaN 0 40 0
o.s.p.parser.PHPGrammar 1 154 2 11781 1
o.s.p.p.a.cfg.PhpCfgBranchingBlock 0.5 5 3 5 0.5
o.s.p.p.a.cfg.PhpCfgBlock 0.4 6 4 3 0.4
o.s.p.p.a.cfg.ControlFlowGraphBuilder NaN 0 8 0
o.s.p.p.a.cfg.ControlFlowGraph 0 3 6 0
o.s.p.p.a.cfg.PhpCfgEndBlock 0 4 0 0
o.s.p.p.a.cfg.C..$ForwardingBlock 0 3 1 0
o.s.p.p.a.cfg.C..$Breakable NaN 0 2 0
o.s.p.p.a.cfg.C..$TryBodyEnd NaN 0 2 0
o.s.p.t.i.lexical.InternalSyntaxTrivia 0.0833 13 5 1 0.08333333333333333
o.s.p.t.i.lexical.InternalSyntaxToken 0.1333 16 9 2 0.13333333333333333
o.s.p.p.a.tests.TestIssue 0.5714 15 3 38 0.5714285714285714
o.s.p.p.a.tests.T..$Location 0 4 5 0
o.s.p.p.a.tests.PHPCheckVerifier NaN 0 2 0
o.s.p.p.a.tests.PHPCheckTest NaN 0 1 0
o.s.p.p.a.tests.P..$Tuple NaN 0 10 0
o.s.p.p.a.tests.PhpTestFile 0.6667 4 2 3 0.6666666666666666
o.s.p.compat.P..$InputFileIOException NaN 0 0 0
o.s.p.compat.PhpFileImpl 1 4 1 6 1
o.s.p.t.visitors.AssignmentExpressionVisitor 1 2 2 1 1
o.s.p.t.visitors.LegacyIssue 0.3333 7 4 4 0.3333333333333333
o.s.p.t.visitors.PHPCheckContext 0.5556 10 5 15 0.5555555555555556
o.s.php.PHPAnalyzer 0.8571 8 7 18 0.8571428571428571
o.s.p.tree.TreeUtils NaN 0 0 0
o.s.p.t.symbols.S..$ClassMemberUsageState NaN 0 4 0
o.s.p.t.symbols.DeclarationVisitor 0.6667 4 3 5 0.6666666666666666
o.s.p.t.symbols.SymbolImpl 0.3 11 7 10 0.3
o.s.p.t.symbols.TypeSymbolImpl 0 3 3 0
o.s.p.t.symbols.UndeclaredSymbol NaN 0 0 0
o.s.p.t.symbols.MemberSymbolImpl 0 1 1 0
o.s.p.t.symbols.SymbolTableImpl 0.2 6 4 1 0.2
o.s.p.t.symbols.SymbolQualifiedName 1 4 2 6 1
o.s.p.t.symbols.Scope 0.3333 7 5 4 0.3333333333333333
o.s.p.t.symbols.MemberQualifiedName 1 4 2 6 1
o.s.p.t.symbols.SymbolVisitor 0.3636 23 10 41 0.36363636363636365
o.s.p.highlighter.SyntaxHighlighterVisitor 0 5 3 0
o.s.p.highlighter.SymbolHighlighter 0 1 0 0
o.s.p.utils.SourceBuilder 0 2 3 0
o.s.p.utils.ExpectedIssuesParser 0 1 1 0
o.s.p.metrics.ExecutableLineVisitor 0.5 3 1 1 0.5
o.s.p.metrics.CpdVisitor 0 7 3 0
o.s.p.metrics.ComplexityVisitor 0 11 1 0
o.s.p.metrics.CounterVisitor 0.75 5 4 4 0.75
o.s.p.metrics.C..$ShallowComplexityVisitor 1 3 1 3 1
o.s.p.metrics.CognitiveComplexityVisitor 0.8125 17 3 91 0.8125
o.s.p.metrics.FileMeasures 0.0769 14 7 7 0.07692307692307693
o.s.p.metrics.C..$ComplexityComponent 0 2 2 0
o.s.p.metrics.MetricsVisitor 0.5 3 4 1 0.5
o.s.p.metrics.CommentLineVisitor 1 4 2 4 1
o.s.p.metrics.LineVisitor 0.6667 4 1 3 0.6666666666666666
o.s.p.metrics.C..$CognitiveComplexity 0 2 3 0
o.s.p.metrics.C..$1CompilationUnitVisitor 0 3 1 0
o.s.p.metrics.C..$CpdToken 0 2 2 0
o.s.p.t.i.expression.ArrayAssignmentPatternElementTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.H..$HeredocBody 0 4 1 0
o.s.p.t.i.expression.VariableVariableTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.LexicalVariablesTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.expression.ArrayInitializerFunctionTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.expression.NameIdentifierTreeImpl 0.25 5 2 1 0.25
o.s.p.t.i.expression.ExpandableStringCharactersTreeImpl 0.5 5 2 3 0.5
o.s.p.t.i.expression.MemberAccessTreeImpl 0.2857 8 4 7 0.2857142857142857
o.s.p.t.i.expression.CastExpressionTreeImpl 0.1667 7 5 4 0.16666666666666666
o.s.p.t.i.expression.HeredocStringLiteralTreeImpl 0.6667 7 4 5 0.6666666666666666
o.s.p.t.i.expression.ArrayAccessTreeImpl 0.2857 8 5 6 0.2857142857142857
o.s.p.t.i.expression.SpreadArgumentTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.AssignmentExpressionTreeImpl 0.3333 7 4 5 0.3333333333333333
o.s.p.t.i.expression.PrefixExpressionTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.AssignmentByReferenceTreeImpl 0.4286 8 5 7 0.42857142857142855
o.s.p.t.i.expression.PrefixedCastExpressionTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.ReferenceVariableTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.LiteralTreeImpl 0.5 5 2 3 0.5
o.s.p.t.i.expression.NewExpressionTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.ParenthesizedExpressionTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.ArrayAssignmentPatternElements 0 3 3 0
o.s.p.t.i.expression.ArrayPairTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.ArrayInitializerBracketTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.FunctionCallTreeImpl 0.2857 8 5 6 0.2857142857142857
o.s.p.t.i.expression.PostfixExpressionTreeImpl 0.25 5 3 2 0.25
o.s.p.t.i.expression.CompoundVariableTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.ArrayAssignmentPatternTreeImpl 0.3333 7 4 5 0.3333333333333333
o.s.p.t.i.expression.ConditionalExpressionTreeImpl 0.25 9 6 7 0.25
o.s.p.t.i.expression.ExecutionOperatorTreeImpl 0.3333 4 2 1 0.3333333333333333
o.s.p.t.i.expression.YieldExpressionTreeImpl 0.1429 8 6 5 0.14285714285714285
o.s.p.t.i.expression.FunctionExpressionTreeImpl 0.1111 10 8 7 0.1111111111111111
o.s.p.t.i.expression.AnonymousClassTreeImpl 0.1429 15 12 15 0.14285714285714285
o.s.p.t.i.expression.ComputedVariableTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.ListExpressionTreeImpl 0.2857 8 5 6 0.2857142857142857
o.s.p.t.i.expression.BinaryExpressionTreeImpl 0.2 6 4 3 0.2
o.s.p.t.i.expression.ExpandableStringLiteralTreeImpl 0.3333 7 4 5 0.3333333333333333
o.s.p.t.impl.S..$ElementAndSeparatorIterator 1 2 5 1 1
o.s.p.t.impl.SeparatedListImpl 0.8462 27 2 254 0.8461538461538461
o.s.p.t.impl.VariableIdentifierTreeImpl 0.4 6 2 3 0.4
o.s.p.t.impl.CompilationUnitTreeImpl 0.25 5 3 2 0.25
o.s.p.t.impl.ScriptTreeImpl 0.5 5 3 2 0.5
o.s.p.t.impl.PHPTree 0.125 9 1 1 0.125

Download XML.