Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.92ms] Passed 4 tests
Server-side resources used by Multi Uploader for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 52.21 ▼0.11 |
Dashboard /wp-admin | 3.38 ▲0.08 | 45.40 ▼3.81 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 45.13 ▼2.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 84.12 ▼13.33 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 36.88 ▲2.89 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 83 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Multi Uploader for Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.53 ▼1.02 | 5.58 ▲3.41 | 44.21 ▼1.73 |
Dashboard /wp-admin | 2,209 ▲24 | 4.81 ▼1.09 | 108.80 ▲4.69 | 45.58 ▲1.27 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▼0.02 | 34.55 ▼1.22 | 34.45 ▲3.99 |
Add New Post /wp-admin/post-new.php | 1,514 ▼22 | 17.66 ▼5.61 | 633.31 ▼40.66 | 67.80 ▲17.95 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.21 ▲0.04 | 101.47 ▲3.53 | 41.75 ▼2.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
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
Good news, no errors were detected
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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/gf-multi-uploader/inc/GFMUHandlePluploader.class.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/image.php): failed to open stream: No such file or directory in wp-content/plugins/gf-multi-uploader/inc/GFMUHandlePluploader.class.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gf-multi-uploader/gf-multi-uploader.php:16
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/image.php' (include_path='.:/usr/share/php') in wp-content/plugins/gf-multi-uploader/inc/GFMUHandlePluploader.class.php on line 4
- > PHP Warning
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: gravity forms uploader, file uploader, uploader, gravity forms, plupload...
gf-multi-uploader/gf-multi-uploader.php 92% from 13 tests
The main file in "Multi Uploader for Gravity Forms" v. 1.0.10 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin3,088 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 391 | 421 | 1,308 |
JavaScript | 54 | 388 | 281 | 1,281 |
CSS | 4 | 99 | 19 | 499 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 37.80 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.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 | 57 | |
▷ Static methods | 8 | 14.04% |
▷ Public methods | 42 | 73.68% |
▷ Protected methods | 5 | 8.77% |
▷ Private methods | 10 | 17.54% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/jquery-ui/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
assets/custom-plupload/jquery.plupload.queue/img/buttons-disabled.png | 1.00KB | 1.02KB | 0.00% |
assets/jquery-ui/images/ui-icons_777777_256x240.png | 6.85KB | 4.18KB | ▼ 38.94% |
assets/custom-plupload/jquery.plupload.queue/img/transp50.png | 0.11KB | 0.11KB | 0.00% |
assets/jquery-ui/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |