Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼4.64ms] Passed 4 tests
An overview of server-side resources used by Advanced Automatic Updates
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.94 ▲0.92 |
Dashboard /wp-admin | 3.46 ▲0.16 | 59.08 ▲7.02 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 46.73 ▼4.41 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 82.07 ▼15.60 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 34.90 ▲0.54 |
Advanced Automatic Updates /wp-admin/options-general.php?page=automatic-updater | 3.33 | 31.46 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
automatic-updater |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Advanced Automatic Updates: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 13.72 ▼0.68 | 4.24 ▲2.59 | 39.77 ▼4.89 |
Dashboard /wp-admin | 2,210 ▲25 | 5.77 ▼0.14 | 118.66 ▲3.15 | 58.92 ▲13.02 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.04 | 39.17 ▲0.48 | 35.85 ▼0.45 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.05 ▼0.13 | 641.58 ▼47.99 | 61.27 ▲4.70 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 98.62 ▼5.84 | 45.32 ▲0.27 |
Advanced Automatic Updates /wp-admin/options-general.php?page=automatic-updater | 928 | 2.03 | 25.11 | 27.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- automatic-updater
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=automatic-updater
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=automatic-updater
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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 following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/automatic-updater/automatic-updater.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: A description for screenshot #1 is missing in automatic-updater/assets to your readme.txt
automatic-updater/automatic-updater.php Passed 13 tests
The main file in "Advanced Automatic Updates" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
68 characters long description:
Adds extra options to WordPress' built-in Automatic Updates feature.
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
No dangerous file extensions were detected2,290 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 435 | 756 | 1,627 |
PHP | 2 | 174 | 39 | 632 |
CSS | 1 | 4 | 0 | 23 |
JavaScript | 1 | 5 | 0 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 72.50 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 7.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 3 | 13.04% |
▷ Public methods | 23 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin