Polyspace Bug Finder Shows Defects Although Not Activated
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Ismet
 el 25 de Mzo. de 2025
  
    
    
    
    
    Respondida: Christian Bard
    
 el 28 de Mzo. de 2025
            When Polyspace Bug Finder (Server?) has run in our CI/CD pipeline, I get following summary in the report:

Why does Polyspace scan for so-called Defects (null pointer, division by zero, dead code etc.) even though we did not activate them in our checkers file (XML file), see:

0 comentarios
Respuesta aceptada
  Pratyush Swain
      
 el 27 de Mzo. de 2025
        Hi Ismet,
I did some searching and found that Polyspace performs default defect detection such as null pointer, division by zero, and dead code, etc. regardliess of the settings in the checkers selection XML file because these defects are part of static code analysis rather than coding standard compliance checks.
You can find the list of Polyspace Bug Finder defect checkers enabled by default here:  https://www.mathworks.com/help/bugfinder/ug/polyspace-bug-finder-defects-checkers-enabled-by-default.html 
For modifying the default behaviour of Bug Finder checks or choosing specific bug finder defect checkers, please refer to following resosurces:
Hope this helps.
0 comentarios
Más respuestas (1)
Ver también
Categorías
				Más información sobre Run Settings en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


