Accessible test applications can pose a variety of security risks. Since developers or administrators rarely consider that someone besides themselves would even know about the existence of these applications, it is common for them to contain sensitive information or functions.
Best practices to prevent this CWE
Phase: Distribution; Installation
Remove test code before deploying the application into production.