Benchmarks
Plugin footprint 83% 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.36MB] [CPU: ▼306.66ms] Passed 4 tests
An overview of server-side resources used by WP Logo Slider and Widget Responsive
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.34 | 60.93 ▲0.83 |
Dashboard /wp-admin | 3.81 ▲0.40 | 39.74 ▲2.82 |
Posts /wp-admin/edit.php | 4.04 ▲0.40 | 48.62 ▲7.98 |
Add New Post /wp-admin/post-new.php | 7.28 ▲0.30 | 99.34 ▼1,225.52 |
Media Library /wp-admin/upload.php | 3.70 ▲0.40 | 29.48 ▼4.78 |
Help and use /wp-admin/edit.php?post_type=easy-logoslider&page=lswr-designs | 3.67 | 47.67 |
All Logo Slider /wp-admin/edit.php?post_type=easy-logoslider | 3.81 | 27.66 |
Add New /wp-admin/post-new.php?post_type=easy-logoslider | 4.03 | 56.79 |
Logo Category /wp-admin/edit-tags.php?taxonomy=easy_logo_cat&post_type=easy-logoslider | 3.70 | 52.10 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_logo-slider |
Browser metrics Passed 4 tests
WP Logo Slider and Widget Responsive: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,977 ▲219 | 16.41 ▲0.54 | 9.49 ▲2.28 | 2.60 ▼0.31 |
Dashboard /wp-admin | 2,943 ▲92 | 6.16 ▼0.01 | 118.91 ▼66.68 | 151.65 ▼27.17 |
Posts /wp-admin/edit.php | 2,745 ▲54 | 3.37 ▲0.12 | 65.43 ▲2.81 | 140.47 ▼52.25 |
Add New Post /wp-admin/post-new.php | 1,696 ▼23 | 17.51 ▼4.84 | 390.02 ▼66.65 | 167.14 ▼16.61 |
Media Library /wp-admin/upload.php | 1,755 ▲54 | 5.58 ▲0.02 | 145.28 ▲8.07 | 189.32 ▲2.04 |
Help and use /wp-admin/edit.php?post_type=easy-logoslider&page=lswr-designs | 1,278 | 2.74 | 81.47 | 112.92 |
All Logo Slider /wp-admin/edit.php?post_type=easy-logoslider | 1,460 | 3.18 | 61.21 | 168.89 |
Add New /wp-admin/post-new.php?post_type=easy-logoslider | 3,017 | 10.15 | 200.77 | 285.02 |
Logo Category /wp-admin/edit-tags.php?taxonomy=easy_logo_cat&post_type=easy-logoslider | 1,671 | 2.79 | 55.88 | 111.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- widget_logo-slider
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means 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
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-logo-slider-with-widget-responsive/wp-logo-slider-and-widget-responsive.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: Too many tags (48 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-logo-slider-with-widget-responsive/wp-logo-slider-and-widget-responsive.php 77% from 13 tests
The entry point to "WP Logo Slider and Widget Responsive" version 1.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wp-logo-slider-with-widget-responsive.php" instead of "wp-logo-slider-and-widget-responsive.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 190 characters long)
Code Analysis Passed 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 detected3,670 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 39 | 355 | 1,966 |
JavaScript | 5 | 52 | 300 | 898 |
SVG | 1 | 0 | 0 | 685 |
CSS | 4 | 0 | 31 | 121 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 47 | |
▷ Named functions | 47 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lswr-assets/images/arrow-left.png | 0.17KB | 0.25KB | 0.00% |
lswr-assets/images/arrow-right.png | 0.15KB | 0.23KB | 0.00% |