|
Cobertura example source code file (jalopy.xml)
The Cobertura jalopy.xml source code
<?xml version="1.0" encoding="UTF-8"?>
<jalopy>
<general>
<compliance>
<version>13
</compliance>
<style>
<description>Cobertura source code conventions
<name>Cobertura
</style>
</general>
<inspector>
<enable>false
<naming>
<classes>
<abstract>[A-Z][a-zA-Z0-9]+
<general>[A-Z][a-zA-Z0-9]+
</classes>
<fields>
<default>[a-z][\w]+
<defaultStatic>[a-z][\w]+
<defaultStaticFinal>[a-zA-Z][\w]+
<private>[a-z][\w]+
<privateStatic>[a-z][\w]+
<privateStaticFinal>[a-zA-Z][\w]+
<protected>[a-z][\w]+
<protectedStatic>[a-z][\w]+
<protectedStaticFinal>[a-zA-Z][\w]+
<public>[a-z][\w]+
<publicStatic>[a-z][\w]+
<publicStaticFinal>[a-zA-Z][\w]+
</fields>
<interfaces>[A-Z][a-zA-Z0-9]+
<labels>\w+
<methods>
<default>[a-z][\w]+
<defaultStatic>[a-z][\w]+
<defaultStaticFinal>[a-z][\w]+
<private>[a-z][\w]+
<privateStatic>[a-z][\w]+
<privateStaticFinal>[a-z][\w]+
<protected>[a-z][\w]+
<protectedStatic>[a-z][\w]+
<protectedStaticFinal>[a-z][\w]+
<public>[a-z][\w]+
<publicStatic>[a-z][\w]+
<publicStaticFinal>[a-z][\w]+
</methods>
<packages>[a-z]+(?:\.[a-z]+)*
<parameters>
<default>[a-z][\w]+
<final>[a-z][\w]+
</parameters>
<variables>[a-z][\w]*
</naming>
<tips>
<adhereToNamingConvention>false
<alwaysOverrideHashCode>false
<avoidThreadGroups>false
<declareCollectionComment>false
<dontIgnoreExceptions>false
<dontSubstituteObjectEquals>false
<neverDeclareException>false
<neverDeclareThrowable>false
<neverInvokeWaitOutsideLoop>false
<neverReturnZeroArrays>false
<neverUseEmptyFinally>false
<obeyContractEquals>false
<overrideToString>false
<referToObjectsByInterface>false
<replaceStructureWithClass>false
<stringLiterallI18n>false
<useInterfaceOnlyForTypes>false
<wrongCollectionComment>false
</tips>
</inspector>
<internal>
<version>6
</internal>
<messages>
<priority>
<general>30000
<parser>30000
<parserJavadoc>30000
<printer>30000
<printerJavadoc>30000
<transform>30000
</priority>
<showErrorStackTrace>true
</messages>
<misc>
<threadCount>1
</misc>
<printer>
<alignment>
<methodCallChain>false
<parameterMethodDeclaration>false
<ternaryOperator>false
<variableAssignment>false
<variableIdentifier>false
</alignment>
<backup>
<directory>bak
<level>0
</backup>
<blanklines>
<after>
<block>1
<braceLeft>0
<class>1
<declaration>0
<footer>1
<header>0
<interface>1
<lastImport>1
<method>1
<package>1
</after>
<before>
<block>1
<braceRight>0
<caseBlock>1
<comment>
<javadoc>1
<multiline>1
<singleline>1
</comment>
<controlStatement>1
<declaration>1
<footer>0
<header>0
</before>
<keepUpTo>3
</blanklines>
<braces>
<empty>
<cuddle>false
<insertStatement>false
</empty>
<insert>
<dowhile>true
<for>true
<ifelse>false
<while>true
</insert>
<remove>
<block>true
<dowhile>false
<for>false
<ifelse>false
<while>false
</remove>
<treatDifferent>
<methodClass>false
<methodClassIfWrapped>false
</treatDifferent>
</braces>
<chunks>
<blanklines>true
<comments>true
</chunks>
<comments>
<format>
<multiline>false
</format>
<javadoc>
<check>
<innerclass>false
<tags>true
<throwsTags>true
</check>
<fieldsShort>false
<generate>
<class>0
<constructor>0
<field>0
<method>0
</generate>
<parseComments>false
<tags>
<in-line />
<standard />
</tags>
<templates>
<method>
<bottom> */
<exception> * @throws $exceptionType$ DOCUMENT ME!
<param> * @param $paramType$ DOCUMENT ME!
<return> * @return DOCUMENT ME!
<top>/**| * DOCUMENT ME!
</method>
</templates>
</javadoc>
<remove>
<javadoc>false
<multiline>false
<singleline>false
</remove>
<separator>
<fillCharacter>-
<insert>false
<insertRecursive>false
<text>
<class>Inner Classes
<constructor>Constructors
<field>Instance fields
<initializer>Instance initializers
<interface>Inner Interfaces
<method>Methods
<static>Static fields/initializers
</text>
</separator>
</comments>
<environment />
<footer>
<keys />
<smartMode>0
<use>false
</footer>
<header>
<keys />
<smartMode>0
<use>false
</header>
<history>
<policy>disabled
</history>
<imports>
<grouping>
<defaultDepth>2
<packages>*:0|gnu:2|java:2|javax:2
</grouping>
<policy>disabled
<sort>true
</imports>
<indentation>
<caseFromSwitch>true
<continuation>
<block>true
<operator>true
</continuation>
<firstColumnComments>false
<label>false
<policy>
<deep>false
</policy>
<sizes>
<braceCuddled>1
<braceLeft>0
<braceRight>0
<braceRightAfter>0
<continuation>4
<deep>55
<extends>-1
<general>4
<implements>-1
<leading>0
<tabs>8
<throws>-1
<trailingComment>1
</sizes>
<tabs>
<enable>true
<onlyLeading>true
</tabs>
</indentation>
<misc>
<arrayBracketsAfterIdent>false
<forceFormatting>false
<insertExpressionParentheses>true
<insertLoggingConditional>false
<insertTrailingNewline>true
<insertUID>false
</misc>
<sorting>
<declaration>
<class>true
<constructor>true
<enable>false
<interface>true
<method>true
<order>static|field|initializer|constructor|method|interface|class
<variable>true
</declaration>
<modifier>
<enable>false
<order>public|protected|private|abstract|static|final|synchronized|transient|volatile|native|strictfp
</modifier>
</sorting>
<whitespace>
<after>
<comma>true
<semicolon>true
<typeCast>false
</after>
<before>
<braces>true
<brackets>false
<bracketsTypes>false
<caseColon>false
<operator>
<not>false
</operator>
<parentheses>
<methodCall>false
<methodDeclaration>false
<statement>true
</parentheses>
</before>
<padding>
<braces>true
<brackets>false
<operator>
<assignment>true
<bitwise>true
<logical>true
<mathematical>true
<relational>true
<shift>true
</operator>
<parenthesis>false
<typeCast>false
</padding>
</whitespace>
<wrapping>
<always>
<after>
<arrayElement>2147483647
<braceRight>true
<extendsTypes>false
<implementsTypes>false
<label>true
<methodCallChained>false
<ternaryOperator>
<first>false
<second>false
</ternaryOperator>
<throwsTypes>false
</after>
<before>
<braceLeft>true
<extends>false
<implements>false
<throws>false
</before>
<parameter>
<methodCall>false
<methodCallNested>false
<methodDeclaration>false
</parameter>
</always>
<general>
<beforeOperator>false
<enable>true
<lineLength>78
</general>
<ondemand>
<after>
<assignment>true
<leftParenthesis>false
<parameter>false
<types>
<extends>false
<implements>false
<throws>false
</types>
</after>
<before>
<rightParenthesis>false
</before>
<groupingParentheses>false
</ondemand>
</wrapping>
</printer>
</jalopy>
Other Cobertura examples (source code examples)Here is a short list of links related to this Cobertura jalopy.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.