Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.76MB] [CPU: ▼0.18ms] Passed 4 tests
An overview of server-side resources used by 4bzCore
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 46.19 ▲5.03 |
Dashboard /wp-admin | 4.05 ▲0.75 | 52.92 ▲0.33 |
Posts /wp-admin/edit.php | 4.10 ▲0.75 | 50.47 ▼1.11 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.79 | 105.27 ▼4.96 |
Media Library /wp-admin/upload.php | 3.98 ▲0.75 | 45.03 ▲8.83 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 88 new files
Database: no new tables, 18 new options
New WordPress options |
---|
widget_fourbzcore_widget_author_bio |
widget_fourbzcore_widget_progressbars |
widget_fourbzcore_widget_slideshow |
widget_recent-comments |
widget_fourbzcore_widget_flickr_photos |
theysaidso_admin_options |
widget_fourbzcore_widget_recent_posts |
widget_fourbzcore_widget_related_posts |
widget_fourbzcore_widget_facebook_comments |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 4bzCore
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲187 | 13.67 ▼0.98 | 9.59 ▲7.49 | 38.43 ▼2.99 |
Dashboard /wp-admin | 2,234 ▲34 | 5.84 ▼0.04 | 100.13 ▼2.57 | 38.62 ▼7.24 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.02 ▲0.02 | 38.38 ▼1.34 | 33.62 ▼1.60 |
Add New Post /wp-admin/post-new.php | 6,275 ▲4,730 | 26.19 ▲2.83 | 857.73 ▲199.20 | 65.37 ▼6.43 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 4.21 ▼0.02 | 96.57 ▼6.15 | 42.18 ▼4.04 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 18 options
- widget_recent-comments
- widget_fourbzcore_widget_flickr_photos
- widget_fourbzcore_widget_author_bio
- widget_fourbzcore_widget_facebook_comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_fourbzcore_widget_image_text
- widget_recent-posts
- ...
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
4bzcore/4bzcore.php 92% from 13 tests
The main PHP file in "4bzCore" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 625 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin9,546 lines of code in 76 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 1,041 | 2,378 | 3,473 |
CSS | 5 | 80 | 109 | 2,183 |
Sass | 13 | 26 | 24 | 1,352 |
LESS | 13 | 26 | 33 | 1,343 |
JavaScript | 4 | 187 | 389 | 611 |
SVG | 2 | 0 | 0 | 584 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 15.52 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 162 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 161 | 99.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.62% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
favicon.png | 0.46KB | 0.54KB | 0.00% |
js/4bz@2x.png | 1.50KB | 1.72KB | 0.00% |
js/4bz.png | 0.43KB | 0.51KB | 0.00% |