Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-3218 Analysis False positives for tackle-testapp-public
  3. MTA-3469

[QE] Verify for ( Analysis False positives for tackle-testapp-public )

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • MTA 7.1.0
    • None
    • QE-Task
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      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:

              rh-ee-abrugaro Alejandro Brugarolas
              istein@redhat.com Ilanit Stein
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: