Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.53ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Auto-updates
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.39 ▼0.64 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.57 ▼4.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.98 ▲1.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.24 ▼20.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.57 ▼0.61 |
Server storage [IO: ▲0.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Auto-updates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.41 ▲0.13 | 1.73 ▲0.05 | 44.10 ▲4.55 |
Dashboard /wp-admin | 2,195 ▲18 | 5.57 ▼0.06 | 94.63 ▲7.51 | 41.06 ▼3.20 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.03 | 33.27 ▼3.46 | 36.43 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.00 ▲4.70 | 673.79 ▲30.98 | 59.07 ▼9.08 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.22 ▲0.03 | 94.06 ▼7.12 | 40.86 ▼7.15 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-autoupdates/wp-autoupdates.php
- > /wp-content/plugins/wp-autoupdates/functions.php
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 on the user side
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
There were no plugin tags found
wp-autoupdates/wp-autoupdates.php Passed 13 tests
"WordPress Auto-updates" version 0.8.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
83 characters long description:
A feature plugin to integrate Plugins & Themes automatic updates in WordPress Core.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected15,376 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 14,104 |
PHP | 3 | 233 | 323 | 922 |
JavaScript | 1 | 19 | 21 | 179 |
Markdown | 1 | 88 | 0 | 161 |
CSS | 1 | 2 | 3 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin