Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.15ms] Passed 4 tests
Analyzing server-side resources used by All In One Form Verification
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.97 ▲2.35 |
Dashboard /wp-admin | 3.41 ▲0.11 | 45.76 ▲1.72 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.02 ▲2.16 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 85.04 ▼5.63 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 49.18 ▲16.18 |
Server storage [IO: ▲5.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 74 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for All In One Form Verification
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.69 ▼0.68 | 5.24 ▲3.66 | 27.54 ▼13.89 |
Dashboard /wp-admin | 2,236 ▲50 | 5.04 ▼0.11 | 112.34 ▼13.58 | 48.45 ▲2.60 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.29 ▲0.23 | 34.10 ▼3.33 | 36.83 ▲6.88 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 23.36 ▲5.21 | 695.51 ▲31.38 | 40.42 ▼23.50 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.41 ▲0.22 | 96.84 ▼5.39 | 48.96 ▲6.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/form-verification-verifybee/public/partials/cn-verifying-email-public-display.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/form-verification-verifybee/admin/partials/cn-verifying-email-admin-display.php:50
- > PHP Notice
Undefined variable: cn_token in wp-content/plugins/form-verification-verifybee/admin/partials/cn-verifying-email-admin-display.php on line 28
- > PHP Notice
Undefined variable: cn_verification in wp-content/plugins/form-verification-verifybee/admin/partials/cn-verifying-email-admin-display.php on line 42
- > PHP Notice
Undefined variable: cn_verification in wp-content/plugins/form-verification-verifybee/admin/partials/cn-verifying-email-admin-display.php on line 47
- > PHP Notice
Undefined variable: cn_verify_widget_key in wp-content/plugins/form-verification-verifybee/admin/partials/cn-verifying-email-admin-display.php on line 34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: spam, email verification, verification, email check, check spam...
form-verification-verifybee/cn-verifying-email.php 85% from 13 tests
The main file in "All In One Form Verification" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- 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: Name the main plugin file the same as the plugin slug ("form-verification-verifybee.php" instead of "cn-verifying-email.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin31,063 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 2,041 | 85 | 18,393 |
JavaScript | 12 | 2,141 | 1,826 | 8,410 |
SVG | 2 | 0 | 1 | 2,682 |
Sass | 2 | 95 | 9 | 755 |
PHP | 12 | 170 | 538 | 433 |
HTML | 2 | 77 | 10 | 390 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/node_modules/sweetalert/sweetalert/example/images/vs_icon.png | 3.78KB | 2.19KB | ▼ 42.01% |
admin/node_modules/sweetalert/sweetalert/example/images/logo_big@2x.png | 36.59KB | 10.91KB | ▼ 70.18% |
admin/node_modules/sweetalert/sweetalert/example/images/logo_small@2x.png | 9.53KB | 3.73KB | ▼ 60.82% |
admin/node_modules/sweetalert/sweetalert/example/images/logo_big.png | 16.76KB | 5.65KB | ▼ 66.32% |
admin/node_modules/sweetalert/sweetalert/example/images/vs_icon@2x.png | 8.06KB | 3.51KB | ▼ 56.40% |