Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.42MB] [CPU: ▼316.14ms] 75% from 4 tests
This is a short check of server-side resources used by Blog Designer - Post and Widget
Please have a look at the following items
- CPU: Total CPU usage must kept under 500.00ms (currently 790.23ms on /wp-admin/admin.php?page=bdpw-espbw-dashboard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.41 | 72.06 ▲4.78 |
Dashboard /wp-admin | 3.84 ▲0.43 | 40.18 ▼1.37 |
Posts /wp-admin/edit.php | 4.07 ▲0.43 | 53.25 ▼28.92 |
Add New Post /wp-admin/post-new.php | 7.37 ▲0.40 | 121.87 ▼1,239.03 |
Media Library /wp-admin/upload.php | 3.78 ▲0.49 | 52.05 ▲17.34 |
Solutions & Features /wp-admin/admin.php?page=bdpw-solutions-features | 3.72 | 34.75 |
Upgrade To Premium /wp-admin/admin.php?page=bdpw-premium | 3.76 | 32.76 |
Blog Designer /wp-admin/admin.php?page=bdpw-about | 3.75 | 39.20 |
Install Popular Plugins From WPOS /wp-admin/admin.php?page=bdpw-espbw-dashboard | 4.13 | 790.23 |
Server storage [IO: ▲0.71MB] [DB: ▲0.05MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 2 new options
New WordPress options |
---|
wpos_anylc_redirect |
widget_wpspw_pro_post_thumb_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Blog Designer - Post and Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,876 ▲121 | 16.46 ▲1.05 | 11.70 ▲1.69 | 2.92 ▼0.96 |
Dashboard /wp-admin | 2,997 ▲78 | 6.41 ▲0.04 | 187.35 ▼56.17 | 193.37 ▼12.44 |
Posts /wp-admin/edit.php | 2,742 ▲24 | 3.44 ▲0.02 | 87.64 ▼28.98 | 172.38 ▼59.55 |
Add New Post /wp-admin/post-new.php | 1,773 ▲111 | 19.36 ▲3.45 | 456.18 ▼240.39 | 202.40 ▼4.24 |
Media Library /wp-admin/upload.php | 1,754 ▲24 | 5.73 ▼0.00 | 183.82 ▼8.44 | 254.90 ▲5.33 |
Solutions & Features /wp-admin/admin.php?page=bdpw-solutions-features | 1,875 | 2.61 | 72.85 | 259.96 |
Upgrade To Premium /wp-admin/admin.php?page=bdpw-premium | 1,800 | 2.68 | 74.39 | 194.19 |
Blog Designer /wp-admin/admin.php?page=bdpw-about | 1,854 | 2.64 | 73.39 | 244.66 |
Install Popular Plugins From WPOS /wp-admin/admin.php?page=bdpw-espbw-dashboard | 5,932 | 3.45 | 88.30 | 267.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 2 options in the database
- wpos_anylc_redirect
- widget_wpspw_pro_post_thumb_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
blog-designer-for-post-and-widget/blog-designer-post-and-widget.php 92% from 13 tests
The main file in "Blog Designer - Post and Widget" v. 2.2.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("blog-designer-for-post-and-widget.php" instead of "blog-designer-post-and-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin4,556 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 690 | 977 | 3,552 |
PO File | 1 | 154 | 162 | 356 |
JavaScript | 7 | 107 | 43 | 329 |
CSS | 6 | 38 | 18 | 317 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 3.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 2 | 22.22% |
Methods | 50 | |
▷ Static methods | 2 | 4.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
36 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/utility-50.png | 1.64KB | 0.82KB | ▼ 50.30% |
assets/images/inboundwp-50.png | 3.19KB | 1.95KB | ▼ 38.90% |
wpos-plugins/assets/images/utility-icon.png | 0.72KB | 0.82KB | 0.00% |
assets/images/vc-icon.png | 5.24KB | 1.92KB | ▼ 63.42% |
assets/images/site-origin-icon.png | 6.21KB | 2.48KB | ▼ 60.12% |