Difference between revisions of "Testing"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
The MediaWiki project uses Phan. See the article [[mw:Continuous_integration/Phan|Continuous_integration/Phan]] | The MediaWiki project uses Phan. See the article [[mw:Continuous_integration/Phan|Continuous_integration/Phan]] | ||
− | == Links == | + | ==Links== |
− | # <nowiki>https://github.com/wikimedia/mediawiki-tools-phan</nowiki> | + | #<nowiki>https://github.com/wikimedia/mediawiki-tools-phan</nowiki> |
− | # <nowiki>https://github.com/phan/phan</nowiki> | + | #<nowiki>https://github.com/phan/phan</nowiki> |
− | # <nowiki>https://www.mediawiki.org/wiki/Continuous_integration/Entry_points</nowiki> | + | #<nowiki>https://www.mediawiki.org/wiki/Continuous_integration/Entry_points</nowiki> |
− | # <nowiki>https://www.mediawiki.org/wiki/Continuous_integration/Phan</nowiki> | + | #<nowiki>https://www.mediawiki.org/wiki/Continuous_integration/Phan</nowiki> |
− | # <nowiki>https://www.mediawiki.org/wiki/Best_practices_for_extensions#File_structure</nowiki> | + | #<nowiki>https://www.mediawiki.org/wiki/Best_practices_for_extensions#File_structure</nowiki> |
− | # <nowiki>https://github.com/nikic/php-ast</nowiki><br /> | + | #<nowiki>https://github.com/nikic/php-ast</nowiki> <br /> |
==Static Analysis of MediaWiki== | ==Static Analysis of MediaWiki== |
Revision as of 00:50, 16 February 2024
Testing is software development.
Software development is writing code. Testing makes sure the code actually works, so in a nutshell: Testing is software development :-)
Phan is a static analyzer for PHP. Phan project on GitHub It will help you write better PHP7 code. You'll need the Abstract Syntax Tree generated by PHP. You can read a tutorial for how to get Phan working in your project
The MediaWiki project uses Phan. See the article Continuous_integration/Phan
Links[edit | edit source]
- https://github.com/wikimedia/mediawiki-tools-phan
- https://github.com/phan/phan
- https://www.mediawiki.org/wiki/Continuous_integration/Entry_points
- https://www.mediawiki.org/wiki/Continuous_integration/Phan
- https://www.mediawiki.org/wiki/Best_practices_for_extensions#File_structure
- https://github.com/nikic/php-ast
Static Analysis of MediaWiki[edit | edit source]
See https://doc.wikimedia.org/mediawiki-core/master/phpmetrics/complexity.html