Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.71ms] Passed 4 tests
An overview of server-side resources used by VS Knowledge Base
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.76 ▼5.42 |
Dashboard /wp-admin | 3.36 ▲0.05 | 50.27 ▼2.99 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 53.87 ▲1.15 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 97.48 ▼7.37 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.04 ▼3.04 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/very-simple-knowledge-base/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_vskb_widget |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for VS Knowledge Base
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲31 | 13.18 ▼1.11 | 1.81 ▼0.37 | 40.76 ▼6.03 |
Dashboard /wp-admin | 2,224 ▲18 | 4.79 ▼0.10 | 113.75 ▲9.10 | 43.77 ▼1.69 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.02 | 38.58 ▼2.11 | 36.33 ▼1.52 |
Add New Post /wp-admin/post-new.php | 1,548 ▲12 | 23.28 ▼0.02 | 666.72 ▲5.17 | 52.04 ▼19.86 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.27 ▲0.14 | 108.16 ▼10.24 | 45.82 ▼4.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: wiki, faq, simple, frequently asked questions, knowledge base
very-simple-knowledge-base/vskb.php 85% from 13 tests
The primary PHP file in "VS Knowledge Base" version 6.9 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("very-simple-knowledge-base.php" instead of "vskb.php")
- Description: Keep the plugin description shorter than 140 characters (currently 152 characters long)
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
Success! There were no dangerous files found in this plugin291 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 15 | 48 | 245 |
CSS | 2 | 20 | 22 | 46 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 4.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 files were detected