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.56MB] [CPU: ▼131.88ms] Passed 4 tests
This is a short check of server-side resources used by Easy Wordpress Parallax Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.36 ▲0.64 | 39.44 ▲18.87 |
Dashboard /wp-admin | 3.66 ▲0.60 | 52.27 ▲5.51 |
Posts /wp-admin/edit.php | 3.70 ▲0.60 | 62.78 ▲16.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.52 | 111.00 ▼551.07 |
Media Library /wp-admin/upload.php | 3.54 ▲0.53 | 35.14 ▲1.48 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 74 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Easy Wordpress Parallax 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,730 ▲134 | 16.36 ▲1.09 | 9.47 ▼1.09 | 43.82 ▼7.25 |
Dashboard /wp-admin | 2,987 ▲50 | 5.93 ▼0.27 | 159.62 ▲6.06 | 129.36 ▲20.95 |
Posts /wp-admin/edit.php | 2,781 ▲42 | 2.73 ▲0.03 | 77.35 ▲5.96 | 97.78 ▲13.26 |
Add New Post /wp-admin/post-new.php | 1,704 ▲17 | 18.09 ▼0.87 | 408.37 ▲6.42 | 111.55 ▲0.03 |
Media Library /wp-admin/upload.php | 1,852 ▲104 | 5.04 ▲0.01 | 135.39 ▼13.54 | 139.60 ▲16.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-wp-parallax-slider/assets/css/dynamic_css.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/easy-wp-parallax-slider/easy-parallax-slider.php:13
- > PHP Notice
Undefined index: enqueue_script in wp-content/plugins/easy-wp-parallax-slider/assets/css/dynamic_css.php on line 5
- > PHP Notice
Undefined index: eps_single_slide_css in wp-content/plugins/easy-wp-parallax-slider/assets/css/eps_css.php on line 5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/easy-wp-parallax-slider/templates/eps_admin_page.php:3
- > PHP Fatal error
Uncaught Error: Class 'epsSliderImageClass' not found in wp-content/plugins/easy-wp-parallax-slider/classes/slider/epsAdminSliderClass.php:2
- > PHP Fatal error
Uncaught Error: Class 'epsSliderClass' not found in wp-content/plugins/easy-wp-parallax-slider/classes/epsSliderContentClass.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
easy-wp-parallax-slider/easy-parallax-slider.php 92% from 13 tests
The main PHP file in "Easy Wordpress Parallax Slider" ver. 2.1.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-wp-parallax-slider.php" instead of "easy-parallax-slider.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected9,312 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 490 | 255 | 4,153 |
PHP | 10 | 378 | 265 | 2,747 |
JavaScript | 12 | 641 | 700 | 2,266 |
SVG | 1 | 0 | 0 | 146 |
PHP code 50% from 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 112)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 55.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 155.00 |
Average method complexity | 5.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 112.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 43 | 62.32% |
▷ Protected methods | 8 | 11.59% |
▷ Private methods | 18 | 26.09% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
27 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 |
assets/css/images/ie6/borderBottomRight.png | 0.21KB | 0.20KB | ▼ 5.53% |
assets/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
assets/images/select2.png | 0.51KB | 0.33KB | ▼ 34.94% |
assets/css/images/ie6/borderBottomLeft.png | 0.21KB | 0.20KB | ▼ 4.19% |
assets/images/arrows.png | 1.48KB | 0.69KB | ▼ 53.56% |