All Downloads are FREE. Search and download functionalities are using the official Maven repository.

om.liferay.source.formatter.1.0.619.source-code.sourcechecks.xml Maven / Gradle / Ivy

There is a newer version: 1.0.1437
Show newest version
<?xml version="1.0"?>

<source-formatter>
	<source-processor name="all">
		<check name="IncorrectFileLocationCheck" />
		<check name="ReturnCharacterCheck" />
	</source-processor>
	<source-processor name="BNDSourceProcessor">
		<check name="BNDCapabilityCheck" />
		<check name="BNDDefinitionKeysCheck" />
		<check name="BNDImportsCheck" />
		<check name="BNDLineBreaksCheck" />
		<check name="BNDRangeCheck" />
		<check name="BNDSchemaVersionCheck" />
		<check name="BNDStylingCheck" />
		<check name="BNDWhitespaceCheck" />

		<!-- Module checks -->

		<check name="BNDBundleInformationCheck" />
		<check name="BNDDirectoryNameCheck" />
		<check name="BNDExportsCheck" />
		<check name="BNDIncludeResourceCheck" />
		<check name="BNDWebContextPathCheck" />
	</source-processor>
	<source-processor name="CodeownersSourceProcessor">
		<check name="CodeownersFileLocationCheck" />
		<check name="CodeownersWhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
	<source-processor name="CQLSourceProcessor">
		<check name="CQLKeywordCheck" />
		<check name="WhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
	<source-processor name="CSSSourceProcessor">
		<check name="CSSCommentsCheck" />
		<check name="CSSEmptyLinesCheck" />
		<check name="CSSHexColorsCheck" />
		<check name="CSSImportsCheck" />
		<check name="CSSPropertiesOrderCheck" />
		<check name="CSSWhitespaceCheck" />
	</source-processor>
	<source-processor name="DockerfileSourceProcessor">
		<check name="WhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
	<source-processor name="FTLSourceProcessor">
		<check name="FTLEmptyLinesCheck" />
		<check name="FTLIfStatementCheck" />
		<check name="FTLImportsCheck" />
		<check name="FTLLiferayVariableOrderCheck" />
		<check name="FTLStringRelationalOperatorCheck" />
		<check name="FTLStylingCheck" />
		<check name="FTLTagCheck" />
		<check name="FTLWhitespaceCheck" />
	</source-processor>
	<source-processor name="GradleSourceProcessor">
		<check name="GradleBlockOrderCheck" />
		<check name="GradleBodyCheck" />
		<check name="GradleDependenciesCheck" />
		<check name="GradleExportedPackageDependenciesCheck" />
		<check name="GradleImportsCheck" />
		<check name="GradleIndentationCheck" />
		<check name="GradlePropertiesCheck" />
		<check name="GradleProvidedDependenciesCheck" />
		<check name="GradleVersionCheck" />
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="GroovySourceProcessor">
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="HTMLSourceProcessor">
		<check name="WhitespaceCheck" />
		<check name="XMLTagAttributesCheck" />
	</source-processor>
	<source-processor name="JavaSourceProcessor">
		<check name="CopyrightCheck">
			<property name="copyrightFileName" value="copyright.txt" />
		</check>
		<check name="ArrayCheck" />
		<check name="EmptyCollectionCheck" />
		<check name="GetterUtilCheck" />
		<check name="Java2HTMLCheck" />
		<check name="JavaAggregateTestRuleParameterOrderCheck" />
		<check name="JavaAnnotationsCheck" />
		<check name="JavaAssertEqualsCheck" />
		<check name="JavaBooleanStatementCheck" />
		<check name="JavaBooleanUsageCheck" />
		<check name="JavaCollatorUtilCheck" />
		<check name="JavaCombineLinesCheck" />
		<check name="JavaConfigurationAdminCheck" />
		<check name="JavaConstructorParameterOrderCheck" />
		<check name="JavaConstructorSuperCallCheck" />
		<check name="JavaDeprecatedJavadocCheck" />
		<check name="JavaDiamondOperatorCheck" />
		<check name="JavaDeserializationSecurityCheck" />
		<check name="JavaEmptyLineAfterSuperCallCheck" />
		<check name="JavaEmptyLinesCheck" />
		<check name="JavaExceptionCheck" />
		<check name="JavaForLoopCheck" />
		<check name="JavaHibernateSQLCheck" />
		<check name="JavaIfStatementCheck" />
		<check name="JavaIllegalImportsCheck" />
		<check name="JavaImportsCheck" />
		<check name="JavaIndexableCheck" />
		<check name="JavaInterfaceCheck" />
		<check name="JavaIOExceptionCheck" />
		<check name="JavaJSPDynamicIncludeCheck">
			<property name="enabled" value="false" />
		</check>
		<check name="JavaLineBreakCheck" />
		<check name="JavaLocalSensitiveComparisonCheck" />
		<check name="JavaLongLinesCheck" />
		<check name="JavaMetaOCDIdCheck" />
		<check name="JavaPackagePathCheck" />
		<check name="JavaParameterAnnotationsCheck" />
		<check name="JavaProcessCallableCheck" />
		<check name="JavaRedundantConstructorCheck" />
		<check name="JavaResultSetCheck" />
		<check name="JavaReturnStatementCheck" />
		<check name="JavaSeeAnnotationCheck" />
		<check name="JavaServiceImplCheck" />
		<check name="JavaSignatureStylingCheck" />
		<check name="JavaStaticBlockCheck" />
		<check name="JavaStopWatchCheck" />
		<check name="JavaStylingCheck" />
		<check name="JavaSystemExceptionCheck" />
		<check name="JavaTermDividersCheck" />
		<check name="JavaTermMetadataLineBreakCheck" />
		<check name="JavaTermOrderCheck" />
		<check name="JavaTermStylingCheck" />
		<check name="JavaWhitespaceCheck" />
		<check name="MethodCallsOrderCheck" />
		<check name="PrimitiveWrapperInstantiationCheck" />
		<check name="PrincipalExceptionCheck" />
		<check name="SessionKeysCheck" />
		<check name="StringUtilCheck" />
		<check name="UnparameterizedClassCheck" />
		<check name="ValidatorEqualsCheck" />

		<!-- Module checks -->

		<check name="JavaModuleComponentCheck" />
		<check name="JavaModuleExtendedObjectClassDefinitionCheck" />
		<check name="JavaModuleIllegalImportsCheck">
			<property name="checkRegistryInTestClasses" value="false" />
		</check>
		<check name="JavaModuleInternalImportsCheck" />
		<check name="JavaModuleServiceProxyFactoryCheck" />
		<check name="JavaModuleServiceReferenceCheck" />
		<check name="JavaModuleTestCheck" />
		<check name="JavaOSGiReferenceCheck">
			<property name="serviceReferenceUtilClassNames" value="com.liferay.exportimport.kernel.lar.ExportImportHelperUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.exportimport.kernel.lar.ExportImportProcessCallbackRegistryUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.exportimport.kernel.lar.PortletDataContextFactoryUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.exportimport.kernel.lar.PortletDataHandlerStatusMessageSenderUtill" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.exportimport.kernel.staging.StagingUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.backgroundtask.BackgroundTaskManagerUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.backgroundtask.display.BackgroundTaskDisplayFactoryUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.captcha.CaptchaUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.comment.CommentManagerUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.util.HttpUtil" />
			<property name="serviceReferenceUtilClassNames" value="com.liferay.portal.kernel.util.PortalUtil" />
		</check>

		<!-- Plugins checks -->

		<check name="CompatClassImportsCheck" />

		<!-- Portal checks -->

		<check name="JavaAPISignatureCheck">
			<property name="enabled" value="false" />
			<property name="illegalAPIParameterTypes" value="HttpServletRequest" />
			<property name="illegalAPIParameterTypes" value="HttpServletResponse" />
			<property name="illegalAPIParameterTypes" value="ThemeDisplay" />
			<property name="illegalAPIServiceParameterTypes" value="ServiceContext" />
		</check>
		<check name="JavaCleanUpMethodSuperCleanUpCheck" />
		<check name="JavaCleanUpMethodVariablesCheck" />
		<check name="JavaDataAccessConnectionCheck">
			<property name="enabled" value="false" />
		</check>
		<check name="JavaDeprecatedKernelClassesCheck">
			<property name="enabled" value="false" />
		</check>
		<check name="JavaFinderCacheCheck" />
		<check name="JavaFinderImplCustomSQLCheck" />
		<check name="JavaLogClassNameCheck" />
		<check name="JavaLogLevelCheck" />
		<check name="JavaLogStringBundlerCheck" />
		<check name="JavaMultiPlusConcatCheck" />
		<check name="JavaProviderTypeAnnotationCheck" />
		<check name="JavaServiceUtilCheck" />
		<check name="JavaStringBundlerInitialCapacityCheck" />
		<check name="JavaSwitchCheck" />
		<check name="JavaSystemEventAnnotationCheck" />
		<check name="JavaTestMethodAnnotationsCheck" />
		<check name="JavaUnsafeCastingCheck" />
		<check name="JavaUpgradeClassCheck" />
		<check name="JavaUpgradeConnectionCheck">
			<property name="enabled" value="false" />
		</check>
		<check name="JavaVariableTypeCheck">
			<property name="immutableFieldTypes" value="boolean,byte,char,double,float,int,long,short,Boolean,Byte,Character,Class,Double,Float,Int,Long,Number,Short,String" />
		</check>
		<check name="JavaVerifyUpgradeConnectionCheck" />
		<check name="JavaXMLSecurityCheck" />
		<check name="LanguageKeysCheck" />
		<check name="ResourceBundleCheck" />
		<check name="StringMethodsCheck" />
		<check name="SubstringCheck" />
	</source-processor>
	<source-processor name="JSONSourceProcessor">
		<check name="JSONIndentationCheck" />
		<check name="JSONPropertyOrderCheck" />
		<check name="JSONWhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
	<source-processor name="JSPSourceProcessor">
		<check name="CopyrightCheck">
			<property name="copyrightFileName" value="copyright.txt" />
		</check>
		<check name="ArrayCheck" />
		<check name="EmptyCollectionCheck" />
		<check name="GetterUtilCheck" />
		<check name="JSPButtonTagCheck" />
		<check name="JSPDefineObjectsCheck" />
		<check name="JSPEmptyLinesCheck" />
		<check name="JSPExceptionOrderCheck" />
		<check name="JSPIfStatementCheck" />
		<check name="JSPImportsCheck" />
		<check name="JSPIncludeCheck" />
		<check name="JSPIndentationCheck" />
		<check name="JSPLanguageUtilCheck" />
		<check name="JSPLineBreakCheck" />
		<check name="JSPLogFileNameCheck" />
		<check name="JSPRedirectBackURLCheck" />
		<check name="JSPSessionKeysCheck" />
		<check name="JSPStringBundlerCheck" />
		<check name="JSPStylingCheck" />
		<check name="JSPSubnameCheck" />
		<check name="JSPTagAttributesCheck" />
		<check name="JSPTaglibVariableCheck" />
		<check name="JSPUnusedTermsCheck" />
		<check name="JSPWhitespaceCheck" />
		<check name="JSPXSSVulnerabilitiesCheck" />
		<check name="MethodCallsOrderCheck" />
		<check name="PrimitiveWrapperInstantiationCheck" />
		<check name="PrincipalExceptionCheck" />
		<check name="StringUtilCheck" />
		<check name="UnparameterizedClassCheck" />
		<check name="ValidatorEqualsCheck" />

		<!-- Module checks -->

		<check name="JSPModuleIllegalImportsCheck" />

		<!-- Plugins checks -->

		<check name="CompatClassImportsCheck" />

		<!-- Portal checks -->

		<check name="JSPLanguageKeysCheck" />
		<check name="JSPSendRedirectCheck" />
		<check name="JSPStringMethodsCheck" />
		<check name="ResourceBundleCheck" />
		<check name="SubstringCheck" />
	</source-processor>
	<source-processor name="JSSourceProcessor">
		<check name="JSStylingCheck" />
		<check name="JSWhitespaceCheck" />

		<!-- Portal checks -->

		<check name="LanguageKeysCheck" />
	</source-processor>
	<source-processor name="MarkdownSourceProcessor">
		<check name="MarkdownFileExtensionCheck" />
		<check name="MarkdownStylingCheck" />
		<check name="WhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
	<source-processor name="PackageinfoSourceProcessor">
		<check name="PackageinfoBNDExportPackageCheck" />
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="PropertiesSourceProcessor">
		<check name="PropertiesCommentsCheck" />
		<check name="PropertiesDefinitionKeysCheck" />
		<check name="PropertiesDependenciesFileCheck" />
		<check name="PropertiesImportedFilesContentCheck" />
		<check name="PropertiesLanguageKeysCheck" />
		<check name="PropertiesLiferayPluginPackageFileCheck" />
		<check name="PropertiesLongLinesCheck" />
		<check name="PropertiesPortalFileCheck" />
		<check name="PropertiesPortletFileCheck" />
		<check name="PropertiesSourceFormatterContentCheck" />
		<check name="PropertiesSourceFormatterFileCheck" />
		<check name="PropertiesWhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>

		<!-- Portal checks -->

		<check name="PropertiesServiceKeysCheck" />
	</source-processor>
	<source-processor name="SoySourceProcessor">
		<check name="SoyEmptyLinesCheck" />
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="SQLSourceProcessor">
		<check name="SQLEmptyLinesCheck" />
		<check name="SQLLongNamesCheck" />
		<check name="SQLStylingCheck" />
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="TLDSourceProcessor">
		<check name="TLDElementOrderCheck" />
		<check name="TLDTypeCheck" />
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="TSSourceProcessor">
		<check name="WhitespaceCheck" />
	</source-processor>
	<source-processor name="XMLSourceProcessor">
		<check name="XMLBuildFileCheck" />
		<check name="XMLCustomSQLOrderCheck" />
		<check name="XMLCustomSQLStylingCheck" />
		<check name="XMLDDLStructuresFileCheck" />
		<check name="XMLFriendlyURLRoutesFileCheck" />
		<check name="XMLFSBExcludeFileCheck" />
		<check name="XMLHBMFileCheck" />
		<check name="XMLIndentationCheck" />
		<check name="XMLLog4jFileCheck" />
		<check name="XMLLookAndFeelFileCheck" />
		<check name="XMLModelHintsFileCheck" />
		<check name="XMLPortletFileCheck" />
		<check name="XMLPortletPreferencesFileCheck" />
		<check name="XMLPoshiFileCheck" />
		<check name="XMLProjectElementCheck" />
		<check name="XMLResourceActionsFileCheck" />
		<check name="XMLServiceFileCheck" />
		<check name="XMLSolrSchemaFileCheck" />
		<check name="XMLSuppressionsFileCheck" />
		<check name="XMLTagAttributesCheck" />
		<check name="XMLToggleFileCheck" />
		<check name="XMLWhitespaceCheck" />

		<!-- Portal checks -->

		<check name="XMLEmptyLinesCheck" />
		<check name="XMLIvyFileCheck" />
		<check name="XMLSpringFileCheck" />
		<check name="XMLStrutsConfigFileCheck" />
		<check name="XMLTestIgnorableErrorLinesFileCheck" />
		<check name="XMLTilesDefsFileCheck" />
		<check name="XMLWebFileCheck" />
	</source-processor>
	<source-processor name="YMLSourceProcessor">
		<check name="YMLDefinitionOrderCheck" />
		<check name="YMLWhitespaceCheck">
			<property name="allowLeadingSpaces" value="true" />
		</check>
	</source-processor>
</source-formatter>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy