(Build b877) – 10 Feb 2017
- Fixed some problems with incorrect line count metrics.
- Fixed a potential issue where a " – " in the short name of the user checks may not allow the check to be run properly.
- Updated MISRA 2012 rule 16.6, MISRA 2008 rule 6-4-8, MISRA 2004 rule 15.5 and All Check script switchStatementShallHaveCaseClause.upl to properly handle empty case clauses that utilize curly braces
- Updated CodeCheck results text/dashboard export to convert html code back to plain text where needed.
- Updated the Dependency Browser and Dependency Graphs to remove implicit dependencies in Java.
- Fixed some problems with incorrect line counts in code with lambda expressions and Javadoc comments.
- Fixed issue with using the metric for functions and the TreeMap not resizing correctly.
Good news for teams using Codecheck, build 868 lets Codecheck ignore violation via comments in the code. This will allow teams to specify areas in the code where exceptions are permitted and specify the rationale. For example:
goto RAINBOW; //UndCC_Line() Use of goto statement approved by Gerry T. on Nov 7,2014
This will create a new rule in the Codecheck “Ignores List” to ignore all Codecheck violations on this line and add a note about the approval process. Those ignored violations can still be viewed in Understand, but are hidden by default.
Ignore rules can be created for: a specific line, a range of lines, a file, a specific entity, and a specific entity in a range of lines. They can also be made to ignore all violations or just violations of the specified type(s).
In an effort to make our APIs more consistent a few of the API files have been moved around with build 858. Your code may need to be updated to reflect these changes.
udb.h, libudb_api.so, udb_api.dll and udb_api.lib have all been moved to bin\<OS>\C
The bin\pc-win64\python folder has been capitalized to bin\<OS>\Python
Custom Perl API
The Understand Perl library files have been moved up a level from bin\<OS>\Perl\STI\Maintain to bin\<OS>\Perl\STI
This will only affect users that are using the perl API with their own custom install of Perl 5.10.0, not those running scripts inside of Understand or using the uperl executable.
We’re excited to join our European partner Emenda at a morning seminar in Reading on Tuesday 18th October. The subject is:
Software quality improvement, development process optimisation and cost reduction
More details below, we hope to see you there!
Our European distributor, Emenda will be hosting two code quality seminars in France next month, we would love to see you there.
The first will be in Toulouse on October 11, and the second in Paris on October 13
More details below, à bientôt
Journée Technologique – Optimisation des coûts liés à la certification grâce aux outils
Darth Vader is a trademark of Disney, not SciTools.
Read more »
Do you ever wonder how many licenses are really being used? Are engineers saying they don’t have any licenses available when they need them? We have added Floating License Tracking to make answering these questions a little easier. After upgrading the License Manager to build 793 or later, the server administrator can choose a location to save the log file, and start logging right from the License Manager GUI.
Once the logging is enabled take a look at the different graphs that are available by selecting the ‘Reporting’ tab. If your license file consists of different major versions of Understand, they will be color coded and divided up accordingly.
License Usage by Month
License Usage by Week
License Usage Daily
Notice that these graphs also show the number of times that a license was denied, meaning that all of the licenses were already in use when an engineer tried to get a license. This can help a team know if they need more licenses and help determine how many are needed.
If you like to see the raw data, or just want to see some more details, take a look at the log table that is available under the Reporting->Log Table tab. If you still want more data than this, let us know and we can give you details about how to get even more with a little custom work.
Great news, if your team uses floating licenses you now have the option to checkout a license when you travel!
When this feature is enabled by your server administrator a new section will appear in the Help->Licensing dialog in Understand while you are connected to the license server:
Simply select the number of days you want to keep the license and hit the “Checkout” button. At that point you can disconnect from the network and you will have an Understand license on your machine until the time expires or, if you get back to the office early, you can hit the “Checkin” button.
This feature, which we are calling “ToGo” is disabled by default and needs to first be enabled on the floating license server with the Instructions below; you will also need Understand 4.0 build 790 or later.
License Manager Setup
1. First, make sure the license manager is running build 790 or later. You can get the license build from https://scitools.com/download/licensemanager/
2. Next look for the ToGo line in your license.dat file and change the number from 0 to the maximum number of days you want users to be able to keep a license. If the line doesn’t exist you can type it in manually before the “Server:” Line
3. Start and stop the license server and it should be all done, Enjoy!
When using Understand it is possible to get to a point when you have quite a few windows open and want to be able to “browse” through the windows quicker and easier. The Window Selector is the perfect choice for this.
To open the Window Selector, choose ‘View->Window Selector. Notice that it shows several graphs and a number of source files in the list. I can easily click on any of these or use my keyboard to access them, and quickly see the file or graph that I am interested in.
Notice that the list does not show me the Entity Filter, Information Browser, or any of the Understand windows that I may also want to choose from. To change that, simply click on the Show: drop down arrow and select the option that best suits your needs. For me, I like to see ‘All Windows’, which then gives me the view shown below on the right.
There are also options available to be specific about how the items are sorted, how short or long the Filename is, and even a ‘Filter’ field at the bottom of the window.
Hopefully the Window Selector will make browsing your open windows and documents a little easier.
On a side note…there is a simplified version of the Window Selector that can be accessed quickly with the keyboard shortcut ‘Ctrl+Tab’. This temporarily opens a separate window that acts the same as the Window Selector but without all the options. The window closes when a file is selected.
If you find yourself frequently adding boilerplate text, changing the same kind of text, or repeating something over and over again in the editor, macros may be your new best friend. You can record your actions in the editor, and then save them and replay them at whatever location you want. This is much more than copy and paste, you can record arrow key movements, keyboard shortcuts, deleting, actual typed text, and much more. Then you can add keyboard shortcuts to each of those recorded macros. Give it a shot!