Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.33MB] [CPU: ▲0.50ms] Passed 4 tests
An overview of server-side resources used by Companion Auto Update
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 50.05 ▲4.02 |
Dashboard /wp-admin | 3.67 ▲0.37 | 59.12 ▲10.64 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 56.68 ▲3.86 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 89.88 ▼11.47 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 41.66 ▲5.57 |
Auto Updater /wp-admin/tools.php?page=cau-settings | 3.79 | 46.12 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_update_log |
wp_auto_updates |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
cau_db_version |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Companion Auto Update: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲133 | 14.37 ▼0.25 | 1.93 ▲0.22 | 42.02 ▼2.04 |
Dashboard /wp-admin | 2,300 ▲126 | 5.67 ▲0.11 | 90.67 ▲2.62 | 41.33 ▼6.99 |
Posts /wp-admin/edit.php | 2,098 ▼2 | 2.01 ▲0.03 | 38.97 ▲0.35 | 37.47 ▼9.47 |
Add New Post /wp-admin/post-new.php | 1,525 ▼11 | 23.28 ▲4.88 | 675.87 ▲44.63 | 54.67 ▼9.37 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▼0.07 | 99.22 ▼14.80 | 43.62 ▲0.01 |
Auto Updater /wp-admin/tools.php?page=cau-settings | 1,782 | 2.30 | 28.79 | 52.77 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- cau_db_version
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 0% 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 return non-empty strings:
- > /wp-content/plugins/companion-auto-update/companion-auto-update.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function cau_url() in wp-content/plugins/companion-auto-update/admin/log.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/companion-auto-update/cau_functions.php:1128
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/companion-auto-update/admin/pluginlist.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_next_scheduled() in wp-content/plugins/companion-auto-update/admin/dashboard.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/companion-auto-update/admin/status.php:7
- > 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)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 32 tag instead of maximum 10
companion-auto-update/companion-auto-update.php Passed 13 tests
The primary PHP file in "Companion Auto Update" version 3.8.7.1 is used by WordPress to initiate all plugin functionality
72 characters long description:
This plugin auto updates all plugins, all themes and the wordpress core.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,956 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 834 | 1,282 | 1,520 |
SVG | 9 | 6 | 6 | 889 |
CSS | 2 | 21 | 25 | 547 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 86 | |
▷ Named functions | 86 | 100.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
No PNG files were detected