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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.60ms] Passed 4 tests
Analyzing server-side resources used by Awesome Contact Form7 for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.57 ▼6.01 |
Dashboard /wp-admin | 3.33 ▲0.02 | 45.74 ▼3.41 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.83 ▲6.04 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.98 ▼7.81 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.89 ▼1.15 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Awesome Contact Form7 for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.31 ▼1.08 | 1.62 ▼0.16 | 38.14 ▼7.25 |
Dashboard /wp-admin | 2,256 ▲68 | 5.85 ▲0.96 | 97.20 ▼19.45 | 72.60 ▲24.58 |
Posts /wp-admin/edit.php | 2,145 ▲77 | 2.14 ▲0.10 | 39.67 ▲2.84 | 44.00 ▲8.51 |
Add New Post /wp-admin/post-new.php | 1,577 ▲43 | 18.50 ▼4.64 | 708.37 ▲21.49 | 56.64 ▼1.94 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.20 ▼0.06 | 93.44 ▼14.85 | 86.81 ▲40.85 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'CA_Framework\\Require_Control' not found in wp-content/plugins/awesome-contact-form7-for-elementor/includes/admin-notice/ca-framework/example.php:15
- > PHP Warning
Use of undefined constant BE_PACK_PATH - assumed 'BE_PACK_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/awesome-contact-form7-for-elementor/includes/inc.php on line 2
- > PHP Warning
include(wp-content/plugins/awesome-contact-form7-for-elementor/includes/admin-notice/ca-framework/ca-framework/loader.php): failed to open stream: No such file or directory in wp-content/plugins/awesome-contact-form7-for-elementor/includes/admin-notice/ca-framework/example.php on line 11
- > PHP Warning
include(): Failed opening 'wp-content/plugins/awesome-contact-form7-for-elementor/includes/admin-notice/ca-framework/ca-framework/loader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/awesome-contact-form7-for-elementor/includes/admin-notice/ca-framework/example.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/awesome-contact-form7-for-elementor/includes/aep-notice/admin-notice.php:3
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 86% 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
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #10, #2, #3, #4, #5, #6, #7, #8, #9 in awesome-contact-form7-for-elementor/assets to your readme.txt
awesome-contact-form7-for-elementor/init.php 77% from 13 tests
The entry point to "Awesome Contact Form7 for Elementor" version 2.8 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("awesome-contact-form7-for-elementor.php" instead of "init.php")
- 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
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "3.0.0")
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
No dangerous file extensions were detected1,684 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 210 | 300 | 1,254 |
CSS | 4 | 16 | 22 | 343 |
Markdown | 1 | 9 | 0 | 47 |
JavaScript | 2 | 3 | 0 | 27 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 42 | 82.35% |
▷ Protected methods | 2 | 3.92% |
▷ Private methods | 7 | 13.73% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) includes/admin-notice/ca-framework/assets/img/Ultra-Addons-Loto-for-white.png | 4.03KB | 0.00KB | ▼ 100.00% |