Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.80MB] [CPU: ▲2.41ms] Passed 4 tests
Server-side resources used by Easy Accordion - Best Accordion FAQ Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.28 ▲0.82 | 47.94 ▲7.04 |
Dashboard /wp-admin | 4.11 ▲0.80 | 53.98 ▲6.33 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 49.89 ▲2.74 |
Add New Post /wp-admin/post-new.php | 6.70 ▲0.81 | 89.43 ▼4.84 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 41.96 ▲5.41 |
Tools /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_tools | 4.46 | 47.67 |
Accordion Groups /wp-admin/edit.php?post_type=sp_easy_accordion | 4.56 | 53.59 |
Add New /wp-admin/post-new.php?post_type=sp_easy_accordion | 4.61 | 60.24 |
Help /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_help | 4.46 | 44.22 |
Settings /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_settings | 4.46 | 57.52 |
Server storage [IO: ▲1.97MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 145 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_theysaidso_widget |
easy_accordion_free_first_version |
can_compress_scripts |
easy_accordion_free_activation_date |
sp_eafree_review_notice_dismiss |
widget_recent-posts |
sp_eap_settings |
easy_accordion_free_version |
db_upgraded |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Easy Accordion - Best Accordion FAQ Plugin for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 14.34 ▼0.19 | 1.94 ▲0.18 | 32.51 ▼7.57 |
Dashboard /wp-admin | 2,283 ▲103 | 5.60 ▼0.04 | 81.49 ▼2.58 | 39.76 ▼3.13 |
Posts /wp-admin/edit.php | 2,192 ▲92 | 2.04 ▲0.09 | 35.58 ▲1.27 | 33.51 ▲1.19 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,718 | 18.80 ▼4.49 | 922.14 ▲259.60 | 62.29 ▲6.92 |
Media Library /wp-admin/upload.php | 1,491 ▲91 | 4.22 ▲0.08 | 97.41 ▲6.21 | 43.93 ▲3.61 |
Tools /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_tools | 1,420 | 5.62 | 76.71 | 41.58 |
Accordion Groups /wp-admin/edit.php?post_type=sp_easy_accordion | 1,559 | 5.53 | 65.52 | 29.17 |
Add New /wp-admin/post-new.php?post_type=sp_easy_accordion | 3,764 | 6.15 | 103.79 | 211.31 |
Help /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_help | 2,168 | 11.25 | 316.78 | 174.13 |
Settings /wp-admin/edit.php?post_type=sp_easy_accordion&page=eap_settings | 1,394 | 4.87 | 64.69 | 96.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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: 12 options
- easy_accordion_free_db_version
- sp_eap_settings
- widget_theysaidso_widget
- theysaidso_admin_options
- easy_accordion_free_version
- widget_recent-comments
- sp_eafree_review_notice_dismiss
- widget_recent-posts
- easy_accordion_free_first_version
- can_compress_scripts
- ...
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
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined variable: ea_dynamic_css in wp-content/plugins/easy-accordion-free/public/dynamic-style.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-accordion-free/public/views/class-easy-accordion-free-shortcode.php:74
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/easy-accordion-free/admin/ElementAddons/Sp_Easy_Accordion_Shortcode_Widget.php:15
- > PHP Notice
Undefined variable: accordion_id in wp-content/plugins/easy-accordion-free/public/dynamic-style.php on line 45
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/easy-accordion-free/includes/updates/update-2.0.6.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/easy-accordion-free/includes/updates/update-2.1.14.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/easy-accordion-free/includes/updates/update-2.0.7.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-accordion-free/admin/preview/class-easy-accordion-free-preview.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-accordion-free/admin/class-easy-accordion-free-element-shortcode-addons.php:127
- > PHP Notice
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 36 tag instead of maximum 10
easy-accordion-free/plugin-main.php 92% from 13 tests
"Easy Accordion - Best Accordion FAQ Plugin for WordPress" version 2.2.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("easy-accordion-free.php" instead of "plugin-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin16,240 lines of code in 109 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 1,426 | 2,883 | 5,575 |
CSS | 13 | 642 | 362 | 4,017 |
JavaScript | 9 | 1,047 | 315 | 3,899 |
SVG | 20 | 0 | 2 | 2,749 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 20.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 129.00 |
Average method complexity | 5.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 2 | 4.26% |
▷ Concrete classes | 45 | 95.74% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 32 | 16.58% |
▷ Public methods | 186 | 96.37% |
▷ Protected methods | 2 | 1.04% |
▷ Private methods | 5 | 2.59% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
21 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/7-hand.png | 1.27KB | 0.60KB | ▼ 52.92% |
admin/img/8-caret.png | 1.14KB | 0.24KB | ▼ 79.21% |
admin/img/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
admin/img/checkerboard.png | 2.02KB | 2.54KB | 0.00% |
admin/views/models/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |