Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.88ms] 75% from 4 tests
Server-side resources used by Drag and Drop Multiple File Upload - Contact Form 7
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 529.81ms on /wp-admin/admin.php?page=drag-n-drop-upload)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 44.34 ▼3.65 |
Dashboard /wp-admin | 3.36 ▲0.02 | 50.25 ▼9.78 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.38 ▼1.29 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 93.00 ▼12.80 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.55 ▲2.58 |
Drag & Drop Upload /wp-admin/admin.php?page=drag-n-drop-upload | 3.72 | 529.81 |
Server storage [IO: ▲0.18MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Drag and Drop Multiple File Upload - Contact Form 7
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.37 ▼0.24 | 1.67 ▲0.06 | 44.55 ▲1.36 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▼0.03 | 92.52 ▼6.56 | 42.06 ▼3.77 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.01 ▲0.06 | 36.55 ▼0.65 | 33.92 ▲2.76 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.03 ▼0.35 | 640.24 ▼63.29 | 52.16 ▼5.87 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.04 | 96.26 ▼1.49 | 42.78 ▼1.70 |
Drag & Drop Upload /wp-admin/admin.php?page=drag-n-drop-upload | 1,777 | 2.01 | 23.29 | 37.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
6 plugin tags: drag and drop, multiple file, upload, contact form 7, contact form 7 uploader...
drag-and-drop-multiple-file-upload-contact-form-7/drag-n-drop-upload-cf7.php 92% from 13 tests
Analyzing the main PHP file in "Drag and Drop Multiple File Upload - Contact Form 7" version 1.3.7.4
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("drag-and-drop-multiple-file-upload-contact-form-7.php" instead of "drag-n-drop-upload-cf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin2,796 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 265 | 221 | 1,744 |
PO File | 6 | 194 | 195 | 544 |
JavaScript | 2 | 127 | 115 | 375 |
CSS | 1 | 13 | 11 | 133 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 38 | |
▷ Named functions | 37 | 97.37% |
▷ Anonymous functions | 1 | 2.63% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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