Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.72MB] [CPU: ▼6.99ms] Passed 4 tests
A check of server-side resources used by BEAR - Bulk Editor and Products Manager Professional for WooCommerce by Pluginus.Net
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 43.83 ▲2.75 |
Dashboard /wp-admin | 4.07 ▲0.72 | 58.99 ▼5.04 |
Posts /wp-admin/edit.php | 4.12 ▲0.76 | 48.66 ▼13.40 |
Add New Post /wp-admin/post-new.php | 6.58 ▲0.70 | 95.87 ▼12.25 |
Media Library /wp-admin/upload.php | 3.93 ▲0.70 | 43.57 ▲8.40 |
Server storage [IO: ▲5.30MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 194 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BEAR - Bulk Editor and Products Manager Professional for WooCommerce by Pluginus.Net
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.67 ▼0.74 | 5.04 ▲3.38 | 47.64 ▲2.57 |
Dashboard /wp-admin | 2,224 ▲33 | 5.88 ▲1.00 | 109.16 ▼2.60 | 43.28 ▼4.35 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.01 | 37.48 ▼1.15 | 30.46 ▼5.75 |
Add New Post /wp-admin/post-new.php | 1,546 ▲14 | 23.26 ▲0.20 | 654.52 ▼5.97 | 60.31 ▼29.29 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.22 ▲0.00 | 102.84 ▲0.31 | 48.65 ▲7.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 14× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/woo-bulk-editor/ext/history/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/lib/storage.php
- > /wp-content/plugins/woo-bulk-editor/views/parts/top_panel.php
- > /wp-content/plugins/woo-bulk-editor/ext/info/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/views/parts/advanced-table.php
- > /wp-content/plugins/woo-bulk-editor/ext/export/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/ext/calculator/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/ext/filters/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/ext/bulkoperations/views/panel.php
- > /wp-content/plugins/woo-bulk-editor/ext/history/views/list.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #27, #28, #29, #3, #30, #31, #4, #5, #6, #7, #8, #9 in woo-bulk-editor/assets to your readme.txt
woo-bulk-editor/index.php 77% from 13 tests
The main PHP script in "BEAR - Bulk Editor and Products Manager Professional for WooCommerce by Pluginus.Net" version 1.1.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-bulk-editor.php" instead of "index.php")
- Description: The description should be shorter than 140 characters (currently 161 characters long)
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "WP 4.9")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin49,851 lines of code in 146 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 42 | 5,795 | 9,439 | 22,857 |
PHP | 54 | 2,759 | 929 | 12,576 |
CSS | 43 | 878 | 271 | 7,908 |
PO File | 3 | 1,813 | 2,128 | 4,582 |
SVG | 1 | 0 | 0 | 1,839 |
Markdown | 2 | 31 | 0 | 88 |
JSON | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 132)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 78.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 294.00 |
Average method complexity | 6.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 132.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 1 | 4.76% |
▷ Concrete classes | 20 | 95.24% |
▷ Final classes | 15 | 75.00% |
Methods | 244 | |
▷ Static methods | 31 | 12.70% |
▷ Public methods | 217 | 88.93% |
▷ Protected methods | 3 | 1.23% |
▷ Private methods | 24 | 9.84% |
Functions | 42 | |
▷ Named functions | 13 | 30.95% |
▷ Anonymous functions | 29 | 69.05% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
27 compressed PNG files occupy 0.53MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/js/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/images/info-2.png | 2.34KB | 1.74KB | ▼ 25.48% |
assets/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/bear_banner.png | 46.74KB | 46.76KB | 0.00% |
assets/js/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |