Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.64MB] [CPU: ▼17.56ms] Passed 4 tests
Server-side resources used by D Slider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.44 ▼6.99 |
Dashboard /wp-admin | 3.36 ▲0.02 | 53.40 ▼8.56 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 50.43 ▼2.66 |
Add New Post /wp-admin/post-new.php | 3.19 ▼2.69 | 36.36 ▼52.04 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.21 ▲8.13 |
Sliders /wp-admin/edit.php?post_type=slidesjs_slider | 3.33 | 38.24 |
Add New /wp-admin/post-new.php?post_type=slidesjs_slider | 3.14 | 34.73 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by D Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲179 | 13.45 ▼0.92 | 8.28 ▲6.73 | 55.55 ▲14.90 |
Dashboard /wp-admin | 2,235 ▲58 | 5.63 ▼0.00 | 90.16 ▼26.88 | 42.55 ▼11.66 |
Posts /wp-admin/edit.php | 2,146 ▲43 | 1.95 ▼0.08 | 39.48 ▲0.26 | 38.49 ▲0.67 |
Add New Post /wp-admin/post-new.php | 1,584 ▲47 | 17.92 ▼5.16 | 626.85 ▲28.04 | 79.01 ▲30.42 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.17 ▼0.01 | 98.23 ▼7.02 | 44.22 ▼0.75 |
Sliders /wp-admin/edit.php?post_type=slidesjs_slider | 1,124 | 1.90 | 32.78 | 30.31 |
Add New /wp-admin/post-new.php?post_type=slidesjs_slider | 2,290 | 7.58 | 181.28 | 65.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+202
Undefined index: d_slider_box_nonce
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+171
Undefined offset: 0
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+175
Undefined offset: 1
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+179
Undefined offset: 2
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+183
Undefined offset: 3
- > GET request to /wp-admin/post-new.php?post_type=slidesjs_slider
- > Notice in wp-content/plugins/d-slider/d_slider.php+187
Undefined offset: 4
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/d-slider/d_slider.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 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
These attributes need your attention:
- Screenshots: These screenshots need descriptions #0, #0 in d-slider/assets to your readme.txt
- Screenshots: These screenshots require images: #1 (Slider Images), #2 (Slider Settings)
d-slider/d_slider.php 92% from 13 tests
The principal PHP file in "D Slider" v. 2.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("d-slider.php" instead of "d_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 detected1,975 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 66 | 63 | 1,484 |
SVG | 1 | 0 | 0 | 284 |
PHP | 1 | 75 | 19 | 195 |
JavaScript | 2 | 4 | 11 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.40MB with 0.26MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot1.png | 377.29KB | 90.25KB | ▼ 76.08% |
screenshot2.png | 33.90KB | 13.07KB | ▼ 61.43% |
img/pagination.png | 1.36KB | 0.58KB | ▼ 57.53% |