Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.89ms] Passed 4 tests
This is a short check of server-side resources used by CF7 Submit Animations
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 40.85 ▲1.81 |
Dashboard /wp-admin | 3.53 ▲0.22 | 47.06 ▼1.50 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 44.22 ▼2.52 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.57 ▼12.52 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.03 ▲0.97 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cf7_submit_animations |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for CF7 Submit Animations
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲86 | 14.21 ▼0.52 | 6.41 ▲4.55 | 41.97 ▲1.99 |
Dashboard /wp-admin | 2,207 ▲33 | 5.60 ▲0.02 | 91.10 ▲4.39 | 38.33 ▼1.65 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.02 ▲0.00 | 42.34 ▲2.87 | 39.91 ▲6.04 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 22.98 ▼0.17 | 624.79 ▼49.61 | 58.24 ▼16.86 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.18 ▼0.01 | 102.95 ▼6.43 | 45.17 ▼1.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/cf7-submit-animations/cf7-submit-animations.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Api/Callbacks/AdminCallbacks.php:11
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Base/SetCookies.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cf7-submit-animations/templates/admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Pages/Dashboard.php:13
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Base/Activate.php:11
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Base/Enqueue.php:11
- > PHP Fatal error
Uncaught Error: Class 'Cf7subanimsinc\\Base\\BaseController' not found in wp-content/plugins/cf7-submit-animations/cf7subanimsinc/Base/PluginSettingsLink.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: contact, contact form, feedback, submit effect, paticle effect...
cf7-submit-animations/cf7-submit-animations.php 92% from 13 tests
The principal PHP file in "CF7 Submit Animations" v. 1.3 is loaded by WordPress automatically on each request
You should first fix the following items:
- Requires at least: The required version number must match the one declared in readme.txt ("5.5" instead of "5.0")
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
Success! There were no dangerous files found in this plugin1,144 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 219 | 340 | 1,034 |
JavaScript | 2 | 8 | 1 | 63 |
CSS | 1 | 6 | 0 | 27 |
JSON | 2 | 0 | 0 | 14 |
YAML | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 9.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 2 | 14.29% |
Methods | 73 | |
▷ Static methods | 23 | 31.51% |
▷ Public methods | 70 | 95.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.11% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.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 files were detected