Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼5.05ms] Passed 4 tests
A check of server-side resources used by Animate Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 43.87 ▲1.66 |
Dashboard /wp-admin | 3.50 ▲0.15 | 57.02 ▼15.11 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 55.21 ▲3.48 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 100.32 ▼9.98 |
Media Library /wp-admin/upload.php | 3.42 ▲0.20 | 42.76 ▲3.23 |
All Sliders /wp-admin/edit.php?post_type=slider | 3.46 | 40.26 |
Add New /wp-admin/post-new.php?post_type=slider | 3.56 | 52.84 |
Animate Slider /wp-admin/options-general.php?page=animate-slider | 3.39 | 37.10 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Animate Slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.46 ▼0.89 | 9.59 ▲7.86 | 39.70 ▼6.23 |
Dashboard /wp-admin | 2,222 ▲45 | 5.58 ▼0.02 | 84.59 ▼15.07 | 73.57 ▲27.74 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.98 ▼0.02 | 39.72 ▲3.44 | 35.62 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,567 ▲39 | 22.66 ▼0.39 | 680.11 ▲34.99 | 50.79 ▲0.56 |
Media Library /wp-admin/upload.php | 1,427 ▲24 | 4.12 ▼0.06 | 99.10 ▼6.02 | 70.05 ▲25.31 |
All Sliders /wp-admin/edit.php?post_type=slider | 1,091 | 1.98 | 32.25 | 30.41 |
Add New /wp-admin/post-new.php?post_type=slider | 4,247 | 8.05 | 201.31 | 119.76 |
Animate Slider /wp-admin/options-general.php?page=animate-slider | 917 | 2.00 | 22.61 | 31.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/animate-slider/uninstall.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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: animated, shortcode, slideshow, css3
animate-slider/animate-slider.php Passed 13 tests
This is the main PHP file of "Animate Slider" version 0.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
46 characters long description:
A Featured Slider Plugin with CSS3 Transition.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,264 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 261 | 296 | 816 |
CSS | 2 | 23 | 12 | 232 |
JavaScript | 4 | 46 | 16 | 216 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 89.00 |
▷ Minimum class complexity | 89.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 40 | |
▷ Static methods | 1 | 2.50% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
4 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menuicon.png | 2.98KB | 0.29KB | ▼ 90.43% |
screenshot-3.png | 16.17KB | 7.15KB | ▼ 55.76% |
screenshot-1.png | 13.96KB | 6.16KB | ▼ 55.85% |
screenshot-2.png | 24.80KB | 10.81KB | ▼ 56.42% |