Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.14ms] Passed 4 tests
This is a short check of server-side resources used by Logo Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 38.30 ▼4.54 |
Dashboard /wp-admin | 3.49 ▲0.19 | 44.49 ▼3.68 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 48.82 ▲5.33 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 94.11 ▼0.05 |
Media Library /wp-admin/upload.php | 3.34 ▲0.12 | 35.06 ▼0.27 |
Settings /wp-admin/edit.php?post_type=wpl_sp&page=wls_settings | 3.35 | 31.44 |
Categories /wp-admin/edit-tags.php?taxonomy=wpl_sp_category&post_type=wpl_sp | 3.34 | 32.73 |
Shortcode Generator /wp-admin/edit.php?post_type=wpl_spsc | 3.45 | 37.84 |
Add New Logo /wp-admin/post-new.php?post_type=wpl_sp | 3.50 | 48.89 |
All Logos /wp-admin/edit.php?post_type=wpl_sp | 3.45 | 35.96 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 67 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
wpl_sp_settings |
db_upgraded |
theysaidso_admin_options |
widget_widget_rt_wls |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
wpl_sp_current_version |
Browser metrics Passed 4 tests
Logo Slider: 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,851 ▲94 | 13.18 ▼1.25 | 1.67 ▼0.53 | 40.00 ▼4.05 |
Dashboard /wp-admin | 2,252 ▲64 | 5.84 ▲0.91 | 99.03 ▼16.57 | 74.79 ▲29.13 |
Posts /wp-admin/edit.php | 2,132 ▲43 | 1.99 ▼0.03 | 39.56 ▲5.69 | 37.57 ▼1.77 |
Add New Post /wp-admin/post-new.php | 6,451 ▲4,931 | 20.98 ▼2.18 | 933.65 ▲262.14 | 68.01 ▲14.41 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.27 ▲0.05 | 97.30 ▲2.11 | 69.22 ▲24.64 |
Settings /wp-admin/edit.php?post_type=wpl_sp&page=wls_settings | 1,122 | 2.79 | 49.94 | 31.91 |
Categories /wp-admin/edit-tags.php?taxonomy=wpl_sp_category&post_type=wpl_sp | 1,305 | 2.14 | 27.87 | 30.46 |
Shortcode Generator /wp-admin/edit.php?post_type=wpl_spsc | 1,152 | 2.59 | 40.18 | 48.07 |
Add New Logo /wp-admin/post-new.php?post_type=wpl_sp | 1,937 | 4.48 | 71.25 | 92.21 |
All Logos /wp-admin/edit.php?post_type=wpl_sp | 1,183 | 2.81 | 37.45 | 32.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 9 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- wpl_sp_settings
- widget_theysaidso_widget
- wpl_sp_current_version
- widget_widget_rt_wls
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 take a closer look at the following
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: linkType in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/carousel-layout1.php on line 9
- > PHP Notice
Undefined variable: title in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/carousel-layout1.php on line 11
- > PHP Warning
Use of undefined constant WPL_SP_PLUGIN_URL - assumed 'WPL_SP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/rt-wp-logo-slider/lib/init.php on line 41
- > PHP Notice
Undefined variable: linkType in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/grid-layout1.php on line 5
- > PHP Notice
Undefined variable: url in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/carousel-layout1.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/grid-layout1.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/rt-wp-logo-slider/lib/views/layouts/carousel-layout1.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/rt-wp-logo-slider/lib/views/settings.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rt-wp-logo-slider/lib/widgets/rtWLSWidget.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/rt-wp-logo-slider/lib/vendor/rtWLSElementorWidget.php:3
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpl_sp
- > Javascript (severe) in unknown
/wp-content/plugins/rt-wp-logo-slider/assets/js/wls-admin.js?ver=1.0 270:19 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
rt-wp-logo-slider/rt-wp-logo-slider.php 92% from 13 tests
"Logo Slider" version 1.1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin11,418 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 2,086 | 3,361 | 8,043 |
PHP | 22 | 381 | 559 | 2,258 |
CSS | 11 | 117 | 81 | 1,027 |
Markdown | 1 | 37 | 0 | 69 |
SVG | 1 | 1 | 0 | 13 |
XML | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 20.63 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 73.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 2 | 1.63% |
▷ Public methods | 109 | 88.62% |
▷ Protected methods | 2 | 1.63% |
▷ Private methods | 12 | 9.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in 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/images/icon-vc.png | 1.09KB | 0.18KB | ▼ 83.87% |
assets/images/menu-icon.png | 1.00KB | 0.14KB | ▼ 86.16% |
assets/images/grabbing.png | 0.11KB | 0.14KB | 0.00% |
assets/images/icon-scg.png | 1.00KB | 0.14KB | ▼ 86.39% |
assets/vendor/owl-carousel2/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |