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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.42ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 Response Message Popup
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 41.86 ▼2.23 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.05 ▼9.96 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.59 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.09 ▼16.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.61 ▼0.92 |
CF7 Response Message Popup /wp-admin/admin.php?page=cf7_rmp_settings | 3.18 | 32.46 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Response Message Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲177 | 14.02 ▼0.35 | 11.34 ▲9.43 | 42.13 ▼2.90 |
Dashboard /wp-admin | 2,214 ▲26 | 4.86 ▲0.01 | 104.94 ▲5.21 | 43.40 ▲0.72 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.00 ▲0.02 | 35.50 ▼4.68 | 32.11 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 22.82 ▲4.66 | 649.60 ▲9.87 | 58.40 ▼0.53 |
Media Library /wp-admin/upload.php | 1,399 ▲11 | 4.21 ▼0.04 | 97.20 ▼1.68 | 43.86 ▼0.14 |
CF7 Response Message Popup /wp-admin/admin.php?page=cf7_rmp_settings | 775 | 2.02 | 24.18 | 26.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=cf7_rmp_settings
- > Notice in wp-content/plugins/contact-form-7-response-message-popup/contact-form-7-response-message-popup.php+53
Trying to access array offset on value of type bool
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/contact-form-7-response-message-popup/contact-form-7-response-message-popup.php:14
- > 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)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: email, form, contact form 7, contact form 7 response message popup, contact form...
contact-form-7-response-message-popup/contact-form-7-response-message-popup.php Passed 13 tests
Analyzing the main PHP file in "Contact Form 7 Response Message Popup" version 1.0
49 characters long description:
Contact Form 7 Response Message in Fancybox Popup
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin1,235 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 289 | 23 | 844 |
CSS | 2 | 52 | 18 | 317 |
PHP | 1 | 12 | 17 | 74 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
19 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fancybox/fancy_shadow_se.png | 0.34KB | 0.48KB | 0.00% |
fancybox/fancy_nav_left.png | 1.41KB | 1.64KB | 0.00% |
fancybox/fancybox-y.png | 0.17KB | 0.24KB | 0.00% |
fancybox/fancy_shadow_ne.png | 0.34KB | 0.48KB | 0.00% |
fancybox/fancy_shadow_n.png | 0.10KB | 0.19KB | 0.00% |