Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.74MB] [CPU: ▼139.26ms] Passed 4 tests
Analyzing server-side resources used by 4bzCore
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.75 | 30.57 ▲6.92 |
Dashboard /wp-admin | 3.81 ▲0.74 | 40.17 ▼1.87 |
Posts /wp-admin/edit.php | 3.86 ▲0.74 | 38.61 ▲2.07 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.75 | 80.90 ▼563.32 |
Media Library /wp-admin/upload.php | 3.75 ▲0.74 | 30.59 ▲6.07 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 88 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_fourbzcore_widget_popular_posts |
widget_fourbzcore_widget_related_posts |
widget_fourbzcore_widget_recent_posts |
widget_fourbzcore_widget_featured_posts |
widget_fourbzcore_widget_slideshow |
widget_fourbzcore_widget_contact_form |
widget_fourbzcore_widget_image_text |
widget_fourbzcore_widget_author_bio |
widget_fourbzcore_widget_contact_info |
widget_fourbzcore_widget_flickr_photos |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for 4bzCore
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,807 ▲205 | 16.42 ▲0.42 | 10.91 ▲5.68 | 76.07 ▲3.45 |
Dashboard /wp-admin | 2,954 ▲55 | 5.99 ▼0.23 | 115.12 ▼17.40 | 173.38 ▲3.50 |
Posts /wp-admin/edit.php | 2,760 ▲17 | 3.35 ▼0.01 | 63.57 ▲2.35 | 135.32 ▼3.81 |
Add New Post /wp-admin/post-new.php | 3,906 ▲91 | 18.94 ▲0.22 | 423.79 ▲5.07 | 245.38 ▲67.27 |
Media Library /wp-admin/upload.php | 1,772 ▲20 | 5.50 ▼0.02 | 140.51 ▼10.10 | 192.86 ▲3.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 12 options in the database
- widget_fourbzcore_widget_featured_posts
- widget_fourbzcore_widget_slideshow
- widget_fourbzcore_widget_image_text
- widget_fourbzcore_widget_popular_posts
- widget_fourbzcore_widget_facebook_comments
- widget_fourbzcore_widget_author_bio
- widget_fourbzcore_widget_progressbars
- widget_fourbzcore_widget_contact_info
- widget_fourbzcore_widget_related_posts
- widget_fourbzcore_widget_contact_form
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
4bzcore/4bzcore.php 92% from 13 tests
The main PHP script in "4bzCore" version 1.0.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description 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
Good job! No executable or dangerous file extensions detected9,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
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
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
PNG files should be compressed to save space and 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.png | 0.43KB | 0.51KB | 0.00% |
js/4bz@2x.png | 1.50KB | 1.72KB | 0.00% |