Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲3.10MB] [CPU: ▲9.36ms] 75% from 4 tests
A check of server-side resources used by Knowledge Base for Documentation, FAQs with AI Assistance
The following require your attention
- CPU: The total CPU usage must kept under 500.00ms (currently 2,580.27ms on /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-add-ons)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.44 ▲2.98 | 50.78 ▲10.32 |
Dashboard /wp-admin | 6.46 ▲3.12 | 63.44 ▲1.94 |
Posts /wp-admin/edit.php | 6.52 ▲3.16 | 68.56 ▲26.16 |
Add New Post /wp-admin/post-new.php | 9.20 ▲3.32 | 99.45 ▲6.60 |
Media Library /wp-admin/upload.php | 6.39 ▲3.16 | 55.92 ▲18.58 |
Analytics /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-plugin-analytics | 7.11 | 62.51 |
All Articles /wp-admin/edit.php?post_type=epkb_post_type_1 | 7.13 | 61.95 |
Add-ons / News /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-add-ons | 7.29 | 2,580.27 |
Categories /wp-admin/edit-tags.php?taxonomy=epkb_post_type_1_category&post_type=epkb_post_type_1 | 7.61 | 88.83 |
Tags /wp-admin/edit-tags.php?taxonomy=epkb_post_type_1_tag&post_type=epkb_post_type_1 | 7.16 | 62.77 |
Configuration /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-kb-configuration | 7.18 | 58.27 |
Add New Article /wp-admin/post-new.php?post_type=epkb_post_type_1 | 9.59 | 113.87 |
Get Started /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-kb-need-help | 7.41 | 78.79 |
Server storage [IO: ▲16.29MB] [DB: ▲0.03MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 387 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Knowledge Base for Documentation, FAQs with AI Assistance
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲83 | 14.43 ▲0.19 | 2.02 ▲0.38 | 41.18 ▼3.55 |
Dashboard /wp-admin | 2,244 ▲73 | 5.61 ▲0.01 | 96.95 ▼0.22 | 42.00 ▲0.82 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 1.97 ▲0.03 | 40.08 ▲0.88 | 35.85 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 23.19 ▲0.16 | 600.41 ▼82.79 | 51.39 ▲0.29 |
Media Library /wp-admin/upload.php | 1,455 ▲58 | 4.18 ▼0.00 | 98.12 ▼0.88 | 45.63 ▲3.74 |
Analytics /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-plugin-analytics | 1,837 | 3.03 | 65.14 | 76.71 |
All Articles /wp-admin/edit.php?post_type=epkb_post_type_1 | 1,889 | 2.43 | 55.73 | 50.96 |
Add-ons / News /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-add-ons | 5,489 | 16.33 | 542.49 | 77.61 |
Categories /wp-admin/edit-tags.php?taxonomy=epkb_post_type_1_category&post_type=epkb_post_type_1 | 6,884 | 4.06 | 73.14 | 118.57 |
Tags /wp-admin/edit-tags.php?taxonomy=epkb_post_type_1_tag&post_type=epkb_post_type_1 | 2,159 | 3.97 | 62.18 | 90.45 |
Configuration /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-kb-configuration | 1,681 | 2.27 | 41.84 | 45.58 |
Add New Article /wp-admin/post-new.php?post_type=epkb_post_type_1 | 6,893 | 20.37 | 945.59 | 54.59 |
Get Started /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-kb-need-help | 4,731 | 2.32 | 44.42 | 48.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 26× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function epkb_get_instance() in wp-content/plugins/echo-knowledge-base/templates/layout-categories.php:11
- > PHP Fatal error
Uncaught Error: Class 'EPKB_Editor_KB_Base_Config' not found in wp-content/plugins/echo-knowledge-base/includes/admin/editor/class-epkb-editor-search-page-config.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function epkb_get_instance() in wp-content/plugins/echo-knowledge-base/templates/layout-basic.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/echo-knowledge-base/includes/system/plugin-links.php:24
- > PHP Fatal error
Uncaught Error: Class 'EPKB_Editor_KB_Base_Config' not found in wp-content/plugins/echo-knowledge-base/includes/admin/editor/class-epkb-editor-archive-page-config.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/echo-knowledge-base/includes/system/class-epkb-help-pointers.php:171
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/echo-knowledge-base/includes/admin/admin-functions.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/echo-knowledge-base/templates/feature-comments.php:18
- > PHP Fatal error
Uncaught Error: Class 'EPKB_Layout' not found in wp-content/plugins/echo-knowledge-base/includes/features/layouts/class-epkb-layout-basic.php:8
- > PHP Fatal error
Uncaught Error: Class 'EPKB_Utilities' not found in wp-content/plugins/echo-knowledge-base/templates/feature-navigation-back.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-plugin-analytics
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog,jquery-effects-core,jquery-effects-bounce,jquery-ui-sortable&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'getContext')" "TypeError: Cannot read properties of null (reading 'getContext')\n at e (/wp-content/plugins/echo-knowledge-base/js/admin-analytics.min.js?ver=11.1.0:1:906)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/echo-knowledge-base/js/admin-analytics.min.js?ver=11.1.0:1:1189)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog,jquery-effects-core,jquery-effects-bounce,jquery-ui-sortable&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog,jquery-effects-core,jquery-effects-bounce,jquery-ui-sortable&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=epkb_post_type_1&page=epkb-plugin-analytics
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-controlgroup,j&load%5Bchunk_1%5D=query-ui-checkboxradio,jquery-ui-button,jquery-ui-dialog,jquery-effects-core,jquery-effects-bounce,jquery-ui-sortable&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'getContext')
- > GET request to /wp-admin/post-new.php?post_type=epkb_post_type_1
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
Using custom components as toolbar controls is deprecated since version 5.6. Please use ToolbarItem, ToolbarButton or ToolbarDropdownMenu components instead. See: https://developer.wordpress.org/block-editor/components/toolbar-button/#inside-blockcontrols
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
echo-knowledge-base/echo-knowledge-base.php Passed 13 tests
"Knowledge Base for Documentation, FAQs with AI Assistance" version 11.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
Create Echo Knowledge Base articles, docs and FAQs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin100,034 lines of code in 216 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 67 | 4,848 | 1,660 | 49,877 |
PHP | 113 | 7,645 | 8,671 | 38,846 |
JavaScript | 33 | 2,546 | 1,318 | 7,857 |
SVG | 2 | 0 | 0 | 2,746 |
XML | 1 | 0 | 0 | 708 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 50.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 358.00 |
Average method complexity | 5.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 96 | |
▷ Abstract classes | 4 | 4.17% |
▷ Concrete classes | 92 | 95.83% |
▷ Final classes | 1 | 1.09% |
Methods | 1,007 | |
▷ Static methods | 623 | 61.87% |
▷ Public methods | 625 | 62.07% |
▷ Protected methods | 13 | 1.29% |
▷ Private methods | 369 | 36.64% |
Functions | 57 | |
▷ Named functions | 52 | 91.23% |
▷ Anonymous functions | 5 | 8.77% |
Constants | 88 | |
▷ Global constants | 2 | 2.27% |
▷ Class constants | 86 | 97.73% |
▷ Public constants | 86 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
58 PNG files occupy 1.38MB with 0.83MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/demo-icons/icons/mouse-icon.png | 50.67KB | 21.74KB | ▼ 57.10% |
img/demo-icons/icons/document-pencil-icon.png | 44.41KB | 17.95KB | ▼ 59.59% |
img/demo-icons/icons/operations.png | 48.88KB | 20.64KB | ▼ 57.77% |
img/demo-icons/icons/globe-icon.png | 62.33KB | 26.89KB | ▼ 56.85% |
img/setting-icons/search-box-icon-active.png | 1.43KB | 0.46KB | ▼ 67.85% |