Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲7.36MB] [CPU: ▲54.68ms] 50% from 4 tests
This is a short check of server-side resources used by Accordion / FAQ / Docs – Helpie WordPress FAQ Accordion plugin
The following require your attention
- RAM: Total memory usage must be kept under 10MB (currently 10.84MB on /wp-admin/admin.php?page=freemius)
- Extra RAM: The extra memory usage should kept under 5MB (currently 7.36MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 10.75 ▲7.28 | 88.61 ▲46.38 |
Dashboard /wp-admin | 10.66 ▲7.36 | 106.41 ▲54.66 |
Posts /wp-admin/edit.php | 10.71 ▲7.35 | 103.83 ▲57.49 |
Add New Post /wp-admin/post-new.php | 15.24 ▲9.36 | 160.53 ▲60.18 |
Media Library /wp-admin/upload.php | 10.66 ▲7.43 | 102.16 ▲67.49 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 10.84 | 91.84 |
Server storage [IO: ▲10.30MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 620 new files
Database: no new tables, 16 new options
New WordPress options |
---|
helpie-faq |
helpie_faq_slug_updated |
fs_debug_mode |
helpie_version |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
helpie_faq_default_category |
helpie_faq_page_id |
all_helpie_faq_page_id |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Accordion / FAQ / Docs – Helpie WordPress FAQ Accordion plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,083 ▲332 | 16.12 ▲1.41 | 38.79 ▲37.14 | 26.92 ▼17.40 |
Dashboard /wp-admin | 2,245 ▲75 | 6.99 ▲1.40 | 119.14 ▲13.61 | 80.69 ▲32.52 |
Posts /wp-admin/edit.php | 2,171 ▲74 | 3.69 ▲1.71 | 56.18 ▲18.61 | 38.69 ▲2.96 |
Add New Post /wp-admin/post-new.php | 1,651 ▲125 | 22.25 ▼1.31 | 665.02 ▲58.80 | 35.84 ▼11.98 |
Media Library /wp-admin/upload.php | 1,456 ▲53 | 5.57 ▲1.39 | 113.68 ▲21.05 | 75.40 ▲34.13 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,119 | 3.10 | 44.99 | 27.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/helpie-faq/vendor/pauple/pluginator/src/Library/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 16 options in the database
- db_upgraded
- helpie_faq_page_id
- widget_theysaidso_widget
- fs_active_plugins
- helpie_faq_category_children
- helpie-faq
- helpie_faq_slug_updated
- theysaidso_admin_options
- helpie_faq_default_category
- widget_recent-posts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/helpie-faq/features/faq-group/config.php
- 115× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/helpie-faq/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php:4
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (FAQ Accordion and Toggle - Embed them in any post or page)
helpie-faq/helpie-faq.php Passed 13 tests
The main file in "Accordion / FAQ / Docs – Helpie WordPress FAQ Accordion plugin" v. 1.14 serves as a complement to information provided in readme.txt and as the entry point to the plugin
28 characters long description:
Awesome WordPress FAQ plugin
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin90,414 lines of code in 521 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 437 | 14,418 | 20,873 | 62,024 |
CSS | 27 | 2,464 | 636 | 10,562 |
SVG | 5 | 0 | 0 | 9,554 |
PO File | 22 | 3,325 | 3,433 | 6,787 |
Sass | 8 | 188 | 36 | 1,120 |
JSX | 5 | 76 | 49 | 310 |
XML | 2 | 6 | 0 | 42 |
JavaScript | 15 | 0 | 0 | 15 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 23.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 43 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 328 | |
▷ Abstract classes | 7 | 2.13% |
▷ Concrete classes | 321 | 97.87% |
▷ Final classes | 0 | 0.00% |
Methods | 2,424 | |
▷ Static methods | 307 | 12.67% |
▷ Public methods | 1,855 | 76.53% |
▷ Protected methods | 135 | 5.57% |
▷ Private methods | 434 | 17.90% |
Functions | 156 | |
▷ Named functions | 139 | 89.10% |
▷ Anonymous functions | 17 | 10.90% |
Constants | 167 | |
▷ Global constants | 116 | 69.46% |
▷ Class constants | 51 | 30.54% |
▷ Public constants | 51 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/pauple/pluginator/src/Library/freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
vendor/pauple/pluginator/src/Library/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
assets/libs/chosen/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
vendor/pauple/pluginator/src/Library/freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/img/helpie_faq-logo.png | 2.43KB | 1.18KB | ▼ 51.32% |