Identifying where plugins are being used in your wordpress install

This would be impractically to automate due to nearly endless amount of ways which constitute plugin “use”. What plugins do range from super obvious to extremely subtle and niche.

Some plugins specialize in changing behavior to not do something, making their functionality consist of absence rather than presence of results.

If I absolutely needed a starting point I would dump get_included_files() and check against plugin folders to have a rough guess which stuff is actively loaded. But that would only serve as rough outlook.

Overall I don’t think you can be off the hook for actually examining what the active plugins are and what their purpose is, then handling case by case.