Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.23ms] Passed 4 tests
An overview of server-side resources used by Ultra Slideshow
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 42.75 ▲2.96 |
Dashboard /wp-admin | 3.68 ▲0.33 | 50.71 ▼12.95 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 55.44 ▲9.96 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 82.89 ▼7.88 |
Media Library /wp-admin/upload.php | 3.51 ▲0.29 | 37.46 ▲4.95 |
Slideshow /wp-admin/edit.php?post_type=ud_slideshow | 3.65 | 41.33 |
Add New /wp-admin/post-new.php?post_type=ud_slideshow | 3.57 | 45.77 |
Server storage [IO: ▲4.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Ultra Slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,082 ▲336 | 15.30 ▲0.50 | 7.62 ▲6.01 | 42.88 ▲0.46 |
Dashboard /wp-admin | 2,398 ▲210 | 6.46 ▲0.61 | 125.58 ▲15.64 | 42.06 ▼2.94 |
Posts /wp-admin/edit.php | 2,307 ▲221 | 3.34 ▲1.29 | 50.28 ▲12.41 | 32.96 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,416 ▼126 | 16.71 ▼1.38 | 577.11 ▼39.01 | 30.05 ▼23.23 |
Media Library /wp-admin/upload.php | 1,449 ▲61 | 4.20 ▼0.03 | 82.14 ▼17.08 | 43.10 ▲1.94 |
Slideshow /wp-admin/edit.php?post_type=ud_slideshow | 1,284 | 3.32 | 46.97 | 29.00 |
Add New /wp-admin/post-new.php?post_type=ud_slideshow | 2,270 | 3.73 | 67.82 | 36.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ultra-slideshow/ultra-slideshow.php
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
- > GET request to /wp-admin/edit.php?post_type=ud_slideshow
- > Javascript (severe) in unknown
/wp-content/plugins/ultra-slideshow/assets/admin/js/us-admin.js?ver=1.0.0 36:20 Uncaught TypeError: Cannot set properties of null (setting 'onchange')
Optimizations
Plugin configuration 93% from 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
7 plugin tags: easy, sortable slider, slideshow, swiperjs, banner...
ultra-slideshow/ultra-slideshow.php 85% from 13 tests
The main PHP file in "Ultra Slideshow" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires PHP: The required version number must match the one declared in readme.txt ("5.4" instead of "7.2")
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected32,139 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 2,604 | 1,464 | 29,104 |
PHP | 13 | 465 | 878 | 2,100 |
CSS | 4 | 26 | 45 | 626 |
Markdown | 1 | 66 | 0 | 181 |
Sass | 1 | 8 | 0 | 107 |
JSON | 1 | 0 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 20.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 68.00 |
Average method complexity | 2.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 106 | |
▷ Static methods | 1 | 0.94% |
▷ Public methods | 72 | 67.92% |
▷ Protected methods | 6 | 5.66% |
▷ Private methods | 28 | 26.42% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin