Task #28623

Enable metrics for TYPO3 v4 Core

Added by Christian Trabold almost 2 years ago. Updated about 1 year ago.

Status:Accepted Start date:2011-07-31
Priority:Must have Due date:2012-06-29
Assignee:Christian Trabold % Done:

80%

Category:-
Target version:- Estimated time:8.00 hours
Votes: 0

Description

Use Job "" for generating nightly metrics on TYPO3 v4 Core.

The results should appear on http://metrics.typo3.org/dashboard/index/2 and respect these excludes for 3rd party software and CodeSniffs:

PHPCPD_EXCLUDE: --exclude typo3/sysext/adodb/ --exclude typo3/contrib/jsmin/jsmin.php
PHPCS_EXCLUDE: .git,typo3/sysext/openid/lib,typo3/contrib,typo3/sysext/adodb,typo3/sysext/em/mod1/class.nusoap.php,typo3/sysext/fluid,typo3/sysext/extbase
PDEPEND_EXCLUDE: typo3/sysext/openid/lib/*,typo3/contrib/*,typo3/sysext/adodb/*,typo3/sysext/em/mod1/class.nusoap.php
PMD_EXCLUDE: typo3/sysext/openid/lib,typo3/contrib,typo3/sysext/adodb,typo3/sysext/em/mod1/class.nusoap.php
PHPCS_SNIFFS: Generic.Formatting.DisallowMultipleStatements,Generic.PHP.UpperCaseConstant,Squiz.Arrays.ArrayBracketSpacing,Squiz.Classes.SelfMemberReference,TYPO3.Classes.LowercaseClassKeywords,Generic.CodeAnalysis.ForLoopWithTestFunctionCall,Generic.CodeAnalysis.UnusedFunctionParameter,PEAR.Commenting.InlineComment,TYPO3.Commenting.ClassDocComment,TYPO3.Commenting.DoubleSlashCommentsInNewLine,TYPO3.Commenting.SpaceAfterDoubleSlash,TYPO3.Commenting.ValidCommentLineLength,Generic.ControlStructures.InlineControlStructure,Squiz.ControlStructures.ControlSignature,TYPO3.ControlStructures.AlignedBreakStatement,TYPO3.ControlStructures.DisallowElseIfConstruct,TYPO3.ControlStructures.ValidBreakStatementsInSwitches,TYPO3.ControlStructures.ValidDefaultStatementsInSwitches,Generic.Files.LineEndings,TYPO3.Files.EncodingUtf8,TYPO3.Files.OneClassPerFile,TYPO3.Files.OneInterfacePerFile,Generic.Formatting.DisallowMultipleStatements,Generic.Functions.OpeningFunctionBraceKernighanRitchie,Generic.Functions.FunctionCallArgumentSpacing,PEAR.Functions.ValidDefaultValue,Generic.NamingConventions.ConstructorName,Generic.PHP.DeprecatedFunctions,Generic.PHP.DisallowShortOpenTag,Generic.PHP.UpperCaseConstant,Squiz.PHP.Eval,Squiz.PHP.GlobalKeyword,Squiz.PHP.NonExecutableCode,TYPO3.PHP.CharacterAfterPHPClosingTag,TYPO3.PHP.CharacterBeforePHPOpeningTag,TYPO3.PHP.ClosingPHPTag,TYPO3.PHP.DisallowMultiplePHPTags,Squiz.Scope.MemberVarScope,Squiz.Scope.MethodScope,Squiz.Strings.DoubleQuoteUsage,Squiz.WhiteSpace.SemicolonSpacing,Squiz.WhiteSpace.LogicalOperatorSpacing,TYPO3.WhiteSpace.AssignmentArithmeticAndComparisonSpace,TYPO3.WhiteSpace.AsteriksWhitespaces,TYPO3.WhiteSpace.DisallowSpaceIndent

History

Updated by Christian Trabold almost 2 years ago

  • % Done changed from 0 to 80

Replaced Built-in Reports from Sonar with our custom reports.

The results shown at http://metrics.typo3.org/dashboard/index/2 should now reflect our Settings for CodeSniffer, PHP Copy and Paste detection and PHP Depend.

Next: Integrate PHPUnit Results and Clover-Reports

Updated by Christian Trabold about 1 year ago

  • Due date set to 2012-06-29

Please check, if Travis-CI can send the test results to Sonar.

Also available in: Atom PDF