Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.81MB] [CPU: ▼55.63ms] Passed 4 tests
A check of server-side resources used by VerifiedVisitors
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.33 ▼1.14 | 12.36 ▼35.81 |
Dashboard /wp-admin | 2.15 ▼1.15 | 6.51 ▼54.23 |
Posts /wp-admin/edit.php | 2.15 ▼1.20 | 7.17 ▼42.58 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.73 | 7.88 ▼89.91 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 5.64 ▼34.65 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
VerifiedVisitors: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,235 ▲474 | 15.11 ▲0.46 | 8.61 ▲6.80 | 180.22 ▲132.29 |
Dashboard /wp-admin | 2,214 ▲34 | 5.58 ▼0.09 | 94.19 ▼4.74 | 40.69 ▼2.94 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.99 ▼0.20 | 33.44 ▼3.05 | 33.50 ▼6.28 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 20.78 ▼2.39 | 597.47 ▼90.26 | 47.88 ▼11.97 |
Media Library /wp-admin/upload.php | 1,410 ▲10 | 4.19 ▲0.09 | 101.83 ▼7.10 | 41.49 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 plugin did not uninstall gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/verifiedvisitors/templates/blocked.php
- > /wp-content/plugins/verifiedvisitors/VerifiedVisitors.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function VerifiedVisitors\\esc_html() in wp-content/plugins/verifiedvisitors/templates/captcha.php:38
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
verifiedvisitors/VerifiedVisitors.php 92% from 13 tests
The main file in "VerifiedVisitors" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("verifiedvisitors.php" instead of "VerifiedVisitors.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
Everything looks great! No dangerous files found in this plugin620 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 94 | 19 | 620 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 5.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 10 | 41.67% |
▷ Public methods | 21 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 12.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 2 | 22.22% |
▷ Class constants | 7 | 77.78% |
▷ Public constants | 7 | 100.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
There are no PNG files in this plugin