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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.76ms] Passed 4 tests
Analyzing server-side resources used by Luzuk Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.97 ▼2.75 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.13 ▲1.50 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.16 ▲4.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.10 ▼7.29 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.57 ▲1.49 |
Luzuk Slider /wp-admin/edit.php?post_type=lsfp-slider | 3.32 | 41.40 |
Add New /wp-admin/post-new.php?post_type=lsfp-slider | 3.42 | 50.03 |
Settings /wp-admin/edit.php?post_type=lsfp-slider&page=lsfp_tutorial_subpage_example | 3.22 | 31.22 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 17 new options
New WordPress options |
---|
db_upgraded |
lsfp_sortpostorder |
lsfp_option_name |
lsfp_option_sel_template |
lsfp_option_btnbgcolor |
can_compress_scripts |
lsfp_option_btnbgcolor1 |
lsp_option_imageheight |
lsfp_option_titlecolor |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Luzuk Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲199 | 14.01 ▼0.72 | 11.36 ▲9.74 | 44.72 ▼3.46 |
Dashboard /wp-admin | 2,238 ▲29 | 4.90 ▲0.03 | 109.14 ▲9.36 | 38.91 ▲0.28 |
Posts /wp-admin/edit.php | 2,127 ▲35 | 2.06 ▲0.00 | 40.22 ▼7.27 | 36.57 ▼17.64 |
Add New Post /wp-admin/post-new.php | 1,558 ▲16 | 23.31 ▲5.11 | 650.15 ▼22.94 | 51.85 ▼20.61 |
Media Library /wp-admin/upload.php | 1,423 ▲32 | 4.22 ▲0.03 | 108.42 ▲6.45 | 47.44 ▲3.75 |
Luzuk Slider /wp-admin/edit.php?post_type=lsfp-slider | 1,097 | 2.04 | 41.03 | 32.90 |
Add New /wp-admin/post-new.php?post_type=lsfp-slider | 2,297 | 7.71 | 164.22 | 69.00 |
Settings /wp-admin/edit.php?post_type=lsfp-slider&page=lsfp_tutorial_subpage_example | 1,226 | 1.73 | 30.35 | 32.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 17 options
- lsfp_sortpostorder
- lsfp_option_btnbgcolor1
- db_upgraded
- teamslidertransitionduration
- theysaidso_admin_options
- lsfp_option_btnbgcolor
- lsfp_option_btnlabelcolor
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- ...
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
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=lsfp-slider&page=lsfp_tutorial_subpage_example
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=lsfp-slider&page=lsfp_tutorial_subpage_example
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/luzuk-slider/luzuk-slider.php:15
- > 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)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Too many tags (21 tag instead of maximum 10); only the first 5 tags are used in your directory listing
luzuk-slider/luzuk-slider.php Passed 13 tests
The entry point to "Luzuk Slider" version 0.1.5 is a PHP file that has certain tags in its header comment area
63 characters long description:
luzuk slider plugin. You can add this shortcode [luzuk_slider].
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin4,664 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 583 | 60 | 3,718 |
PHP | 2 | 260 | 65 | 914 |
JavaScript | 4 | 15 | 17 | 32 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
5 PNG files occupy 0.17MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/slider-shape.png | 30.92KB | 5.95KB | ▼ 80.76% |
images/template2.png | 43.68KB | 9.67KB | ▼ 77.87% |
images/sliderdotimage.png | 12.47KB | 5.74KB | ▼ 53.99% |
assets/4.png | 37.62KB | 7.61KB | ▼ 79.78% |
images/template1.png | 54.33KB | 13.25KB | ▼ 75.61% |