Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Performing Analysis of your Objective-C Source Code source code is a bit different than analysis with other supported languages. This is due to the “source-file” detection pattern used by Sci-Tools Understand Software and will require a minor change to your configuration in - order to properly analyze it.

Info

If attempting to analyze Objective-C codebases that have intermixed C/C++ & Obj-C header files follow the instructions at this link instead: Analyze Intermingled C/C++ /Objectuve& Objective-C/C++ Codebases with CodeMRI®. Additionally, all these instructions can be altered to configure for Objective-C++

...

At this point you may or may not have had a successful run against your code-base however. However, your analysis of this code base is almost certainly invalid. This is due to the fact that Understand is reading the .h extension as a C++ extension by default. To verify this, run the following command:

...

This command will list out the configuration for your particular instance of understand Understand and the modifications made to this configuration by the specified system cmri was executed against. You can see below that the .h extension is configured to be analyzed as C++ Header Files.

...