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
Install script ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▲1.59ms] Passed 4 tests
This is a short check of server-side resources used by Master Contact Form 7 - Styler for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 43.38 ▲3.70 |
Dashboard /wp-admin | 3.77 ▲0.46 | 48.14 ▼2.84 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 51.74 ▲4.79 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 93.78 ▲0.69 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 37.55 ▲5.52 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Master Contact Form 7 - Styler for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲87 | 13.30 ▼1.35 | 2.08 ▲0.08 | 47.98 ▼3.59 |
Dashboard /wp-admin | 2,229 ▲41 | 4.86 ▼0.03 | 109.39 ▼5.69 | 41.24 ▼4.53 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.14 ▲0.08 | 40.30 ▲4.41 | 37.11 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,548 ▲28 | 23.43 ▲0.39 | 674.72 ▲17.92 | 55.93 ▲6.40 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.22 ▲0.04 | 101.34 ▼1.73 | 43.45 ▲0.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/ma-contact-form-7/classes/class-tgm-plugin-activation.php:2016
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Input Focus Variations Contact Form 7 Style), #2 (Dark Input Variations Contact Form 7 Style), #3 (Rounded Input and Gradient Submit Contact Form 7 Style), #4 (Line bar Inputs and Icons with Submit Button Contact Form 7 Style), #5 (Rounded Inputs with Submit Background Color and Gradient Background Color Contact Form 7 Style)
ma-contact-form-7/ma-contact-form-7.php Passed 13 tests
The principal PHP file in "Master Contact Form 7 - Styler for Elementor" v. 1.6.0 is loaded by WordPress automatically on each request
74 characters long description:
Easily Customizable Contact Form 7 Style for Elementor Page Builder Plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin2,961 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 772 | 1,660 | 2,710 |
CSS | 1 | 14 | 5 | 251 |
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.46 |
Average class complexity | 36.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 132 | |
▷ Static methods | 9 | 6.82% |
▷ Public methods | 106 | 80.30% |
▷ Protected methods | 26 | 19.70% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 8 | 50.00% |
▷ Class constants | 8 | 50.00% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.21MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 38.19KB | 7.63KB | ▼ 80.03% |
screenshot-2.png | 42.52KB | 7.90KB | ▼ 81.41% |
screenshot-5.png | 51.77KB | 10.92KB | ▼ 78.91% |
screenshot-4.png | 40.63KB | 7.54KB | ▼ 81.45% |
screenshot-3.png | 45.40KB | 12.83KB | ▼ 71.74% |