Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼3.07ms] Passed 4 tests
A check of server-side resources used by Logo Slider - Logo Carousel, Logo Showcase & Client Logo Slider WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 36.48 ▼2.01 |
Dashboard /wp-admin | 3.54 ▲0.20 | 50.99 ▼9.33 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 51.93 ▲2.32 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 85.70 ▼2.18 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 35.34 ▲1.26 |
Categories /wp-admin/edit-tags.php?taxonomy=logosliderwpcat&post_type=logosliderwp | 3.42 | 39.13 |
All Logos /wp-admin/edit.php?post_type=logosliderwp | 3.48 | 41.57 |
Usage & Help /wp-admin/edit.php?post_type=logosliderwp&page=logosliderwphelpuage | 3.45 | 35.58 |
Add New Logo /wp-admin/post-new.php?post_type=logosliderwp | 3.54 | 50.73 |
Shortcode Generator /wp-admin/edit.php?post_type=lgx_lsp_shortcodes | 3.48 | 40.26 |
Server storage [IO: ▲3.75MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 96 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
logosliderwp_basic |
logosliderwp_adv |
logosliderwp_responsive |
logosliderwp_config |
widget_recent-comments |
logosliderwp_style |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Logo Slider - Logo Carousel, Logo Showcase & Client Logo Slider WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲249 | 14.69 ▲0.33 | 1.69 ▲0.03 | 39.94 ▼4.02 |
Dashboard /wp-admin | 2,392 ▲214 | 6.33 ▲0.76 | 120.25 ▲5.94 | 43.29 ▲1.06 |
Posts /wp-admin/edit.php | 2,331 ▲231 | 3.50 ▲1.53 | 57.27 ▲20.82 | 34.96 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,579 ▲43 | 23.34 ▲0.21 | 660.15 ▲40.57 | 36.28 ▼21.15 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 4.34 ▲0.16 | 83.41 ▼13.46 | 44.34 ▲3.01 |
Categories /wp-admin/edit-tags.php?taxonomy=logosliderwpcat&post_type=logosliderwp | 1,497 | 3.27 | 47.03 | 34.17 |
All Logos /wp-admin/edit.php?post_type=logosliderwp | 1,327 | 3.56 | 51.47 | 30.14 |
Usage & Help /wp-admin/edit.php?post_type=logosliderwp&page=logosliderwphelpuage | 1,445 | 3.22 | 47.77 | 97.84 |
Add New Logo /wp-admin/post-new.php?post_type=logosliderwp | 1,913 | 3.82 | 71.49 | 35.41 |
Shortcode Generator /wp-admin/edit.php?post_type=lgx_lsp_shortcodes | 1,311 | 3.54 | 52.31 | 30.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- logosliderwp_style
- logosliderwp_config
- logosliderwp_responsive
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- logosliderwp_basic
- widget_recent-comments
- logosliderwp_adv
- widget_recent-posts
- ...
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/logo-slider-wp/admin/partials/shortcode_meta_display/__meta_fields_lsp_shortcodes_get_pro.php
- > /wp-content/plugins/logo-slider-wp/admin/partials/shortcode_meta_display/__meta_fields_lsp_shortcodes_help_block.php
- > /wp-content/plugins/logo-slider-wp/admin/partials/logo-slider-wp-admin-display.php
- 63× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: lgx_app_id in wp-content/plugins/logo-slider-wp/public/partials/template/view-default.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logo-slider-wp/public/partials/view-controller.php on line 39
- > PHP Notice
Undefined variable: lgx_shortcodes_meta in wp-content/plugins/logo-slider-wp/public/partials/view-controller.php on line 38
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logo-slider-wp/public/partials/view-controller.php on line 30
- > PHP Notice
Undefined variable: lgx_showcase_type in wp-content/plugins/logo-slider-wp/public/partials/template/view-default.php on line 11
- > PHP Notice
Undefined variable: lgx_tooltip_en in wp-content/plugins/logo-slider-wp/public/partials/template/view-default.php on line 15
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logo-slider-wp/public/partials/template/view-default.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/logo-slider-wp/public/partials/view-controller.php on line 44
- > PHP Notice
Undefined variable: lgx_showcase_type in wp-content/plugins/logo-slider-wp/public/partials/template/view-default.php on line 11
- > PHP Warning
Use of undefined constant LGX_LS_PLUGIN_BASE - assumed 'LGX_LS_PLUGIN_BASE' (this will throw an Error in a future version of PHP) in wp-content/plugins/logo-slider-wp/public/partials/view-controller.php on line 15
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
There were not plugin tags detected
logo-slider-wp/logo-slider-wp.php 92% from 13 tests
The principal PHP file in "Logo Slider - Logo Carousel, Logo Showcase & Client Logo Slider WordPress Plugin" v. 3.9.9 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 152 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected24,039 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 14 | 3,552 | 3,882 | 15,340 |
PHP | 41 | 1,458 | 1,247 | 4,717 |
SVG | 1 | 0 | 0 | 2,671 |
CSS | 13 | 70 | 120 | 1,311 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 141)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 41.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 141.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 98 | |
▷ Static methods | 3 | 3.06% |
▷ Public methods | 92 | 93.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 6.12% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
7 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/ls-logo.png | 0.97KB | 0.11KB | ▼ 88.59% |
public/assets/libs/owl/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
public/assets/img/prev-m.png | 1.27KB | 0.57KB | ▼ 55.08% |
public/assets/img/next.png | 1.31KB | 0.63KB | ▼ 51.56% |
admin/img/lgx-logo-metabox.png | 4.97KB | 2.39KB | ▼ 51.88% |