Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼290.29ms] Passed 4 tests
Server-side resources used by Auto Updater
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.11 | 51.45 ▼1.62 |
Dashboard /wp-admin | 3.62 ▲0.22 | 32.27 ▼0.30 |
Posts /wp-admin/edit.php | 3.85 ▲0.21 | 38.84 ▲2.41 |
Add New Post /wp-admin/post-new.php | 7.09 ▲0.12 | 98.76 ▼1,155.60 |
Media Library /wp-admin/upload.php | 3.51 ▲0.21 | 26.72 ▼3.63 |
Settings /wp-admin/edit.php?post_type=update_log&page=site-manager | 3.56 | 24.11 |
Changelog /wp-admin/edit.php?post_type=update_log | 3.62 | 28.60 |
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: 12 new files
Database: no new tables, 1 new option
New WordPress options |
---|
site-manager |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Auto Updater
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,794 ▲40 | 15.89 ▲0.30 | 6.59 ▲0.89 | 2.24 ▼0.45 |
Dashboard /wp-admin | 2,923 ▲62 | 6.10 ▼0.00 | 117.35 ▼12.22 | 156.69 ▲0.85 |
Posts /wp-admin/edit.php | 2,719 ▲34 | 3.23 ▼0.01 | 65.34 ▲1.40 | 147.68 ▲7.37 |
Add New Post /wp-admin/post-new.php | 1,681 ▼9 | 16.52 ▼4.05 | 409.04 ▼39.18 | 157.94 ▲6.56 |
Media Library /wp-admin/upload.php | 1,726 ▲25 | 5.48 ▼0.05 | 159.07 ▲12.31 | 184.59 ▼2.65 |
Settings /wp-admin/edit.php?post_type=update_log&page=site-manager | 1,065 | 2.42 | 53.98 | 109.41 |
Changelog /wp-admin/edit.php?post_type=update_log | 1,424 | 3.17 | 62.11 | 111.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 1 option in the database
- site-manager
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/site-manager/templates/settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: install, automatic, changelog, upgrade, autoupdate...
site-manager/sitemanager.php 85% from 13 tests
The entry point to "Auto Updater" version 1.1.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("site-manager.php" instead of "sitemanager.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin845 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 206 | 93 | 728 |
CSS | 2 | 1 | 3 | 105 |
JavaScript | 1 | 2 | 0 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.60 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 8 | 14.81% |
▷ Public methods | 49 | 90.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.26% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 0.33KB | 0.25KB | ▼ 26.02% |