Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/storify-stories-slider/wp-storify-stories-slider.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; StorifyStoriesSliderShortCode has a deprecated constructor
Server metrics [RAM: ▼14.97MB] [CPU: ▼2,700,897.16ms] Passed 4 tests
An overview of server-side resources used by Storify Stories Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼53.49 | 5.47 ▼10,803,380.88 |
Dashboard /wp-admin | 2.10 ▼1.24 | 6.19 ▼51.32 |
Posts /wp-admin/edit.php | 2.11 ▼1.30 | 5.39 ▼47.06 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.83 | 6.16 ▼109.37 |
Media Library /wp-admin/upload.php | 2.11 ▼1.17 | 5.84 ▼44.61 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Storify Stories Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.64 ▼0.73 | 9.44 ▲7.58 | 42.46 ▼2.04 |
Dashboard /wp-admin | 2,203 ▲26 | 5.65 ▲0.05 | 96.85 ▲9.42 | 43.87 ▲5.06 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.19 ▲0.20 | 35.41 ▼5.06 | 32.53 ▼7.10 |
Add New Post /wp-admin/post-new.php | 1,530 ▲2 | 21.11 ▼2.03 | 665.64 ▼35.74 | 57.62 ▼1.61 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.25 ▲0.04 | 101.54 ▼11.94 | 46.46 ▼0.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/storify-stories-slider/wp-storify-stories-slider.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; StorifyStoriesSliderShortCode has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/storify-stories-slider/wp-storify-stories-slider.php:114
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
storify-stories-slider/wp-storify-stories-slider.php 92% from 13 tests
"Storify Stories Slider" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("storify-stories-slider.php" instead of "wp-storify-stories-slider.php")
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
Good job! No executable or dangerous file extensions detected927 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 10 | 27 | 471 |
JavaScript | 4 | 53 | 109 | 378 |
PHP | 2 | 20 | 39 | 78 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/ui-colorbox/images/controls.png | 2.83KB | 1.28KB | ▼ 54.82% |
css/ui-colorbox/images/loading_background.png | 0.15KB | 0.15KB | ▼ 0.64% |
css/ui-storify-stories-slider/images/prev-vertical.png | 0.47KB | 0.28KB | ▼ 40.08% |
css/ui-colorbox/images/ie6/borderBottomCenter.png | 0.11KB | 0.10KB | ▼ 8.11% |
css/ui-colorbox/images/ie6/borderBottomRight.png | 0.21KB | 0.20KB | ▼ 5.53% |