Benchmarks
Plugin footprint 64% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.46MB] [CPU: ▲20.62ms] 50% from 4 tests
Server-side resources used by FAQ Manager For Divi, Gutenberg Block & Shortcode
Please have a look at the following items
- RAM: Total memory usage must be kept under 10MB (currently 10.13MB on /wp-admin/post-new.php?post_type=wpt-faq)
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.46MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.24 ▲5.77 | 65.35 ▲21.82 |
Dashboard /wp-admin | 9.26 ▲5.91 | 74.95 ▲12.44 |
Posts /wp-admin/edit.php | 9.26 ▲5.90 | 82.18 ▲39.60 |
Add New Post /wp-admin/post-new.php | 10.14 ▲4.26 | 113.79 ▲8.60 |
Media Library /wp-admin/upload.php | 9.26 ▲6.03 | 76.69 ▲40.00 |
Add New /wp-admin/post-new.php?post_type=wpt-faq | 10.13 | 114.41 |
All FAQs /wp-admin/edit.php?post_type=wpt-faq | 9.26 | 67.15 |
FAQ Manager /wp-admin/options-general.php?page=faq-manager-with-structured-data-page | 9.26 | 62.16 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.26 | 59.07 |
Server storage [IO: ▲3.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 259 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
fs_accounts |
fs_debug_mode |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
fs_active_plugins |
Browser metrics Passed 4 tests
A check of browser resources used by FAQ Manager For Divi, Gutenberg Block & Shortcode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲137 | 14.66 ▼0.07 | 1.50 ▼0.08 | 27.28 ▼16.07 |
Dashboard /wp-admin | 2,236 ▲58 | 5.69 ▲0.03 | 92.96 ▼20.26 | 75.94 ▲30.73 |
Posts /wp-admin/edit.php | 2,160 ▲63 | 1.95 ▲0.01 | 40.09 ▲1.74 | 38.38 ▲4.66 |
Add New Post /wp-admin/post-new.php | 6,401 ▲4,875 | 27.91 ▲4.75 | 941.23 ▲346.72 | 40.14 ▼9.59 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.20 ▼0.01 | 99.11 ▼5.58 | 79.24 ▲37.06 |
Add New /wp-admin/post-new.php?post_type=wpt-faq | 6,141 | 26.39 | 875.89 | 30.76 |
All FAQs /wp-admin/edit.php?post_type=wpt-faq | 1,121 | 1.96 | 32.64 | 32.40 |
FAQ Manager /wp-admin/options-general.php?page=faq-manager-with-structured-data-page | 1,019 | 1.68 | 27.34 | 62.46 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,118 | 1.65 | 26.05 | 30.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/faq-manager-with-structured-data/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- fs_active_plugins
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- fs_debug_mode
- widget_recent-posts
- fs_accounts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/faq-manager-with-structured-data/resources/views/admin_menu/faq_manager_admin_menu_page.php
- > /wp-content/plugins/faq-manager-with-structured-data/resources/views/shortcodes/accordion.php
- 20× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerInterface' not found in wp-content/plugins/faq-manager-with-structured-data/vendor/wpt00ls/pimple/src/Pimple/Psr11/Container.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/faq-manager-with-structured-data/post-types/wpt-faq.php:56
- > PHP Fatal error
Trait 'WPT\\FaqManager\\Blocks\\Styles\\DefaultComponentFunctions' not found in wp-content/plugins/faq-manager-with-structured-data/includes/classes/Blocks/Styles/TabbedBackgroundColor.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WPTools\\Pimple\\Container' not found in wp-content/plugins/faq-manager-with-structured-data/includes/classes/Loader.php:9
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/faq-manager-with-structured-data/includes/modules/FaqModule/FaqModule.php:5
- > PHP Fatal error
Trait 'WPT\\FaqManager\\Blocks\\Styles\\DefaultComponentFunctions' not found in wp-content/plugins/faq-manager-with-structured-data/includes/classes/Blocks/Styles/Typography.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/faq-manager-with-structured-data/vendor/wpt00ls/container/src/NotFoundExceptionInterface.php:8
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/faq-manager-with-structured-data/vendor/wpt00ls/pimple/src/Pimple/Exception/ExpectedInvokableException.php:36
- > PHP Fatal error
Uncaught Error: Interface 'WPTools\\Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/faq-manager-with-structured-data/vendor/wpt00ls/pimple/src/Pimple/Exception/FrozenServiceException.php:36
- > PHP Fatal error
Trait 'WPT\\FaqManager\\Blocks\\Styles\\DefaultComponentFunctions' not found in wp-content/plugins/faq-manager-with-structured-data/includes/classes/Blocks/Styles/BorderRadius.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
faq-manager-with-structured-data/faq-manager-with-structured-data.php 92% from 13 tests
The main PHP script in "FAQ Manager For Divi, Gutenberg Block & Shortcode" version 5.7.0 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis 97% from 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
There were no executable files found in this plugin37,030 lines of code in 204 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 171 | 8,584 | 18,381 | 36,431 |
JavaScript | 9 | 47 | 63 | 259 |
JSON | 3 | 0 | 0 | 186 |
reStructuredText | 1 | 96 | 139 | 97 |
CSS | 18 | 5 | 11 | 33 |
XML | 1 | 2 | 0 | 16 |
Markdown | 1 | 5 | 0 | 8 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 52.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 5 | |
Traits | 1 | |
Classes | 85 | |
▷ Abstract classes | 2 | 2.35% |
▷ Concrete classes | 83 | 97.65% |
▷ Final classes | 2 | 2.41% |
Methods | 1,442 | |
▷ Static methods | 220 | 15.26% |
▷ Public methods | 1,039 | 72.05% |
▷ Protected methods | 17 | 1.18% |
▷ Private methods | 386 | 26.77% |
Functions | 118 | |
▷ Named functions | 104 | 88.14% |
▷ Anonymous functions | 14 | 11.86% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.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.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/faq-icon.png | 1.70KB | 1.79KB | 0.00% |
freemius/assets/img/faq-manager-with-structured-data.png | 6.21KB | 4.30KB | ▼ 30.84% |