Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
Server metrics [RAM: ▲0.45MB] [CPU: ▲1.77ms] Passed 4 tests
A check of server-side resources used by Total Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.50 | 44.46 ▼2.19 |
Dashboard /wp-admin | 3.79 ▲0.49 | 52.65 ▲2.06 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 57.04 ▲12.24 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 97.08 ▲5.67 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 38.92 ▲1.53 |
Settings /wp-admin/admin.php?page=total-slider-settings | 3.65 | 39.77 |
Slide Groups /wp-admin/admin.php?page=total-slider | 3.71 | 45.28 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
total_slider_slide_groups |
total_slider_dataformat_version |
can_compress_scripts |
widget_theysaidso_widget |
widget_total_slider_widget |
total_slider_general_options |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Total Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.25 ▼0.04 | 1.56 ▼0.23 | 40.36 ▼4.22 |
Dashboard /wp-admin | 2,226 ▲46 | 5.59 ▼0.07 | 94.39 ▲2.75 | 78.52 ▲36.30 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 1.97 ▼0.06 | 39.43 ▲3.28 | 32.75 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,579 ▲48 | 17.99 ▼5.27 | 691.82 ▲3.63 | 52.07 ▼2.76 |
Media Library /wp-admin/upload.php | 1,428 ▲25 | 4.20 ▲0.06 | 104.82 ▲0.98 | 70.57 ▲22.05 |
Settings /wp-admin/admin.php?page=total-slider-settings | 944 | 2.18 | 26.27 | 28.67 |
Slide Groups /wp-admin/admin.php?page=total-slider | 1,431 | 3.35 | 46.74 | 71.80 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 10 options
- total_slider_general_options
- total_slider_dataformat_version
- total_slider_slide_groups
- widget_total_slider_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 fix the following items
- 9× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: s in wp-content/plugins/total-slider/templates/twentytwelve-alt/twentytwelve-alt.php on line 28
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/total-slider/includes/class.slide-groups-table.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/total-slider/total-slider.php:63
- > PHP Notice
Undefined variable: s in wp-content/plugins/total-slider/templates/default/default.php on line 41
- > PHP Notice
Undefined variable: s in wp-content/plugins/total-slider/templates/twentytwelve/twentytwelve.php on line 28
- > PHP Fatal error
Uncaught Error: Call to a member function is_runtime() on null in wp-content/plugins/total-slider/templates/twentytwelve-alt/twentytwelve-alt.php:28
- > PHP Fatal error
Uncaught Error: Call to a member function slides_count() on null in wp-content/plugins/total-slider/templates/default/default.php:41
- > PHP Fatal error
Uncaught Error: Call to a member function is_runtime() on null in wp-content/plugins/total-slider/templates/twentytwelve/twentytwelve.php:28
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/total-slider/includes/class.total-slider-widget.php:32
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: slideshow, rotator, rotation, slider
total-slider/total-slider.php Passed 13 tests
The main file in "Total Slider" v. 2.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
82 characters long description:
The best experience for building sliders, with true WYSIWYG, drag & drop and more!
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 detected10,002 lines of code in 51 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 13 | 917 | 428 | 4,946 |
PHP | 31 | 1,454 | 2,045 | 3,881 |
CSS | 4 | 126 | 64 | 504 |
PO File | 1 | 184 | 134 | 418 |
HTML | 2 | 74 | 0 | 253 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 44.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 3.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 3 | 2.29% |
▷ Public methods | 126 | 96.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.82% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/total-slider-icon-32.png | 1.40KB | 0.51KB | ▼ 63.63% |
img/slider-desc-bg.png | 0.29KB | 0.11KB | ▼ 62.84% |
img/total-slider-icon-16.png | 0.34KB | 0.28KB | ▼ 18.50% |
img/vpm.png | 2.58KB | 2.15KB | ▼ 16.77% |
img/icons.png | 0.60KB | 0.52KB | ▼ 12.58% |