Rule Sets FAQ
Contents
- 1 Do you have any model rule sets that we could leverage as 'models' for our own?
- 2 How can we filter out C# functions that should be filtered out from the Embedded Strings list?
- 3 Where can I find more introduction and materials about “General Pattern” issues found in C++ code scanning?
- 4 Is there support for detecting and fixing GUI alignment problems?
Do you have any model rule sets that we could leverage as 'models' for our own?
Each time we release, we try to add more default filters to our rule sets. It is an ongoing process.
How can we filter out C# functions that should be filtered out from the Embedded Strings list?
We do need to add more default string method filters for C#. If you have a server license, you could easily add these to your database. With your installation, there is a document that describes how to do this: Advanced_Globalyzer_Server_Usage_3_3.doc. If you do decided to go this route, please feel free to ask any questions.
Where can I find more introduction and materials about “General Pattern” issues found in C++ code scanning?
If you go to the Globalyzer Server and look at the General Patterns for your rule set, it will often give information on why Globalyzer is scanning for this pattern. In addition, if you go to the Help system on the Globalyzer Server, there are various topics on C++ internationalization. In particular, click on “Unsafe Methods”, then “C++ Programming Language”, and then “C++ Rule Sets”. This help page talks about Unicode support in the various C++ rule sets. For example, usually a C++ program will be compiled with single-byte character strings. These single-bytes cannot support Unicode characters, which require more than 1 byte. That is a main reason why our C++ General Patterns scan for character strings: because you will have to make sure to modify them if they are to hold Unicode strings.
Is there support for detecting and fixing GUI alignment problems?
This would be handled using programming patterns written to find fixed widths.