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.03MB] [CPU: ▼9.65ms] Passed 4 tests
A check of server-side resources used by Multiupload field for Contact Form 7
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 42.14 ▼1.92 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.93 ▼12.27 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 48.26 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.92 ▼21.20 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.75 ▲8.25 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Multiupload field for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.35 ▲0.04 | 2.99 ▲1.04 | 38.19 ▼7.20 |
Dashboard /wp-admin | 2,197 ▲23 | 5.70 ▲0.16 | 87.85 ▼4.42 | 44.39 ▲7.30 |
Posts /wp-admin/edit.php | 2,102 ▼1 | 2.04 ▼0.01 | 37.86 ▼5.22 | 33.59 ▼3.94 |
Add New Post /wp-admin/post-new.php | 1,551 ▲11 | 18.08 ▼0.09 | 637.36 ▲12.64 | 52.80 ▼6.01 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.20 ▼0.05 | 96.06 ▼5.44 | 45.99 ▲1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Cf7mu_Extension' not found in wp-content/plugins/multiupload-field-for-contact-form-7/inc/class-cf7mu-multiupload.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiupload-field-for-contact-form-7/inc/class-cf7mu-extension.php:16
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: multiupload, contactform7, contact form 7, forms, file field...
multiupload-field-for-contact-form-7/multiupload-field-for-contact-form-7.php Passed 13 tests
The entry point to "Multiupload field for Contact Form 7" version 1.0 is a PHP file that has certain tags in its header comment area
84 characters long description:
Adds to Contact Form 7 plugin extra field-type for uploading multiple files at once.
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 plugin2,060 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 126 | 73 | 1,639 |
PHP | 4 | 136 | 337 | 301 |
CSS | 1 | 4 | 0 | 68 |
PO File | 1 | 13 | 20 | 49 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 30.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 33 | |
▷ Static methods | 1 | 3.03% |
▷ Public methods | 32 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.03% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin