Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.84ms] Passed 4 tests
Server-side resources used by CF7 Posts Fields In Mail
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 36.51 ▼4.31 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.16 ▼3.50 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.96 ▲2.33 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.11 ▼13.61 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.68 ▼1.95 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for CF7 Posts Fields In Mail
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲71 | 13.22 ▼1.16 | 1.76 ▼0.34 | 39.09 ▼12.33 |
Dashboard /wp-admin | 2,234 ▲46 | 5.86 ▼0.03 | 110.19 ▼1.33 | 62.85 ▲13.22 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.01 | 38.24 ▲3.42 | 34.55 ▲0.69 |
Add New Post /wp-admin/post-new.php | 1,541 ▲6 | 23.06 ▼0.14 | 696.27 ▲19.75 | 54.31 ▲0.61 |
Media Library /wp-admin/upload.php | 1,413 ▲25 | 4.15 ▼0.09 | 112.28 ▼0.15 | 49.03 ▲0.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (13 tag instead of maximum 10)
cf7-posts-fields-in-mail/cf7_posts_fields.php 85% from 13 tests
The principal PHP file in "CF7 Posts Fields In Mail" v. 1.0.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 164 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cf7-posts-fields-in-mail.php" instead of "cf7_posts_fields.php")
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
Good job! No executable or dangerous file extensions detected3,557 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 357 | 216 | 2,144 |
PHP | 12 | 298 | 246 | 1,209 |
JavaScript | 2 | 18 | 2 | 114 |
PO File | 1 | 36 | 38 | 90 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 39.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 6.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 2 | 3.28% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/vtdesigns.png | 1.50KB | 0.71KB | ▼ 52.99% |
assets/images/vtdlogo.png | 2.49KB | 1.58KB | ▼ 36.49% |
(invalid) assets/images/question_mark.png | 0.86KB | 0.00KB | ▼ 100.00% |
assets/images/placeholder.png | 2.75KB | 2.92KB | 0.00% |
assets/images/vtdesigns_logo.png | 9.60KB | 4.36KB | ▼ 54.62% |