Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.98MB] [CPU: ▼1.62ms] Passed 4 tests
This is a short check of server-side resources used by Accordion FAQ with Category
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.96 | 37.32 ▼1.50 |
Dashboard /wp-admin | 4.29 ▲0.98 | 45.17 ▼1.12 |
Posts /wp-admin/edit.php | 4.40 ▲1.04 | 44.30 ▲0.42 |
Add New Post /wp-admin/post-new.php | 6.87 ▲0.98 | 82.42 ▼4.27 |
Media Library /wp-admin/upload.php | 4.21 ▲0.98 | 38.02 ▲1.17 |
Import/Export Plugin /wp-admin/admin.php?page=afaq-6310-import-export | 4.19 | 36.28 |
Help /wp-admin/admin.php?page=afaq-6310-faq-for-elementor-use | 4.19 | 37.01 |
Template 01-10 /wp-admin/admin.php?page=afaq-6310-faq-01-10 | 4.42 | 35.38 |
All FAQ /wp-admin/admin.php?page=afaq-6310-faq-for-elementor | 4.20 | 35.83 |
License /wp-admin/admin.php?page=afaq-6310-faq-for-elementor-license | 4.19 | 33.15 |
Manage FAQ /wp-admin/admin.php?page=afaq-6310-manage-faq | 4.51 | 53.97 |
Manage category /wp-admin/admin.php?page=afaq-6310-manage-category | 4.48 | 45.09 |
Template 11-20 /wp-admin/admin.php?page=afaq-6310-faq-11-20 | 4.42 | 41.46 |
WpMart Plugins /wp-admin/admin.php?page=afaq-6310-wpmart-plugins | 4.19 | 33.99 |
Server storage [IO: ▲2.23MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 138 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_afaq_6310_category |
wp_afaq_6310_style |
wp_afaq_6310_faq |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
afaq_6310_version_info |
faq_6310_install_default |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Accordion FAQ with Category
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.46 ▲0.11 | 1.68 ▲0.12 | 41.81 ▲1.07 |
Dashboard /wp-admin | 2,250 ▲70 | 5.58 ▼0.04 | 83.79 ▼1.89 | 39.44 ▼0.87 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.03 ▲0.02 | 33.40 ▼2.78 | 34.82 ▼5.11 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 23.35 ▲0.44 | 678.71 ▼6.14 | 51.94 ▼6.09 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.27 ▲0.14 | 94.40 ▼11.16 | 43.40 ▼1.81 |
Import/Export Plugin /wp-admin/admin.php?page=afaq-6310-import-export | 1,006 | 1.91 | 26.49 | 114.02 |
Help /wp-admin/admin.php?page=afaq-6310-faq-for-elementor-use | 1,005 | 1.95 | 29.89 | 42.92 |
Template 01-10 /wp-admin/admin.php?page=afaq-6310-faq-01-10 | 1,966 | 1.99 | 27.24 | 82.89 |
All FAQ /wp-admin/admin.php?page=afaq-6310-faq-for-elementor | 930 | 2.00 | 24.44 | 39.49 |
License /wp-admin/admin.php?page=afaq-6310-faq-for-elementor-license | 987 | 2.03 | 24.88 | 35.25 |
Manage FAQ /wp-admin/admin.php?page=afaq-6310-manage-faq | 6,809 | 6.43 | 123.08 | 267.10 |
Manage category /wp-admin/admin.php?page=afaq-6310-manage-category | 5,900 | 3.32 | 46.22 | 138.50 |
Template 11-20 /wp-admin/admin.php?page=afaq-6310-faq-11-20 | 1,979 | 1.95 | 29.72 | 88.27 |
WpMart Plugins /wp-admin/admin.php?page=afaq-6310-wpmart-plugins | 1,047 | 1.95 | 28.31 | 40.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie tables detected upon uninstall: 3 tables
- wp_afaq_6310_style
- wp_afaq_6310_faq
- wp_afaq_6310_category
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- faq_6310_install_default
- afaq_6310_version_info
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% 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 0% 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
- 66× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/accordion-faq-for-elementor/output/css/_css-04.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-12.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-05.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-11.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-09.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-13.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-14.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-03.php
- > /wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-07.php
- > /wp-content/plugins/accordion-faq-for-elementor/output/css/_css-01.php
- 4095× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: cssData in wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-16.php on line 110
- > PHP Notice
Undefined variable: ids in wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-03.php on line 57
- > PHP Notice
Undefined variable: ids in wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-06.php on line 265
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-03.php on line 121
- > PHP Notice
Undefined variable: cssData in wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-08.php on line 56
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/accordion-faq-for-elementor/settings/helper/details_form.php on line 191
- > PHP Notice
Undefined variable: ids in wp-content/plugins/accordion-faq-for-elementor/settings/helper/_helper-18.php on line 199
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/accordion-faq-for-elementor/settings/helper/details_form.php on line 179
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/accordion-faq-for-elementor/settings/css/_css-06.php on line 91
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/accordion-faq-for-elementor/settings/templates/template-13.php on line 18
- > 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 87% from 29 tests
readme.txt 88% 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: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: These screenshots need descriptions #1, #2, #3, #4 in accordion-faq-for-elementor/assets to your readme.txt
accordion-faq-for-elementor/index.php 85% from 13 tests
The main PHP script in "Accordion FAQ with Category" version 1.4 is automatically included on every request by WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("accordion-faq-for-elementor.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected32,209 lines of code in 132 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 1,459 | 1,435 | 27,661 |
CSS | 5 | 111 | 34 | 3,732 |
JavaScript | 4 | 30 | 24 | 816 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.75 |
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 | 31 | |
▷ Named functions | 31 | 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 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
4 PNG files occupy 0.20MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/template-01.png | 139.17KB | 47.59KB | ▼ 65.81% |
assets/css/hover.png | 1.27KB | 0.66KB | ▼ 48.23% |
assets/css/jquery.minicolors.png | 67.02KB | 34.31KB | ▼ 48.80% |
assets/css/fs-sprite.png | 1.07KB | 0.18KB | ▼ 82.82% |