logo

Back to index

MMAC

Min: 0.0091, max: 0.3333, yellow zone: [0.4000 .. 0.6000].

Elements: 14, μ: 0.0659, σ: 0.0939, Var: 0.0088, defects: 14%.

Packages: 19, classes: 169.

Green: 34, yellow: 1, red: 134.

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

Download XML.