Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28270

Combine duplicate errors

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • cppcheck-plugin
    • None

      On large projects involving several applications/libraries, it is customary to run cppcheck on each individually, to obtain multiple xml files. The cppcheck Jenkins plugin can aggregate all these together which is great. (With wildcard support too! Awesome!)

      What isn't so great is that sometimes the same error (like "noExplicitConstructor") shows up in several xml files for the same location (usually in a library header file). It seems like when multiple errors with the same id and same location(s) are present, only one needs to be shown. (This will only occur when using multiple xml files, since I believe cppcheck filters out the duplicates in each individual xml file.)

            gbois Gregory Boissinot
            kmcghee Kyle McGhee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: