Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.25ms] Passed 4 tests
Analyzing server-side resources used by Multiline files upload for contact form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.46 ▼5.33 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.82 ▲1.17 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.01 ▲2.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.02 ▲1.35 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.43 ▼2.18 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 8 new options
New WordPress options |
---|
mfcf7-zl-admin-do-not-show-pro-tip |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
mfcf7-zl-admin-do-not-show-rating-tip |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Multiline files upload for contact form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.20 ▼0.09 | 1.74 ▲0.07 | 37.43 ▼7.00 |
Dashboard /wp-admin | 2,192 ▲15 | 5.63 ▼0.01 | 95.11 ▼10.21 | 42.49 ▼1.96 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▲0.04 | 39.16 ▼1.01 | 35.06 ▼4.06 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.12 ▼0.02 | 684.92 ▲97.31 | 55.69 ▲2.00 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.20 ▼0.00 | 97.03 ▼1.43 | 45.03 ▲2.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- mfcf7-zl-admin-do-not-show-rating-tip
- db_upgraded
- can_compress_scripts
- mfcf7-zl-admin-do-not-show-pro-tip
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiline-files-for-contact-form-7/multiline-admin.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function is_plugin_active() in wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php:19
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php on line 17
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php on line 17
- > PHP Warning
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
multiline-files-for-contact-form-7/multiline-files-upload-for-contact-form-7.php 85% from 13 tests
The main PHP script in "Multiline files upload for contact form 7" version 2.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- 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
- Main file name: Name the main plugin file the same as the plugin slug ("multiline-files-for-contact-form-7.php" instead of "multiline-files-upload-for-contact-form-7.php")
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
Success! There were no dangerous files found in this plugin1,052 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 83 | 151 | 716 |
PO File | 2 | 82 | 82 | 246 |
CSS | 3 | 8 | 15 | 45 |
JavaScript | 1 | 6 | 16 | 45 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/multiline_file_plugin_icon.png | 33.36KB | 12.99KB | ▼ 61.08% |