We use this solution to develop software components flashed on ECUs for electronic control units.
Polyspace Code Prover boosts code reliability by identifying critical issues like memory corruption and null pointer dereferences, adhering to ISO 26262 standards.

| Author info | Rating | Review Summary |
|---|---|---|
| Principal Software Engineer at Valeo | 4.0 | We use Polyspace Code Prover for safety-critical components in the automotive industry, as it identifies potential code issues like invalid pointer accesses. While effective, it has a lengthy initial run time and requires dependency management, unlike our other tool, Klocwork. |
We use this solution to develop software components flashed on ECUs for electronic control units.
Polyspace Code Prover has made me realize it differs from other static code analysis tools because it runs the code. So it's quite distinct in that aspect. We primarily use it in the automotive industry, where we develop components that need to meet certain safety standards.
Polyspace Code Prover helps us minimize the risk associated with these components by identifying potential problems in the code, such as invalid pointer accesses or divisions by zero. These are issues that could be missed during regular code reviews or unit testing, which focus on individual parts and specific input combinations. By leveraging Polyspace Code Prover, we aim to minimize risks as much as possible when developing safe components.
One of the main disadvantages is the time it takes to initiate the first run. Usually, there are a lot of errors initially, and you need to remove dependencies, such as compounded dependencies, to have an initial run. When we compared different tools, we found that the only drawback of Polyspace is the lead time required to have an output.
There's something that can bypass the red errors. This is because you cannot base the policy solely on the presence of a red line or error. Sometimes, this mocks other errors from being reported.
I have been a customer of Polyspace Code Prover for six years. We have the latest version.
The solution is stable.
The solution is scalable. We are a medium enterprise.
There is a lot of help available online that you should consider before talking to someone. However, sometimes it's not about the support; it's about having a case-by-case issue that is harder to solve. In such cases, you need the support team to be involved in your specific use case and provide the necessary help. There are many dependencies on the compiler and other factors. Therefore, each use case will have its own set of problems.
Positive
We use Klocwork, but it is not a substitute for public space. Klocwork offers different functionalities compared to what we need. They have a solution called Bug Finder, which is similar to Klocwork. We are using Klocwork instead of Bug Finder. As for the code approver, there isn't a similar product on the market. We use Clockwork for all our software components except for the safety-critical ones. For the components that require the highest quality, we utilize Polyspace Code Prover instead of Klocwork. This decision is made based on our priority for safety. So, we use Polyspace Code Prover for safety-critical components and Klocwork for all other components.
The initial setup is not so difficult.
The installation takes a couple of hours or less than an hour or two. But it's like cutting up our software, the whole software. It shouldn't take days—maybe seven to eight days—to have an initial run with no errors and all the dependencies removed.
Two engineers are assigned per project for this activity, and they work on it throughout the entire project. They are not typically responsible for the entire component. The benefit of their involvement is that they can assist the developers at the front end of the component, but they are not involved in developing all of the components. Generally, we assign this task to two engineers who receive the report and deliver it to the other developers.
We are required to maintain it. We have to rerun it every time there is a code change.
Two persons are required per project for maintenance. However, in our organization, we have a large volume of projects. Therefore, it requires a significant number of people. We have multiple sites and around 50 projects. We enforce policies, ensure their strength, and provide maintenance.
The solution is not really cheap, but it wouldn't cost too much either. It is something you need. Its benefits outweigh its cost. It has a good price point. It has a yearly license fee.
I advise you to check what exactly you need out of this tool. Sometimes, you might not need something as complex as a code prover. However, in a use case where you want to check all possible combinations and inputs to ensure that the software does not behave incorrectly, you will definitely need to use Polyspace Code Prover. It is not humanly possible to perform these checks manually. If you are delivering a product with a quality rating or if it will impact people's lives in some way, then Polyspace Code Prover is essential.
But if your application is not that critical, if it does not significantly impact people's lives, and if you can afford not to use it, then you can definitely go without it. Polyspace Code Prover finds many problems that are missed during normal unit testing. However, if you cannot afford the cost, you must evaluate the importance of quality.
Overall, I rate it an eight out of ten because of the time it takes.
| Product | Mindshare (%) |
|---|---|
| Polyspace Code Prover | 1.3% |
| SonarQube | 10.2% |
| Checkmarx One | 6.8% |
| Other | 81.7% |
| Company Size | Count |
|---|---|
| Midsize Enterprise | 1 |
| Large Enterprise | 6 |
| Company Size | Count |
|---|---|
| Small Business | 76 |
| Midsize Enterprise | 39 |
| Large Enterprise | 180 |
Polyspace Code Prover offers advanced static code analysis tailored to detect complex runtime issues, making it a substantial asset in safety-critical software development. With features that facilitate easy integration with minimal tool switching, it effectively examines code segment runtimes for potential faults such as memory overflows. Polyspace Code Prover stands out by providing mathematical proofs of correctness, differentiating it from other static tools. However, improvements in processing speed and large-scale application handling remain necessary. While integration challenges exist with CI environments like AWS and Azure, the tool's efficiency is valued in automotive applications for unit-level verification and requirement-based component development, despite some scalability limitations.
What are Polyspace Code Prover's key features?In industries such as automotive, Polyspace Code Prover is crucial for Functional Safety validation. It is applied in diverse projects like vertical control systems and cluster infotainment, with a focus on requirement-based component development. Despite challenges in larger applications, it remains a vital tool for analyzing Simulink models and small-scale implementations.
Alenia Aermacchi, CSEE Transport, Delphi Diesel Systems, EADS, Institute for Radiological Protection and Nuclear Safety, Korean Air, KOSTAL, Miracor, NASA Ames Research Center