Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/disable-wp-update/disable-wp-update.php+17
Function create_function() is deprecated
Server metrics [RAM: ▼1.93MB] [CPU: ▼54.49ms] Passed 4 tests
This is a short check of server-side resources used by Disable Wp Updates & Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 4.79 ▼36.82 |
Dashboard /wp-admin | 2.08 ▼1.23 | 5.53 ▼45.33 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 6.66 ▼40.88 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.21 ▼94.93 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 4.99 ▼32.15 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Disable Wp Updates & Notifications
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,774 ▲13 | 14.35 ▼0.02 | 1.61 ▼0.22 | 41.61 ▼7.30 |
Dashboard /wp-admin | 2,183 ▲3 | 5.62 ▲0.02 | 86.12 ▼5.08 | 41.18 ▲1.88 |
Posts /wp-admin/edit.php | 2,089 ▼11 | 2.00 ▲0.03 | 33.57 ▼3.63 | 39.65 ▲1.38 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 22.98 ▼0.44 | 626.21 ▼73.99 | 48.33 ▼6.93 |
Media Library /wp-admin/upload.php | 1,385 ▼12 | 4.19 ▲0.01 | 97.80 ▼6.91 | 45.66 ▲1.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/disable-wp-update/disable-wp-update.php+17
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/disable-wp-update/disable-wp-update.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: disable wordpress updates advance, disable, disable wordpress core updates, disable updates, disable wordpress updates...
disable-wp-update/disable-wp-update.php Passed 13 tests
The principal PHP file in "Disable Wp Updates & Notifications" v. 1.3 is loaded by WordPress automatically on each request
94 characters long description:
Easy way to disable all wordpress, themes, plugins, core updates & notifications in wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected31 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 12 | 12 | 31 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 1 | 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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin