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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼8.08ms] Passed 4 tests
Server-side resources used by Woocommerce Sidebar Category Accordion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.05 ▼4.82 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.25 ▼6.29 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.49 ▼1.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.31 ▼19.78 |
Media Library /wp-admin/upload.php | 3.26 ▲0.02 | 38.04 ▲2.08 |
Woo Sidebar Accordion /wp-admin/options-general.php?page=wcsca | 3.22 | 33.34 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
wcsca_open_icon |
wcsca_font_size |
widget_recent-comments |
db_upgraded |
wcsca_closed_icon |
wcsca_padding |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Woocommerce Sidebar Category Accordion
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.52 ▼0.75 | 5.33 ▲3.25 | 37.74 ▼8.79 |
Dashboard /wp-admin | 2,210 ▲24 | 5.86 ▼0.00 | 100.03 ▼3.43 | 36.96 ▼7.62 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 36.08 ▼2.57 | 31.59 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.79 ▲0.24 | 662.50 ▼6.79 | 59.33 ▼9.70 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.19 ▼0.06 | 107.61 ▲7.64 | 47.66 ▲4.99 |
Woo Sidebar Accordion /wp-admin/options-general.php?page=wcsca | 881 | 2.02 | 23.30 | 27.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- wcsca_font_size
- wcsca_open_icon
- widget_theysaidso_widget
- widget_recent-posts
- wcsca_closed_icon
- wcsca_padding
Smoke tests 75% 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 50% 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woo-sidebar-category-accordion/wcsca.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: category accordion, product categories accordion, collapse, sidebar, woocommerce...
woo-sidebar-category-accordion/wcsca.php 92% from 13 tests
Analyzing the main PHP file in "Woocommerce Sidebar Category Accordion" version 1.1.3
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-sidebar-category-accordion.php" instead of "wcsca.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected181 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 8 | 96 |
JavaScript | 1 | 11 | 0 | 61 |
CSS | 1 | 5 | 0 | 24 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin