Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.37ms] Passed 4 tests
Server-side resources used by Accordion Slider Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.45 ▼8.02 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.66 ▼7.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.32 ▲3.11 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 81.50 ▼13.52 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.69 ▲5.73 |
All Accordions /wp-admin/admin.php?page=accordion-slider-lite | 3.31 | 37.27 |
Plugin Settings /wp-admin/admin.php?page=accordion-slider-lite-settings | 3.30 | 37.16 |
Add New /wp-admin/admin.php?page=accordion-slider-lite-new | 3.33 | 38.94 |
Upgrade /wp-admin/admin.php?page=accordion-slider-lite-ugrade | 3.29 | 37.70 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 32 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_accordionslider_layers |
wp_accordionslider_panels |
wp_accordionslider_accordions |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_bqw-accordion-slider-lite-widget |
widget_theysaidso_widget |
accordion_slider_version |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Accordion Slider Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.24 ▼1.14 | 4.70 ▲2.93 | 40.91 ▼4.08 |
Dashboard /wp-admin | 2,240 ▲55 | 5.00 ▲0.14 | 100.85 ▼15.19 | 67.60 ▲19.87 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.98 ▼0.04 | 38.31 ▲0.77 | 36.56 ▲2.87 |
Add New Post /wp-admin/post-new.php | 1,696 ▲182 | 22.34 ▲4.64 | 758.88 ▲69.91 | 59.20 ▼8.83 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.23 ▼0.09 | 95.29 ▼4.60 | 76.78 ▲33.72 |
All Accordions /wp-admin/admin.php?page=accordion-slider-lite | 1,049 | 3.17 | 39.24 | 59.72 |
Plugin Settings /wp-admin/admin.php?page=accordion-slider-lite-settings | 1,125 | 3.15 | 39.55 | 55.34 |
Add New /wp-admin/admin.php?page=accordion-slider-lite-new | 1,624 | 3.22 | 44.37 | 55.86 |
Upgrade /wp-admin/admin.php?page=accordion-slider-lite-ugrade | 1,034 | 3.15 | 38.42 | 60.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_bqw-accordion-slider-lite-widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/accordion-slider-lite/admin/views/preview-window.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/accordion-slider-lite/admin/views/panel.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accordion-slider-lite/admin/views/accordions.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/accordion-slider-lite/includes/class-accordion-slider-widget.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/accordion-slider-lite/admin/views/accordions-row.php:2
- > PHP Notice
Undefined variable: accordion_output in wp-content/plugins/accordion-slider-lite/admin/views/preview-window.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accordion-slider-lite/admin/views/upgrade.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/accordion-slider-lite/admin/views/plugin-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/accordion-slider-lite/admin/views/accordion.php:2
- > PHP Notice
Undefined variable: panel_image in wp-content/plugins/accordion-slider-lite/admin/views/panel.php on line 6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: image accordion, responsive slider, accordion plugin, accordion slider, responsive accordion
accordion-slider-lite/accordion-slider-lite.php Passed 13 tests
The entry point to "Accordion Slider Lite" version 1.5.1 is a PHP file that has certain tags in its header comment area
64 characters long description:
Responsive and touch-enabled accordion slider. The lite version.
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
Everything looks great! No dangerous files found in this plugin4,177 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 654 | 787 | 2,124 |
PHP | 19 | 350 | 923 | 1,533 |
CSS | 4 | 106 | 29 | 520 |
PHP code Passed 2 tests
This is a short overview 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.36 |
Average class complexity | 18.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 14 | 18.42% |
▷ Public methods | 59 | 77.63% |
▷ Protected methods | 9 | 11.84% |
▷ Private methods | 8 | 10.53% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/css/images/all-buttons.png | 1.25KB | 0.89KB | ▼ 28.43% |
admin/assets/css/images/as-icon.png | 0.11KB | 0.11KB | ▼ 3.45% |