Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼7.70ms] Passed 4 tests
Analyzing server-side resources used by WPB Popup for Contact Form 7 – Showing The Contact Form 7 Popup on Button Click - CF7 Popup
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 35.70 ▼7.26 |
Dashboard /wp-admin | 3.54 ▲0.19 | 50.51 ▼13.76 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 51.11 ▲3.63 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.22 | 92.53 ▼13.21 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 36.82 ▲3.45 |
Popup /wp-admin/admin.php?page=wpb-popup-for-cf7 | 3.47 | 38.87 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
wpb_pcf_installed |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
wpb_pcf_form_settings |
wpb_pcf_lite_version |
wpb_pcf_popup_settings |
wpb_pcf_btn_settings |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WPB Popup for Contact Form 7 – Showing The Contact Form 7 Popup on Button Click - CF7 Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,969 ▲222 | 13.49 ▼0.66 | 10.65 ▲8.99 | 40.03 ▼3.43 |
Dashboard /wp-admin | 2,247 ▲66 | 5.66 ▼0.04 | 95.33 ▼17.55 | 53.57 ▲9.25 |
Posts /wp-admin/edit.php | 2,153 ▲56 | 2.13 ▲0.15 | 41.01 ▲5.78 | 45.66 ▲6.90 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.32 ▲0.31 | 625.57 ▲12.91 | 69.10 ▲16.85 |
Media Library /wp-admin/upload.php | 1,446 ▲46 | 4.19 ▼0.01 | 97.02 ▲4.18 | 45.16 ▲1.98 |
Popup /wp-admin/admin.php?page=wpb-popup-for-cf7 | 1,876 | 3.88 | 90.18 | 47.85 |
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
- The uninstall procedure has failed, leaving 11 options in the database
- wpb_pcf_form_settings
- wpb_pcf_lite_version
- wpb_pcf_installed
- wpb_pcf_popup_settings
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- wpb_pcf_btn_settings
- db_upgraded
- ...
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
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 Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: There are too many tags (24 tag instead of maximum 10)
wpb-popup-for-contact-form-7/main.php 85% from 13 tests
The main PHP script in "WPB Popup for Contact Form 7 – Showing The Contact Form 7 Popup on Button Click - CF7 Popup" version 1.5.9 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wpb-popup-for-contact-form-7.php" instead of "main.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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,920 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 327 | 420 | 1,106 |
CSS | 3 | 7 | 10 | 573 |
JavaScript | 3 | 45 | 65 | 181 |
SVG | 1 | 1 | 3 | 60 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 3 | 4.17% |
▷ Public methods | 70 | 97.22% |
▷ Protected methods | 2 | 2.78% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
There were not PNG files found in your plugin