Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▲0.95ms] Passed 4 tests
Analyzing server-side resources used by Blog Designer - Post and Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.36 | 38.76 ▲1.82 |
Dashboard /wp-admin | 3.79 ▲0.48 | 50.43 ▼2.11 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 53.37 ▲3.65 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 98.45 ▲0.43 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 39.78 ▲5.73 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 80 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_wpspw_pro_post_thumb_widget |
wpos_anylc_site_uid |
theysaidso_admin_options |
wpos_anylc_redirect |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Blog Designer - Post and Widget: 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 / | 1,544 ▼1,218 | 10.60 ▼3.76 | 1.46 ▼0.39 | 17.59 ▼22.31 |
Dashboard /wp-admin | 2,222 ▲45 | 5.61 ▼0.05 | 98.26 ▲2.89 | 49.77 ▲6.91 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.98 ▲0.02 | 40.31 ▲1.39 | 34.52 ▼0.74 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,691 | 19.18 ▼3.91 | 926.69 ▲270.11 | 70.66 ▲9.27 |
Media Library /wp-admin/upload.php | 1,423 ▲29 | 4.17 ▼0.04 | 96.69 ▼2.54 | 39.35 ▼2.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_wpspw_pro_post_thumb_widget
- wpos_anylc_redirect
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- wpos_anylc_site_uid
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- 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 principal PHP file in "Blog Designer - Post and Widget" v. 2.7 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to 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 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin4,289 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 742 | 989 | 3,595 |
JavaScript | 7 | 124 | 67 | 368 |
CSS | 6 | 45 | 18 | 324 |
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.50 |
Average class complexity | 17.11 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 46 | |
▷ Static methods | 2 | 4.35% |
▷ Public methods | 42 | 91.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.70% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 20 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
27 PNG files occupy 0.52MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/popup-icon/popup-design.png | 7.53KB | 4.51KB | ▼ 40.14% |
assets/images/arrow-left.png | 0.43KB | 0.22KB | ▼ 49.43% |
wpos-plugins/assets/images/inbound50-by-50.png | 2.09KB | 1.95KB | ▼ 6.78% |
assets/images/wpos-team.png | 171.41KB | 48.35KB | ▼ 71.79% |
wpos-plugins/assets/images/essential-plugin-16.png | 0.46KB | 0.66KB | 0.00% |