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.24MB] [CPU: ▼3.10ms] Passed 4 tests
A check of server-side resources used by Large Images Uploader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 36.13 ▼0.76 |
Dashboard /wp-admin | 3.59 ▲0.29 | 50.82 ▼0.60 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 51.55 ▲5.40 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 82.52 ▼7.62 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 34.21 ▼3.41 |
Large Images Uploader /wp-admin/upload.php?page=large-images-uploader-settings-tab-uploader | 3.43 | 33.81 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 42 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Large Images Uploader
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 13.94 ▼0.33 | 1.66 ▼0.16 | 41.96 ▼4.23 |
Dashboard /wp-admin | 2,199 ▲19 | 5.64 ▼0.03 | 82.80 ▼7.68 | 40.14 ▼2.14 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.02 ▲0.00 | 35.25 ▼1.14 | 35.74 ▲0.42 |
Add New Post /wp-admin/post-new.php | 1,531 ▼6 | 23.04 ▲4.79 | 657.75 ▲15.10 | 50.20 ▼15.44 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.20 ▲0.02 | 95.10 ▼0.34 | 43.15 ▲0.97 |
Large Images Uploader /wp-admin/upload.php?page=large-images-uploader-settings-tab-uploader | 1,449 | 2.32 | 47.60 | 53.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/large-images-uploader/templates/images-uploader.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_Image_Editor' not found in wp-content/plugins/large-images-uploader/includes/WP_Large_Images_Uploader.php:4
- > PHP Notice
Undefined variable: args in wp-content/plugins/large-images-uploader/templates/images-uploader.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/large-images-uploader/templates/images-uploader.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function review_notice() on null in wp-content/plugins/large-images-uploader/templates/images-uploader.php:11
- > PHP Notice
Undefined variable: args in wp-content/plugins/large-images-uploader/templates/images-uploader.php on line 7
- > PHP Notice
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 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
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in large-images-uploader/assets to your readme.txt
large-images-uploader/large-images-uploader.php 92% from 13 tests
"Large Images Uploader" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin1,084 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 199 | 675 | 1,076 |
CSS | 4 | 0 | 5 | 4 |
JavaScript | 4 | 0 | 16 | 4 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 16.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 23 | 30.26% |
▷ Public methods | 69 | 90.79% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 9.21% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
core/assets/images/wp-watermark-images.png | 38.45KB | 14.82KB | ▼ 61.45% |
core/assets/images/woo-quick-view-and-buy-now.png | 23.32KB | 8.67KB | ▼ 62.81% |
core/assets/images/wp-paypal-subscriptions.png | 17.91KB | 7.09KB | ▼ 60.39% |
core/assets/images/wp-watermark-pdf.png | 30.70KB | 10.89KB | ▼ 64.53% |
core/assets/images/image-sizes-controller.png | 13.06KB | 5.90KB | ▼ 54.82% |