Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-3218

Analysis False positives for tackle-testapp-public

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • MTA 7.1.0
    • MTA 7.1.0
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Noticed some false positive results generated in analysis of tackle-testapp public.

       

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:
      1. Analysis on tackle-testapp-public https://github.com/konveyor/tackle-testapp-public/
      2. Source mode
      3. ran analysis and studied rules fired.

      Actual results:

      1) local-storage-00001 , doesn't look related to the source code .

      The rule is fired for these  lines
      dataSource.setDriverClassName(config.getProperty("jdbc.driverClassName"));
      dataSource.setUrl(config.getProperty("jdbc.url"));
      dataSource.setUsername(config.getProperty("jdbc.user"));
      dataSource.setPassword(config.getProperty("jdbc.password"));

       

      2) ruleID: java-removals-00110(https://github.com/konveyor/rulesets/blob/4d682fd27dedc2fd815c53ac57c3109678a60cb2/default/generated/openjdk11/191-java-removals.windup.yaml#L262)

      doesn't seem to be matching for Source code
      transactionManager.setEntityManagerFactory(entityManagerFactory().getObject());
      Expected results:

       

      Additional info:

        1. image-2024-07-15-11-52-54-181.png
          190 kB
          Alejandro Brugarolas
        2. screenshot-1.png
          66 kB
          Alejandro Brugarolas
        3. Screenshot from 2024-07-03 16-16-52.png
          442 kB
          Shveta Sachdeva
        4. Screenshot from 2024-07-03 16-17-24.png
          495 kB
          Shveta Sachdeva
        5. Screenshot from 2024-07-03 16-52-51.png
          471 kB
          Shveta Sachdeva

              emcmulla@redhat.com Emily McMullan
              rhn-support-sshveta Shveta Sachdeva
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: