Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(wip) #49

Closed
wants to merge 13 commits into from
Closed

(wip) #49

wants to merge 13 commits into from

Conversation

lucassabreu
Copy link
Owner

No description provided.

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% | Methods: 81.64%
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24%72.22%100.00%
   AbstractRenderer.php100.00%100.00%100.00%
   AbstractRule.php85.11%72.00%100.00%
   AbstractWriter.php100.00%100.00%100.00%
   PHPMD.php85.29%75.00%100.00%
   Parser.php75.00%81.25%100.00%
   ParserFactory.php91.67%71.43%100.00%
   ProcessingError.php100.00%100.00%100.00%
   Report.php100.00%100.00%100.00%
   Rule.php100.00%100.00%100.00%
   RuleClassFileNotFoundException.php-100.00%100.00%
   RuleClassNotFoundException.php-100.00%100.00%
   RuleSet.php89.47%71.43%100.00%
   RuleSetFactory.php96.55%86.36%100.00%
   RuleSetNotFoundException.php-100.00%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%100.00%
   BaselineMode.php100.00%100.00%100.00%
   BaselineSet.php100.00%100.00%100.00%
   BaselineSetFactory.php100.00%100.00%100.00%
   BaselineValidator.php100.00%100.00%100.00%
   ViolationBaseline.php100.00%100.00%100.00%
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%100.00%
   RuleClassNotFoundException.php100.00%100.00%100.00%
   RuleSetNotFoundException.php100.00%100.00%100.00%
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%100.00%
   AbstractCallableNode.php100.00%100.00%100.00%
   AbstractNode.php100.00%100.00%100.00%
   AbstractTypeNode.php100.00%100.00%100.00%
   Annotation.php100.00%100.00%100.00%
   Annotations.php100.00%100.00%100.00%
   ClassNode.php100.00%100.00%100.00%
   EnumNode.php100.00%100.00%100.00%
   FunctionNode.php60.00%50.00%100.00%
   InterfaceNode.php100.00%100.00%100.00%
   MethodNode.php97.14%87.50%100.00%
   TraitNode.php100.00%100.00%100.00%
src/main/php/PHPMD/Renderer
   AnsiRenderer.php--100.00%
   BaselineRenderer.php100.00%100.00%100.00%
   CheckStyleRenderer.php--100.00%
   GitHubRenderer.php100.00%100.00%100.00%
   GitLabRenderer.php100.00%100.00%100.00%
   HTMLRenderer.php86.51%63.64%100.00%
   JSONRenderer.php100.00%100.00%100.00%
   RendererFactory.php100.00%100.00%100.00%
   SARIFRenderer.php98.36%80.00%100.00%
   TextRenderer.php100.00%100.00%100.00%
   XMLRenderer.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php89.19%80.00%100.00%
   ClassAware.php100.00%100.00%100.00%
   CyclomaticComplexity.php100.00%100.00%100.00%
   EnumAware.php100.00%100.00%100.00%
   ExcessivePublicCount.php100.00%100.00%100.00%
   FunctionAware.php100.00%100.00%100.00%
   InterfaceAware.php100.00%100.00%100.00%
   MethodAware.php100.00%100.00%100.00%
   TraitAware.php100.00%100.00%100.00%
   UnusedFormalParameter.php100.00%100.00%100.00%
   UnusedLocalVariable.php97.26%84.62%100.00%
   UnusedPrivateField.php97.92%88.89%100.00%
   UnusedPrivateMethod.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00%100.00%100.00%
   DuplicatedArrayKey.php94.12%75.00%100.00%
   ElseExpression.php90.91%66.67%100.00%
   ErrorControlOperator.php100.00%100.00%100.00%
   IfStatementAssignment.php95.45%80.00%100.00%
   MissingImport.php94.12%66.67%100.00%
   StaticAccess.php100.00%100.00%100.00%
   UndefinedVariable.php92.59%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php--100.00%
   CamelCaseMethodName.php100.00%100.00%100.00%
   CamelCaseParameterName.php100.00%100.00%100.00%
   CamelCasePropertyName.php100.00%100.00%100.00%
   CamelCaseVariableName.php94.12%50.00%100.00%
   Superglobals.php--100.00%
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.75%80.00%100.00%
   CouplingBetweenObjects.php100.00%100.00%100.00%
   DepthOfInheritance.php93.33%-100.00%
   DevelopmentCodeFragment.php100.00%100.00%100.00%
   EmptyCatchBlock.php100.00%100.00%100.00%
   EvalExpression.php100.00%100.00%100.00%
   ExitExpression.php100.00%100.00%100.00%
   GotoStatement.php100.00%100.00%100.00%
   LongClass.php100.00%100.00%100.00%
   LongMethod.php100.00%100.00%100.00%
   LongParameterList.php100.00%100.00%100.00%
   NpathComplexity.php100.00%100.00%100.00%
   NumberOfChildren.php100.00%100.00%100.00%
   TooManyFields.php100.00%100.00%100.00%
   TooManyMethods.php100.00%100.00%100.00%
   TooManyPublicMethods.php100.00%100.00%100.00%
   WeightedMethodCount.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86%80.00%100.00%
   ConstantNamingConventions.php100.00%100.00%100.00%
   ConstructorWithNameAsEnclosingClass.php90.00%-100.00%
   LongClassName.php100.00%100.00%100.00%
   LongVariable.php100.00%100.00%100.00%
   ShortClassName.php100.00%100.00%100.00%
   ShortMethodName.php100.00%100.00%100.00%
   ShortVariable.php97.22%92.31%100.00%
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%100.00%
   CommandLineOptions.php90.91%75.00%100.00%
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%100.00%
   Strings.php100.00%100.00%100.00%
src/main/php/PHPMD/Writer
   StreamWriter.php83.33%75.00%100.00%

valid file with inexistent base-file

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.pdepend.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███░░░░░░░░░░░░░░░░░░░░ │  7.8%
  10% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.2%
  20% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.4%
  30% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.8%
  40% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.4%
  50% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.6%
  60% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.8%
  70% │ █░░░░░░░░░░░░░░░░░░░░░░ │  2.5%
  80% │ ███░░░░░░░░░░░░░░░░░░░░ │  7.8%
  90% │ ███░░░░░░░░░░░░░░░░░░░░ │  6.2%
 100% │ ███████████████████████ │ 70.4%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 83.89% | Methods: 77.24%
FilesLinesMethodsBranches
src/main/php/PDepend
   Application.php65.71%72.73%100.00%
   Engine.php95.45%89.29%100.00%
src/main/php/PDepend/DependencyInjection/Compiler
   ProcessListenerPass.php75.00%-100.00%
src/main/php/PDepend/DependencyInjection
   Configuration.php94.59%50.00%100.00%
   ExtensionManager.php9.09%50.00%100.00%
   PdependExtension.php72.73%66.67%100.00%
   TreeBuilder.php71.43%66.67%100.00%
src/main/php/PDepend/Input
   CompositeFilter.php100.00%100.00%100.00%
   ExcludePathFilter.php100.00%100.00%100.00%
   ExtensionFilter.php80.00%50.00%100.00%
   Iterator.php100.00%100.00%100.00%
src/main/php/PDepend/Metrics
   AbstractCachingAnalyzer.php85.71%80.00%100.00%
   AnalyzerIterator.php100.00%100.00%100.00%
src/main/php/PDepend/Metrics/Analyzer
   ClassDependencyAnalyzer.php84.72%83.33%100.00%
   ClassLevelAnalyzer.php98.95%91.67%100.00%
   CodeRankAnalyzer.php95.35%75.00%100.00%
   CouplingAnalyzer.php100.00%100.00%100.00%
   CrapIndexAnalyzer.php100.00%100.00%100.00%
   CyclomaticComplexityAnalyzer.php100.00%100.00%100.00%
   DependencyAnalyzer.php76.72%76.47%100.00%
   HalsteadAnalyzer.php81.93%85.71%100.00%
   HierarchyAnalyzer.php97.92%87.50%100.00%
   InheritanceAnalyzer.php100.00%100.00%100.00%
   MaintainabilityIndexAnalyzer.php100.00%100.00%100.00%
   NPathComplexityAnalyzer.php100.00%100.00%100.00%
   NodeCountAnalyzer.php100.00%100.00%100.00%
   NodeLocAnalyzer.php92.03%50.00%100.00%
src/main/php/PDepend/Metrics/Analyzer/CodeRankAnalyzer
   InheritanceStrategy.php100.00%100.00%100.00%
   MethodStrategy.php100.00%100.00%100.00%
   PropertyStrategy.php100.00%100.00%100.00%
   StrategyFactory.php30.00%-100.00%
src/main/php/PDepend/Report
   ReportGeneratorFactory.php100.00%100.00%100.00%
src/main/php/PDepend/Report/Dependencies
   Xml.php91.89%75.00%100.00%
src/main/php/PDepend/Report/Jdepend
   Chart.php89.06%71.43%100.00%
   Xml.php7.00%25.00%100.00%
src/main/php/PDepend/Report/Overview
   Pyramid.php97.65%85.71%100.00%
src/main/php/PDepend/Report/Summary
   Xml.php94.55%64.29%100.00%
src/main/php/PDepend/Source/AST
   ASTAllocationExpression.php100.00%100.00%100.00%
   ASTAnonymousClass.php86.11%90.00%100.00%
   ASTArguments.php80.00%66.67%100.00%
   ASTArray.php100.00%100.00%100.00%
   ASTArrayElement.php100.00%100.00%100.00%
   ASTArrayIndexExpression.php100.00%100.00%100.00%
   ASTArtifactList.php100.00%100.00%100.00%
   ASTAssignmentExpression.php100.00%100.00%100.00%
   ASTBooleanAndExpression.php100.00%100.00%100.00%
   ASTBooleanOrExpression.php100.00%100.00%100.00%
   ASTBreakStatement.php100.00%100.00%100.00%
   ASTCastExpression.php100.00%100.00%100.00%
   ASTCatchStatement.php100.00%100.00%100.00%
   ASTClass.php11.11%-100.00%
   ASTClassFqnPostfix.php100.00%100.00%100.00%
   ASTClassOrInterfaceRecursiveInheritanceException.php100.00%100.00%100.00%
   ASTClassOrInterfaceReference.php100.00%100.00%100.00%
   ASTClassOrInterfaceReferenceIterator.php100.00%100.00%100.00%
   ASTClassReference.php100.00%100.00%100.00%
   ASTCloneExpression.php100.00%100.00%100.00%
   ASTClosure.php60.00%85.71%100.00%
   ASTComment.php100.00%100.00%100.00%
   ASTCompilationUnit.php97.30%94.44%100.00%
   ASTCompilationUnitNotFoundException.php100.00%100.00%100.00%
   ASTCompoundExpression.php100.00%100.00%100.00%
   ASTCompoundVariable.php100.00%100.00%100.00%
   ASTConditionalExpression.php100.00%100.00%100.00%
   ASTConstant.php100.00%100.00%100.00%
   ASTConstantDeclarator.php100.00%100.00%100.00%
   ASTConstantDefinition.php100.00%100.00%100.00%
   ASTConstantPostfix.php100.00%100.00%100.00%
   ASTContinueStatement.php100.00%100.00%100.00%
   ASTDeclareStatement.php100.00%100.00%100.00%
   ASTDoWhileStatement.php100.00%100.00%100.00%
   ASTEchoStatement.php100.00%100.00%100.00%
   ASTElseIfStatement.php100.00%100.00%100.00%
   ASTEvalExpression.php100.00%100.00%100.00%
   ASTExitExpression.php100.00%100.00%100.00%
   ASTExpression.php100.00%100.00%100.00%
   ASTFieldDeclaration.php75.00%80.00%100.00%
   ASTFinallyStatement.php100.00%100.00%100.00%
   ASTForInit.php100.00%100.00%100.00%
   ASTForStatement.php100.00%100.00%100.00%
   ASTForUpdate.php100.00%100.00%100.00%
   ASTForeachStatement.php100.00%100.00%100.00%
   ASTFormalParameter.php47.83%60.00%100.00%
   ASTFormalParameters.php100.00%100.00%100.00%
   ASTFunction.php100.00%100.00%100.00%
   ASTFunctionPostfix.php100.00%100.00%100.00%
   ASTGlobalStatement.php100.00%100.00%100.00%
   ASTGotoStatement.php100.00%100.00%100.00%
   ASTHeredoc.php100.00%100.00%100.00%
   ASTIdentifier.php100.00%100.00%100.00%
   ASTIfStatement.php100.00%100.00%100.00%
   ASTIncludeExpression.php100.00%100.00%100.00%
   ASTInstanceOfExpression.php100.00%100.00%100.00%
   ASTInterface.php100.00%100.00%100.00%
   ASTIssetExpression.php100.00%100.00%100.00%
   ASTLabelStatement.php100.00%100.00%100.00%
   ASTListExpression.php100.00%100.00%100.00%
   ASTLiteral.php100.00%100.00%100.00%
   ASTLogicalAndExpression.php100.00%100.00%100.00%
   ASTLogicalOrExpression.php100.00%100.00%100.00%
   ASTLogicalXorExpression.php100.00%100.00%100.00%
   ASTMemberPrimaryPrefix.php100.00%100.00%100.00%
   ASTMethod.php100.00%100.00%100.00%
   ASTMethodPostfix.php100.00%100.00%100.00%
   ASTNamespace.php100.00%100.00%100.00%
   ASTParameter.php53.03%94.74%100.00%
   ASTParentReference.php100.00%100.00%100.00%
   ASTPostfixExpression.php100.00%100.00%100.00%
   ASTPreDecrementExpression.php100.00%100.00%100.00%
   ASTPreIncrementExpression.php100.00%100.00%100.00%
   ASTPrintExpression.php100.00%100.00%100.00%
   ASTProperty.php70.37%85.71%100.00%
   ASTPropertyPostfix.php100.00%100.00%100.00%
   ASTRequireExpression.php100.00%100.00%100.00%
   ASTReturnStatement.php100.00%100.00%100.00%
   ASTScalarType.php50.00%50.00%100.00%
   ASTScope.php100.00%100.00%100.00%
   ASTScopeStatement.php100.00%100.00%100.00%
   ASTSelfReference.php100.00%100.00%100.00%
   ASTShiftLeftExpression.php100.00%100.00%100.00%
   ASTShiftRightExpression.php100.00%100.00%100.00%
   ASTStatement.php100.00%100.00%100.00%
   ASTStaticReference.php100.00%100.00%100.00%
   ASTStaticVariableDeclaration.php100.00%100.00%100.00%
   ASTString.php100.00%100.00%100.00%
   ASTStringIndexExpression.php100.00%100.00%100.00%
   ASTSwitchLabel.php100.00%100.00%100.00%
   ASTSwitchStatement.php100.00%100.00%100.00%
   ASTThrowStatement.php100.00%100.00%100.00%
   ASTTrait.php77.78%60.00%100.00%
   ASTTraitAdaptation.php100.00%100.00%100.00%
   ASTTraitAdaptationAlias.php100.00%100.00%100.00%
   ASTTraitAdaptationPrecedence.php100.00%100.00%100.00%
   ASTTraitMethodCollisionException.php100.00%100.00%100.00%
   ASTTraitReference.php100.00%100.00%100.00%
   ASTTraitUseStatement.php98.00%83.33%100.00%
   ASTTryStatement.php100.00%100.00%100.00%
   ASTType.php75.00%75.00%100.00%
   ASTTypeArray.php100.00%100.00%100.00%
   ASTTypeCallable.php100.00%100.00%100.00%
   ASTTypeIterable.php100.00%100.00%100.00%
   ASTUnaryExpression.php100.00%100.00%100.00%
   ASTUnsetStatement.php100.00%100.00%100.00%
   ASTValue.php100.00%100.00%100.00%
   ASTVariable.php100.00%100.00%100.00%
   ASTVariableDeclarator.php100.00%100.00%100.00%
   ASTVariableVariable.php100.00%100.00%100.00%
   ASTWhileStatement.php100.00%100.00%100.00%
