Remove Unused Services From Client Script

< 1 min read

Impact Area

Performance

Severity

Medium

Affected Element

Service Portal Widget

Rule ID #

SN-AVOID-INJECT-NOT-USED-SERVICE

Impact #

Inject Angular services or Service Portal services not needed in the controller increase performance overhead.

Remediation #

Delete any unused injected services from the client script acting as the controller.

Time to fix

5 min

Updated on March 21, 2025
Table of contents
Was it helpful ?