Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼2.53MB] [CPU: ▼352.26ms] Passed 4 tests
Server-side resources used by Easy Accordion FAQ
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.84 ▼1.68 | 4.27 ▼49.09 |
Dashboard /wp-admin | 1.86 ▼1.55 | 3.51 ▼32.23 |
Posts /wp-admin/edit.php | 1.86 ▼1.78 | 4.64 ▼50.50 |
Add New Post /wp-admin/post-new.php | 1.86 ▼5.11 | 4.84 ▼1,277.21 |
Media Library /wp-admin/upload.php | 1.86 ▼1.44 | 3.54 ▼22.45 |
All FAQ /wp-admin/edit.php?post_type=eaf-faq | 1.86 | 4.04 |
Add New /wp-admin/post-new.php?post_type=eaf-faq | 1.86 | 3.55 |
Help and use /wp-admin/edit.php?post_type=eaf-faq&page=lswr-designs | 1.86 | 4.47 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq | 1.86 | 3.69 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Accordion FAQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,976 ▲222 | 16.18 ▲0.52 | 8.70 ▲3.01 | 2.64 ▲0.03 |
Dashboard /wp-admin | 2,949 ▲92 | 6.21 ▲0.07 | 125.82 ▼2.61 | 162.20 ▼4.25 |
Posts /wp-admin/edit.php | 2,745 ▲57 | 3.24 ▲0.01 | 68.27 ▲5.51 | 158.67 ▲9.09 |
Add New Post /wp-admin/post-new.php | 1,672 ▲17 | 19.41 ▼1.45 | 451.78 ▼7.42 | 145.41 ▼17.48 |
Media Library /wp-admin/upload.php | 1,755 ▲57 | 5.55 ▲0.03 | 143.08 ▼1.08 | 190.62 ▼2.03 |
All FAQ /wp-admin/edit.php?post_type=eaf-faq | 1,443 | 3.16 | 61.55 | 113.19 |
Add New /wp-admin/post-new.php?post_type=eaf-faq | 2,982 | 9.96 | 195.07 | 201.87 |
Help and use /wp-admin/edit.php?post_type=eaf-faq&page=lswr-designs | 1,263 | 2.45 | 57.19 | 115.34 |
FAQ Category /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq | 1,679 | 2.79 | 55.70 | 112.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5768
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the accordion-faq handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the accordion-faq handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the accordion-faq handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the accordion-fa handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the accordion-fa handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the eaf-costum-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the eaf-costum-js handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the eaf-shortcode handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=eaf_cat&post_type=eaf-faq
- > User notice in wp-includes/functions.php+5768
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the eaf-shortcode handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 18 tag instead of maximum 10
easy-accordion-for-faq/easy-accordion-for-faq.php 92% from 13 tests
The primary PHP file in "Easy Accordion FAQ" version 1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- 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 a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,559 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 685 |
PHP | 5 | 12 | 115 | 532 |
JavaScript | 2 | 3 | 0 | 257 |
CSS | 2 | 0 | 4 | 85 |
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.33 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
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