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.27MB] [CPU: ▼5.59ms] Passed 4 tests
A check of server-side resources used by JetGridBuilder — Grid Builder for Elementor and Gutenberg
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 42.16 ▲2.43 |
Dashboard /wp-admin | 3.54 ▲0.20 | 49.37 ▼23.26 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 48.38 ▲0.88 |
Add New Post /wp-admin/post-new.php | 7.49 ▲1.61 | 102.42 ▲3.29 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 33.44 ▼2.41 |
Server storage [IO: ▲0.97MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for JetGridBuilder — Grid Builder for Elementor and Gutenberg
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲247 | 22.04 ▲7.29 | 155.65 ▲153.84 | 83.07 ▲42.44 |
Dashboard /wp-admin | 2,209 ▲18 | 6.01 ▲0.19 | 92.43 ▼14.09 | 37.77 ▼1.05 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 33.99 ▼1.39 | 34.47 ▼0.10 |
Add New Post /wp-admin/post-new.php | 6,323 ▲4,801 | 20.31 ▼2.84 | 866.72 ▲223.94 | 36.22 ▼21.04 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.17 ▼0.04 | 97.18 ▲0.61 | 41.57 ▼2.01 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 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 0% 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
Almost there! Just fix the following items
- 8× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/jetgridbuilder/templates/items/woocommerce-item-content-overlay.php
- > /wp-content/plugins/jetgridbuilder/templates/items/item-term.php
- > /wp-content/plugins/jetgridbuilder/templates/items/woocommerce-item-jet-woo-builder.php
- > /wp-content/plugins/jetgridbuilder/templates/items/jetengine-listing-item.php
- > /wp-content/plugins/jetgridbuilder/templates/items/woocommerce-item-default.php
- > /wp-content/plugins/jetgridbuilder/templates/items/post-content-item.php
- > /wp-content/plugins/jetgridbuilder/templates/items/item-default.php
- > /wp-content/plugins/jetgridbuilder/templates/items/item-content-overlay.php
- 24× 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 esc_attr() in wp-content/plugins/jetgridbuilder/templates/common-elements/loading-spinner.php:38
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/post-item/post-item-content-body-style.php:6
- > PHP Notice
Undefined variable: settings in wp-content/plugins/jetgridbuilder/templates/common-elements/loading-spinner.php on line 6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/post-item/post-item-style.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/post-item/post-item-description-style.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/term-item/term-item-description-style.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/term-item/term-item-title-style.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/post-item/post-item-divider-style.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/jetgridbuilder/includes/widgets/controls/term-item/term-item-divider-style.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function Posts_Grid_Builder\\add_action() in wp-content/plugins/jetgridbuilder/includes/plugin.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
jetgridbuilder/jet-grid-builder.php 85% from 13 tests
This is the main PHP file of "JetGridBuilder — Grid Builder for Elementor and Gutenberg" version 1.1.2, 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:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("jetgridbuilder.php" instead of "jet-grid-builder.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected16,839 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,147 | 1,491 | 9,329 |
PHP | 48 | 751 | 530 | 4,464 |
Sass | 49 | 583 | 97 | 2,961 |
CSS | 4 | 3 | 2 | 63 |
SVG | 1 | 0 | 0 | 20 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 12.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 1 | 6.67% |
▷ Concrete classes | 14 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 2 | 2.08% |
▷ Public methods | 90 | 93.75% |
▷ Protected methods | 4 | 4.17% |
▷ Private methods | 2 | 2.08% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/no-image.png | 1.61KB | 1.81KB | 0.00% |