Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.65ms] Passed 4 tests
Analyzing server-side resources used by Pixel Gallery Addons for Elementor - Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.08 ▲5.67 |
Dashboard /wp-admin | 3.37 ▲0.07 | 49.15 ▲2.00 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.04 ▼3.24 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 83.97 ▼6.13 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.59 ▲0.77 |
Server storage [IO: ▲3.75MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 375 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Pixel Gallery Addons for Elementor - Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲49 | 14.37 ▲0.23 | 1.66 ▲0.09 | 43.27 ▲4.00 |
Dashboard /wp-admin | 2,198 ▲21 | 5.49 ▼0.16 | 84.03 ▼13.87 | 39.18 ▼2.65 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.01 | 35.70 ▼7.36 | 33.06 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 22.91 ▼0.80 | 645.33 ▼28.57 | 61.03 ▲3.02 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.22 ▲0.08 | 98.82 ▼0.19 | 43.79 ▲1.78 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PixelGallery_Settings_API' not found in wp-content/plugins/pixel-gallery/admin/admin-settings.php:27
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/pixel-gallery/admin/optimizer/vendor/matthiasmullie/path-converter/src/NoConverter.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/pixel-gallery/includes/helper.php:11
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exception' not found in wp-content/plugins/pixel-gallery/admin/optimizer/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php:21
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Exceptions\\BasicException' not found in wp-content/plugins/pixel-gallery/admin/optimizer/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php:19
- > PHP Fatal error
Uncaught Error: Class 'MatthiasMullie\\Minify\\Minify' not found in wp-content/plugins/pixel-gallery/admin/optimizer/vendor/matthiasmullie/minify/src/CSS.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function PixelGallery\\add_action() in wp-content/plugins/pixel-gallery/admin/admin-notice.php:23
- > PHP Fatal error
Uncaught Error: Interface 'MatthiasMullie\\PathConverter\\ConverterInterface' not found in wp-content/plugins/pixel-gallery/admin/optimizer/vendor/matthiasmullie/path-converter/src/Converter.php:19
- > PHP Warning
Use of undefined constant BDTPG__FILE__ - assumed 'BDTPG__FILE__' (this will throw an Error in a future version of PHP) in wp-content/plugins/pixel-gallery/includes/helper.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/pixel-gallery/includes/helper.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
pixel-gallery/pixel-gallery.php 85% from 13 tests
This is the main PHP file of "Pixel Gallery Addons for Elementor - Easy Grid, Creative Gallery, Drag and Drop Grid, Custom Grid Layout, Portfolio Gallery" version 1.4.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 262 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("5.0.0" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected59,581 lines of code in 353 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 182 | 5,391 | 3,111 | 28,969 |
JavaScript | 20 | 2,919 | 145 | 22,349 |
SVG | 38 | 42 | 12 | 5,533 |
CSS | 105 | 0 | 11 | 2,411 |
JSON | 4 | 0 | 0 | 214 |
YAML | 2 | 1 | 1 | 56 |
Markdown | 1 | 21 | 0 | 38 |
Dockerfile | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 9.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 104 | |
Interfaces | 1 | |
Traits | 3 | |
Classes | 120 | |
▷ Abstract classes | 6 | 5.00% |
▷ Concrete classes | 114 | 95.00% |
▷ Final classes | 1 | 0.88% |
Methods | 876 | |
▷ Static methods | 47 | 5.37% |
▷ Public methods | 714 | 81.51% |
▷ Protected methods | 146 | 16.67% |
▷ Private methods | 16 | 1.83% |
Functions | 48 | |
▷ Named functions | 23 | 47.92% |
▷ Anonymous functions | 25 | 52.08% |
Constants | 28 | |
▷ Global constants | 23 | 82.14% |
▷ Class constants | 5 | 17.86% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected