Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-290

Add CPD example for C#

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.14.0
    • CPD
    • None

    Description

      I wish to analyze C# source code with CPD, with no success

      Looking to the CpdReport.java MOJO, it seams that the language is not extracted from either the pom.xml file or the CLI options.

      Line 76 :

          @Parameter( defaultValue = "java" )
          private String language;

      property = "language" is missing, so the language is always forced to java

      Is it possible to fix this bug, and add the missing languages CPD is supporting ?

      Thanks

       

      Attachments

        Issue Links

          Activity

            People

              adangel Andreas Dangel
              qualitesys QualiteSys QualiteSys
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: