Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.97MB] [CPU: ▼6.01ms] Passed 4 tests
An overview of server-side resources used by Columns by BestWebSoft - Additional Columns Plugin for Posts Pages and Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.48 ▲1.02 | 48.98 ▲6.77 |
Dashboard /wp-admin | 4.31 ▲0.97 | 59.73 ▼15.81 |
Posts /wp-admin/edit.php | 4.37 ▲1.01 | 56.61 ▼3.39 |
Add New Post /wp-admin/post-new.php | 6.85 ▲0.96 | 97.41 ▼11.61 |
Media Library /wp-admin/upload.php | 4.17 ▲0.94 | 51.07 ▲10.31 |
Server storage [IO: ▲4.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 120 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_clmns_columns |
wp_clmns_column |
New WordPress options |
---|
widget_recent-posts |
bstwbsftwppdtplgns_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
clmns_options |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Columns by BestWebSoft - Additional Columns Plugin for Posts Pages and Widgets
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,003 ▲257 | 13.61 ▼0.75 | 12.47 ▲10.39 | 38.84 ▼1.14 |
Dashboard /wp-admin | 2,294 ▲114 | 5.83 ▲0.17 | 92.51 ▲0.29 | 46.65 ▲1.64 |
Posts /wp-admin/edit.php | 2,206 ▲106 | 2.34 ▲0.38 | 35.24 ▼3.45 | 32.12 ▼3.36 |
Add New Post /wp-admin/post-new.php | 1,629 ▲101 | 23.29 ▲0.29 | 683.60 ▲1.44 | 52.73 ▼16.71 |
Media Library /wp-admin/upload.php | 1,502 ▲102 | 4.36 ▲0.22 | 103.03 ▼10.36 | 47.04 ▼4.83 |
BWS Panel /wp-admin/columns.php?page=clmns-bws-panel | 26 | 0.42 | 0.07 | 14.74 |
Columns /wp-admin/columns.php | 26 | 0.42 | 0.08 | 5.56 |
Add New /wp-admin/column-new.php | 26 | 0.42 | 0.10 | 8.37 |
Settings /wp-admin/columns-settings.php | 26 | 0.42 | 0.09 | 5.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 everything seems fine, this is not 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 fix the following items
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/columns-bws/bws_menu/product_list.php:9
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/columns-bws/includes/class-clmns-settings.php:7
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/columns-bws/includes/class-clmns-add-new.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/columns-bws/bws_menu/class-bws-settings.php:1452
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/columns-bws/columns-bws.php on line 283
- > 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/columns-bws/columns-bws.php on line 283
- > 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/columns-bws/columns-bws.php on line 283
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/columns.php?page=clmns-bws-panel
- > Network (severe)
wp-admin/columns.php?page=clmns-bws-panel - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/columns.php
- > Network (severe)
wp-admin/columns.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/column-new.php
- > Network (severe)
wp-admin/column-new.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/columns-settings.php
- > Network (severe)
wp-admin/columns-settings.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Columns display.), #2 (Columns List.), #3 (Edit columns page.), #4 (Edit columns settings page.), #5 (Plugin Settings.), #6 (Adding Columns Shortcode.)
- Tags: There are too many tags (14 tag instead of maximum 10)
columns-bws/columns-bws.php Passed 13 tests
The entry point to "Columns by BestWebSoft - Additional Columns Plugin for Posts Pages and Widgets" version 1.0.3 is a PHP file that has certain tags in its header comment area
80 characters long description:
Add columns with custom content to WordPress website pages, posts, widgets, etc.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin19,573 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,623 | 5,401 | 7,860 |
CSS | 12 | 189 | 280 | 5,604 |
PHP | 10 | 546 | 743 | 5,348 |
JavaScript | 9 | 46 | 118 | 690 |
SVG | 1 | 0 | 0 | 71 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 67.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 9.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 82.05% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 17.95% |
Functions | 74 | |
▷ Named functions | 74 | 100.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
62 PNG files occupy 2.28MB with 1.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-bg_glass_75_dadada_1x400.png | 0.31KB | 0.18KB | ▼ 39.81% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
bws_menu/css/jquery-ui-styles/1.12.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |
screenshot-5.png | 84.15KB | 28.45KB | ▼ 66.20% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-icons_888888_256x240.png | 6.88KB | 4.20KB | ▼ 38.90% |