• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • analysis-model
    • None
    • Jenkins 2.204.1, Warnings Next Generation 8.1.0, Git Forensics 0.7.0, Forensics API 0.7.0
      Red Hat Enterprise Linux 7.7 x86_64
      Java 1.8

      Duplicate cppCheck warnings are not combined or removed.

       

       

          [JENKINS-61939] Duplicate warnings not eliminated/combined

          Ulli Hafner added a comment -

          Can you please provide an example?

          Ulli Hafner added a comment - Can you please provide an example?

          Working on it.

          Problem encountered in a proprietary code base.
          Attempted minimal example correctly combined the one issue found twice, but in our code base I’m seeing issues repeated up to 12 times.

          Timothy Brackett added a comment - Working on it. Problem encountered in a proprietary code base. Attempted minimal example correctly combined the one issue found twice, but in our code base I’m seeing issues repeated up to 12 times.

          Timothy Brackett added a comment - - edited

          Missing include keyword and unused function duplicated in this small example

          Timothy Brackett added a comment - - edited Missing include keyword and unused function duplicated in this small example

          Ulli Hafner added a comment -

          Sorry that this took so long. I created a test case now: https://github.com/jenkinsci/analysis-model/pull/560. Since the two duplicates are now eliminated I think this issue has been closed in the meantime (in the upstream library violations lib)?

          Ulli Hafner added a comment - Sorry that this took so long. I created a test case now: https://github.com/jenkinsci/analysis-model/pull/560 . Since the two duplicates are now eliminated I think this issue has been closed in the meantime (in the upstream library violations lib)?

            drulli Ulli Hafner
            brackett_tc Timothy Brackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: