Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Explanation

This rule searches for libraries in your Blueriq Model and reports back an issue when unused libraries are found. In case a library is connected to the project its modules should be used in the project. If it is connected, but not used the rule will trigger. However, there is an exception: there are libraries that does do not contain modules, e.g. the AquimaLibrary which only uses globals. So this rule checks also if a library uses global elements.

Possible solutions

We estimate that resolving this issue will on average take 5 minutes.

Possible improvements

Check for each included library if it is Try to add libraries only if they are really needed. If no elements are used, it is highly likely that the library can be removed from your project. 

Example

In this example, the project includes all standard libraries:

Image Added

The BMA detects that two of them are not used, and can be removed from the project:

Image Added