Table truncated to fit comment

valid file with valid base-file

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.base.xml

Cover ┌─────────────────────────────────────────────────────────────────────────────┐ Freq.
   0% │ ████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  7.9%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  1.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  2.0%
  80% │ ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  3.0%
  90% │ ██████████████▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 13.9%
 100% │ ████████████████████████████████████████████████████████████████████████▒▒▒ │ 72.3%
      └─────────────────────────────────────────────────────────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 88.03% 🔽 | Methods: 81.01% 🔽
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php87.76%72.22%100.00%
   AbstractRenderer.php100.00%100.00%100.00%
   AbstractRule.php80.00%72.00%100.00%
   PHPMD.php90.32%75.00%100.00%
   Parser.php89.19%92.86%100.00%
   ParserFactory.php90.63%71.43%100.00%
   ProcessingError.php100.00%100.00%100.00%
   Report.php100.00%100.00%100.00%
   RuleSet.php87.10%71.43%100.00%
   RuleSetFactory.php96.32%86.36%100.00%
   RuleViolation.php73.33%33.33%100.00%
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%100.00%
   BaselineSet.php100.00%100.00%100.00%
   BaselineSetFactory.php100.00%100.00%100.00%
   BaselineValidator.php100.00%100.00%100.00%
   ViolationBaseline.php100.00%100.00%100.00%
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%100.00%
   RuleClassNotFoundException.php100.00%100.00%100.00%
   RuleSetNotFoundException.php100.00%100.00%100.00%
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%100.00%
   AbstractCallableNode.php100.00%100.00%100.00%
   AbstractNode.php100.00%100.00%100.00%
   AbstractTypeNode.php100.00%100.00%100.00%
   Annotation.php100.00%100.00%100.00%
   Annotations.php100.00%100.00%100.00%
   ClassNode.php100.00%100.00%100.00%
   FunctionNode.php50.00%50.00%100.00%
   InterfaceNode.php100.00%100.00%100.00%
   MethodNode.php100.00%100.00%100.00%
   TraitNode.php100.00%100.00%100.00%
src/main/php/PHPMD/Renderer
   BaselineRenderer.php100.00%100.00%100.00%
   GitHubRenderer.php100.00%100.00%100.00%
   HTMLRenderer.php85.71%63.64%100.00%
   JSONRenderer.php100.00%100.00%100.00%
   RendererFactory.php100.00%100.00%100.00%
   SARIFRenderer.php98.36%80.00%100.00%
   TextRenderer.php100.00%100.00%100.00%
   XMLRenderer.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php87.32%69.23%100.00%
   CyclomaticComplexity.php100.00%100.00%100.00%
   ExcessivePublicCount.php100.00%100.00%100.00%
   UnusedFormalParameter.php100.00%100.00%100.00%
   UnusedLocalVariable.php96.92%84.62%100.00%
   UnusedPrivateField.php97.67%88.89%100.00%
   UnusedPrivateMethod.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/CleanCode
   DuplicatedArrayKey.php84.38%50.00%100.00%
   ElseExpression.php90.00%66.67%100.00%
   ErrorControlOperator.php100.00%100.00%100.00%
   IfStatementAssignment.php95.00%80.00%100.00%
   MissingImport.php93.75%66.67%100.00%
   StaticAccess.php100.00%100.00%100.00%
   UndefinedVariable.php91.30%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseMethodName.php100.00%100.00%100.00%
   CamelCaseParameterName.php100.00%100.00%100.00%
   CamelCasePropertyName.php100.00%100.00%100.00%
   CamelCaseVariableName.php93.75%50.00%100.00%
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.33%80.00%100.00%
   CouplingBetweenObjects.php100.00%100.00%100.00%
   DepthOfInheritance.php92.86%-100.00%
   DevelopmentCodeFragment.php100.00%100.00%100.00%
   EmptyCatchBlock.php100.00%100.00%100.00%
   EvalExpression.php100.00%100.00%100.00%
   ExitExpression.php100.00%100.00%100.00%
   GotoStatement.php100.00%100.00%100.00%
   LongClass.php100.00%100.00%100.00%
   LongMethod.php100.00%100.00%100.00%
   LongParameterList.php100.00%100.00%100.00%
   NpathComplexity.php100.00%100.00%100.00%
   NumberOfChildren.php100.00%100.00%100.00%
   TooManyFields.php100.00%100.00%100.00%
   TooManyMethods.php100.00%100.00%100.00%
   TooManyPublicMethods.php100.00%100.00%100.00%
   WeightedMethodCount.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php100.00%100.00%100.00%
   ConstantNamingConventions.php100.00%100.00%100.00%
   ConstructorWithNameAsEnclosingClass.php88.89%-100.00%
   LongClassName.php100.00%100.00%100.00%
   LongVariable.php100.00%100.00%100.00%
   ShortClassName.php100.00%100.00%100.00%
   ShortMethodName.php100.00%100.00%100.00%
   ShortVariable.php96.92%92.31%100.00%
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%100.00%
   CommandLineOptions.php71.43%77.42%100.00%
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%100.00%
   Strings.php100.00%100.00%100.00%
src/main/php/PHPMD/Writer
   StreamWriter.php80.00%75.00%100.00%

valid file with valid base-file, with custom chart-size

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

⚠️ Minimum line coverage is 99.30%, currently it is 90.38%

Cover ┌─────────────────────────┐ Freq.
   0% │ ███░░░░░░░░░░░░░░░░░░░░ │  6.7%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ █░░░░░░░░░░░░░░░░░░░░░░ │  2.9%
  90% │ ██████░░░░░░░░░░░░░░░░░ │ 16.2%
 100% │ ███████████████████████ │ 73.3%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24%72.22%100.00%
   AbstractRenderer.php100.00%100.00%100.00%
   AbstractRule.php85.11%72.00%100.00%
   AbstractWriter.php100.00%100.00%100.00%
   PHPMD.php85.29%75.00%100.00%
   Parser.php75.00%81.25%100.00%
   ParserFactory.php91.67%71.43%100.00%
   ProcessingError.php100.00%100.00%100.00%
   Report.php100.00%100.00%100.00%
   Rule.php100.00%100.00%100.00%
   RuleClassFileNotFoundException.php-100.00%100.00%
   RuleClassNotFoundException.php-100.00%100.00%
   RuleSet.php89.47%71.43%100.00%
   RuleSetFactory.php96.55%86.36%100.00%
   RuleSetNotFoundException.php-100.00%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%100.00%
   BaselineMode.php100.00%100.00%100.00%
   BaselineSet.php100.00%100.00%100.00%
   BaselineSetFactory.php100.00%100.00%100.00%
   BaselineValidator.php100.00%100.00%100.00%
   ViolationBaseline.php100.00%100.00%100.00%
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%100.00%
   RuleClassNotFoundException.php100.00%100.00%100.00%
   RuleSetNotFoundException.php100.00%100.00%100.00%
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%100.00%
   AbstractCallableNode.php100.00%100.00%100.00%
   AbstractNode.php100.00%100.00%100.00%
   AbstractTypeNode.php100.00%100.00%100.00%
   Annotation.php100.00%100.00%100.00%
   Annotations.php100.00%100.00%100.00%
   ClassNode.php100.00%100.00%100.00%
   EnumNode.php100.00%100.00%100.00%
   FunctionNode.php60.00%50.00%100.00%
   InterfaceNode.php100.00%100.00%100.00%
   MethodNode.php97.14%87.50%100.00%
   TraitNode.php100.00%100.00%100.00%
src/main/php/PHPMD/Renderer
   AnsiRenderer.php--100.00%
   BaselineRenderer.php100.00%100.00%100.00%
   CheckStyleRenderer.php--100.00%
   GitHubRenderer.php100.00%100.00%100.00%
   GitLabRenderer.php100.00%100.00%100.00%
   HTMLRenderer.php86.51%63.64%100.00%
   JSONRenderer.php100.00%100.00%100.00%
   RendererFactory.php100.00%100.00%100.00%
   SARIFRenderer.php98.36%80.00%100.00%
   TextRenderer.php100.00%100.00%100.00%
   XMLRenderer.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php89.19%80.00%100.00%
   ClassAware.php100.00%100.00%100.00%
   CyclomaticComplexity.php100.00%100.00%100.00%
   EnumAware.php100.00%100.00%100.00%
   ExcessivePublicCount.php100.00%100.00%100.00%
   FunctionAware.php100.00%100.00%100.00%
   InterfaceAware.php100.00%100.00%100.00%
   MethodAware.php100.00%100.00%100.00%
   TraitAware.php100.00%100.00%100.00%
   UnusedFormalParameter.php100.00%100.00%100.00%
   UnusedLocalVariable.php97.26%84.62%100.00%
   UnusedPrivateField.php97.92%88.89%100.00%
   UnusedPrivateMethod.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00%100.00%100.00%
   DuplicatedArrayKey.php94.12%75.00%100.00%
   ElseExpression.php90.91%66.67%100.00%
   ErrorControlOperator.php100.00%100.00%100.00%
   IfStatementAssignment.php95.45%80.00%100.00%
   MissingImport.php94.12%66.67%100.00%
   StaticAccess.php100.00%100.00%100.00%
   UndefinedVariable.php92.59%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php--100.00%
   CamelCaseMethodName.php100.00%100.00%100.00%
   CamelCaseParameterName.php100.00%100.00%100.00%
   CamelCasePropertyName.php100.00%100.00%100.00%
   CamelCaseVariableName.php94.12%50.00%100.00%
   Superglobals.php--100.00%
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.75%80.00%100.00%
   CouplingBetweenObjects.php100.00%100.00%100.00%
   DepthOfInheritance.php93.33%-100.00%
   DevelopmentCodeFragment.php100.00%100.00%100.00%
   EmptyCatchBlock.php100.00%100.00%100.00%
   EvalExpression.php100.00%100.00%100.00%
   ExitExpression.php100.00%100.00%100.00%
   GotoStatement.php100.00%100.00%100.00%
   LongClass.php100.00%100.00%100.00%
   LongMethod.php100.00%100.00%100.00%
   LongParameterList.php100.00%100.00%100.00%
   NpathComplexity.php100.00%100.00%100.00%
   NumberOfChildren.php100.00%100.00%100.00%
   TooManyFields.php100.00%100.00%100.00%
   TooManyMethods.php100.00%100.00%100.00%
   TooManyPublicMethods.php100.00%100.00%100.00%
   WeightedMethodCount.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86%80.00%100.00%
   ConstantNamingConventions.php100.00%100.00%100.00%
   ConstructorWithNameAsEnclosingClass.php90.00%-100.00%
   LongClassName.php100.00%100.00%100.00%
   LongVariable.php100.00%100.00%100.00%
   ShortClassName.php100.00%100.00%100.00%
   ShortMethodName.php100.00%100.00%100.00%
   ShortVariable.php97.22%92.31%100.00%
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%100.00%
   CommandLineOptions.php90.91%75.00%100.00%
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%100.00%
   Strings.php100.00%100.00%100.00%
src/main/php/PHPMD/Writer
   StreamWriter.php83.33%75.00%100.00%

valid file with valid base-file, with blocking

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███░░░░░░░░░░░░░░░░░░░░ │  6.7%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ █░░░░░░░░░░░░░░░░░░░░░░ │  2.9%
  90% │ ██████░░░░░░░░░░░░░░░░░ │ 16.2%
 100% │ ███████████████████████ │ 73.3%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24%72.22%100.00%
   AbstractRenderer.php100.00%100.00%100.00%
   AbstractRule.php85.11%72.00%100.00%
   AbstractWriter.php100.00%100.00%100.00%
   PHPMD.php85.29%75.00%100.00%
   Parser.php75.00%81.25%100.00%
   ParserFactory.php91.67%71.43%100.00%
   ProcessingError.php100.00%100.00%100.00%
   Report.php100.00%100.00%100.00%
   Rule.php100.00%100.00%100.00%
   RuleClassFileNotFoundException.php-100.00%100.00%
   RuleClassNotFoundException.php-100.00%100.00%
   RuleSet.php89.47%71.43%100.00%
   RuleSetFactory.php96.55%86.36%100.00%
   RuleSetNotFoundException.php-100.00%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%100.00%
   BaselineMode.php100.00%100.00%100.00%
   BaselineSet.php100.00%100.00%100.00%
   BaselineSetFactory.php100.00%100.00%100.00%
   BaselineValidator.php100.00%100.00%100.00%
   ViolationBaseline.php100.00%100.00%100.00%
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%100.00%
   RuleClassNotFoundException.php100.00%100.00%100.00%
   RuleSetNotFoundException.php100.00%100.00%100.00%
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%100.00%
   AbstractCallableNode.php100.00%100.00%100.00%
   AbstractNode.php100.00%100.00%100.00%
   AbstractTypeNode.php100.00%100.00%100.00%
   Annotation.php100.00%100.00%100.00%
   Annotations.php100.00%100.00%100.00%
   ClassNode.php100.00%100.00%100.00%
   EnumNode.php100.00%100.00%100.00%
   FunctionNode.php60.00%50.00%100.00%
   InterfaceNode.php100.00%100.00%100.00%
   MethodNode.php97.14%87.50%100.00%
   TraitNode.php100.00%100.00%100.00%
src/main/php/PHPMD/Renderer
   AnsiRenderer.php--100.00%
   BaselineRenderer.php100.00%100.00%100.00%
   CheckStyleRenderer.php--100.00%
   GitHubRenderer.php100.00%100.00%100.00%
   GitLabRenderer.php100.00%100.00%100.00%
   HTMLRenderer.php86.51%63.64%100.00%
   JSONRenderer.php100.00%100.00%100.00%
   RendererFactory.php100.00%100.00%100.00%
   SARIFRenderer.php98.36%80.00%100.00%
   TextRenderer.php100.00%100.00%100.00%
   XMLRenderer.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php89.19%80.00%100.00%
   ClassAware.php100.00%100.00%100.00%
   CyclomaticComplexity.php100.00%100.00%100.00%
   EnumAware.php100.00%100.00%100.00%
   ExcessivePublicCount.php100.00%100.00%100.00%
   FunctionAware.php100.00%100.00%100.00%
   InterfaceAware.php100.00%100.00%100.00%
   MethodAware.php100.00%100.00%100.00%
   TraitAware.php100.00%100.00%100.00%
   UnusedFormalParameter.php100.00%100.00%100.00%
   UnusedLocalVariable.php97.26%84.62%100.00%
   UnusedPrivateField.php97.92%88.89%100.00%
   UnusedPrivateMethod.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00%100.00%100.00%
   DuplicatedArrayKey.php94.12%75.00%100.00%
   ElseExpression.php90.91%66.67%100.00%
   ErrorControlOperator.php100.00%100.00%100.00%
   IfStatementAssignment.php95.45%80.00%100.00%
   MissingImport.php94.12%66.67%100.00%
   StaticAccess.php100.00%100.00%100.00%
   UndefinedVariable.php92.59%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php--100.00%
   CamelCaseMethodName.php100.00%100.00%100.00%
   CamelCaseParameterName.php100.00%100.00%100.00%
   CamelCasePropertyName.php100.00%100.00%100.00%
   CamelCaseVariableName.php94.12%50.00%100.00%
   Superglobals.php--100.00%
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.75%80.00%100.00%
   CouplingBetweenObjects.php100.00%100.00%100.00%
   DepthOfInheritance.php93.33%-100.00%
   DevelopmentCodeFragment.php100.00%100.00%100.00%
   EmptyCatchBlock.php100.00%100.00%100.00%
   EvalExpression.php100.00%100.00%100.00%
   ExitExpression.php100.00%100.00%100.00%
   GotoStatement.php100.00%100.00%100.00%
   LongClass.php100.00%100.00%100.00%
   LongMethod.php100.00%100.00%100.00%
   LongParameterList.php100.00%100.00%100.00%
   NpathComplexity.php100.00%100.00%100.00%
   NumberOfChildren.php100.00%100.00%100.00%
   TooManyFields.php100.00%100.00%100.00%
   TooManyMethods.php100.00%100.00%100.00%
   TooManyPublicMethods.php100.00%100.00%100.00%
   WeightedMethodCount.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86%80.00%100.00%
   ConstantNamingConventions.php100.00%100.00%100.00%
   ConstructorWithNameAsEnclosingClass.php90.00%-100.00%
   LongClassName.php100.00%100.00%100.00%
   LongVariable.php100.00%100.00%100.00%
   ShortClassName.php100.00%100.00%100.00%
   ShortMethodName.php100.00%100.00%100.00%
   ShortVariable.php97.22%92.31%100.00%
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%100.00%
   CommandLineOptions.php90.91%75.00%100.00%
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%100.00%
   Strings.php100.00%100.00%100.00%
src/main/php/PHPMD/Writer
   StreamWriter.php83.33%75.00%100.00%

valid file with valid base-file, without blocking

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

⚠️ Minimum line coverage is 99.30%, currently it is 90.38%

Cover ┌─────────────────────────┐ Freq.
   0% │ ███░░░░░░░░░░░░░░░░░░░░ │  6.7%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ █░░░░░░░░░░░░░░░░░░░░░░ │  2.9%
  90% │ ██████░░░░░░░░░░░░░░░░░ │ 16.2%
 100% │ ███████████████████████ │ 73.3%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution

Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼

valid file with valid base-file, without table

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

⚠️ Minimum line coverage is 99.30%, currently it is 90.38%

Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼

valid file with valid base-file, without table or chart

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% | Methods: 81.64%
FilesLinesMethodsBranches
src/main/php/PHPMD
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Node
   FunctionNode.php60.00%50.00%100.00%
src/main/php/PHPMD/Renderer
   AnsiRenderer.php--100.00%
   CheckStyleRenderer.php--100.00%
   HTMLRenderer.php86.51%63.64%100.00%
src/main/php/PHPMD/Rule/CleanCode
   ElseExpression.php90.91%66.67%100.00%
   MissingImport.php94.12%66.67%100.00%
   UndefinedVariable.php92.59%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php--100.00%
   CamelCaseVariableName.php94.12%50.00%100.00%
   Superglobals.php--100.00%
src/main/php/PHPMD/Rule/Design
   DepthOfInheritance.php93.33%-100.00%
src/main/php/PHPMD/Rule/Naming
   ConstructorWithNameAsEnclosingClass.php90.00%-100.00%

clover file to comment - only below 70% methods coverage

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% | Methods: 81.64%
FilesLinesMethodsBranches
src/main/php/PHPMD
   Parser.php75.00%81.25%100.00%
   RuleClassFileNotFoundException.php-100.00%100.00%
   RuleClassNotFoundException.php-100.00%100.00%
   RuleSetNotFoundException.php-100.00%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Node
   FunctionNode.php60.00%50.00%100.00%
src/main/php/PHPMD/Renderer
   AnsiRenderer.php--100.00%
   CheckStyleRenderer.php--100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php--100.00%
   Superglobals.php--100.00%

clover file to comment - only below 80% lines coveraged

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% | Methods: 81.64%
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24%72.22%100.00%
   AbstractRenderer.php100.00%100.00%100.00%
   AbstractRule.php85.11%72.00%100.00%
   AbstractWriter.php100.00%100.00%100.00%
   PHPMD.php85.29%75.00%100.00%
   Parser.php75.00%81.25%100.00%
   ParserFactory.php91.67%71.43%100.00%
   ProcessingError.php100.00%100.00%100.00%
   Report.php100.00%100.00%100.00%
   Rule.php100.00%100.00%100.00%
   RuleClassFileNotFoundException.php-100.00%100.00%
   RuleClassNotFoundException.php-100.00%100.00%
   RuleSet.php89.47%71.43%100.00%
   RuleSetFactory.php96.55%86.36%100.00%
   RuleSetNotFoundException.php-100.00%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%100.00%
   BaselineMode.php100.00%100.00%100.00%
   BaselineSet.php100.00%100.00%100.00%
   BaselineSetFactory.php100.00%100.00%100.00%
   BaselineValidator.php100.00%100.00%100.00%
   ViolationBaseline.php100.00%100.00%100.00%
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%100.00%
   RuleClassNotFoundException.php100.00%100.00%100.00%
   RuleSetNotFoundException.php100.00%100.00%100.00%
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%100.00%
   AbstractCallableNode.php100.00%100.00%100.00%
   AbstractNode.php100.00%100.00%100.00%
   AbstractTypeNode.php100.00%100.00%100.00%
   Annotation.php100.00%100.00%100.00%
   Annotations.php100.00%100.00%100.00%
   ClassNode.php100.00%100.00%100.00%
   EnumNode.php100.00%100.00%100.00%
   FunctionNode.php60.00%50.00%100.00%
   InterfaceNode.php100.00%100.00%100.00%
   MethodNode.php97.14%87.50%100.00%
   TraitNode.php100.00%100.00%100.00%
src/main/php/PHPMD/Renderer
   BaselineRenderer.php100.00%100.00%100.00%
   GitHubRenderer.php100.00%100.00%100.00%
   GitLabRenderer.php100.00%100.00%100.00%
   HTMLRenderer.php86.51%63.64%100.00%
   JSONRenderer.php100.00%100.00%100.00%
   RendererFactory.php100.00%100.00%100.00%
   SARIFRenderer.php98.36%80.00%100.00%
   TextRenderer.php100.00%100.00%100.00%
   XMLRenderer.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php89.19%80.00%100.00%
   ClassAware.php100.00%100.00%100.00%
   CyclomaticComplexity.php100.00%100.00%100.00%
   EnumAware.php100.00%100.00%100.00%
   ExcessivePublicCount.php100.00%100.00%100.00%
   FunctionAware.php100.00%100.00%100.00%
   InterfaceAware.php100.00%100.00%100.00%
   MethodAware.php100.00%100.00%100.00%
   TraitAware.php100.00%100.00%100.00%
   UnusedFormalParameter.php100.00%100.00%100.00%
   UnusedLocalVariable.php97.26%84.62%100.00%
   UnusedPrivateField.php97.92%88.89%100.00%
   UnusedPrivateMethod.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00%100.00%100.00%
   DuplicatedArrayKey.php94.12%75.00%100.00%
   ElseExpression.php90.91%66.67%100.00%
   ErrorControlOperator.php100.00%100.00%100.00%
   IfStatementAssignment.php95.45%80.00%100.00%
   MissingImport.php94.12%66.67%100.00%
   StaticAccess.php100.00%100.00%100.00%
   UndefinedVariable.php92.59%64.29%100.00%
