Identification of messages which are not being used

Related products: Software Factory

The Software Factory offers a lot of features which help you identify unused items. One that I am currently missing is a tool which informs you of unused messages. Often checks change overtime and message become redundant.

It would be a great help if the Software Factory could inform you of unused messages.

That way you can clean up these unused messages.

NewOpen

OpenWorking on it!

Hi Arjan,

To support your idea, I did the following things.

Changes:

  • Renamed all prefilters to detect this situation from ‘Not used’ to ‘Not used in model’, and added a tooltip for clarification.
  • Renamed existing validations from ‘[object] not used’ to ‘[object] not used in model’.

These changes were made to clarify that, even though the object is not used in the model anymore, it might still be used in custom code.

New:

  • Added a similar validation for messages. It will not be active by default, because (contrary to the other 'not used' prefilters) messages are often not used in the model but they are often used in template code. This is also queried, but this can take quite some time.

     

We decided not add a ‘Not used in model’ prefilter for messages, for the same performance reasons as mentioned above.

This will be available in the 2024.1 release, which is expected in the beginning of 2024. Hope this helps!


Working on it!Next release

Next releaseCompleted