Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼2.55ms] Passed 4 tests
An overview of server-side resources used by Knowledge Base - Knowledge Base Maker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 40.05 ▼2.59 |
Dashboard /wp-admin | 3.58 ▲0.27 | 47.70 ▼3.97 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 52.10 ▲2.66 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 88.19 ▼6.28 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 44.54 ▲7.01 |
Categories /wp-admin/edit-tags.php?taxonomy=ykb-knowledge-category&post_type=ykbpost | 3.43 | 50.62 |
Configuration /wp-admin/edit.php?post_type=ykbpost&page=ykbConfigPage | 3.42 | 36.48 |
Add New /wp-admin/post-new.php?post_type=ykbpost | 3.63 | 55.33 |
All Knowledge Base /wp-admin/edit.php?post_type=ykbpost | 3.48 | 40.32 |
More Ideas? /wp-admin/edit.php?post_type=ykbpost&page=ykbIdeasPage | 3.41 | 33.18 |
Support /wp-admin/edit.php?post_type=ykbpost&page=ykbsupportpage | 3.41 | 35.56 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
ykb_redirect |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Knowledge Base - Knowledge Base Maker
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲96 | 13.37 ▼0.93 | 4.27 ▲2.69 | 39.70 ▼1.91 |
Dashboard /wp-admin | 2,262 ▲85 | 5.69 ▲0.07 | 88.77 ▲2.85 | 39.03 ▼5.01 |
Posts /wp-admin/edit.php | 2,183 ▲83 | 2.04 ▼0.00 | 41.39 ▲1.29 | 36.64 ▲2.58 |
Add New Post /wp-admin/post-new.php | 1,589 ▲63 | 23.32 ▲5.72 | 680.14 ▲57.88 | 55.08 ▲0.87 |
Media Library /wp-admin/upload.php | 1,466 ▲63 | 4.24 ▼0.01 | 135.16 ▲32.38 | 60.04 ▲10.31 |
Categories /wp-admin/edit-tags.php?taxonomy=ykb-knowledge-category&post_type=ykbpost | 1,350 | 2.18 | 35.34 | 36.37 |
Configuration /wp-admin/edit.php?post_type=ykbpost&page=ykbConfigPage | 999 | 1.68 | 23.40 | 27.52 |
Add New /wp-admin/post-new.php?post_type=ykbpost | 2,417 | 7.69 | 174.14 | 67.92 |
All Knowledge Base /wp-admin/edit.php?post_type=ykbpost | 1,167 | 2.00 | 33.66 | 27.76 |
More Ideas? /wp-admin/edit.php?post_type=ykbpost&page=ykbIdeasPage | 859 | 1.84 | 24.73 | 22.69 |
Support /wp-admin/edit.php?post_type=ykbpost&page=ykbsupportpage | 859 | 1.70 | 27.27 | 21.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/knowledge-base-maker/public/views/admin/supportMetabox.php
- 13× 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 _e() in wp-content/plugins/knowledge-base-maker/public/views/admin/shortcodeMetabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function ykb\\admin\\add_action() in wp-content/plugins/knowledge-base-maker/com/classes/admin/Actions.php:11
- > PHP Fatal error
Uncaught Error: Class 'ykb\\KnowledgeBase' not found in wp-content/plugins/knowledge-base-maker/com/classes/front/KnowledgeBaseSearch.php:5
- > PHP Warning
Use of undefined constant YKB_SUPPORT_URL - assumed 'YKB_SUPPORT_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/knowledge-base-maker/public/views/admin/supportMetabox.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/knowledge-base-maker/knowledge-base-maker.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function ykb\\add_action() in wp-content/plugins/knowledge-base-maker/com/classes/global/Actions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function ykb\\admin\\add_action() in wp-content/plugins/knowledge-base-maker/com/classes/admin/CSS.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/knowledge-base-maker/public/views/front/searchBar.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function ykb\\add_action() in wp-content/plugins/knowledge-base-maker/com/classes/global/Ajax.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function ykb\\plugins_url() in wp-content/plugins/knowledge-base-maker/com/config/config.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: poll, poll form, polls
knowledge-base-maker/knowledge-base-maker.php Passed 13 tests
The entry point to "Knowledge Base - Knowledge Base Maker" version 1.1.8 is a PHP file that has certain tags in its header comment area
83 characters long description:
WordPress Knowledge Base plugin allow to create many Knowledge Base Maker articles.
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
Everything looks great! No dangerous files found in this plugin7,828 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 7 | 8 | 6,878 |
PHP | 21 | 174 | 87 | 908 |
JavaScript | 1 | 7 | 0 | 42 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 6.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 16 | 20.51% |
▷ Public methods | 70 | 89.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.26% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin