Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼141.43ms] Passed 4 tests
A check of server-side resources used by WP Updates Settings
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 36.70 ▲5.85 |
Dashboard /wp-admin | 3.15 ▲0.10 | 43.16 ▲0.41 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 45.23 ▼1.77 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 87.89 ▼569.20 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 36.55 ▲4.84 |
Updates /wp-admin/options-general.php?page=wp-updates-settings/wp-updates-settings.php | 3.05 | 28.81 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
yslo_wpus_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Updates Settings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 16.00 ▲0.11 | 10.80 ▲0.26 | 44.04 ▼5.11 |
Dashboard /wp-admin | 2,978 ▲44 | 5.93 ▲0.01 | 130.18 ▼14.69 | 115.18 ▼4.05 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.73 ▲0.02 | 61.93 ▼3.53 | 93.65 ▲4.39 |
Add New Post /wp-admin/post-new.php | 1,879 ▼178 | 19.14 ▼0.35 | 378.42 ▼3.34 | 102.16 ▼8.41 |
Media Library /wp-admin/upload.php | 1,812 ▲61 | 5.06 ▲0.06 | 150.60 ▲4.40 | 121.53 ▼0.58 |
Updates /wp-admin/options-general.php?page=wp-updates-settings/wp-updates-settings.php | 1,371 | 2.22 | 55.58 | 78.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=wp-updates-settings/wp-updates-settings.php
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-updates-settings/wp-updates-settings.php
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: updates, background, automatic, plugin, theme...
wp-updates-settings/wp-updates-settings.php Passed 13 tests
Analyzing the main PHP file in "WP Updates Settings" version 1.1.4
65 characters long description:
Configure WordPress updates settings through UI (User Interface).
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
Everything looks great! No dangerous files found in this plugin479 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 80 | 30 | 306 |
PO File | 1 | 33 | 37 | 167 |
CSS | 2 | 0 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 51.00 |
▷ Minimum class complexity | 51.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 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 | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin