Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▲0.45ms] Passed 4 tests
A check of server-side resources used by BX Essentials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 44.43 ▲1.14 |
Dashboard /wp-admin | 3.50 ▲0.20 | 49.39 ▲1.81 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 51.12 ▼4.55 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 99.54 ▲8.24 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 38.67 ▲3.41 |
BX Essentials /wp-admin/options-general.php?page=bx-essentials | 3.39 | 38.58 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
bx_sntls_options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
BX Essentials: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.27 ▼1.06 | 4.95 ▲3.19 | 38.74 ▼2.88 |
Dashboard /wp-admin | 2,207 ▲16 | 5.79 ▲0.88 | 99.79 ▼5.00 | 38.15 ▼4.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 39.03 ▲2.06 | 34.48 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.53 ▼0.57 | 642.54 ▼18.31 | 54.39 ▼13.67 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.08 | 97.39 ▼13.09 | 46.54 ▲0.51 |
BX Essentials /wp-admin/options-general.php?page=bx-essentials | 1,011 | 1.84 | 27.24 | 31.16 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: tools, dev
bx-essentials/bx-essentials.php 85% from 13 tests
The main PHP script in "BX Essentials" version 2.0.2 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
- Requires PHP: The required version number must match the one declared in readme.txt ("7.4" instead of "7.4.0")
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 plugin1,655 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 328 | 449 | 1,207 |
JavaScript | 4 | 129 | 2 | 448 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 20.22 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 20 | 29.41% |
▷ Public methods | 61 | 89.71% |
▷ Protected methods | 6 | 8.82% |
▷ Private methods | 1 | 1.47% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin