Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▲3.20ms] Passed 4 tests
This is a short check of server-side resources used by KickAss Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 39.79 ▲0.56 |
Dashboard /wp-admin | 3.58 ▲0.27 | 56.89 ▲6.27 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 57.49 ▲10.44 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 90.57 ▲2.50 |
Media Library /wp-admin/upload.php | 3.40 ▲0.18 | 38.59 ▲3.48 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please try to fix the following items
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/kickass-slider/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for KickAss Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,089 ▲328 | 15.71 ▲1.08 | 7.03 ▲5.14 | 41.24 ▼7.05 |
Dashboard /wp-admin | 2,406 ▲203 | 6.84 ▲0.94 | 134.53 ▲30.79 | 42.20 ▲0.94 |
Posts /wp-admin/edit.php | 2,318 ▲215 | 3.83 ▲1.80 | 58.52 ▲23.25 | 32.53 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,572 ▲32 | 23.55 ▲0.52 | 682.48 ▼29.91 | 37.88 ▼14.23 |
Media Library /wp-admin/upload.php | 1,460 ▲60 | 4.70 ▲0.47 | 85.82 ▼19.23 | 44.50 ▼2.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/kickass-slider/kickass-slider.php
- 16× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/kickass-slider/views/templates/slider_options_mb.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kickass-slider/views/templates/publish_mb.php on line 16
- > PHP Notice
Undefined variable: slider in wp-content/plugins/kickass-slider/views/templates/publish_mb.php on line 16
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kickass-slider/views/templates/publish_mb.php on line 16
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/kickass-slider/views/templates/publish_mb.php:23
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/kickass-slider/views/templates/publish_mb.php on line 3
- > PHP Notice
Undefined variable: slider in wp-content/plugins/kickass-slider/views/templates/publish_mb.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Logger' not found in wp-content/plugins/kickass-slider/mustache/src/Mustache/Logger/AbstractLogger.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Mustache_Loader' not found in wp-content/plugins/kickass-slider/mustache/src/Mustache/Loader/FilesystemLoader.php:29
- > PHP Fatal error
Uncaught Error: Class 'Mustache_Logger_AbstractLogger' not found in wp-content/plugins/kickass-slider/mustache/src/Mustache/Logger/StreamLogger.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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:
- Donate link: Please fix this invalid url: "jashwant.github.io/kickass-slider/#donate"
kickass-slider/kickass-slider.php Passed 13 tests
The primary PHP file in "KickAss Slider" version 1.2 is used by WordPress to initiate all plugin functionality
74 characters long description:
Slider having CSS3 animations ( with jQuery fallback ) and drag n drop UI.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected4,166 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 391 | 1,362 | 2,013 |
JavaScript | 2 | 264 | 117 | 1,346 |
CSS | 2 | 97 | 33 | 461 |
Mustache | 7 | 21 | 0 | 346 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 2 | 13.33% |
▷ Concrete classes | 13 | 86.67% |
▷ Final classes | 0 | 0.00% |
Methods | 144 | |
▷ Static methods | 22 | 15.28% |
▷ Public methods | 103 | 71.53% |
▷ Protected methods | 8 | 5.56% |
▷ Private methods | 33 | 22.92% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 49 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 49 | 100.00% |
▷ Public constants | 49 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/preview.png | 0.67KB | 0.60KB | ▼ 10.85% |
assets/img/transparent.png | 0.12KB | 0.09KB | ▼ 24.17% |
assets/img/expand.png | 0.42KB | 0.33KB | ▼ 21.65% |