Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.99ms] Passed 4 tests
This is a short check of server-side resources used by DX Lite Slide
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.05 ▲2.46 |
Dashboard /wp-admin | 3.37 ▲0.07 | 47.33 ▼3.18 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 44.84 ▼2.69 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 83.71 ▼8.37 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 34.34 ▲2.29 |
DX Slides /wp-admin/edit.php?post_type=dx_slide | 3.33 | 39.22 |
Help /wp-admin/edit.php?post_type=dx_slide&page=dx_slides_help | 3.25 | 34.16 |
Sliders /wp-admin/edit-tags.php?taxonomy=dx_slider&post_type=dx_slide | 3.28 | 28.13 |
Add New /wp-admin/post-new.php?post_type=dx_slide | 3.38 | 49.63 |
DX Slides Options /wp-admin/edit.php?post_type=dx_slide&page=dx_slides_options | 3.26 | 31.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for DX Lite Slide
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲192 | 14.01 ▼0.38 | 5.04 ▲3.22 | 43.21 ▼1.81 |
Dashboard /wp-admin | 2,247 ▲76 | 5.79 ▲0.92 | 94.66 ▼20.19 | 38.10 ▼12.17 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.04 ▲0.01 | 40.49 ▲6.81 | 32.96 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,562 ▲20 | 23.05 ▲4.89 | 657.39 ▲62.97 | 52.84 ▲1.96 |
Media Library /wp-admin/upload.php | 1,420 ▲32 | 4.29 ▲0.08 | 95.64 ▼1.08 | 45.93 ▲1.62 |
DX Slides /wp-admin/edit.php?post_type=dx_slide | 1,094 | 1.97 | 30.62 | 30.00 |
Help /wp-admin/edit.php?post_type=dx_slide&page=dx_slides_help | 929 | 2.02 | 22.74 | 43.12 |
Sliders /wp-admin/edit-tags.php?taxonomy=dx_slider&post_type=dx_slide | 1,302 | 2.14 | 24.74 | 25.77 |
Add New /wp-admin/post-new.php?post_type=dx_slide | 1,888 | 3.58 | 66.00 | 35.63 |
DX Slides Options /wp-admin/edit.php?post_type=dx_slide&page=dx_slides_options | 886 | 2.07 | 25.14 | 28.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=dx_slide&page=dx_slides_options
- > Notice in wp-content/plugins/dx-lite-slide/dx-lite-slide-options.php+71
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dx-lite-slide/dx-lite-slide-options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dx-lite-slide/shortcodes/display-slideshow.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/dx-lite-slide/shortcodes/display-widget-slideshow.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dx-lite-slide/dx-lite-slide.php:40
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/dx-lite-slide/dx-lite-slide-help.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
2 plugin tags: slide, slider
dx-lite-slide/dx-lite-slide.php Passed 13 tests
This is the main PHP file of "DX Lite Slide" version 0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
82 characters long description:
Lite and simple slider for your WordPress project. Works with placing a shortcode.
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
Good job! No executable or dangerous file extensions detected517 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 57 | 439 |
CSS | 2 | 7 | 6 | 39 |
JavaScript | 1 | 10 | 2 | 36 |
Markdown | 1 | 1 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin