Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/contact-form-7-popup-response/contact-form-7-popup-response.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; Contact_Form_7_Popup_Response has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.39ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7 Popup Response
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.64 ▼5.93 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.33 ▲2.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.18 ▼0.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.21 ▼5.64 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.93 ▲3.27 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form 7 Popup Response
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.59 ▼1.16 | 1.74 ▲0.03 | 41.99 ▼2.34 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▲0.93 | 97.06 ▼15.72 | 36.72 ▼6.20 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.05 | 33.42 ▼6.82 | 33.87 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,544 ▲24 | 18.07 ▼4.98 | 612.06 ▼48.57 | 63.09 ▲4.89 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.19 ▼0.03 | 96.14 ▼3.91 | 43.55 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/contact-form-7-popup-response/contact-form-7-popup-response.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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
These attributes need your attention:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== contact-form-7-popup-response ===
)
contact-form-7-popup-response/contact-form-7-popup-response.php Passed 13 tests
The entry point to "Contact Form 7 Popup Response" version 1.0 is a PHP file that has certain tags in its header comment area
41 characters long description:
Displays Contact Form 7 response in popup
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin87 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 16 | 56 |
CSS | 1 | 4 | 11 | 30 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
colorbox/images/controls.png | 1.59KB | 1.67KB | 0.00% |