Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼125.57ms] Passed 4 tests
A check of server-side resources used by Eazy Flickity Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.12 | 54.53 ▲20.34 |
Dashboard /wp-admin | 3.19 ▲0.14 | 70.26 ▲17.24 |
Posts /wp-admin/edit.php | 3.29 ▲0.19 | 66.42 ▲19.15 |
Add New Post /wp-admin/post-new.php | 5.55 ▲0.12 | 114.63 ▼549.59 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 45.86 ▲10.91 |
All Slides /wp-admin/edit.php?post_type=eazy_flickity_slide | 3.18 | 54.15 |
Add New Slide /wp-admin/post-new.php?post_type=eazy_flickity_slide | 3.26 | 65.71 |
Eazy Flickity Sliders /wp-admin/edit-tags.php?taxonomy=eazy_flickity_slider&post_type=eazy_flickity_slide | 3.13 | 47.42 |
Server storage [IO: ▲0.23MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Eazy Flickity Slider: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,902 ▲320 | 16.81 ▲1.20 | 18.29 ▲6.04 | 52.72 ▲5.19 |
Dashboard /wp-admin | 3,009 ▲75 | 6.13 ▼0.09 | 156.65 ▲1.36 | 137.00 ▲21.89 |
Posts /wp-admin/edit.php | 2,806 ▲67 | 2.70 ▲0.00 | 83.31 ▲14.74 | 89.29 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,782 ▲99 | 18.44 ▲2.30 | 437.75 ▼24.96 | 113.19 ▼5.46 |
Media Library /wp-admin/upload.php | 1,797 ▼13 | 5.01 ▲0.00 | 144.94 ▼17.74 | 139.14 ▲21.83 |
All Slides /wp-admin/edit.php?post_type=eazy_flickity_slide | 1,514 | 2.68 | 60.57 | 75.51 |
Add New Slide /wp-admin/post-new.php?post_type=eazy_flickity_slide | 3,026 | 9.10 | 261.46 | 160.53 |
Eazy Flickity Sliders /wp-admin/edit-tags.php?taxonomy=eazy_flickity_slider&post_type=eazy_flickity_slide | 1,803 | 2.41 | 60.72 | 85.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
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 fix the following items
- 3× 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/eazy-flickity-slider/resources/eazy_flickity_slider_functions.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazy-flickity-slider/resources/eazy_flickity_slider_admin_tinymce.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazy-flickity-slider/resources/eazy_flickity_slider_admin.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 58 tag instead of maximum 10
eazy-flickity-slider/eazy_flickity_slider.php 85% from 13 tests
The main file in "Eazy Flickity Slider" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
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 ("eazy-flickity-slider.php" instead of "eazy_flickity_slider.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,060 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 852 | 1,176 | 3,529 |
PHP | 6 | 68 | 53 | 360 |
CSS | 2 | 27 | 16 | 171 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/css/slidericon.png | 0.44KB | 0.31KB | ▼ 30.46% |