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.11MB] [CPU: ▲8.80ms] Passed 4 tests
A check of server-side resources used by Awesome Slider Lite
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 46.41 ▲6.90 |
Dashboard /wp-admin | 3.43 ▲0.13 | 59.95 ▲10.16 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 59.40 ▲12.48 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 97.89 ▲7.41 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.06 ▲10.73 |
Server storage [IO: ▲3.46MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 192 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Awesome Slider Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,169 ▲434 | 17.14 ▲2.55 | 14.27 ▲12.54 | 75.12 ▲26.20 |
Dashboard /wp-admin | 2,418 ▲230 | 6.82 ▲1.91 | 134.12 ▲31.23 | 39.85 ▲1.47 |
Posts /wp-admin/edit.php | 2,336 ▲250 | 4.27 ▲2.26 | 59.51 ▲23.99 | 33.92 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,587 ▲53 | 24.13 ▲0.91 | 592.05 ▼73.26 | 33.53 ▼19.57 |
Media Library /wp-admin/upload.php | 1,476 ▲88 | 5.47 ▲1.24 | 93.95 ▼9.74 | 42.20 ▼4.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/awesome-slider-lite/views/awslider.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-slideform.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-addslide.php
- > /wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-addslider.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-updateslide.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-savesliderdata.php
- > /wp-content/plugins/awesome-slider-lite/includes/fetch-sliders.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-updateslider.php
- > /wp-content/plugins/awesome-slider-lite/includes/ajax-sliderform.php
- 58× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: aw_easings in wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php on line 188
- > PHP Notice
Undefined variable: act in wp-content/plugins/awesome-slider-lite/admin-views/sliders.php on line 9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php on line 123
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php on line 590
- > PHP Warning
include(AW_ROOTawvars.php): failed to open stream: No such file or directory in wp-content/plugins/awesome-slider-lite/admin-views/slides.php on line 9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php on line 95
- > PHP Fatal error
Uncaught Error: Call to undefined function aw_parse_css() in wp-content/plugins/awesome-slider-lite/includes/ajax-updateawcss.php:4
- > PHP Notice
Undefined variable: loop in wp-content/plugins/awesome-slider-lite/includes/fetch-sliders.php on line 26
- > PHP Notice
Undefined variable: aw_easings in wp-content/plugins/awesome-slider-lite/admin-views/slide-playground.php on line 123
- > PHP Notice
Undefined variable: post in wp-content/plugins/awesome-slider-lite/admin-views/slider-settings.php on line 11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Screenshot #1 (screenshot-1.png) image missing
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
awesome-slider-lite/functions.php 92% from 13 tests
The main file in "Awesome Slider Lite" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("awesome-slider-lite.php" instead of "functions.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin5,569 lines of code in 170 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 154 | 83 | 2,327 |
PHP | 24 | 113 | 30 | 1,517 |
SVG | 3 | 0 | 0 | 1,147 |
JavaScript | 138 | 68 | 216 | 578 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 17 | |
▷ Named functions | 17 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/draggerbg.png | 0.94KB | 0.11KB | ▼ 88.67% |
images/bgarrow.png | 1.00KB | 0.16KB | ▼ 83.56% |
images/bgscale.png | 1.00KB | 0.12KB | ▼ 88.53% |
images/aw_sprite.png | 13.71KB | 5.06KB | ▼ 63.08% |
screenshot-1.png | 119.94KB | 131.41KB | 0.00% |