Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▼0.90ms] Passed 4 tests
Server-side resources used by Force Reinstall
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 43.47 ▲0.78 |
Dashboard /wp-admin | 3.64 ▲0.34 | 53.98 ▲0.23 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 56.83 ▲0.82 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 89.59 ▼5.44 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 40.58 ▲6.67 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 259 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Force Reinstall: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 14.39 ▲0.02 | 1.62 ▲0.03 | 41.19 ▼2.00 |
Dashboard /wp-admin | 2,294 ▲117 | 5.62 ▲0.04 | 95.15 ▼0.29 | 38.35 ▼4.50 |
Posts /wp-admin/edit.php | 2,199 ▲99 | 2.15 ▲0.14 | 42.98 ▲5.55 | 37.06 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 23.33 ▲0.29 | 670.61 ▼16.52 | 55.80 ▼6.59 |
Media Library /wp-admin/upload.php | 1,493 ▲93 | 4.25 ▲0.06 | 98.62 ▼16.30 | 43.02 ▼5.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 106× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\Br33f\\Ga4\\MeasurementProtocol\\Dto\\Parameter\\AbstractParameter' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Parameter/ItemCollectionParameter.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Pool.php:24
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Promise/Promise.php:14
- > PHP Fatal error
Uncaught Error: Class 'Rich4rdMuvirimi\\ForceReinstall\\Controller\\BaseController' not found in wp-content/plugins/force-reinstall/src/Controller/Site.php:27
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Psr7/InflateStream.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Promise/RejectedPromise.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\Br33f\\Ga4\\MeasurementProtocol\\Dto\\ExportableInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/Br33f/Ga4/MeasurementProtocol/Dto/Common/UserProperties.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Psr7/Response.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Rich4rdMuvirimi\\ForceReinstall\\Vendor\\Psr\\Http\\Message\\RequestFactoryInterface' not found in wp-content/plugins/force-reinstall/vendor/force-reinstall/psr-4/GuzzleHttp/Psr7/HttpFactory.php:26
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/force-reinstall/tests/src/ControllerLoaderTest.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("[Buy Me A Coffee](https://buymeacoffee.com/fpjyrXk)")
- License uri: Invalid URI ("[GPL - 2.0](http://www.gnu.org/licenses/gpl-2.0.html)")
force-reinstall/force-reinstall.php Passed 13 tests
The principal PHP file in "Force Reinstall" v. 1.1.8 is loaded by WordPress automatically on each request
59 characters long description:
Easily force a Plugin or Theme reinstall from WordPress.org
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin14,894 lines of code in 246 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 222 | 3,077 | 8,222 | 13,147 |
JSON | 8 | 0 | 0 | 1,368 |
Markdown | 8 | 70 | 0 | 145 |
SVG | 2 | 0 | 0 | 134 |
JavaScript | 2 | 17 | 6 | 62 |
XML | 2 | 7 | 0 | 20 |
CSS | 2 | 5 | 4 | 18 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 9.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 2.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 34 | |
Interfaces | 36 | |
Traits | 4 | |
Classes | 160 | |
▷ Abstract classes | 7 | 4.38% |
▷ Concrete classes | 153 | 95.62% |
▷ Final classes | 50 | 32.68% |
Methods | 1,042 | |
▷ Static methods | 184 | 17.66% |
▷ Public methods | 909 | 87.24% |
▷ Protected methods | 12 | 1.15% |
▷ Private methods | 121 | 11.61% |
Functions | 121 | |
▷ Named functions | 28 | 23.14% |
▷ Anonymous functions | 93 | 76.86% |
Constants | 106 | |
▷ Global constants | 4 | 3.77% |
▷ Class constants | 102 | 96.23% |
▷ Public constants | 91 | 89.22% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin