Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▲1.31ms] Passed 4 tests
Server-side resources used by Moving image slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 41.98 ▼6.75 |
Dashboard /wp-admin | 3.41 ▲0.10 | 52.66 ▲6.42 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 47.03 ▲1.61 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 98.89 ▲6.13 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.48 ▲4.24 |
Moving image slider /wp-admin/options-general.php?page=moving-image-slider | 3.34 | 32.63 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_moving_image_slider |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_moving-image-slider |
moving-image-slider |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Moving image slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.57 ▼0.79 | 5.47 ▲3.84 | 42.72 ▲0.87 |
Dashboard /wp-admin | 2,213 ▲22 | 4.88 ▲0.01 | 104.13 ▼2.40 | 43.32 ▲0.69 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.98 ▼0.02 | 36.67 ▲2.22 | 35.14 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.33 ▲5.82 | 682.91 ▼32.62 | 50.97 ▼14.93 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.15 ▼0.04 | 95.77 ▼7.15 | 42.07 ▼2.06 |
Moving image slider /wp-admin/options-general.php?page=moving-image-slider | 1,028 | 2.02 | 23.54 | 30.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_moving-image-slider
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/moving-image-slider/pages/image-management-add.php
- > /wp-content/plugins/moving-image-slider/pages/image-management-show.php
- > /wp-content/plugins/moving-image-slider/moving-image-slider.php
- > /wp-content/plugins/moving-image-slider/pages/image-management-edit.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: widget, plugin, image, moving
moving-image-slider/moving-image-slider.php 92% from 13 tests
The main PHP file in "Moving image slider" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 176 characters long)
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
Good job! No executable or dangerous file extensions detected1,675 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 161 | 21 | 971 |
JavaScript | 2 | 107 | 27 | 525 |
PO File | 1 | 52 | 75 | 118 |
CSS | 1 | 1 | 17 | 61 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 16.75 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 20 | 76.92% |
▷ Public methods | 26 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin