Menu

pmd codecheck to find same set of classes in multiple jars

Logesh
2018-07-26
2018-07-30
  • Logesh

    Logesh - 2018-07-26

    Hi everyone ,
    i'm new to pmd , i just want to know whether pmd has any predefined ruleset for detecting same set of classes in multiple jars. Any help is appreciated

     
    • Juan Sotuyo

      Juan Sotuyo - 2018-07-26

      PMD checks source code, not binary jars. We use jars for type resolution,
      but the same way the JRE does (first match on classpath), so we don't check
      nor know of duplicates.

      Unless you are looking for conflicting classes defined in different
      sourcesets of the same project, PMD is not suited to detect these
      scenarios. If that IS your case however, there is no current rule to do
      so, but can easily be written in Java.

      Regards

      On Thu, Jul 26, 2018 at 10:38 AM Logesh logesh@users.sourceforge.net
      wrote:

      Hi everyone ,
      i'm new to pmd , i just want to know whether pmd has any
      predefined ruleset for detecting same set of classes in multiple jars. Any
      help is appreciated


      pmd codecheck to find same set of classes in multiple jars


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/pmd/discussion/188192/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       
  • Logesh

    Logesh - 2018-07-30

    Thanks a lot Juan Sotuyo

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.