Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.86ms] Passed 4 tests
An overview of server-side resources used by Add-on SweetAlert Contact Form 7
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.30 ▼0.30 |
Dashboard /wp-admin | 3.31 ▼0.04 | 50.84 ▼10.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.24 ▼8.45 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.19 ▼19.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.48 ▲2.90 |
SweetAlert2 for CF7 /wp-admin/admin.php?page=sweetalert-cf7 | 3.00 | 24.25 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Add-on SweetAlert Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.28 ▼0.07 | 2.26 ▲0.70 | 43.94 ▼1.92 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.06 | 96.94 ▲6.67 | 41.86 ▼6.85 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.03 ▲0.02 | 34.30 ▼7.74 | 34.19 ▼7.71 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 22.03 ▼0.97 | 684.78 ▲61.17 | 54.07 ▲6.66 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.21 ▼0.17 | 104.43 ▼0.46 | 46.71 ▲1.91 |
SweetAlert2 for CF7 /wp-admin/admin.php?page=sweetalert-cf7 | 28 | 0.42 | 0.08 | 3.94 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=sweetalert-cf7
- > Network (severe)
wp-admin/admin.php?page=sweetalert-cf7 - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: contact form 7, sweetalert2, sweet alert, cf7, contact form
addon-sweetalert-contact-form-7/addon-sweetalert-contact-form-7.php Passed 13 tests
The main PHP script in "Add-on SweetAlert Contact Form 7" version 1.1.1 is automatically included on every request by WordPress
60 characters long description:
Add SweetAlert2 script in Contact Form 7 submission process.
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
There were no executable files found in this plugin236 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 26 | 29 | 232 |
JavaScript | 3 | 0 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
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.28 |
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 | 13 | |
▷ Named functions | 13 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin