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.08MB] [CPU: ▼11.63ms] Passed 4 tests
Analyzing server-side resources used by QQWorld Auto Save Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.55 | 40.18 ▲0.87 |
Dashboard /wp-admin | 3.84 ▲0.49 | 50.62 ▼15.27 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 48.28 ▲2.85 |
Add New Post /wp-admin/post-new.php | 3.98 ▼1.90 | 58.34 ▼34.96 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 48.00 ▲14.58 |
QQWorld Auto Save Images /wp-admin/options-general.php?page=qqworld-auto-save-images | 3.77 | 46.31 |
Server storage [IO: ▲1.96MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for QQWorld Auto Save Images
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.78 ▲0.40 | 1.69 ▼0.07 | 39.90 ▼4.24 |
Dashboard /wp-admin | 2,213 ▲25 | 4.85 ▼0.06 | 107.77 ▼8.47 | 41.04 ▼1.92 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.01 ▼0.15 | 36.70 ▲0.71 | 31.10 ▼4.33 |
Add New Post /wp-admin/post-new.php | 3,105 ▲1,591 | 7.89 ▼9.76 | 204.13 ▼480.23 | 72.19 ▲17.82 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.05 | 98.46 ▼0.08 | 44.84 ▲0.23 |
QQWorld Auto Save Images /wp-admin/options-general.php?page=qqworld-auto-save-images | 5,393 | 20.78 | 537.24 | 29.55 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/qqworld-auto-save-images/qqworld-auto-save-images.php:12
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% 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:
- Requires php: The plugin version is formatted incorrectly
qqworld-auto-save-images/qqworld-auto-save-images.php 92% from 13 tests
The main PHP file in "QQWorld Auto Save Images" ver. 1.9.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin8,169 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 1,565 | 2,481 | 4,136 |
PHP | 1 | 126 | 130 | 2,355 |
JavaScript | 4 | 20 | 15 | 662 |
CSS | 2 | 15 | 1 | 514 |
SVG | 11 | 0 | 0 | 502 |
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.21 |
Average class complexity | 116.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 226.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 50 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 50 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
12 PNG files occupy 0.52MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/products/plugins/qqworld-checkout/package.png | 75.80KB | 18.04KB | ▼ 76.19% |
images/watermark.png | 8.21KB | 3.71KB | ▼ 54.84% |
images/products/plugins/qqworld-synchronizer/package.png | 62.32KB | 14.90KB | ▼ 76.09% |
images/products/plugins/qqworld-woocommerce-assistant/package.png | 77.04KB | 17.59KB | ▼ 77.17% |
images/qrcode/alipay-follow.png | 17.33KB | 16.42KB | ▼ 5.27% |