Uploaded image for project: 'SonarPHP'
  1. SonarPHP
  2. SONARPHP-951

The progress report should report the current file instead of the next one

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4
    • Component/s: Plugin
    • Labels:
      None

      Description

      When a huge file is part of a project, that file may appear in the logs, e.g.:

      INFO: 504 source files to be analyzed
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 182/504 files analyzed, current file: src/Reflection/SignatureMap/functionMap_php74delta.php
      INFO: 336/504 files analyzed, current file: src/ShouldNotHappenException.php
      INFO: 504/504 source files have been analyzed
      

      However, the file which is mentioned is incorrect: it's the file which will be processed after the current file. That should be fixed.

        Attachments

          Activity

            People

            Assignee:
            pierre-yves.nicolas Pierre-Yves Nicolas
            Reporter:
            pierre-yves.nicolas Pierre-Yves Nicolas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: