Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.58ms] Passed 4 tests
An overview of server-side resources used by Popup for CF7 with Sweet Alert
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.04 ▼0.57 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.35 ▼6.20 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 47.90 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.87 ▼8.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.53 ▲4.20 |
CF7 Swal Settings /wp-admin/admin.php?page=cf7-simplepopup | 3.23 | 33.84 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Popup for CF7 with Sweet Alert
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲68 | 14.58 ▲0.05 | 4.18 ▲2.24 | 39.85 ▼1.45 |
Dashboard /wp-admin | 2,194 ▲17 | 5.57 ▼0.10 | 87.54 ▼3.49 | 42.44 ▼2.67 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.01 ▼0.03 | 36.19 ▼1.98 | 36.37 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.90 ▲0.83 | 696.93 ▲15.25 | 59.41 ▲3.39 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.19 ▲0.08 | 105.89 ▼10.44 | 46.28 ▼1.38 |
CF7 Swal Settings /wp-admin/admin.php?page=cf7-simplepopup | 835 | 2.15 | 24.03 | 29.37 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 | 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
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 a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: A description for screenshot #1 is missing in cf7-sweet-alert-popup/assets to your readme.txt
cf7-sweet-alert-popup/cf7simplepopup.php 85% from 13 tests
"Popup for CF7 with Sweet Alert" version 1.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("cf7-sweet-alert-popup.php" instead of "cf7simplepopup.php")
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
Success! There were no dangerous files found in this plugin264 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 57 | 24 | 106 |
PO File | 2 | 24 | 26 | 80 |
JavaScript | 2 | 0 | 0 | 49 |
CSS | 2 | 4 | 0 | 25 |
Markdown | 1 | 1 | 0 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin