Benchmarks
Plugin footprint 82% 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.09MB] [CPU: ▼8.95ms] 75% from 4 tests
An overview of server-side resources used by Accordion FAQ - Compatible With All Page Builder (Elementor, Gutenberg)
Please take the time to fix the following items
- CPU: The total CPU usage must kept under 500.00ms (currently 537.59ms on /wp-admin/post-new.php?post_type=responsive_accordion)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.35 ▼1.01 |
Dashboard /wp-admin | 3.41 ▲0.07 | 45.49 ▼16.34 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 48.07 ▼2.24 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 80.57 ▼15.21 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 31.93 ▼2.00 |
Add New Accordion /wp-admin/post-new.php?post_type=responsive_accordion | 3.70 | 537.59 |
All Accordion /wp-admin/edit.php?post_type=responsive_accordion | 3.38 | 44.90 |
Server storage [IO: ▲2.92MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 131 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
wpsm_acc_r_review |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Accordion FAQ - Compatible With All Page Builder (Elementor, Gutenberg)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲155 | 13.85 ▼0.29 | 11.19 ▲9.58 | 43.86 ▼0.14 |
Dashboard /wp-admin | 2,219 ▲42 | 5.61 ▼0.05 | 86.04 ▼14.64 | 39.16 ▼6.16 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.98 ▲0.04 | 39.55 ▲1.97 | 34.83 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 23.28 ▼0.01 | 661.58 ▼23.92 | 52.09 ▲0.84 |
Media Library /wp-admin/upload.php | 1,424 ▲27 | 4.18 ▼0.00 | 95.68 ▼10.64 | 40.62 ▼4.72 |
Add New Accordion /wp-admin/post-new.php?post_type=responsive_accordion | 7,898 | 14.45 | 633.00 | 342.43 |
All Accordion /wp-admin/edit.php?post_type=responsive_accordion | 1,096 | 1.94 | 32.01 | 29.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- wpsm_acc_r_review
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 15× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsive-accordion-and-collapse/lib/admin/add-ac-js-footer.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/responsive-accordion-and-collapse/lib/admin/help.php:55
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/responsive-accordion-and-collapse/front/ac-content.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/responsive-accordion-and-collapse/responsive-accordion.php:15
- > PHP Notice
Undefined variable: WPSM_AC_ID in wp-content/plugins/responsive-accordion-and-collapse/front/ac-content.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_create_nonce() in wp-content/plugins/responsive-accordion-and-collapse/lib/admin/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/responsive-accordion-and-collapse/lib/admin/more-pro.php:116
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/responsive-accordion-and-collapse/front/style.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-accordion-and-collapse/lib/admin/menu.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-accordion-and-collapse/lib/installation/installation.php:2
- > PHP Fatal error
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 90% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: Too many tags (36 tag instead of maximum 10); only the first 5 tags are used in your directory listing
responsive-accordion-and-collapse/responsive-accordion.php 85% from 13 tests
"Accordion FAQ - Compatible With All Page Builder (Elementor, Gutenberg)" version 2.4.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 156 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("responsive-accordion-and-collapse.php" instead of "responsive-accordion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin14,631 lines of code in 64 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 589 | 185 | 6,366 |
JavaScript | 8 | 627 | 176 | 2,858 |
PHP | 16 | 247 | 105 | 2,596 |
Sass | 13 | 19 | 22 | 1,158 |
LESS | 13 | 19 | 31 | 1,149 |
SVG | 1 | 0 | 0 | 504 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
51 PNG files occupy 1.50MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
img/wpshopmart-logo.png | 25.28KB | 13.46KB | ▼ 46.76% |
img/tabs-pro-screesnhot.png | 281.04KB | 97.61KB | ▼ 65.27% |
css/images/ui-icons_d8e7f3_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
img/accordion-1.png | 20.86KB | 21.98KB | 0.00% |