1 Star 1 Fork 1

融扬智能/rconnect-android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ruleset.xml 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
Arcko 提交于 2021-03-05 11:57 . android-stable-3.15.0.zip
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Android"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
The ruleset file checks code using rules defined below, new rules can always be added.The
pmd.html file contains the report which includes perceived coding issues
</description>
<exclude-pattern>.*/R.java</exclude-pattern>
<exclude-pattern>.*/gen/.*</exclude-pattern>
<exclude-pattern>.*/third_parties/.*</exclude-pattern>
<rule ref="rulesets/java/logging-java.xml" />
<rule ref="rulesets/java/braces.xml" />
<rule ref="rulesets/java/strings.xml" />
<rule ref="rulesets/java/basic.xml" />
<rule ref="rulesets/java/naming.xml">
<exclude name="AbstractNaming" />
<exclude name="LongVariable" />
<exclude name="ShortMethodName" />
<exclude name="ShortVariable" />
<exclude name="VariableNamingConventions" />
</rule>
<rule ref="rulesets/java/naming.xml/MethodNamingConventions">
<properties>
<property name="violationSuppressXPath" value="//ClassOrInterfaceDeclaration[matches(@Image, '.*Test$')]" />
</properties>
</rule>
</ruleset>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/rconnect/rconnect-android.git
git@gitee.com:rconnect/rconnect-android.git
rconnect
rconnect-android
rconnect-android
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385