Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.56ms] Passed 4 tests
A check of server-side resources used by WP BunVC
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.58 ▼3.86 |
Dashboard /wp-admin | 3.42 ▲0.12 | 48.83 ▲2.91 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.81 ▼5.06 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 82.14 ▼18.64 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.22 ▲1.32 |
WP BunVC /wp-admin/options-general.php?page=wp-bunvc | 3.31 | 31.61 |
Server storage [IO: ▲0.46MB] [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, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WP BunVC
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲67 | 13.70 ▼0.97 | 23.68 ▲21.39 | 42.87 ▼7.53 |
Dashboard /wp-admin | 2,210 ▲19 | 5.82 ▲0.94 | 97.90 ▼0.72 | 39.85 ▼1.42 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 1.98 ▼0.01 | 36.79 ▼5.78 | 31.68 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.19 ▲0.17 | 661.53 ▲57.37 | 57.07 ▲5.68 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▲0.00 | 97.40 ▼1.91 | 40.92 ▼1.74 |
WP BunVC /wp-admin/options-general.php?page=wp-bunvc | 829 | 2.07 | 26.10 | 29.49 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-bunvc/admin/partials/wp-bunvc-admin-display.php
- > /wp-content/plugins/wp-bunvc/public/partials/wp-bunvc-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (PC screen), #2 (Smartphone screen)
wp-bunvc/wp-bunvc.php 92% from 13 tests
This is the main PHP file of "WP BunVC" version 1.1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected511 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 151 | 580 | 447 |
PO File | 2 | 6 | 6 | 48 |
JavaScript | 3 | 2 | 60 | 10 |
INI | 1 | 0 | 0 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 29 | 74.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 25.64% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/donate_link.png | 37.75KB | 15.11KB | ▼ 59.98% |
screenshot-2.png | 35.14KB | 13.49KB | ▼ 61.62% |
screenshot-1.png | 48.79KB | 20.08KB | ▼ 58.85% |