Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼10.76ms] Passed 4 tests
An overview of server-side resources used by Blacklist keys manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 34.51 ▼10.88 |
Dashboard /wp-admin | 3.46 ▲0.12 | 46.94 ▼19.53 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 49.86 ▲3.70 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 84.12 ▼10.94 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 34.70 ▼1.67 |
Comment Blacklist /wp-admin/options-general.php?page=blacklist-keys-manager-properties | 3.35 | 30.97 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
blacklist-keys-manager-properties |
theysaidso_admin_options |
blacklist-keys-manager-db-version |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Blacklist keys manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲22 | 14.34 ▼0.31 | 1.59 ▼0.36 | 39.16 ▼5.04 |
Dashboard /wp-admin | 2,196 ▲25 | 5.55 ▼0.01 | 83.65 ▼5.93 | 37.37 ▼4.70 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.10 ▲0.08 | 42.07 ▲7.76 | 36.01 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,529 ▼7 | 23.11 ▲4.94 | 670.35 ▲75.07 | 58.05 ▼14.62 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.04 | 98.50 ▼7.12 | 41.90 ▼4.15 |
Comment Blacklist /wp-admin/options-general.php?page=blacklist-keys-manager-properties | 1,916 | 3.96 | 104.45 | 36.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- blacklist-keys-manager-db-version
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=blacklist-keys-manager-properties
- > 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".
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function delete_option() in wp-content/plugins/blacklist-keys-manager/uninstall.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/blacklist-keys-manager/blacklist-keys-manager.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Properties page.) image missing
blacklist-keys-manager/blacklist-keys-manager.php Passed 13 tests
The entry point to "Blacklist keys manager" version 1.2.0 is a PHP file that has certain tags in its header comment area
40 characters long description:
This plugin manages a comment blacklist.
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
No dangerous file extensions were detected1,041 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 22 | 34 | 894 |
PO File | 1 | 55 | 73 | 147 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 156.00 |
▷ Minimum class complexity | 156.00 |
▷ Maximum class complexity | 156.00 |
Average method complexity | 9.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 69.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 16.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 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
1 compressed PNG file occupies 0.05MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 49.03KB | 45.01KB | ▼ 8.20% |