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 gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.49ms] Passed 4 tests
A check of server-side resources used by Tiny Carousel Horizontal Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 41.47 ▼7.49 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.01 ▼3.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.65 ▼0.80 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 98.63 ▼2.06 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.07 ▲1.27 |
Tiny carousel /wp-admin/options-general.php?page=tiny-carousel-horizontal-slider | 3.27 | 32.44 |
Server storage [IO: ▲0.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_tinycarousel |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Tiny Carousel Horizontal Slider: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲139 | 13.49 ▼0.89 | 7.80 ▲6.01 | 42.31 ▼0.70 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.02 | 109.15 ▼1.04 | 39.41 ▼2.95 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.05 ▲0.01 | 40.63 ▼2.05 | 33.86 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.10 ▲5.60 | 642.50 ▼47.59 | 54.95 ▲0.50 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.28 ▲0.06 | 93.60 ▼20.57 | 41.98 ▼6.66 |
Tiny carousel /wp-admin/options-general.php?page=tiny-carousel-horizontal-slider | 919 | 2.06 | 24.77 | 25.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
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 no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tiny-carousel-horizontal-slider/pages/image-management-add.php
- > /wp-content/plugins/tiny-carousel-horizontal-slider/pages/image-management-edit.php
- > /wp-content/plugins/tiny-carousel-horizontal-slider/pages/image-management-show.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/tiny-carousel-horizontal-slider/tiny-carousel-horizontal-slider.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/tiny-carousel-horizontal-slider/tiny-carousel-horizontal-slider.php:21
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: horizontal, slider, carousel, tiny
tiny-carousel-horizontal-slider/tiny-carousel-horizontal-slider.php Passed 13 tests
The main PHP script in "Tiny Carousel Horizontal Slider" version 8.1 is automatically included on every request by WordPress
123 characters long description:
This is Jquery based image horizontal slider plugin, it is using tiny carousel light weight jquery script to the slideshow.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,345 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 93 | 41 | 735 |
PO File | 3 | 157 | 256 | 383 |
JavaScript | 2 | 39 | 0 | 227 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 3 | 100.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected