Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5737
Function get_option was called with an argument that is deprecated since version 5.5.0! The "blacklist_keys" option key has been renamed to "disallowed_keys".
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.03ms] Passed 4 tests
An overview of server-side resources used by Comment Blacklist Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.95 ▼3.72 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.34 ▼3.67 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 47.01 ▼4.50 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.95 ▼4.21 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.43 ▲0.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.70MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Comment Blacklist Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.21 ▼1.37 | 1.83 ▼0.32 | 42.35 ▼1.08 |
Dashboard /wp-admin | 2,209 ▲21 | 4.81 ▼0.09 | 103.16 ▼3.58 | 38.52 ▼8.45 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▲0.01 | 37.08 ▼1.03 | 31.44 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.44 ▲0.02 | 635.73 ▼54.37 | 52.43 ▼9.85 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.02 | 94.34 ▼5.00 | 39.95 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.70MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/comment-blacklist-manager/comment-blacklist-manager.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: blacklist, comments, spam
comment-blacklist-manager/comment-blacklist-manager.php Passed 13 tests
The primary PHP file in "Comment Blacklist Manager" version 1.0.1 is used by WordPress to initiate all plugin functionality
64 characters long description:
Add known terms into the WordPress blacklist keys to manage spam
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 plugin302 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 125 | 219 | 209 |
PO File | 2 | 21 | 33 | 93 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 9 | 40.91% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 0 | |
▷ Named functions | 0 | 0.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