Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼6.02ms] Passed 4 tests
Server-side resources used by WP Blog and Widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 34.59 ▼7.05 |
Dashboard /wp-admin | 3.40 ▲0.05 | 46.80 ▼16.25 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.79 ▲3.10 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 94.98 ▼0.48 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.36 ▼0.31 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 83 new files
Database: no new tables, 9 new options
New WordPress options |
---|
wpos_anylc_redirect |
db_upgraded |
widget_theysaidso_widget |
widget_sp_blog_widget |
theysaidso_admin_options |
wpos_anylc_site_uid |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
WP Blog and Widgets: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,544 ▼1,203 | 12.82 ▼1.32 | 1.50 ▼0.19 | 17.94 ▼25.72 |
Dashboard /wp-admin | 2,218 ▲41 | 5.51 ▼0.05 | 98.80 ▼4.49 | 51.37 ▲8.71 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.04 ▲0.09 | 40.93 ▼2.09 | 36.36 ▼3.42 |
Add New Post /wp-admin/post-new.php | 6,215 ▲4,689 | 18.96 ▼4.17 | 867.72 ▲179.76 | 53.45 ▼1.70 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.20 ▲0.01 | 96.98 ▼5.44 | 40.06 ▼7.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 9 options
- widget_sp_blog_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- wpos_anylc_redirect
- widget_recent-comments
- can_compress_scripts
- wpos_anylc_site_uid
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 97% 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 require attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
wp-blog-and-widgets/wp-blog-and-widgets.php Passed 13 tests
The principal PHP file in "WP Blog and Widgets" v. 2.6 is loaded by WordPress automatically on each request
98 characters long description:
Display Blog on your website with list and in grid view. Also work with Gutenberg shortcode block.
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 plugin6,019 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 711 | 972 | 3,514 |
PO File | 7 | 917 | 1,022 | 2,156 |
CSS | 5 | 23 | 7 | 237 |
JavaScript | 4 | 40 | 10 | 110 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.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 | 48 | |
▷ Static methods | 2 | 4.17% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 43 | |
▷ Named functions | 43 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 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
24 PNG files occupy 0.31MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/popup-icon/blog-grid.png | 4.67KB | 2.53KB | ▼ 45.73% |
assets/images/SlidersPack-50.png | 6.48KB | 2.79KB | ▼ 56.91% |
wpos-plugins/assets/images/inbound50-by-50.png | 2.09KB | 1.95KB | ▼ 6.78% |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
assets/images/popup-icon/popup-design.png | 7.53KB | 4.51KB | ▼ 40.14% |