Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5495
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.05MB] [CPU: ▼141.72ms] Passed 4 tests
This is a short check of server-side resources used by Comments Word Blacklist Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 32.92 ▲11.20 |
Dashboard /wp-admin | 3.11 ▲0.06 | 42.79 ▼1.48 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 42.49 ▲4.24 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 85.05 ▼569.98 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 32.59 ▲0.34 |
Server storage [IO: ▲0.03MB] [DB: ▲0.43MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Comments Word Blacklist Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲82 | 15.94 ▲0.32 | 9.97 ▲0.04 | 47.25 ▼0.96 |
Dashboard /wp-admin | 2,973 ▲42 | 5.93 ▼0.15 | 154.54 ▲11.24 | 111.69 ▼5.61 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.72 ▲0.02 | 61.59 ▼4.40 | 94.38 ▲5.18 |
Add New Post /wp-admin/post-new.php | 1,672 ▲172 | 18.83 ▲0.28 | 381.69 ▲15.40 | 108.25 ▼5.05 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.04 ▼0.01 | 140.01 ▼6.21 | 123.84 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.43MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/comment-word-blacklist-manager/comment-word-blacklist-manager.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (The new exclusions field) image required
comment-word-blacklist-manager/comment-word-blacklist-manager.php Passed 13 tests
"Comments Word Blacklist Manager" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress 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 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected297 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 124 | 208 | 204 |
PO File | 2 | 21 | 33 | 93 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.38 |
▷ 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 | 21 | |
▷ Static methods | 9 | 42.86% |
▷ Public methods | 20 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.76% |
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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin