Tuto WEBDEV 25
Part 10: Optimizing and debugging a project 357 Orphan element The audit indicates that our project contains an orphan element. As for the procedures run, you may create windows or reports in order to run a quick test, save them and forget everything about them. The presence of orphan elements in the executable unnecessarily consumes the resources distributed to the end users. ▶ To fix this problem: 1. Click the [...] button to get more details. The window used to list the orphan elements is displayed. 2. The "PAGE_Unused_Page" page is never called. The window that lists the orphan elements is used to: • specify that the element is still used ("Flag as useful"). In this case, the page will not be taken into account anymore during the audit. This option can be interesting when using a test page specific to the development for example. • delete the page if it is actually unused ("Delete"). • see the page ("View"). • find the use cases in the strings for example ("Search"). 3. In our case, this "PAGE_Unused_Page" page is actually unused, click "Delete". 4. Close the window of orphan elements (click the cross in the top right corner). ▶ In the window of static audit, click the "Refresh" button to update the audit report.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==