What's New in Cleanscape FortranLint GUI
Version 7.65 Last update: 4-Sep-23
Three project analysis settings are available:
a) Check Filelist Integrity can eliminate scores of false positives due to missing modules or include files. It also checks for Fortran statements out of order (e.g., declarations in the wrong place) and will report if 132-column source is detected.
b) Check Missing Procedures reports missing functions or subroutines. This can mean additional files need to be added to the project filelist, or that it would be beneficial to create “stubs” for procedures for which there is no source code (e.g., library routines).
c) Filter Project Results can dramatically reduce the amount of output on large projects, allowing the user to focus on just one or a few files of interest, rather than the results for the entire program. In very large test cases, the total number of report lines is reduced by >99%!
Procedure Assessments
a) In the Statistics report, list each procedure name, line count, parameter count, and cyclomatic complexity v(G). These results may be sorted and are hyperlinked in the Statistics report. An example is shown on the next page
b) In addition, informational message 909 will be emitted if v(G), line count, or parameter count exceed the maximum specified on this tab.
Magic Comments
a) Processes magic comments inside source code. Presently supports only Omit (-O) to suppress a Flint message on the following sourceline.
b) Notification of magic comment use is provided in both the Analysis and Statistics reports.
● An external tool, seteditor, has been added to your Cleanscape program’s ‘bin’ subdirectory. Instead of having to request adding an editor via Cleanscape, simply double-click the program and follow the instructions for the three popups. In Unix/Linux, the setup is command-line interactive. Restart the Cleanscape GUI, and your editor will be in the dropdown list on the Reports tab! Newly added editors are stored in file myeditor.lst in $HOME (Unix) or C++lint’s ‘main’ subdirectory (Windows).
● Editors supported out of the box:
● Windows: Atom, Crimson Editor, Emacs, Epsilon Programmer’s Editor, GVim, Notepad++, Slickedit, Sublime, UltraEdit, Visual Studio, Visual Studio Code
● Unix/Linux: Atom, Emacs, Joe, Nano, Slickedit,
Sublime, Ultraedit, Vi, Vim,
Visual Studio Code
● Right-click on any filename in the Project window and the file will open in the previously selected External Editor. Also, a tooltip balloon provides the full filename; if the filename doesn't fit the window, the last 40 or so characters are shown and an ellipsis starts the filename.
● A "template" project file containing the settings - but not the filenames – of the GUI session is automatically saved upon exit, then loaded at next GUI start if neither project filename nor -blank are specified.
● A list of up to 9 recent projects is retained and may be loaded from File - Recent Projects.
● If no .csi file is specified at startup, Flint loads the "template project" described earlier. To prevent the template from loading, add -blank to the startup.
● Users can now specify font preferences
via the flint.ini file located in the ‘main’ subdirectory ($HOME if
Unix/Linux).
NOTE: file flint.ini has been updated in
version 7.0 and will overwrite any existing version. On Unix/Linux, the user’s
local copy in $HOME is backed up first to flint.ini.orig; on Windows, the
installer warns you before overwriting so you can back up beforehand.
● Online help updated to capture these changes.
● Seamonkey has been added to the list of browsers searched for if running on *nix.
● A number of bug fixes, cleanups, and control enhancements.