lucassabreu / comment-coverage-clover

Github Action that automatically adds a comment with a summary of coverage reports (clover)
https://github.com/marketplace/actions/coverage-report-as-comment-clover
15 stars 4 forks source link

(feat): chart #8

Closed lucassabreu closed 3 years ago

github-actions[bot] commented 3 years ago

Coverage report for commit: 2a9e186 File: clover.example.xml

Summary - Lines: 88.03% | Methods: 81.01%
FilesLinesMethodsBranchs
src/main/php/PHPMD
   AbstractNode.php87.76%72.22%-
   AbstractRenderer.php100.00%100.00%-
   AbstractRule.php80.00%72.00%-
   AbstractWriter.php---
   PHPMD.php90.32%75.00%-
   Parser.php89.19%92.86%-
   ParserFactory.php90.63%71.43%-
   ProcessingError.php100.00%100.00%-
   Report.php100.00%100.00%-
   Rule.php---
   RuleClassFileNotFoundException.php0.00%--
   RuleClassNotFoundException.php0.00%--
   RuleSet.php87.10%71.43%-
   RuleSetFactory.php96.32%86.36%-
   RuleSetNotFoundException.php0.00%--
   RuleViolation.php73.33%33.33%-
src/main/php/PHPMD/Baseline
   BaselineFileFinder.php100.00%100.00%-
   BaselineMode.php---
   BaselineSet.php100.00%100.00%-
   BaselineSetFactory.php100.00%100.00%-
   BaselineValidator.php100.00%100.00%-
   ViolationBaseline.php100.00%100.00%-
src/main/php/PHPMD/Exception
   RuleClassFileNotFoundException.php100.00%100.00%-
   RuleClassNotFoundException.php100.00%100.00%-
   RuleSetNotFoundException.php100.00%100.00%-
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%-
   AbstractCallableNode.php100.00%100.00%-
   AbstractNode.php100.00%100.00%-
   AbstractTypeNode.php100.00%100.00%-
   Annotation.php100.00%100.00%-
   Annotations.php100.00%100.00%-
   ClassNode.php100.00%100.00%-
   FunctionNode.php50.00%50.00%-
   InterfaceNode.php100.00%100.00%-
   MethodNode.php100.00%100.00%-
   TraitNode.php100.00%100.00%-
src/main/php/PHPMD/Renderer
   AnsiRenderer.php0.00%0.00%-
   BaselineRenderer.php100.00%100.00%-
   CheckStyleRenderer.php0.00%0.00%-
   GitHubRenderer.php100.00%100.00%-
   HTMLRenderer.php85.71%63.64%-
   JSONRenderer.php100.00%100.00%-
   RendererFactory.php100.00%100.00%-
   SARIFRenderer.php98.36%80.00%-
   TextRenderer.php100.00%100.00%-
   XMLRenderer.php100.00%100.00%-
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php87.32%69.23%-
   ClassAware.php---
   CyclomaticComplexity.php100.00%100.00%-
   ExcessivePublicCount.php100.00%100.00%-
   FunctionAware.php---
   InterfaceAware.php---
   MethodAware.php---
   UnusedFormalParameter.php100.00%100.00%-
   UnusedLocalVariable.php96.92%84.62%-
   UnusedPrivateField.php97.67%88.89%-
   UnusedPrivateMethod.php100.00%100.00%-
src/main/php/PHPMD/Rule/CleanCode
   BooleanArgumentFlag.php0.00%0.00%-
   DuplicatedArrayKey.php84.38%50.00%-
   ElseExpression.php90.00%66.67%-
   ErrorControlOperator.php100.00%100.00%-
   IfStatementAssignment.php95.00%80.00%-
   MissingImport.php93.75%66.67%-
   StaticAccess.php100.00%100.00%-
   UndefinedVariable.php91.30%64.29%-
