Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Pmd (0.02 sec)

  1. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Pmd.java

         *
         * This is only well supported for PMD 5.2.1 or better.
         *
         * @since 2.8
         */
        public void setClasspath(@Nullable FileCollection classpath) {
            this.classpath = classpath;
        }
    
        /**
         * Controls whether to use incremental analysis or not.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/pmd-rules.xml

    <?xml version="1.0"?>
    <ruleset name="Custom ruleset"
        xmlns="http://pmd.sf.net/ruleset/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
        xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
      <description>
      This ruleset checks my code for bad stuff
      </description>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/pmd-rules.xml

    <?xml version="1.0"?>
    <ruleset name="Custom ruleset"
        xmlns="http://pmd.sf.net/ruleset/1.0.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
        xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
      <description>
      This ruleset checks my code for bad stuff
      </description>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 419 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.quality.Pmd.xml

                        <td>Default with <literal>pmd</literal> plugin</td>
                    </tr>
                </thead>
                <tr>
                    <td>pmdClasspath</td>
                    <td><literal>project.configurations.pmd</literal></td>
                </tr>
                <tr>
                    <td>ruleSets</td>
                    <td><literal>project.pmd.ruleSets</literal></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/main/resources/META-INF/gradle-plugins/org.gradle.pmd.properties

    Tom Tresansky <******@****.***> 1687350218 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 62 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/core-plugins/pmd_plugin.adoc

    +
    Runs PMD against the production Java source files.
    
    `pmdTest` — link:{groovyDslPath}/org.gradle.api.plugins.quality.Pmd.html[Pmd]::
    +
    Runs PMD against the test Java source files.
    
    The PMD plugin adds the following dependencies to tasks defined by the Java plugin.
    
    .PMD plugin - additional task dependencies
    [%header%autowidth,compact]
    |===
    | Task name | Depends on
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/runtime/plugin.go

    	}
    
    	for _, pmd := range activeModules() {
    		if pmd.pluginpath == md.pluginpath {
    			md.bad = true
    			return "", nil, nil, "plugin already loaded"
    		}
    
    		if inRange(pmd.text, pmd.etext, md.text, md.etext) ||
    			inRange(pmd.bss, pmd.ebss, md.bss, md.ebss) ||
    			inRange(pmd.data, pmd.edata, md.data, md.edata) ||
    			inRange(pmd.types, pmd.etypes, md.types, md.etypes) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/PmdPlugin.java

    /**
     * A plugin for the <a href="https://pmd.github.io/">PMD</a> source code analyzer.
     * <p>
     * Declares a <code>pmd</code> configuration which needs to be configured with the PMD library to be used.
     * <p>
     * Declares a <code>pmdAux</code> configuration to add transitive compileOnly dependencies to the PMD's auxclasspath. This is only needed if PMD complains about NoClassDefFoundError during type
     * resolution.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 18:07:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle

    // tag::define-classpath[]
    configurations {
        pmd
    }
    
    dependencies {
        pmd group: 'pmd', name: 'pmd', version: '4.2.5'
    }
    // end::define-classpath[]
    
    // tag::use-classpath[]
    tasks.register('check') {
        doLast {
            ant.taskdef(name: 'pmd',
                        classname: 'net.sourceforge.pmd.ant.PMDTask',
                        classpath: configurations.pmd.asPath)
            ant.pmd(shortFilenames: 'true',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 697 bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginAuxclasspathIntegrationTest.groovy

            buildFile << """
                project("rule-using") {
                    apply plugin: 'pmd'
    
                    dependencies {
                        $dependenciesString
    
                        pmd project(":pmd-rule")
                    }
    
                    pmd {
                        ruleSets = ["rulesets/java/auxclasspath.xml"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top