Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲0.09ms] 75% from 4 tests
Analyzing server-side resources used by Accordion Slider Gallery
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 509.79ms on /wp-admin/edit.php?post_type=accordion_slider&page=asg-dashboard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.34 | 39.34 ▼0.37 |
Dashboard /wp-admin | 3.72 ▲0.41 | 50.79 ▼1.37 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 50.18 ▲2.06 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 94.49 ▲0.02 |
Media Library /wp-admin/upload.php | 3.58 ▲0.34 | 40.81 ▲4.43 |
Add New /wp-admin/post-new.php?post_type=accordion_slider | 3.77 | 55.35 |
Documentation /wp-admin/edit.php?post_type=accordion_slider&page=asg-designs | 3.56 | 35.48 |
All Accordion /wp-admin/edit.php?post_type=accordion_slider | 3.63 | 36.79 |
Install Popular Plugins From WPdiscover /wp-admin/edit.php?post_type=accordion_slider&page=asg-dashboard | 3.64 | 509.79 |
Upgrade To Premium /wp-admin/edit.php?post_type=accordion_slider&page=asg-premium | 3.56 | 32.51 |
Server storage [IO: ▲3.89MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 113 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
accordion-slider-v |
can_compress_scripts |
widget_recent-comments |
rpg-slider-images-default |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
asg_cns_review |
accordion-slider-installDate |
... |
Browser metrics Passed 4 tests
Accordion Slider Gallery: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲188 | 13.78 ▼0.93 | 7.43 ▲5.78 | 38.90 ▼4.39 |
Dashboard /wp-admin | 2,247 ▲67 | 5.61 ▼0.08 | 96.70 ▲3.10 | 42.73 ▼3.38 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.00 ▲0.03 | 40.99 ▲2.12 | 35.38 ▲2.48 |
Add New Post /wp-admin/post-new.php | 1,569 ▲34 | 23.63 ▲5.35 | 710.12 ▲54.72 | 66.00 ▲4.98 |
Media Library /wp-admin/upload.php | 1,549 ▲146 | 4.42 ▲0.18 | 113.43 ▲8.24 | 47.78 ▲4.29 |
Add New /wp-admin/post-new.php?post_type=accordion_slider | 3,278 | 5.89 | 155.05 | 79.43 |
Documentation /wp-admin/edit.php?post_type=accordion_slider&page=asg-designs | 1,131 | 2.00 | 23.57 | 35.16 |
All Accordion /wp-admin/edit.php?post_type=accordion_slider | 1,122 | 1.90 | 32.13 | 29.53 |
Install Popular Plugins From WPdiscover /wp-admin/edit.php?post_type=accordion_slider&page=asg-dashboard | 1,628 | 2.00 | 24.83 | 30.14 |
Upgrade To Premium /wp-admin/edit.php?post_type=accordion_slider&page=asg-premium | 1,309 | 2.00 | 27.49 | 52.72 |
Uninstaller [IO: ▲3.04MB] [DB: ▲0.02MB] 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 were found after uninstall: 11 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- asg_cns_review
- db_upgraded
- accordion-slider-type
- can_compress_scripts
- accordion-slider-v
- accordion-slider-installDate
- theysaidso_admin_options
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require(ACCORDION_SLIDER_LIBRARIESclass-gamajo-template-loader.php): failed to open stream: No such file or directory in wp-content/plugins/accordion-slider-gallery/includes/libraries/class-accordion-slider-template-loader.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/accordion-slider-gallery/includes/admin/accordion-slider-js-templates.php:3
- > PHP Fatal error
require(): Failed opening required 'ACCORDION_SLIDER_LIBRARIESclass-gamajo-template-loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/accordion-slider-gallery/includes/libraries/class-accordion-slider-template-loader.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Accordion_Slider_Template_Loader' not found in wp-content/plugins/accordion-slider-gallery/includes/public/class-accordion-slider-shortcode.php:13
- > PHP Warning
include(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/accordion-slider-gallery/default_image.php on line 16
- > PHP Warning
Use of undefined constant ACCORDION_SLIDER_IMAGES - assumed 'ACCORDION_SLIDER_IMAGES' (this will throw an Error in a future version of PHP) in wp-content/plugins/accordion-slider-gallery/default_image.php on line 4
- > PHP Warning
include(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/accordion-slider-gallery/default_image.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/accordion-slider-gallery/includes/admin/class-accordion-slider-admin.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/accordion-slider-gallery/includes/public/templates/design/accordion-slider/accordion-slider.php:44
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/accordion-slider-gallery/accordion-slider.php:23
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 87% 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 your attention:
- Donate link: Please fix this invalid URI: "#"
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6 in accordion-slider-gallery/assets to your readme.txt
accordion-slider-gallery/accordion-slider.php 85% from 13 tests
The primary PHP file in "Accordion Slider Gallery" version 2.7 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("accordion-slider-gallery.php" instead of "accordion-slider.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin19,377 lines of code in 81 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 5 | 0 | 13 | 5,563 |
CSS | 15 | 1,955 | 135 | 5,315 |
PHP | 18 | 615 | 535 | 2,473 |
JavaScript | 11 | 526 | 255 | 2,253 |
Sass | 16 | 43 | 34 | 1,903 |
LESS | 16 | 41 | 51 | 1,870 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 19.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 8 | 13.11% |
▷ Public methods | 47 | 77.05% |
▷ Protected methods | 3 | 4.92% |
▷ Private methods | 11 | 18.03% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/prev.png | 1.33KB | 1.59KB | 0.00% |
assets/images/next.png | 1.32KB | 1.58KB | 0.00% |
assets/images/close.png | 0.27KB | 0.29KB | 0.00% |
assets/images/icon-128x128.png | 9.10KB | 3.85KB | ▼ 57.70% |
assets/images/sprites.png | 0.41KB | 0.44KB | 0.00% |