Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.62MB] [CPU: ▼1.04ms] Passed 4 tests
Server-side resources used by Easy Slider Revolution
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.54 | 43.66 ▼3.56 |
Dashboard /wp-admin | 3.96 ▲0.66 | 49.24 ▼0.89 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 48.95 ▲1.91 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 82.99 ▼1.60 |
Media Library /wp-admin/upload.php | 3.89 ▲0.66 | 39.62 ▲7.55 |
Easy Slider /wp-admin/edit.php?post_type=es_slider | 3.93 | 46.49 |
Re-Order Slides /wp-admin/edit.php?post_type=sa_slider&page=reorderslides | 3.54 | 28.71 |
Add New Slider /wp-admin/post-new.php?post_type=es_slider | 4.03 | 54.18 |
Server storage [IO: ▲0.84MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Slider Revolution
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.20 ▼1.38 | 1.87 ▼0.00 | 41.16 ▼1.25 |
Dashboard /wp-admin | 2,241 ▲53 | 4.85 ▼0.97 | 105.46 ▼2.93 | 38.28 ▼6.26 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.03 ▲0.04 | 34.31 ▼3.26 | 34.82 ▼0.39 |
Add New Post /wp-admin/post-new.php | 1,559 ▲17 | 23.67 ▲5.21 | 652.95 ▲4.07 | 53.44 ▼9.26 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.24 ▲0.04 | 103.62 ▲5.04 | 42.33 ▲0.06 |
Easy Slider /wp-admin/edit.php?post_type=es_slider | 1,832 | 3.72 | 57.89 | 28.96 |
Re-Order Slides /wp-admin/edit.php?post_type=sa_slider&page=reorderslides | 28 | 0.44 | 0.08 | 3.76 |
Add New Slider /wp-admin/post-new.php?post_type=es_slider | 5,660 | 11.62 | 259.55 | 77.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- 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
Good news, no errors were detected
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 items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-slider-revolution/front/easy-slider-frontend.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=sa_slider&page=reorderslides
- > Network (severe)
wp-admin/edit.php?post_type=sa_slider&page=reorderslides - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: slider revolution, content with button slider, customized button, image slider, easy slider...
easy-slider-revolution/easy_slider_revolution.php 92% from 13 tests
"Easy Slider Revolution" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-slider-revolution.php" instead of "easy_slider_revolution.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
There were no executable files found in this plugin12,092 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 1,110 | 157 | 6,599 |
JavaScript | 12 | 435 | 491 | 2,800 |
PHP | 3 | 257 | 325 | 2,639 |
SVG | 1 | 0 | 0 | 54 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/black_lightbox_video.png | 1.96KB | 1.02KB | ▼ 47.91% |
images/lightbox_zoom.png | 0.97KB | 1.15KB | 0.00% |
images/icon_copy.png | 0.30KB | 0.25KB | ▼ 16.08% |
images/Trident-logo.png | 7.77KB | 3.29KB | ▼ 57.66% |
images/icon_next.png | 0.25KB | 0.23KB | ▼ 8.43% |