9 Replies Latest reply on Dec 12, 2011 9:12 AM by Andrew Lord

    aolint - perl script to find some runtime problems using static analysis

    Andrew Lord

      [ I've moved the download to a document to make it easier to find

      https://communities.bmc.com/communities/docs/DOC-18044 ]

       

      Hi all,

       

      I’ve created a little script to help unit test my BAOmodules.

      I wanted something to speed up the test cycle and find simple problems at 'design time' rather than run-time.

       

      At the same time my perl was getting rusty so this looked like a good opportunity to kill two birds with one stone.

      The attached perl script will do some simple checks on a BAOmodule exported as a roar file:

       

      It will do the following checks:

       

      - unused or uninitialized context items.

      - missing required parameters.

      - xml content in a string value.

       

      - missing processes

      - unused or undefined tokens in transforms.