src/main/php/PHPMD/Rule/Controversial
   CamelCaseMethodName.php100.00%100.00%100.00%
   CamelCaseParameterName.php100.00%100.00%100.00%
   CamelCasePropertyName.php100.00%100.00%100.00%
   CamelCaseVariableName.php94.12%50.00%100.00%
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.75%80.00%100.00%
   CouplingBetweenObjects.php100.00%100.00%100.00%
   DevelopmentCodeFragment.php100.00%100.00%100.00%
   EmptyCatchBlock.php100.00%100.00%100.00%
   EvalExpression.php100.00%100.00%100.00%
   ExitExpression.php100.00%100.00%100.00%
   GotoStatement.php100.00%100.00%100.00%
   LongClass.php100.00%100.00%100.00%
   LongMethod.php100.00%100.00%100.00%
   LongParameterList.php100.00%100.00%100.00%
   NpathComplexity.php100.00%100.00%100.00%
   NumberOfChildren.php100.00%100.00%100.00%
   TooManyFields.php100.00%100.00%100.00%
   TooManyMethods.php100.00%100.00%100.00%
   TooManyPublicMethods.php100.00%100.00%100.00%
   WeightedMethodCount.php100.00%100.00%100.00%
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86%80.00%100.00%
   ConstantNamingConventions.php100.00%100.00%100.00%
   LongClassName.php100.00%100.00%100.00%
   LongVariable.php100.00%100.00%100.00%
   ShortClassName.php100.00%100.00%100.00%
   ShortMethodName.php100.00%100.00%100.00%
   ShortVariable.php97.22%92.31%100.00%
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%100.00%
   CommandLineOptions.php90.91%75.00%100.00%
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%100.00%
   Strings.php100.00%100.00%100.00%
src/main/php/PHPMD/Writer
   StreamWriter.php83.33%75.00%100.00%

clover file to comment - only above 10% methods coverage

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% | Methods: 81.64%
FilesLinesMethodsBranches
src/main/php/PHPMD
   Parser.php75.00%81.25%100.00%
   RuleViolation.php77.42%41.67%100.00%
src/main/php/PHPMD/Node
   FunctionNode.php60.00%50.00%100.00%

clover file to comment - only between 50% and 80% line coverage

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractRule.php85.11% 🔼72.00% ⏹️100.00% ⏹️
   PHPMD.php85.29% 🔽75.00% ⏹️100.00% ⏹️
   Parser.php75.00% 🔽81.25% 🔽100.00% ⏹️
src/main/php/PHPMD/Node
   EnumNode.php100.00% 🆕100.00% 🆕100.00% 🆕
   FunctionNode.php60.00% 🔼50.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Renderer
   GitLabRenderer.php100.00% 🆕100.00% 🆕100.00% 🆕
src/main/php/PHPMD/Rule
   EnumAware.php100.00% 🆕100.00% 🆕100.00% 🆕
   TraitAware.php100.00% 🆕100.00% 🆕100.00% 🆕
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00% 🔼100.00% 🔼100.00% ⏹️
   DuplicatedArrayKey.php94.12% 🔼75.00% 🔼100.00% ⏹️
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86% 🔽80.00% 🔽100.00% ⏹️
src/main/php/PHPMD/TextUI
   CommandLineOptions.php90.91% 🔼75.00% 🔽100.00% ⏹️

clover file to comment - only with percentage change

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24% 🔼72.22% ⏹️100.00% ⏹️
   AbstractRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   AbstractRule.php85.11% 🔼72.00% ⏹️100.00% ⏹️
   AbstractWriter.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   PHPMD.php85.29% 🔽75.00% ⏹️100.00% ⏹️
   Parser.php75.00% 🔽81.25% 🔽100.00% ⏹️
   ParserFactory.php91.67% 🔼71.43% ⏹️100.00% ⏹️
   ProcessingError.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   Report.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   Rule.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   RuleClassFileNotFoundException.php- ⏹️100.00% ⏹️100.00% ⏹️
   RuleClassNotFoundException.php- ⏹️100.00% ⏹️100.00% ⏹️
   RuleSet.php89.47% 🔼71.43% ⏹️100.00% ⏹️
   RuleSetFactory.php96.55% 🔼86.36% ⏹️100.00% ⏹️
   RuleSetNotFoundException.php- ⏹️100.00% ⏹️100.00% ⏹️
   RuleViolation.php77.42% 🔼41.67% 🔼100.00% ⏹️
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   BaselineMode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   BaselineSet.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   BaselineSetFactory.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   BaselineValidator.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ViolationBaseline.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   RuleClassNotFoundException.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   RuleSetNotFoundException.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Node
   ASTNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   AbstractCallableNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   AbstractNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   AbstractTypeNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   Annotation.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   Annotations.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ClassNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   EnumNode.php100.00% 🆕100.00% 🆕100.00% 🆕
   FunctionNode.php60.00% 🔼50.00% ⏹️100.00% ⏹️
   InterfaceNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   MethodNode.php97.14% 🔽87.50% 🔽100.00% ⏹️
   TraitNode.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Renderer
   AnsiRenderer.php- ⏹️- ⏹️100.00% ⏹️
   BaselineRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CheckStyleRenderer.php- ⏹️- ⏹️100.00% ⏹️
   GitHubRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   GitLabRenderer.php100.00% 🆕100.00% 🆕100.00% 🆕
   HTMLRenderer.php86.51% 🔼63.64% ⏹️100.00% ⏹️
   JSONRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   RendererFactory.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   SARIFRenderer.php98.36% ⏹️80.00% ⏹️100.00% ⏹️
   TextRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   XMLRenderer.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php89.19% 🔼80.00% 🔼100.00% ⏹️
   ClassAware.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CyclomaticComplexity.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   EnumAware.php100.00% 🆕100.00% 🆕100.00% 🆕
   ExcessivePublicCount.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   FunctionAware.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   InterfaceAware.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   MethodAware.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   TraitAware.php100.00% 🆕100.00% 🆕100.00% 🆕
   UnusedFormalParameter.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   UnusedLocalVariable.php97.26% 🔼84.62% ⏹️100.00% ⏹️
   UnusedPrivateField.php97.92% 🔼88.89% ⏹️100.00% ⏹️
   UnusedPrivateMethod.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00% 🔼100.00% 🔼100.00% ⏹️
   DuplicatedArrayKey.php94.12% 🔼75.00% 🔼100.00% ⏹️
   ElseExpression.php90.91% 🔼66.67% ⏹️100.00% ⏹️
   ErrorControlOperator.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   IfStatementAssignment.php95.45% 🔼80.00% ⏹️100.00% ⏹️
   MissingImport.php94.12% 🔼66.67% ⏹️100.00% ⏹️
   StaticAccess.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   UndefinedVariable.php92.59% 🔼64.29% ⏹️100.00% ⏹️
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php- ⏹️- ⏹️100.00% ⏹️
   CamelCaseMethodName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CamelCaseParameterName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CamelCasePropertyName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CamelCaseVariableName.php94.12% 🔼50.00% ⏹️100.00% ⏹️
   Superglobals.php- ⏹️- ⏹️100.00% ⏹️
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.75% 🔼80.00% ⏹️100.00% ⏹️
   CouplingBetweenObjects.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   DepthOfInheritance.php93.33% 🔼- ⏹️100.00% ⏹️
   DevelopmentCodeFragment.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   EmptyCatchBlock.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   EvalExpression.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ExitExpression.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   GotoStatement.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   LongClass.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   LongMethod.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   LongParameterList.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   NpathComplexity.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   NumberOfChildren.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   TooManyFields.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   TooManyMethods.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   TooManyPublicMethods.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   WeightedMethodCount.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86% 🔽80.00% 🔽100.00% ⏹️
   ConstantNamingConventions.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ConstructorWithNameAsEnclosingClass.php90.00% 🔼- ⏹️100.00% ⏹️
   LongClassName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   LongVariable.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ShortClassName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ShortMethodName.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   ShortVariable.php97.22% 🔼92.31% ⏹️100.00% ⏹️
src/main/php/PHPMD/TextUI
   Command.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   CommandLineOptions.php90.91% 🔼75.00% 🔽100.00% ⏹️
src/main/php/PHPMD/Utility
   Paths.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
   Strings.php100.00% ⏹️100.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Writer
   StreamWriter.php83.33% 🔼75.00% ⏹️100.00% ⏹️

clover file to comment - show delta per file

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: nolines.xml

Summary - Lines: 100.00% | Methods: 100.00%
FilesLinesMethodsBranches
src/Hugger
   Common.php100.00%100.00%100.00%
   Friendly.php100.00%100.00%100.00%

only coverable lines

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.example.xml

Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractRule.php85.11% 🔼72.00% ⏹️100.00% ⏹️
   PHPMD.php85.29% 🔽75.00% ⏹️100.00% ⏹️
   Parser.php75.00% 🔽81.25% 🔽100.00% ⏹️
src/main/php/PHPMD/Node
   EnumNode.php100.00% 🆕100.00% 🆕100.00% 🆕
   FunctionNode.php60.00% 🔼50.00% ⏹️100.00% ⏹️
src/main/php/PHPMD/Renderer
   GitLabRenderer.php100.00% 🆕100.00% 🆕100.00% 🆕
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php100.00% 🔼100.00% 🔼100.00% ⏹️
   DuplicatedArrayKey.php94.12% 🔼75.00% 🔼100.00% ⏹️
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php92.86% 🔽80.00% 🔽100.00% ⏹️
src/main/php/PHPMD/TextUI
   CommandLineOptions.php90.91% 🔼75.00% 🔽100.00% ⏹️

clover file to comment - only with percentage change and with some cover

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: nolines.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
 100% │ ███████████████████████ │ 100.0%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 100.00% | Methods: 100.00%
FilesLinesMethodsBranches
No files reported or matching filters

clover file to comment - no lines after filter

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.onepackage.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ██████████░░░░░░░░░░░░░ │ 16.7%
  90% │ ███████████████████████ │ 41.7%
 100% │ ███████████████████████ │ 41.7%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
FilesLinesMethodsBranches
src/main/php/PHPMD
   AbstractNode.php88.24% 🔼72.22% ⏹️100.00% ⏹️
   AbstractRenderer.php100.00% 🆕100.00% 🆕100.00% 🆕
   AbstractRule.php85.11% 🆕72.00% 🆕100.00% 🆕
   AbstractWriter.php100.00% 🆕100.00% 🆕100.00% 🆕
   PHPMD.php85.29% 🆕75.00% 🆕100.00% 🆕
   Parser.php75.00% 🆕81.25% 🆕100.00% 🆕
   ParserFactory.php91.67% 🆕71.43% 🆕100.00% 🆕
   ProcessingError.php100.00% 🆕100.00% 🆕100.00% 🆕
   Report.php100.00% 🆕100.00% 🆕100.00% 🆕
   RuleSet.php89.47% 🆕71.43% 🆕100.00% 🆕
   RuleSetFactory.php96.55% 🆕86.36% 🆕100.00% 🆕
   RuleViolation.php77.42% 🆕41.67% 🆕100.00% 🆕

clover file to comment - only one package

Copy link

github-actions bot commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.onepackage.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ██████████░░░░░░░░░░░░░ │ 16.7%
  90% │ ███████████████████████ │ 41.7%
 100% │ ███████████████████████ │ 41.7%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 90.38% 🔼 | Methods: 81.64% 🔼
false
FilesLinesMethods
src/main/php/PHPMD
   AbstractNode.php88.24% 🔼72.22% ⏹️
   AbstractRenderer.php100.00% 🆕100.00% 🆕
   AbstractRule.php85.11% 🆕72.00% 🆕
   AbstractWriter.php100.00% 🆕100.00% 🆕
   PHPMD.php85.29% 🆕75.00% 🆕
   Parser.php75.00% 🆕81.25% 🆕
   ParserFactory.php91.67% 🆕71.43% 🆕
   ProcessingError.php100.00% 🆕100.00% 🆕
   Report.php100.00% 🆕100.00% 🆕
   RuleSet.php89.47% 🆕71.43% 🆕
   RuleSetFactory.php96.55% 🆕86.36% 🆕
   RuleViolation.php77.42% 🆕41.67% 🆕

clover file to comment - hide branches column

@lucassabreu
Copy link
Owner Author

lucassabreu commented Jan 29, 2024

Coverage report for commit: 7e0e322
File: clover.onepackage.xml

Summary - Lines: 90.38% | Methods: 81.64%
false
FilesLinesMethods
src/main/php/PHPMD
   AbstractNode.php88.24%72.22%
   AbstractRenderer.php100.00%100.00%
   AbstractRule.php85.11%72.00%
   AbstractWriter.php100.00%100.00%
   PHPMD.php85.29%75.00%
   Parser.php75.00%81.25%
   ParserFactory.php91.67%71.43%
   ProcessingError.php100.00%100.00%
   Report.php100.00%100.00%
   RuleSet.php89.47%71.43%
   RuleSetFactory.php96.55%86.36%
   RuleViolation.php77.42%41.67%

comment using a pat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant