Code Analysis Component v1.3

A very useful tool gets an update

Open Road Development, Inc. will say Dani Beaubien has released an update for their code inspection tool Code Analysis. It’s a free component for 4D v12 and 4D v13. It helps developers to streamline their code and find culprits.

As a nice side effect it allows to export all code as text for using in a source control system.

For documentation purposes Code Analysis can produce HTML outputs for the source code and structure.

VERSION 1.3 CHANGES

General

  • Adjusted the layout of the Preferences and API Docs buttons on the window.
  • Enhanced the format used in the internal xml preference files. A preference label attribute is part of each preference.
  • Worked around an issue with the “folder separator” constant with a hotfix version of 4D.
  • Fixed issue that allowed html files to be dragged onto the webarea on the documentation/release notes window.
  • Fixed issue where object names had special characters. The objects are display properly rather than encoded characters. The issue was fixed on screen and in the exported HTML docs.
  • Improved Read Me file

Complexity Tab

  • Column header gives an indication of how many rows are in the table on the Code and Diff Analysis tabs.

Differences Tab

  • Added the ability to repeat the last DIFF without having to reselect the folder to diff against.
  • Added the ability to save the list of differences to a csv file.
  • Column header gives an indication of how many rows are in the table on the Code and Diff Analysis tabs.
  • Fixed the issue that was causing deleted form elements with methods to not display properly in the list of differences.

Method Export Tab

  • Reorganized the layout of the “Method Export” to better support the various export options.
  • Added the ability to export the “shared” methods as a docset that is viewable by a docset viewer like Dash (http://kapeli.com/dash). There are also iOS docset viewers as well.

Structure Export Tab

  • Renamed the tab from “Form Properties Export” to “Structure Export”.
  • Added the ability to export the table and field definitions as a timestamped json file.

Method Difference Viewer

  • Updated how the line numbers are displayed. The “//%attribute” line no longer has a line #.
  • Clicking on “Strip Attribute Line before DIFF” will redo the DIFF automatically.
  • Clicking on “Strip All Comments before DIFF” will redo the DIFF automatically.
  • Clicking on “Strip All Blank Lines before DIFF” will redo the DIFF automatically.
  • Support up and down arrow keys to move the code one line at a time.
  • Support Cmd/Crtl up and down arrow keys to jump to the next/prev difference in the code.

Visit Open Road Development, Inc. to get more informations and the component.