|
Scan Result StatusActive Scan ResultsSelect one or more rows in the Scan Results table and then either right-click or click on the Menu icon and select Active=>Priority C or 1-5 from the dropdown menu. This sets the status for the row(s) to Active with the chosen priority. Each active issue has a priority. The priority can be 'C', indicating a string concatenation, or the priority can range between 1 and 5, with 1 being the highest - i.e. the most likely to be an internationalization issue. For Locale-Sensitive Methods, Static File References, and General Patterns, the priority is configured in the detection rules of the rule set. For Embedded Strings, priorities can be configured in retention rules, such as String Content Patterns and String Method Patterns. If a string is detected by these rules, the configured priority is assigned to the issue. If not, Globalyzer assigns a priority based on the content of the string. For example, a string containing words found in the dictionary will get a higher priority (more likely to be displayed to the end user and therefore more likely to require externalization) than one with words not found in the dictionary. Other considerations for assigning priorities to Embedded Strings include capitalization and punctuation found in the string. Priorities help focus efforts on the most important active issues. Non-Active Scan ResultsWhy change the status from Active? After scanning code, users typically wish to refine the results of the scan by removing rows from the Active Scan Results that do not contain valid issues. For instance, you may notice that the scan detected embedded strings that do not represent display text (end-users will never see them). In this case, you have four choices:
In any case, your goal is to produce Scan Results that accurately reflect the internationalization issues that need to be fixed. For instance, a refined or edited Scan Results table allows you or another user to move efficiently through the problems and fix them. Right-click or click on the Menu icon and select ToDo from the dropdown menu to set the status for the currently selected row(s) in the Scan Results table to ToDo. Right-click or click on the Menu icon and select Invalid from the dropdown menu to set the status for the currently selected row(s) in the Scan Results table to Invalid. Right-click or click on the Menu icon and select Ignore from the dropdown menu to set the status for the currently selected row(s) in the Scan Results table to Ignore. Right-click or click on the Menu icon and select Update to Dashboard as False Positive from the dropdown menu to update the status for the currently selected row(s) in the Scan Results table to dfp(Dashboard False Positive). See the confirm information in Console. The meaning of Invalid, Ignore, dfp and ToDo is completely determined by your needs. They have no special meaning in Globalyzer, other than they are not Active. To see all the rows that you have set to Invalid, Ignore, ToDo, dfp, you can create Scan Views. The default All Active Scan View displays rows that are set to Active or ToDo. Important Note: If you delete your Scan Results, you will lose all your Status settings as these are stored with the Scan Results. To have more permanent settings, you will need to modify the source code by inserting one of Globalyzer's Source Code Comments. For dfp status, you could restore from Lingoport Dashboard. Right-click on the scan results or click Project menu and select Reload Dashboard False Positives from the dropdown menu to reload the dfp status for the currently selected project. See the confirm information in Console.
|