Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲15.03ms] Passed 4 tests
Server-side resources used by Reusable Blocks - Elementor, Beaver Builder, WYSIWYG, Gutenberg
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 36.75 ▼4.07 |
Dashboard /wp-admin | 3.39 ▲0.08 | 95.94 ▲41.78 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 63.73 ▲14.80 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 141.55 ▲47.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.38 ▲7.59 |
Reusable Templates /wp-admin/edit.php?post_type=we-sidebar-builder | 3.35 | 41.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_sidebar-template-library |
elementor_cpt_support |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Reusable Blocks - Elementor, Beaver Builder, WYSIWYG, Gutenberg
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.15 ▼0.43 | 1.91 ▲0.19 | 42.05 ▼0.49 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▼0.05 | 149.04 ▲56.41 | 85.94 ▲40.32 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.06 ▲0.05 | 50.26 ▲7.16 | 47.52 ▲8.05 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 21.22 ▲3.47 | 806.59 ▲151.62 | 61.72 ▲10.73 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.23 ▼0.01 | 121.82 ▲20.85 | 50.47 ▲6.83 |
Reusable Templates /wp-admin/edit.php?post_type=we-sidebar-builder | 1,090 | 1.95 | 37.53 | 33.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_sidebar-template-library
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- elementor_cpt_support
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/design-sidebar-using-page-builder/classes/class-template-library-widget.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/design-sidebar-using-page-builder/sidebar-using-page-builder.php:31
- > PHP Fatal error
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 90% 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
8 plugin tags: template builder, elementor templates, beaver builder templates, sidebar using page builder, gutenberg templates...
design-sidebar-using-page-builder/sidebar-using-page-builder.php 77% from 13 tests
This is the main PHP file of "Reusable Blocks - Elementor, Beaver Builder, WYSIWYG, Gutenberg" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("design-sidebar-using-page-builder.php" instead of "sidebar-using-page-builder.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 289 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin291 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 102 | 212 | 285 |
CSS | 1 | 1 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 2 | 10.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
There were not PNG files found in your plugin