Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲11.18MB] [CPU: ▲58.81ms] 75% from 4 tests
Server-side resources used by Beebee Mini
It is recommended to improve the following
- Extra RAM: The extra memory usage must be under 5MB (currently 11.18MB on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 14.63 ▲11.17 | 102.38 ▲60.93 |
Dashboard /wp-admin | 14.74 ▲11.44 | 128.26 ▲76.42 |
Posts /wp-admin/edit.php | 14.96 ▲11.60 | 138.76 ▲90.40 |
Add New Post /wp-admin/post-new.php | 16.47 ▲10.58 | 109.88 ▲13.84 |
Media Library /wp-admin/upload.php | 14.76 ▲11.53 | 120.15 ▲84.06 |
Server storage [IO: ▲11.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 497 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-posts |
theysaidso_admin_options |
acfe |
acf_version |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Beebee Mini: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,006 ▲260 | 15.12 ▲0.75 | 1.71 ▼0.05 | 42.24 ▼2.33 |
Dashboard /wp-admin | 2,415 ▲227 | 7.04 ▲2.15 | 145.18 ▲26.84 | 48.89 ▲3.26 |
Posts /wp-admin/edit.php | 2,868 ▲779 | 10.05 ▲8.07 | 205.37 ▲168.01 | 42.15 ▲9.91 |
Add New Post /wp-admin/post-new.php | 45 ▼1,469 | 0.44 ▼17.15 | 0.07 ▼685.60 | 9.37 ▼55.59 |
Media Library /wp-admin/upload.php | 2,020 ▲632 | 10.84 ▲6.72 | 229.79 ▲116.62 | 53.71 ▲6.12 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- acf_version
- widget_recent-comments
- widget_recent-posts
- acfe
- db_upgraded
- can_compress_scripts
- recovery_mode_email_last_sent
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 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 50% from 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
Please take a closer look at the following
- 116× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/l10n.php:153
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/fields/class-acf-field-date_picker.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/fields/class-acf-field-wysiwyg.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_register_store() in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/local-fields.php:4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/admin/views/html-location-rule.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/acf-input-functions.php:103
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_idify() in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/admin/views/field-group-field.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/forms/form-taxonomy.php:36
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/beebee-mini/bee-admin/admin/library/framework/includes/fields/class-acf-field-taxonomy.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beebee-mini/bee-content/themes/_beebee_gallery/theme_terms.php:137
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: beebeemini, beebee, mini program api
beebee-mini/wp-mini-beebee.php 85% from 13 tests
The main file in "Beebee Mini" v. 1.3.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 170 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("beebee-mini.php" instead of "wp-mini-beebee.php")
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
Everything looks great! No dangerous files found in this plugin196,188 lines of code in 422 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 333 | 23,502 | 27,470 | 138,594 |
JavaScript | 38 | 8,264 | 7,285 | 43,330 |
CSS | 28 | 1,306 | 767 | 10,595 |
PO File | 2 | 1,640 | 2,955 | 3,126 |
Markdown | 7 | 111 | 0 | 248 |
SVG | 9 | 0 | 0 | 154 |
JSON | 5 | 0 | 0 | 141 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 20.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 248 | |
▷ Abstract classes | 2 | 0.81% |
▷ Concrete classes | 246 | 99.19% |
▷ Final classes | 0 | 0.00% |
Methods | 1,933 | |
▷ Static methods | 26 | 1.35% |
▷ Public methods | 1,884 | 97.47% |
▷ Protected methods | 11 | 0.57% |
▷ Private methods | 38 | 1.97% |
Functions | 733 | |
▷ Named functions | 680 | 92.77% |
▷ Anonymous functions | 53 | 7.23% |
Constants | 17 | |
▷ Global constants | 15 | 88.24% |
▷ Class constants | 2 | 11.76% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
22 PNG files occupy 1.30MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bee-admin/static/img/yin.png | 23.08KB | 18.26KB | ▼ 20.89% |
bee-admin/static/img/cloud.png | 92.14KB | 54.89KB | ▼ 40.43% |
bee-admin/static/img/cloudy.png | 40.28KB | 16.99KB | ▼ 57.82% |
bee-content/themes/_beebee_sleep/img/xsm_1.png | 82.80KB | 90.48KB | 0.00% |
bee-admin/admin/library/framework/assets/images/acf-logo.png | 3.40KB | 3.39KB | 0.23% |