Sonargraph treats packages in a different way that is not compatible with Sonar:
Packages with the same name contained in different root paths are "merged". Thus, there is no way to pin a threshold violations for package level metrics (i.e. number of types) to a specific package in a maven module.
This is the reason, why the drill down for threshold violations does not list these kinds of metrics.