Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.89MB] [CPU: ▼0.80ms] Passed 4 tests
Server-side resources used by WordPress Knowledge base & Documentation Plugin - WP Knowledgebase
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.76 | 45.37 ▲4.66 |
Dashboard /wp-admin | 4.22 ▲0.88 | 57.85 ▼4.68 |
Posts /wp-admin/edit.php | 4.34 ▲0.99 | 58.07 ▲10.78 |
Add New Post /wp-admin/post-new.php | 6.98 ▲1.10 | 92.46 ▼11.52 |
Media Library /wp-admin/upload.php | 4.14 ▲0.92 | 42.79 ▲8.34 |
Categories /wp-admin/edit-tags.php?taxonomy=kbe_taxonomy&post_type=kbe_knowledgebase | 4.14 | 40.48 |
Search Analytics /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-search-analytics | 4.12 | 39.61 |
Article Feedback /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-article-feedback | 4.12 | 37.03 |
Getting Started /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-getting-started | 4.15 | 38.75 |
Settings /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-settings | 4.27 | 39.53 |
Articles /wp-admin/edit.php?post_type=kbe_knowledgebase | 4.20 | 42.80 |
Order /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-order | 4.15 | 42.18 |
New Article /wp-admin/post-new.php?post_type=kbe_knowledgebase | 7.01 | 87.09 |
Tags /wp-admin/edit-tags.php?taxonomy=kbe_tags&post_type=kbe_knowledgebase | 4.14 | 40.32 |
Server storage [IO: ▲2.12MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 154 new files
Database: no new tables, 26 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
kbe_search_setting |
kbe_show_page_getting_started |
widget_kbe_search_widget |
kbe_bgcolor |
kbe_breadcrumbs_separator |
kbe_version |
kbe_search_no_results_message |
kbe_article_qty |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Knowledge base & Documentation Plugin - WP Knowledgebase
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲217 | 14.01 ▼0.37 | 8.21 ▲6.42 | 43.93 ▲0.48 |
Dashboard /wp-admin | 2,283 ▲95 | 4.84 ▼0.03 | 114.20 ▼2.94 | 47.92 ▲0.36 |
Posts /wp-admin/edit.php | 2,165 ▲76 | 2.02 ▼0.01 | 36.57 ▲2.37 | 36.00 ▲3.21 |
Add New Post /wp-admin/post-new.php | 1,607 ▲78 | 18.71 ▲0.31 | 658.79 ▲9.69 | 55.09 ▲0.46 |
Media Library /wp-admin/upload.php | 1,468 ▲77 | 4.29 ▲0.10 | 102.02 ▼1.51 | 46.47 ▲2.76 |
Categories /wp-admin/edit-tags.php?taxonomy=kbe_taxonomy&post_type=kbe_knowledgebase | 1,339 | 2.32 | 27.82 | 32.23 |
Search Analytics /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-search-analytics | 986 | 2.23 | 29.83 | 50.39 |
Article Feedback /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-article-feedback | 975 | 2.39 | 35.12 | 41.12 |
Getting Started /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-getting-started | 1,554 | 2.25 | 29.75 | 60.83 |
Settings /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-settings | 2,016 | 2.89 | 59.48 | 45.07 |
Articles /wp-admin/edit.php?post_type=kbe_knowledgebase | 1,302 | 2.37 | 36.58 | 42.16 |
Order /wp-admin/edit.php?post_type=kbe_knowledgebase&page=kbe-order | 997 | 2.35 | 30.79 | 40.18 |
New Article /wp-admin/post-new.php?post_type=kbe_knowledgebase | 6,344 | 23.53 | 888.38 | 33.21 |
Tags /wp-admin/edit-tags.php?taxonomy=kbe_tags&post_type=kbe_knowledgebase | 1,308 | 2.32 | 27.70 | 31.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 26 options
- kbe_search_no_results_message
- kbe_breadcrumbs_setting
- db_upgraded
- kbe_bgcolor
- widget_recent-comments
- kbe_show_page_getting_started
- kbe_sidebar_inner
- kbe_plugin_slug
- widget_theysaidso_widget
- kbe_breadcrumbs_separator
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: knowledge base, wiki, faqs, knowledgebase, wp knowledgebase
wp-knowledgebase/wp-knowledgebase.php Passed 13 tests
The principal PHP file in "WordPress Knowledge base & Documentation Plugin - WP Knowledgebase" v. 1.3.4 is loaded by WordPress automatically on each request
54 characters long description:
Simple and flexible knowledgebase plugin for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin13,659 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 79 | 2,572 | 2,992 | 5,619 |
CSS | 9 | 348 | 224 | 3,031 |
PO File | 13 | 1,192 | 1,316 | 2,805 |
JavaScript | 7 | 400 | 470 | 2,162 |
YAML | 1 | 0 | 0 | 39 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 6 | 21.43% |
▷ Concrete classes | 22 | 78.57% |
▷ Final classes | 0 | 0.00% |
Methods | 167 | |
▷ Static methods | 6 | 3.59% |
▷ Public methods | 135 | 80.84% |
▷ Protected methods | 31 | 18.56% |
▷ Private methods | 1 | 0.60% |
Functions | 120 | |
▷ Named functions | 120 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
25 PNG files occupy 1.25MB with 0.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/doc-kb-main-page.png | 106.77KB | 41.16KB | ▼ 61.45% |
screenshot-2.png | 416.23KB | 109.49KB | ▼ 73.69% |
assets/images/doc-kb-main-page-admin-notice.png | 38.10KB | 14.92KB | ▼ 60.84% |
template-legacy/images/kbe_icon_arrow.png | 0.09KB | 0.15KB | 0.00% |
template/images/kbe_icon-plus.png | 0.17KB | 0.22KB | 0.00% |