Difference between revisions of "Static analysis"

From Freephile Wiki
Jump to navigation Jump to search
(extracted from the 'Testing page')
 
(get opinionated)
Line 1: Line 1:
 
Part of [[Testing]] is the static analysis that your IDE can perform, or that standalone analysis tools can perform.
 
Part of [[Testing]] is the static analysis that your IDE can perform, or that standalone analysis tools can perform.
  
 
+
Some people don<nowiki>'t like static analysis. Frankly, I think it's because those people don't know computer '''science''' and don't want to or can'</nowiki>t grasp topics like [[wp:Reification (computer science)]].
  
 
[https://github.com/brendt Brent Roose] of PHP Annotated discusses Static Analysis in this video about Generics in PHP
 
[https://github.com/brendt Brent Roose] of PHP Annotated discusses Static Analysis in this video about Generics in PHP

Revision as of 14:49, 20 February 2024

Part of Testing is the static analysis that your IDE can perform, or that standalone analysis tools can perform.

Some people don't like static analysis. Frankly, I think it's because those people don't know computer '''science''' and don't want to or can't grasp topics like wp:Reification (computer science).

Brent Roose of PHP Annotated discusses Static Analysis in this video about Generics in PHP

Static Analysis tools for PHP[edit | edit source]

Phan[edit | edit source]

see Phan

PHPStan[edit | edit source]

This is my favorite tool. See PHPStan

Psalm[edit | edit source]

https://psalm.dev/