Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.44MB] [CPU: ▼2.04ms] Passed 4 tests
An overview of server-side resources used by WP Auto Updater
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 41.48 ▼2.01 |
Dashboard /wp-admin | 3.74 ▲0.44 | 47.76 ▼4.49 |
Posts /wp-admin/edit.php | 3.79 ▲0.44 | 54.86 ▲8.56 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 86.49 ▼10.22 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 43.37 ▲11.10 |
Auto Updater /wp-admin/index.php?page=wp-auto-updater | 3.66 | 37.33 |
Update History /wp-admin/index.php?page=wp-auto-updater-history | 3.57 | 36.86 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 14 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_auto_updater_history |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
wp_auto_updater_history_table_version |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Auto Updater
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲52 | 14.22 ▼0.15 | 1.81 ▲0.16 | 42.45 ▼1.69 |
Dashboard /wp-admin | 2,206 ▲32 | 5.60 ▼0.06 | 93.32 ▼8.47 | 43.08 ▼0.45 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.94 ▼0.07 | 34.97 ▼0.92 | 33.48 ▼0.52 |
Add New Post /wp-admin/post-new.php | 1,537 ▲11 | 23.24 ▲0.34 | 646.22 ▲16.62 | 50.58 ▼2.66 |
Media Library /wp-admin/upload.php | 1,408 ▲5 | 4.14 ▼0.06 | 103.58 ▼2.04 | 44.04 ▼0.73 |
Auto Updater /wp-admin/index.php?page=wp-auto-updater | 1,451 | 2.05 | 25.93 | 30.58 |
Update History /wp-admin/index.php?page=wp-auto-updater-history | 950 | 2.04 | 24.87 | 26.51 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 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 Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Auto Update settings), #2 (Auto Update History), #3 (WordPress Update Process Chart)
wp-auto-updater/wp-auto-updater.php 92% from 13 tests
The main file in "WP Auto Updater" v. 1.7.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,860 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 339 | 1,220 | 1,546 |
PO File | 1 | 108 | 147 | 265 |
JavaScript | 1 | 3 | 0 | 27 |
XML | 1 | 0 | 0 | 22 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 65.67 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 2 | 2.27% |
▷ Public methods | 88 | 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 | 1 | 100.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
3 PNG files occupy 0.25MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 13.70KB | 14.24KB | 0.00% |
screenshot-1.png | 152.91KB | 61.20KB | ▼ 59.98% |
screenshot-3.png | 84.68KB | 27.27KB | ▼ 67.80% |