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.27MB] [CPU: ▼3.66ms] Passed 4 tests
A check of server-side resources used by PB Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 42.28 ▼2.54 |
Dashboard /wp-admin | 3.58 ▲0.28 | 54.80 ▲2.84 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 55.56 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 88.12 ▼15.86 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 43.03 ▲2.44 |
Builders /wp-admin/admin.php?page=premiumblog | 3.47 | 36.03 |
Widgets /wp-admin/admin.php?page=pbw-widgets | 3.47 | 46.83 |
Tools /wp-admin/admin.php?page=pbw-tools | 3.47 | 38.18 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 80 new files
Database: no new tables, 17 new options
New WordPress options |
---|
premiumblog_widgets_posts_classic |
premiumblog_widgets_news_ticker |
premiumblog_widgets_posts_slider |
premiumblog_widgets_posts_flex_cards |
widget_theysaidso_widget |
db_upgraded |
premiumblog_widgets_posts_grid |
premiumblog_widgets_author_box |
premiumblog_widgets_mailchimp_form |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
PB Addons: 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 / | 2,958 ▲197 | 13.52 ▼0.83 | 9.41 ▲6.94 | 40.87 ▼4.95 |
Dashboard /wp-admin | 2,240 ▲66 | 5.57 ▼0.01 | 89.79 ▼10.49 | 38.23 ▼5.28 |
Posts /wp-admin/edit.php | 2,145 ▲48 | 2.02 ▲0.07 | 42.00 ▲6.89 | 38.67 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.06 ▲0.02 | 672.39 ▼3.84 | 55.51 ▲2.18 |
Media Library /wp-admin/upload.php | 1,445 ▲48 | 4.26 ▲0.08 | 99.21 ▼2.62 | 45.13 ▼1.04 |
Builders /wp-admin/admin.php?page=premiumblog | 916 | 2.02 | 28.71 | 119.33 |
Widgets /wp-admin/admin.php?page=pbw-widgets | 999 | 2.01 | 25.51 | 56.73 |
Tools /wp-admin/admin.php?page=pbw-tools | 928 | 2.01 | 24.60 | 53.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 17 options
- db_upgraded
- premiumblog_widgets_posts_list
- widget_recent-comments
- premiumblog_widgets_posts_grid
- premiumblog_builders_elementor
- widget_theysaidso_widget
- premiumblog_widgets_category_tiles
- premiumblog_widgets_posts_slider
- theysaidso_admin_options
- premiumblog_widgets_posts_classic
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 73× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-2.php:49
- > PHP Notice
Undefined variable: settings in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-1.php on line 33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-1.php on line 36
- > PHP Notice
Undefined variable: item in wp-content/plugins/pb-addons/templates/Category_Tiles/default.php on line 35
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-3.php on line 43
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-2.php on line 29
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-3.php on line 32
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-1.php on line 30
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/pb-addons/widgets/elementor/includes/author_box/layout-2.php on line 11
- > PHP Notice
Undefined variable: item in wp-content/plugins/pb-addons/templates/Category_Tiles/layout-2.php on line 45
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: elementor, gutenberg, premiumblog, blog, blog widgets
pb-addons/pb-addons.php 85% from 13 tests
The main PHP script in "PB Addons" version 1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 246 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected17,017 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 711 | 1,495 | 8,424 |
CSS | 25 | 459 | 204 | 6,494 |
JavaScript | 5 | 497 | 965 | 2,061 |
SVG | 1 | 26 | 0 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 17.38 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 1 | 7.69% |
Methods | 114 | |
▷ Static methods | 18 | 15.79% |
▷ Public methods | 93 | 81.58% |
▷ Protected methods | 20 | 17.54% |
▷ Private methods | 1 | 0.88% |
Functions | 24 | |
▷ Named functions | 23 | 95.83% |
▷ Anonymous functions | 1 | 4.17% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
16 PNG files occupy 0.14MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/admin_icons/carousel.png | 22.33KB | 8.02KB | ▼ 64.08% |
assets/img/thumb-carousel.png | 4.33KB | 1.56KB | ▼ 63.96% |
assets/img/thumb-medium.png | 7.95KB | 3.59KB | ▼ 54.78% |
assets/img/thumb-square-small.png | 3.75KB | 1.56KB | ▼ 58.31% |
assets/img/admin_icons/grid.png | 3.60KB | 1.76KB | ▼ 51.17% |