Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼137.87ms] Passed 4 tests
Server-side resources used by BulkPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 36.15 ▲15.01 |
Dashboard /wp-admin | 3.31 ▲0.26 | 47.26 ▲10.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.26 | 47.05 ▲4.76 |
Add New Post /wp-admin/post-new.php | 5.61 ▲0.18 | 89.50 ▼565.82 |
Media Library /wp-admin/upload.php | 3.19 ▲0.19 | 33.10 ▼1.07 |
Terms /wp-admin/admin.php?page=bulkpress-terms | 3.17 | 30.60 |
Posts /wp-admin/admin.php?page=bulkpress-posts | 3.16 | 30.28 |
BulkPress /wp-admin/admin.php?page=bulkpress | 3.16 | 26.42 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 30 new files
Database: no new tables, 1 new option
New WordPress options |
---|
jwbp_version |
Browser metrics Passed 4 tests
A check of browser resources used by BulkPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,745 ▲149 | 15.91 ▲0.19 | 8.78 ▲0.74 | 47.86 ▲2.08 |
Dashboard /wp-admin | 3,010 ▲79 | 6.07 ▲0.08 | 134.97 ▼4.71 | 114.52 ▲8.96 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.71 ▲0.02 | 65.85 ▲0.11 | 87.55 ▼6.46 |
Add New Post /wp-admin/post-new.php | 1,527 ▼143 | 17.13 ▼2.04 | 340.28 ▼14.69 | 112.79 ▼1.21 |
Media Library /wp-admin/upload.php | 1,850 ▲43 | 5.05 ▲0.07 | 147.17 ▼7.48 | 116.59 ▼9.52 |
Terms /wp-admin/admin.php?page=bulkpress-terms | 1,535 | 2.54 | 64.10 | 96.73 |
Posts /wp-admin/admin.php?page=bulkpress-posts | 1,717 | 2.58 | 70.47 | 99.17 |
BulkPress /wp-admin/admin.php?page=bulkpress | 1,054 | 2.33 | 54.83 | 63.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- jwbp_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulkpress/lib/admin.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulkpress/lib/ajax.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulkpress/bulkpress.php:69
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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
Attributes that require attention:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
bulkpress/bulkpress.php 92% from 13 tests
The main file in "BulkPress" v. 0.3.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 388 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin2,292 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 313 | 677 | 1,304 |
JavaScript | 5 | 157 | 95 | 555 |
PO File | 1 | 282 | 726 | 306 |
CSS | 2 | 28 | 37 | 127 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 60 | |
▷ Static methods | 6 | 10.00% |
▷ Public methods | 57 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
7 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort.png | 1.12KB | 0.34KB | ▼ 69.77% |
assets/images/listdisplay-comfortable.png | 1.55KB | 0.49KB | ▼ 68.60% |
assets/images/listdisplay-cozy.png | 1.54KB | 0.48KB | ▼ 68.76% |
assets/images/helper/opacity/FFFFFF-80.png | 0.91KB | 0.09KB | ▼ 89.56% |
assets/images/listdisplay-compact.png | 1.54KB | 0.48KB | ▼ 68.71% |