Incremental Analysis in Eclipse IDE

Software engineers rely on integrated development environments (IDEs) such as Eclipse™ to consolidate development activities to a single unified interface. With IDEs, you can edit, compile, execute, debug, and test your code.

You can run static analysis tools such as Polyspace® products, and view analysis results from IDEs. To access Polyspace from Eclipse, you must first install the plugin. Read detailed installation instructions for installing the plugin (Polyspace supports Eclipse versions 4.3, 4.4, and 4.5).

In R2017b, if you install the Polyspace plugin in your Eclipse IDE, the analysis runs each time you save your code. In other words, the analysis occurs incrementally. You do not have to launch the Polyspace analysis explicitly. This feature can help you detect bugs during active coding phases.

Using the Polyspace plugin to run analysis each time you save your code .

Using the Polyspace plugin to run analysis each time you save your code.

What Types of Bugs Does the Analysis Look For?

The analysis looks for the bugs that can be quickly detected. You get the same results as if you had specified the option Use Fast Analysis Mode for Bug Finder (-fast-analysis) without the Eclipse plugin. You can also configure for additional types of defects by specifying the defect checkers in your configuration and launching the analysis explicitly.

Can I Disable the Automatic Analysis?

You can enable or disable the automatic analysis. Select or clear Polyspace > Run Fast Analysis on Save
Sign in to Polyspace documentation to learn more.