Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.19ms] Passed 4 tests
Server-side resources used by WPB Accordion Menu - Elementor Accordion Menu - WooCommerce Category Accordion
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.83 ▼5.26 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.40 ▼1.68 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 47.21 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 82.70 ▼9.94 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.41 ▲0.11 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WPB Accordion Menu - Elementor Accordion Menu - WooCommerce Category Accordion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,025 ▲263 | 13.38 ▼0.98 | 8.09 ▲6.38 | 29.70 ▼16.12 |
Dashboard /wp-admin | 2,343 ▲166 | 5.61 ▼0.05 | 92.79 ▼6.14 | 52.10 ▲12.09 |
Posts /wp-admin/edit.php | 2,122 ▲25 | 2.10 ▲0.13 | 41.54 ▲2.54 | 43.02 ▲6.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 23.32 ▼0.01 | 668.02 ▼8.44 | 56.22 ▲1.04 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.27 ▲0.10 | 99.39 ▼1.57 | 46.94 ▲1.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function WpbWMCAFree\\add_action() in wp-content/plugins/wpb-accordion-menu-or-category/elementor/wpb-wmca-elementor.php:110
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wpb-accordion-menu-or-category/main.php 85% from 13 tests
The main file in "WPB Accordion Menu - Elementor Accordion Menu - WooCommerce Category Accordion" v. 1.4.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 243 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpb-accordion-menu-or-category.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,127 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 167 | 297 | 572 |
JavaScript | 3 | 57 | 115 | 342 |
CSS | 2 | 14 | 11 | 197 |
PO File | 1 | 0 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 4.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 1 | 3.70% |
▷ Public methods | 20 | 74.07% |
▷ Protected methods | 4 | 14.81% |
▷ Private methods | 3 | 11.11% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin