Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼1.13ms] Passed 4 tests
This is a short check of server-side resources used by BBWP Custom Fields
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.05 | 43.98 ▲4.53 |
Dashboard /wp-admin | 3.96 ▲0.59 | 60.16 ▲2.15 |
Posts /wp-admin/edit.php | 4.01 ▲0.62 | 52.61 ▲1.84 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.56 | 96.66 ▼13.04 |
Media Library /wp-admin/upload.php | 3.80 ▲0.54 | 44.47 ▲7.15 |
Custom Post Types /wp-admin/admin.php?page=bbwpcustomfieldscpt | 3.78 | 45.88 |
BBWP Custom Fields /wp-admin/admin.php?page=bbwpcustomfields | 3.79 | 38.69 |
Custom Taxonomies /wp-admin/admin.php?page=bbwpcustomfieldsct | 3.79 | 46.77 |
Server storage [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: no files
Database: no new tables, 9 new options
New WordPress options |
---|
bbwp_update_message |
widget_recent-posts |
bbwpcustomfields_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
bbwp_error_message |
Browser metrics Passed 4 tests
BBWP Custom Fields: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲260 | 15.11 ▲0.72 | 1.74 ▼0.01 | 42.82 ▼2.19 |
Dashboard /wp-admin | 2,406 ▲221 | 6.88 ▲1.04 | 122.24 ▲18.66 | 37.10 ▼20.44 |
Posts /wp-admin/edit.php | 2,323 ▲231 | 3.75 ▲1.72 | 54.61 ▲14.90 | 34.05 ▼1.91 |
Add New Post /wp-admin/post-new.php | 1,579 ▲59 | 23.11 ▼0.36 | 631.58 ▼58.19 | 35.33 ▼21.59 |
Media Library /wp-admin/upload.php | 1,459 ▲74 | 4.54 ▲0.38 | 83.51 ▼14.38 | 39.87 ▼4.57 |
Custom Post Types /wp-admin/admin.php?page=bbwpcustomfieldscpt | 2,314 | 3.90 | 60.72 | 43.32 |
BBWP Custom Fields /wp-admin/admin.php?page=bbwpcustomfields | 1,247 | 3.54 | 53.68 | 32.48 |
Custom Taxonomies /wp-admin/admin.php?page=bbwpcustomfieldsct | 2,043 | 3.93 | 53.69 | 34.11 |
Uninstaller [IO: ✅] [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
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-comments
- theysaidso_admin_options
- bbwpcustomfields_options
- bbwp_update_message
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- bbwp_error_message
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
bbwp-custom-fields/bbwp-custom-fields.php Passed 13 tests
The main PHP file in "BBWP Custom Fields" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
120 characters long description:
Allows you to add additional Meta Boxes with custom fields into Post types, Taxonomies, User Profile, Comments and more.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected3,059 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 376 | 330 | 2,778 |
JavaScript | 1 | 34 | 18 | 162 |
CSS | 1 | 0 | 11 | 115 |
Markdown | 1 | 3 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 72.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 191.00 |
Average method complexity | 11.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 7 | 10.61% |
▷ Public methods | 57 | 86.36% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 13.64% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin