Benchmarks
Plugin footprint Passed 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.05MB] [CPU: ▼296.28ms] Passed 4 tests
This is a short check of server-side resources used by WP BFI – Better Featured Image
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.06 | 51.54 ▼0.57 |
Dashboard /wp-admin | 3.50 ▲0.09 | 35.54 ▲1.14 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 41.36 ▲3.97 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 93.97 ▼1,186.18 |
Media Library /wp-admin/upload.php | 3.36 ▲0.07 | 24.43 ▲0.51 |
WP BFI - Settings /wp-admin/upload.php?page=wp_bfi_admin_settings | 3.40 | 30.70 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP BFI – Better Featured Image
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,971 ▲248 | 17.71 ▲2.07 | 5.84 ▼0.18 | 2.29 ▲0.12 |
Dashboard /wp-admin | 3,096 ▲241 | 8.01 ▲1.83 | 143.03 ▲11.68 | 168.24 ▲8.00 |
Posts /wp-admin/edit.php | 2,981 ▲290 | 5.26 ▲2.03 | 81.41 ▲20.08 | 138.88 ▲3.10 |
Add New Post /wp-admin/post-new.php | 1,680 ▲12 | 18.19 ▲0.25 | 365.34 ▼38.13 | 156.25 ▲0.56 |
Media Library /wp-admin/upload.php | 1,712 ▲14 | 5.58 ▲0.06 | 108.83 ▼35.13 | 186.88 ▲0.02 |
WP BFI - Settings /wp-admin/upload.php?page=wp_bfi_admin_settings | 1,640 | 4.30 | 72.02 | 157.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
wp-bfi-better-featured-image/wp-bfi-better-featured-image.php Passed 13 tests
This is the main PHP file of "WP BFI – Better Featured Image" version 0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
118 characters long description:
WP BFI lets you manage featured images in a more efficient way, by adding intuitive tools to your WordPress interface.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin644 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 150 | 32 | 271 |
PO File | 1 | 46 | 48 | 169 |
JavaScript | 1 | 64 | 10 | 143 |
CSS | 1 | 17 | 0 | 61 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 22 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin