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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.51ms] Passed 4 tests
Server-side resources used by EazyGrid - The Easiest Content Grid Plugin for Elementor (Image Grid Layouts, Prebuilt Grid Patterns, Product Grid, Blog Post, eCommerce Grid, Video Gallery)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.30 ▼0.63 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.87 ▼3.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.16 ▼3.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.26 ▼18.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.14 ▼0.79 |
Server storage [IO: ▲7.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 125 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
EazyGrid - The Easiest Content Grid Plugin for Elementor (Image Grid Layouts, Prebuilt Grid Patterns, Product Grid, Blog Post, eCommerce Grid, Video Gallery): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲109 | 13.13 ▼1.08 | 2.11 ▲0.17 | 43.55 ▼0.42 |
Dashboard /wp-admin | 2,222 ▲31 | 5.80 ▲0.97 | 103.09 ▼3.06 | 44.22 ▲0.47 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.01 ▼0.05 | 36.54 ▼1.30 | 35.07 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,551 ▲32 | 23.32 ▲0.12 | 663.87 ▲39.44 | 48.71 ▼5.17 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.20 ▼0.04 | 98.76 ▲2.14 | 40.20 ▲0.76 |
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 did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/eazygrid-for-elementor/pull.php
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazygrid-for-elementor/EazyImages/api/settings.php:10
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\Photo_Grid' not found in wp-content/plugins/eazygrid-for-elementor/widgets/even-image-grid.php:10
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\Photo_Grid' not found in wp-content/plugins/eazygrid-for-elementor/widgets/masonry-image-grid.php:10
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\EazyGrid_Base' not found in wp-content/plugins/eazygrid-for-elementor/base/post-grid.php:5
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\EazyGrid_Base' not found in wp-content/plugins/eazygrid-for-elementor/widgets/even-instagram-grid.php:8
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\EazyGrid_Base' not found in wp-content/plugins/eazygrid-for-elementor/base/photo-grid.php:13
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/eazygrid-for-elementor/controls/image-selector.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazygrid-for-elementor/EazyImages/api/download.php:10
- > PHP Fatal error
Uncaught Error: Class 'EazyGrid\\Elementor\\Base\\Post_Grid' not found in wp-content/plugins/eazygrid-for-elementor/widgets/even-post-grid.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazygrid-for-elementor/EazyImages/api/test.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3 in eazygrid-for-elementor/assets to your readme.txt
eazygrid-for-elementor/eazygrid-elementor.php 85% from 13 tests
"EazyGrid - The Easiest Content Grid Plugin for Elementor (Image Grid Layouts, Prebuilt Grid Patterns, Product Grid, Blog Post, eCommerce Grid, Video Gallery)" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- 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
- Main file name: It is recommended to name the main PHP file as the plugin slug ("eazygrid-for-elementor.php" instead of "eazygrid-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected102,891 lines of code in 94 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 23,055 | 21,747 | 89,471 |
PHP | 30 | 949 | 826 | 6,858 |
CSS | 19 | 758 | 268 | 6,147 |
SVG | 29 | 2 | 12 | 414 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.37 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 3 | 15.79% |
▷ Concrete classes | 16 | 84.21% |
▷ Final classes | 1 | 6.25% |
Methods | 190 | |
▷ Static methods | 14 | 7.37% |
▷ Public methods | 140 | 73.68% |
▷ Protected methods | 47 | 24.74% |
▷ Private methods | 3 | 1.58% |
Functions | 42 | |
▷ Named functions | 34 | 80.95% |
▷ Anonymous functions | 8 | 19.05% |
Constants | 20 | |
▷ Global constants | 19 | 95.00% |
▷ Class constants | 1 | 5.00% |
▷ Public constants | 1 | 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
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/plus.png | 1.35KB | 0.35KB | ▼ 73.91% |
EazyImages/dist/img/pixabay.png | 1.65KB | 0.82KB | ▼ 50.47% |
EazyImages/dist/img/logo-48x48.png | 0.98KB | 0.54KB | ▼ 45.33% |
EazyImages/dist/img/unsplash.png | 0.16KB | 0.16KB | 0.00% |
assets/img/admin/eazy-images.png | 3.76KB | 2.58KB | ▼ 31.55% |