Benchmarks
Plugin footprint 40% 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 cannot be installed
- > Notice in wp-content/plugins/wave-slider/wave-slider.php+22
Undefined variable: _o_config
Server metrics [RAM: ▼1.90MB] [CPU: ▼51.24ms] Passed 4 tests
Server-side resources used by Wave Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.17 ▼37.85 |
Dashboard /wp-admin | 2.10 ▼1.20 | 7.03 ▼40.39 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.13 ▼42.56 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.78 | 6.16 ▼84.16 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.84 ▼26.81 |
Wave Slider /wp-admin/edit.php?post_type=wave-slider | 2.10 | 5.64 |
Add New /wp-admin/post-new.php?post_type=wave-slider | 2.10 | 6.37 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Wave Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲220 | 14.94 ▲0.54 | 1.66 ▼0.20 | 41.14 ▼5.53 |
Dashboard /wp-admin | 2,376 ▲188 | 6.45 ▲1.36 | 137.95 ▲28.09 | 42.50 ▼3.68 |
Posts /wp-admin/edit.php | 2,279 ▲187 | 3.51 ▲1.46 | 55.74 ▲12.92 | 32.41 ▼4.96 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.55 ▲0.27 | 570.33 ▼61.61 | 34.10 ▼23.15 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.20 ▼0.08 | 80.31 ▼18.42 | 41.69 ▼3.20 |
Wave Slider /wp-admin/edit.php?post_type=wave-slider | 1,249 | 3.38 | 57.08 | 31.33 |
Add New /wp-admin/post-new.php?post_type=wave-slider | 1,644 | 3.54 | 67.34 | 31.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wave-slider/wave-slider.php+22
Undefined variable: _o_config
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wave-slider
- > Notice in wp-content/plugins/wave-slider/wave-slider.php+22
Undefined variable: _o_config
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wave-slider
- > Notice in wp-content/plugins/wave-slider/wave-slider.php+22
Trying to access array offset on value of type null
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 take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: _o_config in wp-content/plugins/wave-slider/wave-slider.php on line 22
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wave-slider/wave-slider.php on line 22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wave-slider/wave-slider.php:23
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wave-slider
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/wave-slider/assets/backend/js/script.js?ver=6.3.1:51:24)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wave-slider
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== wave-slider ===
)
wave-slider/wave-slider.php Passed 13 tests
The principal PHP file in "Wave Slider" v. 1.1 is loaded by WordPress automatically on each request
53 characters long description:
Simple Creative responsive Slider, Get in motion !!!!
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 plugin241 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 24 | 11 | 144 |
JavaScript | 2 | 22 | 5 | 94 |
CSS | 2 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/css/next.png | 0.45KB | 0.35KB | ▼ 22.15% |
assets/frontend/css/prev.png | 0.43KB | 0.35KB | ▼ 18.22% |
assets/backend/css/bg.png | 0.13KB | 0.13KB | 0.00% |
assets/frontend/css/shadow.png | 6.28KB | 8.47KB | 0.00% |