New Component: ‘Developer Code Analysis’ for 4D v13

Open Road Development, Inc. releases a free component

Dani Beaubien of Open Road Development, Inc. has released a free component for inspecting 4D source code:

The drop-in Code Analysis v1.0 4D Component allows you, the 4D developer, to perform some basic analysis and actions against the uncompiled code stored in your 4D v13 structures.

Code Analysis is easy to use and offers the following features:

  • Can perform analysis on “all” stored methods in the structure including project methods, project form/object methods, table form/object methods, database methods and trigger methods.
  • Gathers stats on line counts, comment line counts, blank line counts, code line counts, and cyclomatic complexity.
  • Can export, as disk files, every method in the structure. Can be used for archiving, backups, and source code management.
  • Can create HTML documentation of the methods in the structure. The HTML docs can be limited to only those methods that have been marked as shared with host. This gives 4D developers to easily produce documentation for components that they share.

I developed this component to help me in my day to day development. I am sharing it with the 4D Community as way of giving back.

Please feel free to drop me a note on suggestions and feature requests. I do plan to do some more tweaks and add new features in the future. There is a known issue with the HTML that is generated for IE versions prior to IE9.

For more information and download visit Open Road Development, Inc.

Dani Beaubien
dbeaubien@openroaddevelopment.com
Open Road Development, Inc.

 

[amazon_image id=”1243377607″ link=”true” target=”_blank” size=”medium” ]Articles on Software Metrics, Including: Code Coverage, Software Metric, Source Lines of Code, Cyclomatic Complexity, Ripple Effect, Hackystat, Softwa[/amazon_image]  [amazon_image id=”B004L0DLJM” link=”true” target=”_blank” size=”medium” ]Cyclomatic Complexity[/amazon_image]  [amazon_image id=”1243376066″ link=”true” target=”_blank” size=”medium” ]Articles on Software Metrics, Including: Code Coverage, Software Metric, Source Lines of Code, Cyclomatic Complexity, Ripple Effect, Hackystat, Softwa[/amazon_image]