Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.38ms] Passed 4 tests
This is a short check of server-side resources used by Xpro Gallery For Beaver Builder - Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.47 ▲2.57 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.81 ▼13.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.00 ▼7.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.98 ▼10.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.98 ▼1.93 |
Server storage [IO: ▲0.67MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Xpro Gallery For Beaver Builder - Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.28 ▼0.34 | 1.77 ▲0.32 | 46.59 ▲9.60 |
Dashboard /wp-admin | 2,195 ▲18 | 5.48 ▼0.13 | 87.78 ▲2.67 | 39.86 ▼3.08 |
Posts /wp-admin/edit.php | 2,100 ▲18 | 1.95 ▼0.04 | 33.14 ▼1.72 | 33.15 ▼2.84 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.08 ▼0.01 | 628.90 ▼33.72 | 54.75 ▲4.00 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.02 | 94.23 ▲1.86 | 40.52 ▼2.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
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
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.php
- > /wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php
- 185× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: id in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 7
- > PHP Notice
Undefined variable: settings in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 240
- > PHP Notice
Trying to get property 'gallery_items_spacing_medium' of non-object in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 234
- > PHP Notice
Trying to get property 'responsive_breakpoint' of non-object in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 304
- > PHP Notice
Undefined variable: settings in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 212
- > PHP Notice
Trying to get property 'gallery_items_spacing' of non-object in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 144
- > PHP Notice
Undefined variable: id in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 308
- > PHP Notice
Undefined variable: settings in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 157
- > PHP Notice
Trying to get property 'nav_arrows' of non-object in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 236
- > PHP Notice
Trying to get property 'nav_dots_medium' of non-object in wp-content/plugins/filterable-photo-gallery-beaver-builder-elementor/modules/tnit-gallery/includes/frontend.js.php on line 237
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
10 plugin tags: gallery image, beaver gallery addons, beaver builder, beaver builder gallery extensions, beaver builder free gallery...
filterable-photo-gallery-beaver-builder-elementor/filterable-photo-gallery-beaver-builder-elementor.php Passed 13 tests
The main PHP script in "Xpro Gallery For Beaver Builder - Lite" version 1.4.1 is automatically included on every request by WordPress
129 characters long description:
Effortlessly build responsive galleries with few clicks. Choose from multiple filters, preview styles, and unique layout options.
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 detected5,980 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 372 | 113 | 3,102 |
PHP | 8 | 304 | 414 | 2,598 |
JavaScript | 5 | 70 | 25 | 231 |
SVG | 3 | 0 | 0 | 49 |
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.52 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 25 | |
▷ Static methods | 9 | 36.00% |
▷ Public methods | 25 | 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 | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/tnit-gallery/img/vimeo-play.png | 5.30KB | 1.56KB | ▼ 70.65% |
modules/tnit-gallery/img/youtube-play.png | 5.06KB | 2.37KB | ▼ 53.04% |
modules/tnit-gallery/img/video-play.png | 4.42KB | 1.05KB | ▼ 76.27% |
assets/images/Logo.png | 15.10KB | 5.76KB | ▼ 61.83% |