Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12632

Support newly added source files to the Code Change Report

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

      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@mongodb.com Jeremy Thorp
            Reporter:
            jeremy.thorp@mongodb.com Jeremy Thorp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: