Support newly added source files to the Code Change Report

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 2024-03-19 - PacificOcean
    • 1

      The Code Change Report generation may fail if a new file is added in the src directory and that file contains functions for which Metrix++ generates complexity data.

      The expected behaviour is that newly added source files work correctly. 

      The actual behaviour is that the code_change_info.py does not check that the previous complexity data contains information on a particular file before attempting to access it in the preprocessed_prev_complexity_data dictionary. The issue was found during work on a PR for WT-12619.
       
      This ticket will fix the issue.
       

              Assignee:
              Jeremy Thorp (Inactive)
              Reporter:
              Jeremy Thorp (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: