Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼5.66ms] 75% from 4 tests
Analyzing server-side resources used by Logo Slider - Logo Showcase, Logo Carousel, Logo Gallery and Client Logo Presentation
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 641.20ms on /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-premium)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 35.90 ▼7.65 |
Dashboard /wp-admin | 3.58 ▲0.23 | 51.72 ▼9.14 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 53.67 ▲6.99 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 90.21 ▼11.74 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 39.87 ▲5.90 |
Add New Logo /wp-admin/post-new.php?post_type=gs-logo-slider | 3.60 | 54.66 |
Logo Shortcode /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-shortcode | 3.43 | 36.59 |
Logo Category /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=gs-logo-slider | 3.57 | 38.44 |
All Logos /wp-admin/edit.php?post_type=gs-logo-slider | 3.52 | 37.59 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-lite | 3.73 | 689.94 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-premium | 3.55 | 641.20 |
Help & Usage /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-help | 3.39 | 33.91 |
Server storage [IO: ▲1.86MB] [DB: ▲0.04MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 87 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_gs_logo_slider |
New WordPress options |
---|
gs_logo_slider_shortcode_prefs |
db_upgraded |
gs_logo_slider_version |
widget_recent-comments |
wp_gs_logo_slider_db_version |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Logo Slider - Logo Showcase, Logo Carousel, Logo Gallery and Client Logo Presentation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,284 ▲522 | 13.89 ▼0.45 | 9.58 ▲7.86 | 37.62 ▼5.77 |
Dashboard /wp-admin | 2,538 ▲361 | 5.84 ▲0.24 | 99.59 ▲9.46 | 75.77 ▲33.23 |
Posts /wp-admin/edit.php | 2,426 ▲323 | 2.40 ▲0.46 | 37.25 ▼2.82 | 36.38 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,774 ▲248 | 23.35 ▲0.14 | 703.65 ▲17.97 | 37.96 ▼18.91 |
Media Library /wp-admin/upload.php | 1,796 ▲402 | 4.44 ▲0.39 | 101.59 ▲4.91 | 85.59 ▲42.93 |
Add New Logo /wp-admin/post-new.php?post_type=gs-logo-slider | 2,543 | 7.86 | 194.29 | 139.97 |
Logo Shortcode /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-shortcode | 1,376 | 3.98 | 73.95 | 51.90 |
Logo Category /wp-admin/edit-tags.php?taxonomy=logo-category&post_type=gs-logo-slider | 1,602 | 2.05 | 36.15 | 38.67 |
All Logos /wp-admin/edit.php?post_type=gs-logo-slider | 1,364 | 2.23 | 33.41 | 32.49 |
Install Demo /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-shortcode#/demo-data | 1,394 | 3.73 | 74.37 | 43.57 |
GS Plugins Lite /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-lite | 2,824 | 1.82 | 27.90 | 120.02 |
GS Plugins Pro /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-premium | 2,382 | 1.85 | 25.79 | 63.33 |
Help & Usage /wp-admin/edit.php?post_type=gs-logo-slider&page=gs-logo-plugins-help | 1,184 | 1.92 | 26.51 | 40.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.04MB] 50% 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
- Zombie tables detected upon uninstall: 1 table
- wp_gs_logo_slider
- This plugin does not fully uninstall, leaving 9 options in the database
- gs_logo_slider_version
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- wp_gs_logo_slider_db_version
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- gs_logo_slider_shortcode_prefs
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/gs-logo-slider/includes/integrations/beaver/includes/frontend.php
- 18× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: title in wp-content/plugins/gs-logo-slider/templates/partials/gs-logo-layout-title.php on line 14
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-logo-slider/templates/gs-logo-theme-table-1.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function GSLOGO\\get_the_ID() in wp-content/plugins/gs-logo-slider/templates/partials/gs-logo-layout-image.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/gs-logo-slider/includes/shortcode-builder/page.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/gs-logo-slider/includes/shortcode-builder/preview.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function GSLOGO\\the_content() in wp-content/plugins/gs-logo-slider/templates/partials/gs-logo-layout-details.php:16
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/gs-logo-slider/templates/gs-logo-theme-list-1.php:20
- > PHP Notice
Trying to get property 'shortcode_id' of non-object in wp-content/plugins/gs-logo-slider/includes/integrations/beaver/includes/frontend.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'td_block' not found in wp-content/plugins/gs-logo-slider/includes/integrations/includes/gs-logo-slider-block.php:3
- > PHP Notice
Undefined variable: speed in wp-content/plugins/gs-logo-slider/templates/gs-logo-theme-slider-1.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: client logo, logo wordpress plugin, wordpress logo slider, logo slider, logo carousel slider...
gs-logo-slider/gs-logo.php 77% from 13 tests
The main file in "Logo Slider - Logo Showcase, Logo Carousel, Logo Gallery and Client Logo Presentation" v. 3.6.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gs-logo-slider.php" instead of "gs-logo.php")
- 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
- Description: The description should be shorter than 140 characters (currently 396 characters long)
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
There were no executable files found in this plugin5,921 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 1,990 | 924 | 5,116 |
CSS | 10 | 49 | 20 | 597 |
JSON | 1 | 0 | 0 | 194 |
JavaScript | 9 | 5 | 25 | 10 |
SVG | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 17.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 1 | 3.33% |
▷ Concrete classes | 29 | 96.67% |
▷ Final classes | 5 | 17.24% |
Methods | 321 | |
▷ Static methods | 21 | 6.54% |
▷ Public methods | 283 | 88.16% |
▷ Protected methods | 22 | 6.85% |
▷ Private methods | 16 | 4.98% |
Functions | 44 | |
▷ Named functions | 33 | 75.00% |
▷ Anonymous functions | 11 | 25.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
13 PNG files occupy 0.14MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/dummy-data/gs-logo-slider-11.png | 9.49KB | 4.72KB | ▼ 50.32% |
assets/img/dummy-data/gs-logo-slider-2.png | 12.18KB | 5.37KB | ▼ 55.87% |
assets/img/dummy-data/gs-logo-slider-10.png | 9.14KB | 4.51KB | ▼ 50.65% |
assets/img/dummy-data/gs-logo-slider-8.png | 17.37KB | 7.30KB | ▼ 57.96% |
assets/img/dummy-data/gs-logo-slider-4.png | 13.02KB | 5.59KB | ▼ 57.06% |