1.4.15. Migration to 7.9.0¶
1.4.15.1. Axivion CI¶
Clean phase¶
A number of changes have been implemented on how axivion_ci performs the clean phase.
Build System Integrations¶
For the clean_before and clean_after phase, the order of execution of the respective clean steps has been changed from “same order as build steps” to “reverse order of build steps” because this more closely matches the natural expectation.
In most configurations this change should be unnoticeable or even result it less build system related errors in the build log, but it may be possible that you have to adjust the steps you configured in BuildSystemIntegration if you explicitly added steps to counteract the previous behavior.
CMake¶
axivion_ci records whether the build_directory already existed prior to the analysis run. In this case, the clean phase invokes cmake … –target clean (this is the previous behavior). If however the build_directory was created within axivion_ci execution, then the clean phase removes this directory completely.
Compile Commands, GHS, IAR, KEIL, Renesas¶
Clean action for those integrations has been changed to emit a warning if the required project file is missing, instead of aborting the axivion_ci run.
1.4.15.2. Stylechecks¶
CWE rules¶
All CWE rules have been renamed. They are named CWE-<num> as originally given. Before they were grouped according to CWE’s “Software Development” view. Since the view has changed and some rules are part of several categories or no category at all, this grouping via rule names has been given up. Corresponding CWE subgroups no longer exist. Instead, the categories are now internally stored and displayed after the original title in square brackets to support search using axivion_config.
Also the rule copies for the top 25 CWE most dangerous software weaknesses have been removed as those of the years 2020 and 2021 are no longer up-to-date. For the year 2023 entries of the form Top25-2023-<rank> are appended to the original title like categories are.
Existing configuration are migrated automatically but other CWE rule names, i.e. given in suppressions, must be replaced manually.
1.4.15.3. Dashboard¶
The Dashboard server now requires at least Java 17. This also applies to servers started from the plugins to display local or single file analysis results.
1.4.15.4. Dashboard Analysis Results¶
cache_directory¶
The layout of the cache_directory created by axivion_ci (the default location is: .axivion-cache) has changed. To prevent unnecessary disk space usage by outdated files, it is recommended to delete this folder upon upgrade—this folder is safe to delete anytime while no analysis is running. Note: Aside from this migration, the cache_directory should be kept between analysis runs for performance reasons.