Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.70MB] [CPU: ▲5.97ms] Passed 4 tests
An overview of server-side resources used by Disable updates, Updates manager, Disable automatic updates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.38 ▲0.92 | 47.63 ▲6.76 |
Dashboard /wp-admin | 5.30 ▲1.95 | 62.48 ▼1.74 |
Posts /wp-admin/edit.php | 5.34 ▲1.98 | 65.17 ▲18.51 |
Add New Post /wp-admin/post-new.php | 7.88 ▲1.99 | 98.03 ▲0.75 |
Media Library /wp-admin/upload.php | 5.21 ▲1.97 | 54.88 ▲18.12 |
Updates manager /wp-admin/options-general.php?page=updates-wbcr_updates_manager | 6.13 | 344.78 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 250 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
wbcr_updates_manager_plugin_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
wbcr_updates_manager_plugin_activated |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable updates, Updates manager, Disable automatic updates
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲154 | 14.26 ▼0.01 | 1.78 ▲0.22 | 43.49 ▼0.48 |
Dashboard /wp-admin | 2,306 ▲125 | 5.65 ▲0.02 | 98.39 ▼4.87 | 43.98 ▲1.55 |
Posts /wp-admin/edit.php | 2,215 ▲118 | 2.06 ▲0.03 | 43.03 ▲6.65 | 34.66 ▼0.28 |
Add New Post /wp-admin/post-new.php | 1,609 ▲65 | 23.51 ▼1.74 | 597.12 ▼12.14 | 31.78 ▼36.59 |
Media Library /wp-admin/upload.php | 1,482 ▲85 | 4.18 ▼0.03 | 98.22 ▲1.43 | 42.16 ▲1.31 |
Updates manager /wp-admin/options-general.php?page=updates-wbcr_updates_manager | 1,525 | 2.39 | 43.08 | 44.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(WUPM_PLUGIN_DIR/admin/includes/class-plugin-filters.php): failed to open stream: No such file or directory in wp-content/plugins/webcraftic-updates-manager/admin/boot.php on line 10
- > PHP Fatal error
require_once(): Failed opening required 'WUPM_PLUGIN_DIR/admin/includes/class-plugin-filters.php' (include_path='.:/usr/share/php') in wp-content/plugins/webcraftic-updates-manager/admin/boot.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/webcraftic-updates-manager/libs/factory/templates/pages/setup-parts/class-step-custom.php:11
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/webcraftic-updates-manager/libs/factory/templates/pages/setup-parts/class-step-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_FactoryForms469_FontControl' not found in wp-content/plugins/webcraftic-updates-manager/libs/factory/forms/controls/google-font.php:18
- > PHP Warning
Use of undefined constant WUPM_PLUGIN_DIR - assumed 'WUPM_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/webcraftic-updates-manager/admin/boot.php on line 10
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_Factory473_Update' not found in wp-content/plugins/webcraftic-updates-manager/migrations/010008.php:7
- > PHP Warning
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
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
webcraftic-updates-manager/webcraftic-updates-manager.php Passed 13 tests
This is the main PHP file of "Disable updates, Updates manager, Disable automatic updates" version 1.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
75 characters long description:
Manage all your WordPress updates, automatic updates, logs, and loads more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin20,469 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 120 | 3,314 | 7,610 | 11,757 |
CSS | 28 | 166 | 286 | 2,745 |
LESS | 8 | 411 | 117 | 2,000 |
JSON | 1 | 0 | 0 | 1,810 |
PO File | 10 | 432 | 536 | 1,438 |
JavaScript | 17 | 206 | 209 | 717 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 98.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 102 | |
▷ Abstract classes | 17 | 16.67% |
▷ Concrete classes | 85 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 740 | |
▷ Static methods | 29 | 3.92% |
▷ Public methods | 572 | 77.30% |
▷ Protected methods | 140 | 18.92% |
▷ Private methods | 28 | 3.78% |
Functions | 38 | |
▷ Named functions | 20 | 52.63% |
▷ Anonymous functions | 18 | 47.37% |
Constants | 47 | |
▷ Global constants | 40 | 85.11% |
▷ Class constants | 7 | 14.89% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/factory/templates/pages/templates/impressive/assets/img/5-stars22.png | 3.51KB | 0.70KB | ▼ 79.99% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/paypal-donate.png | 12.44KB | 4.99KB | ▼ 59.88% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/5-stars22.png | 3.51KB | 0.70KB | ▼ 79.99% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |
libs/factory/templates/pages/templates/impressive/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |