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: ▲1.34MB] [CPU: ▲9.02ms] Passed 4 tests
A check of server-side resources used by BSK Forms Blacklist
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.80 ▲1.33 | 43.15 ▲9.19 |
Dashboard /wp-admin | 4.65 ▲1.34 | 64.06 ▲5.71 |
Posts /wp-admin/edit.php | 4.70 ▲1.34 | 57.47 ▲11.70 |
Add New Post /wp-admin/post-new.php | 7.25 ▲1.36 | 100.96 ▲9.48 |
Media Library /wp-admin/upload.php | 4.57 ▲1.34 | 45.37 ▲12.29 |
Settings /wp-admin/admin.php?page=bsk-forms-settings | 4.58 | 42.51 |
White list /wp-admin/admin.php?page=bsk-forms-whitelist | 4.54 | 41.98 |
Email list /wp-admin/admin.php?page=bsk-forms-emailist | 4.54 | 41.74 |
Invitation Codes List /wp-admin/admin.php?page=bsk-forms-invitation-codes-list | 4.54 | 41.52 |
Blocked data /wp-admin/admin.php?page=bsk-forms-blocked-data | 4.54 | 39.60 |
IP list /wp-admin/admin.php?page=bsk-forms-iplist | 4.54 | 41.71 |
Blacklist /wp-admin/admin.php?page=bsk-forms-blacklist | 4.54 | 39.79 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 53 new files
Database: 4 new tables, 8 new options
New tables |
---|
wp_bsk_gfbl_hits |
wp_bsk_gfbl_entries |
wp_bsk_gfbl_items |
wp_bsk_gfbl_list |
New WordPress options |
---|
_bsk_gfbl_integrate_cf7_blacklist_done_ |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
_bsk_gfbl_db_ver_ |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by BSK Forms Blacklist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲158 | 13.42 ▼0.93 | 7.83 ▲6.19 | 39.15 ▲3.29 |
Dashboard /wp-admin | 2,249 ▲72 | 5.65 ▲0.00 | 99.83 ▲0.17 | 41.13 ▲2.72 |
Posts /wp-admin/edit.php | 2,154 ▲57 | 2.02 ▲0.07 | 42.14 ▲5.09 | 35.36 ▼1.78 |
Add New Post /wp-admin/post-new.php | 1,567 ▲32 | 23.56 ▼1.44 | 696.14 ▲26.45 | 53.09 ▼17.80 |
Media Library /wp-admin/upload.php | 1,451 ▲48 | 4.26 ▲0.08 | 105.21 ▲6.22 | 46.72 ▲4.79 |
Settings /wp-admin/admin.php?page=bsk-forms-settings | 1,923 | 7.15 | 158.85 | 34.80 |
White list /wp-admin/admin.php?page=bsk-forms-whitelist | 1,019 | 2.10 | 28.70 | 29.48 |
Email list /wp-admin/admin.php?page=bsk-forms-emailist | 1,015 | 2.10 | 26.72 | 27.85 |
Invitation Codes List /wp-admin/admin.php?page=bsk-forms-invitation-codes-list | 1,015 | 2.10 | 27.06 | 26.91 |
Blocked data /wp-admin/admin.php?page=bsk-forms-blocked-data | 1,055 | 2.04 | 23.59 | 28.60 |
IP list /wp-admin/admin.php?page=bsk-forms-iplist | 1,018 | 2.10 | 29.10 | 28.42 |
Blacklist /wp-admin/admin.php?page=bsk-forms-blacklist | 1,019 | 2.10 | 25.97 | 28.80 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following items
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/lists.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/lists.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/entries.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/lists.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/entries.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/forminator/forms-list.php:3
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/items.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/entries.php on line 4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/items.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/bsk-gravityforms-blacklist/classes/dashboard/items.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Backend menu), #2 (Interface of creating blacklist and add items ( keywords )), #3 (Plugin setting page to choose the form plugin to be supported), #4 (Gravity Forms form setting page), #5 (Apply blacklist to Gravity Forms form field), #6 (Formidable Forms form setting page), #7 (Apply blacklist to Formidable Forms form field), #8 (Blocked when submit form)
bsk-gravityforms-blacklist/bsk-gravityforms-blacklist.php 92% from 13 tests
The main PHP file in "BSK Forms Blacklist" ver. 3.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 256 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin10,487 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,443 | 344 | 9,368 |
JavaScript | 3 | 193 | 67 | 806 |
CSS | 1 | 66 | 17 | 313 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 8.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 17 | 8.81% |
▷ Public methods | 192 | 99.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.52% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 0.59MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 76.07KB | 21.52KB | ▼ 71.71% |
images/active1.png | 15.01KB | 1.06KB | ▼ 92.96% |
images/active0.png | 14.99KB | 1.11KB | ▼ 92.58% |
screenshot-8.png | 50.71KB | 15.67KB | ▼ 69.11% |
screenshot-3.png | 58.82KB | 20.38KB | ▼ 65.35% |