src/main/php/PHPMD/Rule/Controversial
   CamelCaseClassName.php0.00%0.00%-
   CamelCaseMethodName.php100.00%100.00%-
   CamelCaseParameterName.php100.00%100.00%-
   CamelCasePropertyName.php100.00%100.00%-
   CamelCaseVariableName.php93.75%50.00%-
   Superglobals.php0.00%0.00%-
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php93.33%80.00%-
   CouplingBetweenObjects.php100.00%100.00%-
   DepthOfInheritance.php92.86%0.00%-
   DevelopmentCodeFragment.php100.00%100.00%-
   EmptyCatchBlock.php100.00%100.00%-
   EvalExpression.php100.00%100.00%-
   ExitExpression.php100.00%100.00%-
   GotoStatement.php100.00%100.00%-
   LongClass.php100.00%100.00%-
   LongMethod.php100.00%100.00%-
   LongParameterList.php100.00%100.00%-
   NpathComplexity.php100.00%100.00%-
   NumberOfChildren.php100.00%100.00%-
   TooManyFields.php100.00%100.00%-
   TooManyMethods.php100.00%100.00%-
   TooManyPublicMethods.php100.00%100.00%-
   WeightedMethodCount.php100.00%100.00%-
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php100.00%100.00%-
   ConstantNamingConventions.php100.00%100.00%-
   ConstructorWithNameAsEnclosingClass.php88.89%0.00%-
   LongClassName.php100.00%100.00%-
   LongVariable.php100.00%100.00%-
   ShortClassName.php100.00%100.00%-
   ShortMethodName.php100.00%100.00%-
   ShortVariable.php96.92%92.31%-
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%-
   CommandLineOptions.php71.43%77.42%-
src/main/php/PHPMD/Utility
   Paths.php100.00%100.00%-
   Strings.php100.00%100.00%-

:robot: comment via lucassabreu/comment-coverage-clover

github-actions[bot] commented 3 years ago

Coverage report for commit: 2a9e186 File: clover.pdepend.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ █████████░░░░░░░░░░░░░░ │ 21.6%
  10% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.3%
  20% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.4%
  30% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.8%
  40% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.4%
  50% │ █░░░░░░░░░░░░░░░░░░░░░░ │  1.7%
  60% │ █░░░░░░░░░░░░░░░░░░░░░░ │  0.8%
  70% │ ██░░░░░░░░░░░░░░░░░░░░░ │  2.5%
  80% │ ███░░░░░░░░░░░░░░░░░░░░ │  7.2%
  90% │ ███░░░░░░░░░░░░░░░░░░░░ │  5.5%
 100% │ ███████████████████████ │ 57.6%
      └─────────────────────────┘
 *Lengend:* █ = Current Distribution 
Summary - Lines: 83.89% | Methods: 77.24%
FilesLinesMethodsBranchs
src/main/php/PDepend
   Application.php65.71%72.73%-
   Engine.php95.45%89.29%-
src/main/php/PDepend/DependencyInjection
   Configuration.php94.59%50.00%-
   ExtensionManager.php9.09%50.00%-
   PdependExtension.php72.73%66.67%-
   TreeBuilder.php71.43%66.67%-
src/main/php/PDepend/Input
   CompositeFilter.php100.00%100.00%-
   ExcludePathFilter.php100.00%100.00%-
   ExtensionFilter.php80.00%50.00%-
   Iterator.php100.00%100.00%-
src/main/php/PDepend/Metrics
   AbstractCachingAnalyzer.php85.71%80.00%-
   AnalyzerIterator.php100.00%100.00%-
src/main/php/PDepend/Metrics/Analyzer
   ClassDependencyAnalyzer.php84.72%83.33%-
   ClassLevelAnalyzer.php98.95%91.67%-
   CodeRankAnalyzer.php95.35%75.00%-
   CouplingAnalyzer.php100.00%100.00%-
   CrapIndexAnalyzer.php100.00%100.00%-
   CyclomaticComplexityAnalyzer.php100.00%100.00%-
   DependencyAnalyzer.php76.72%76.47%-
   HalsteadAnalyzer.php81.93%85.71%-
   HierarchyAnalyzer.php97.92%87.50%-
   InheritanceAnalyzer.php100.00%100.00%-
   MaintainabilityIndexAnalyzer.php100.00%100.00%-
   NPathComplexityAnalyzer.php100.00%100.00%-
   NodeCountAnalyzer.php100.00%100.00%-
   NodeLocAnalyzer.php92.03%50.00%-
src/main/php/PDepend/Metrics/Analyzer/CodeRankAnalyzer
   InheritanceStrategy.php100.00%100.00%-
   MethodStrategy.php100.00%100.00%-
   PropertyStrategy.php100.00%100.00%-
   StrategyFactory.php30.00%0.00%-
src/main/php/PDepend/Report
   ReportGeneratorFactory.php100.00%100.00%-
src/main/php/PDepend/Report/Jdepend
   Chart.php89.06%71.43%-
   Xml.php7.00%25.00%-
src/main/php/PDepend/Source/AST
   ASTAllocationExpression.php100.00%100.00%-
   ASTAnonymousClass.php86.11%90.00%-
   ASTArguments.php80.00%66.67%-
   ASTArray.php100.00%100.00%-
   ASTArrayElement.php100.00%100.00%-
   ASTArrayIndexExpression.php100.00%100.00%-
   ASTArtifactList.php100.00%100.00%-
   ASTAssignmentExpression.php100.00%100.00%-
   ASTBooleanAndExpression.php100.00%100.00%-
   ASTBooleanOrExpression.php100.00%100.00%-
   ASTBreakStatement.php100.00%100.00%-
   ASTCastExpression.php100.00%100.00%-
   ASTCatchStatement.php100.00%100.00%-
   ASTClass.php11.11%0.00%-
   ASTClassFqnPostfix.php100.00%100.00%-
   ASTClassOrInterfaceRecursiveInheritanceException.php100.00%100.00%-
   ASTClassOrInterfaceReference.php100.00%100.00%-
   ASTClassOrInterfaceReferenceIterator.php100.00%100.00%-
   ASTClassReference.php100.00%100.00%-
   ASTCloneExpression.php100.00%100.00%-
   ASTClosure.php60.00%85.71%-
   ASTComment.php100.00%100.00%-
   ASTCompilationUnit.php97.30%94.44%-
   ASTCompilationUnitNotFoundException.php100.00%100.00%-
   ASTCompoundExpression.php100.00%100.00%-
   ASTCompoundVariable.php100.00%100.00%-
   ASTConditionalExpression.php100.00%100.00%-
   ASTConstant.php100.00%100.00%-
   ASTConstantDeclarator.php100.00%100.00%-
   ASTConstantDefinition.php100.00%100.00%-
   ASTConstantPostfix.php100.00%100.00%-
   ASTContinueStatement.php100.00%100.00%-
   ASTDeclareStatement.php100.00%100.00%-
   ASTDoWhileStatement.php100.00%100.00%-
   ASTEchoStatement.php100.00%100.00%-
   ASTElseIfStatement.php100.00%100.00%-
   ASTEvalExpression.php100.00%100.00%-
   ASTExitExpression.php100.00%100.00%-
   ASTExpression.php100.00%100.00%-
   ASTFieldDeclaration.php75.00%80.00%-
   ASTFinallyStatement.php100.00%100.00%-
   ASTForInit.php100.00%100.00%-
   ASTForStatement.php100.00%100.00%-
   ASTForUpdate.php100.00%100.00%-
   ASTForeachStatement.php100.00%100.00%-
   ASTFormalParameter.php47.83%60.00%-
   ASTFormalParameters.php100.00%100.00%-
   ASTFunction.php100.00%100.00%-
   ASTFunctionPostfix.php100.00%100.00%-
   ASTGlobalStatement.php100.00%100.00%-
   ASTGotoStatement.php100.00%100.00%-
   ASTHeredoc.php100.00%100.00%-
   ASTIdentifier.php100.00%100.00%-
   ASTIfStatement.php100.00%100.00%-
   ASTIncludeExpression.php100.00%100.00%-
   ASTInstanceOfExpression.php100.00%100.00%-
   ASTInterface.php100.00%100.00%-
   ASTIssetExpression.php100.00%100.00%-
   ASTLabelStatement.php100.00%100.00%-
   ASTListExpression.php100.00%100.00%-
   ASTLiteral.php100.00%100.00%-
   ASTLogicalAndExpression.php100.00%100.00%-
   ASTLogicalOrExpression.php100.00%100.00%-
   ASTLogicalXorExpression.php100.00%100.00%-
   ASTMemberPrimaryPrefix.php100.00%100.00%-
   ASTMethod.php100.00%100.00%-
   ASTMethodPostfix.php100.00%100.00%-
   ASTNamespace.php100.00%100.00%-
   ASTParameter.php53.03%94.74%-
   ASTParentReference.php100.00%100.00%-
   ASTPostfixExpression.php100.00%100.00%-
   ASTPreDecrementExpression.php100.00%100.00%-
   ASTPreIncrementExpression.php100.00%100.00%-
   ASTPrintExpression.php100.00%100.00%-
   ASTProperty.php70.37%85.71%-
   ASTPropertyPostfix.php100.00%100.00%-
   ASTRequireExpression.php100.00%100.00%-
   ASTReturnStatement.php100.00%100.00%-
   ASTScalarType.php50.00%50.00%-
   ASTScope.php100.00%100.00%-
   ASTScopeStatement.php100.00%100.00%-
   ASTSelfReference.php100.00%100.00%-
   ASTShiftLeftExpression.php100.00%100.00%-
   ASTShiftRightExpression.php100.00%100.00%-
   ASTStatement.php100.00%100.00%-
   ASTStaticReference.php100.00%100.00%-
   ASTStaticVariableDeclaration.php100.00%100.00%-
   ASTString.php100.00%100.00%-
   ASTStringIndexExpression.php100.00%100.00%-
   ASTSwitchLabel.php100.00%100.00%-
   ASTSwitchStatement.php100.00%100.00%-
   ASTThrowStatement.php100.00%100.00%-
   ASTTrait.php77.78%60.00%-
   ASTTraitAdaptation.php100.00%100.00%-
   ASTTraitAdaptationAlias.php100.00%100.00%-
   ASTTraitAdaptationPrecedence.php100.00%100.00%-
   ASTTraitMethodCollisionException.php100.00%100.00%-
   ASTTraitReference.php100.00%100.00%-
   ASTTraitUseStatement.php98.00%83.33%-
   ASTTryStatement.php100.00%100.00%-
   ASTType.php75.00%75.00%-
   ASTTypeArray.php100.00%100.00%-
   ASTTypeCallable.php100.00%100.00%-
   ASTTypeIterable.php100.00%100.00%-
   ASTUnaryExpression.php100.00%100.00%-
   ASTUnsetStatement.php100.00%100.00%-
   ASTValue.php100.00%100.00%-
   ASTVariable.php100.00%100.00%-
   ASTVariableDeclarator.php100.00%100.00%-
   ASTVariableVariable.php100.00%100.00%-
   ASTWhileStatement.php100.00%100.00%-
   AbstractASTArtifact.php70.59%64.29%-
   AbstractASTCallable.php95.12%86.96%-
   AbstractASTClassOrInterface.php100.00%100.00%-
   AbstractASTType.php90.43%90.91%-
src/main/php/PDepend/Source/AST/ASTArtifactList
   CollectionArtifactFilter.php85.71%66.67%-
   NullArtifactFilter.php100.00%100.00%-
   PackageArtifactFilter.php100.00%100.00%-
src/main/php/PDepend/Source/ASTVisitor
   AbstractASTVisitor.php93.10%96.67%-
src/main/php/PDepend/Source/Language/PHP
   AbstractPHPParser.php90.94%73.66%-
   PHPBuilder.php94.14%92.75%-
   PHPParserGeneric.php83.33%50.00%-
   PHPParserVersion53.php78.57%50.00%-
   PHPParserVersion54.php49.18%41.67%-
   PHPParserVersion55.php100.00%100.00%-
   PHPParserVersion56.php61.38%50.00%-
   PHPParserVersion70.php80.11%40.91%-
   PHPParserVersion71.php86.96%66.67%-
   PHPParserVersion72.php100.00%100.00%-
   PHPParserVersion74.php34.62%0.00%-
   PHPParserVersion80.php75.22%58.82%-
   PHPTokenizerInternal.php43.98%20.00%-
src/main/php/PDepend/Source/Parser
   MissingValueException.php100.00%100.00%-
   SymbolTable.php100.00%100.00%-
   TokenStack.php100.00%100.00%-
   TokenStreamEndException.php100.00%100.00%-
   UnexpectedTokenException.php100.00%100.00%-
src/main/php/PDepend/TextUI
   Command.php85.54%38.46%-
   ResultPrinter.php68.00%66.67%-
   Runner.php79.17%58.33%-
src/main/php/PDepend/Util/Cache/Driver/File
   FileCacheDirectory.php100.00%100.00%-
   FileCacheGarbageCollector.php88.00%75.00%-
src/main/php/PDepend/Util/Cache/Driver
   FileCacheDriver.php100.00%100.00%-
   MemoryCacheDriver.php82.35%75.00%-
src/main/php/PDepend/Util
   Configuration.php100.00%100.00%-
   FileUtil.php77.78%33.33%-
   IdBuilder.php100.00%100.00%-
   ImageConvert.php77.42%0.00%-
   Type.php79.17%88.89%-
   Workarounds.php16.67%33.33%-
src/main/php/PDepend/Util/Coverage
   CloverReport.php100.00%100.00%-
   Factory.php100.00%100.00%-

:robot: comment via lucassabreu/comment-coverage-clover

github-actions[bot] commented 3 years ago

Coverage report for commit: 2a9e186 File: clover.example.base.xml

Cover ┌─────────────────────────────────────────────────────────────────────────────┐ Freq.
   0% │ ████████████▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 12.8%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  50% │ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  1.3%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  1.3%
  80% │ █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │  5.1%
  90% │ ███████████▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ 11.5%
 100% │ █████████████████████████████████████████████████████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │ 67.9%
      └─────────────────────────────────────────────────────────────────────────────┘
 *Lengend:* █ = Current Distribution / ▒ = Previous Distribution
Summary - Lines: 90.07% :arrow_up_small: | Methods: 82.84% :arrow_up_small:
FilesLinesMethodsBranchs
src/main/php/PHPMD
   AbstractNode.php77.14%62.50%-
   AbstractRenderer.php100.00%100.00%-
   AbstractRule.php80.56%69.57%-
   PHPMD.php85.19%77.78%-
   Parser.php89.19%92.86%-
   ParserFactory.php89.66%71.43%-
   ProcessingError.php100.00%100.00%-
   Report.php100.00%100.00%-
   RuleClassFileNotFoundException.php100.00%100.00%-
   RuleClassNotFoundException.php100.00%100.00%-
   RuleSet.php87.10%71.43%-
   RuleSetFactory.php95.76%81.82%-
   RuleSetNotFoundException.php100.00%100.00%-
   RuleViolation.php66.67%36.36%-
src/main/php/PHPMD/Node
   ASTNode.php100.00%100.00%-
   AbstractCallableNode.php100.00%100.00%-
   AbstractNode.php100.00%100.00%-
   AbstractTypeNode.php100.00%100.00%-
   Annotation.php100.00%100.00%-
   Annotations.php100.00%100.00%-
   ClassNode.php100.00%100.00%-
   FunctionNode.php50.00%50.00%-
   InterfaceNode.php100.00%100.00%-
   MethodNode.php96.77%87.50%-
   TraitNode.php100.00%100.00%-
src/main/php/PHPMD/Renderer
   HTMLRenderer.php98.44%75.00%-
   JSONRenderer.php100.00%100.00%-
   TextRenderer.php100.00%100.00%-
   XMLRenderer.php100.00%100.00%-
src/main/php/PHPMD/Rule
   AbstractLocalVariable.php100.00%100.00%-
   CyclomaticComplexity.php100.00%100.00%-
   ExcessivePublicCount.php100.00%100.00%-
   UnusedFormalParameter.php100.00%100.00%-
   UnusedLocalVariable.php98.25%91.67%-
   UnusedPrivateField.php97.67%88.89%-
   UnusedPrivateMethod.php100.00%100.00%-
src/main/php/PHPMD/Rule/CleanCode
   DuplicatedArrayKey.php84.38%50.00%-
   ElseExpression.php90.00%66.67%-
   IfStatementAssignment.php95.65%80.00%-
   StaticAccess.php100.00%100.00%-
src/main/php/PHPMD/Rule/Controversial
   CamelCaseMethodName.php100.00%100.00%-
   CamelCasePropertyName.php100.00%100.00%-
   CamelCaseVariableName.php88.89%0.00%-
src/main/php/PHPMD/Rule/Design
   CountInLoopExpression.php92.86%80.00%-
   CouplingBetweenObjects.php100.00%100.00%-
   DepthOfInheritance.php92.86%0.00%-
   DevelopmentCodeFragment.php100.00%100.00%-
   EmptyCatchBlock.php100.00%100.00%-
   EvalExpression.php100.00%100.00%-
   ExitExpression.php100.00%100.00%-
   GotoStatement.php100.00%100.00%-
   LongClass.php100.00%100.00%-
   LongMethod.php100.00%100.00%-
   LongParameterList.php100.00%100.00%-
   NpathComplexity.php100.00%100.00%-
   NumberOfChildren.php100.00%100.00%-
   TooManyFields.php100.00%100.00%-
   TooManyMethods.php100.00%100.00%-
   TooManyPublicMethods.php100.00%100.00%-
   WeightedMethodCount.php100.00%100.00%-
src/main/php/PHPMD/Rule/Naming
   BooleanGetMethodName.php100.00%100.00%-
   ConstantNamingConventions.php100.00%100.00%-
   ConstructorWithNameAsEnclosingClass.php88.89%0.00%-
   LongVariable.php100.00%100.00%-
   ShortMethodName.php100.00%100.00%-
   ShortVariable.php95.35%88.89%-
src/main/php/PHPMD/TextUI
   Command.php100.00%100.00%-
   CommandLineOptions.php75.17%83.33%-

:robot: comment via lucassabreu/comment-coverage-clover