Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.41ms] Passed 4 tests
A check of server-side resources used by Disable All WP Updates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 43.11 ▼0.78 |
Dashboard /wp-admin | 3.37 ▲0.06 | 55.39 ▲1.70 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.75 ▲0.95 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 88.88 ▼12.55 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.69 ▼5.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- The plugin illegally modified 1 file (4.00KB) outside of "wp-content/plugins/disable-all-wp-updates/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable All WP Updates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,738 ▼23 | 13.62 ▼0.61 | 4.28 ▲2.47 | 43.96 ▼6.07 |
Dashboard /wp-admin | 2,155 ▼48 | 5.73 ▼0.16 | 106.15 ▼20.19 | 41.26 ▼2.94 |
Posts /wp-admin/edit.php | 2,050 ▼47 | 1.99 ▲0.00 | 37.78 ▲2.08 | 34.21 ▼2.28 |
Add New Post /wp-admin/post-new.php | 1,501 ▼46 | 23.14 ▲0.09 | 646.25 ▼22.31 | 61.83 ▲11.11 |
Media Library /wp-admin/upload.php | 1,349 ▼51 | 4.25 ▲0.02 | 107.04 ▼4.93 | 44.90 ▼1.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
disable-all-wp-updates/disable-all-wp-updates.php Passed 13 tests
"Disable All WP Updates" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
49 characters long description:
Disables all WordPress updates and update checks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin168 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 167 | 168 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected