Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.56ms] Passed 4 tests
Server-side resources used by Eazy CSS Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.72 ▼5.32 |
Dashboard /wp-admin | 3.38 ▲0.07 | 54.32 ▲3.28 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.09 ▼0.26 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 107.96 ▲17.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.28 ▲4.54 |
Add New Slide /wp-admin/post-new.php?post_type=eazy_slide | 3.42 | 52.17 |
All Slides /wp-admin/edit.php?post_type=eazy_slide | 3.34 | 39.38 |
Sliders /wp-admin/edit-tags.php?taxonomy=slider&post_type=eazy_slide | 3.29 | 34.45 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Eazy CSS Slider: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲93 | 13.23 ▼1.53 | 1.59 ▼0.19 | 40.19 ▼7.71 |
Dashboard /wp-admin | 2,243 ▲66 | 5.83 ▲0.96 | 100.32 ▼2.97 | 71.79 ▲24.91 |
Posts /wp-admin/edit.php | 2,129 ▲40 | 2.01 ▲0.00 | 38.85 ▼1.97 | 34.14 ▼0.94 |
Add New Post /wp-admin/post-new.php | 1,547 ▲28 | 22.98 ▼0.48 | 710.01 ▲49.40 | 45.56 ▼5.01 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.18 ▼0.11 | 95.47 ▼1.68 | 43.20 ▼2.73 |
Add New Slide /wp-admin/post-new.php?post_type=eazy_slide | 2,268 | 7.56 | 172.00 | 123.55 |
All Slides /wp-admin/edit.php?post_type=eazy_slide | 1,104 | 1.94 | 35.81 | 34.03 |
Sliders /wp-admin/edit-tags.php?taxonomy=slider&post_type=eazy_slide | 1,296 | 2.14 | 25.18 | 32.64 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/eazy-css-slider/eazy_css_slider_shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/eazy-css-slider/eazy_css_slider.php:58
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues 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
5 plugin tags: slider, css slider, gallery, image slider, image carousel
eazy-css-slider/eazy_css_slider.php 92% from 13 tests
The primary PHP file in "Eazy CSS Slider" version 1.0.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eazy-css-slider.php" instead of "eazy_css_slider.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected244 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 25 | 149 |
CSS | 1 | 9 | 7 | 95 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 7 | |
▷ Named functions | 7 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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 |
css/slidericon.png | 0.44KB | 0.31KB | ▼ 30.46% |