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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.90ms] Passed 4 tests
This is a short check of server-side resources used by Popup for Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.97 ▼5.85 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.63 ▼6.89 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.53 ▼0.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.16 ▼18.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.57 ▲4.01 |
Popup Settings /wp-admin/admin.php?page=pfcf-setting-page | 3.00 | 21.71 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Popup for Contact Form 7: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.34 ▼1.02 | 1.48 ▼0.31 | 40.50 ▼3.87 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.04 | 102.77 ▼4.03 | 36.81 ▼8.25 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.01 | 39.17 ▲0.83 | 35.70 ▲3.98 |
Add New Post /wp-admin/post-new.php | 1,519 ▲5 | 23.19 ▲5.44 | 570.65 ▼128.17 | 54.35 ▲0.86 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.30 ▲0.10 | 99.18 ▼10.96 | 42.06 ▼7.47 |
Popup Settings /wp-admin/admin.php?page=pfcf-setting-page | 28 | 0.44 | 0.17 | 3.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=pfcf-setting-page
- > Network (severe)
wp-admin/admin.php?page=pfcf-setting-page - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: message, submit form, contact form 7, contact form message, form popup...
popup-for-contact-form-7/popup-for-contact-form7.php 92% from 13 tests
The entry point to "Popup for Contact Form 7" version 1.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("popup-for-contact-form-7.php" instead of "popup-for-contact-form7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected391 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 15 | 226 |
CSS | 2 | 25 | 3 | 132 |
JavaScript | 2 | 6 | 4 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 8 | |
▷ Named functions | 8 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin