Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲3.46ms] Passed 4 tests
Server-side resources used by Yada Wiki
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 45.24 ▲2.61 |
Dashboard /wp-admin | 3.46 ▲0.15 | 51.97 ▲2.97 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 51.86 ▼0.07 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.30 | 109.28 ▲17.37 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 44.39 ▲8.32 |
Add New /wp-admin/post-new.php?post_type=yada_wiki | 3.58 | 56.34 |
Wiki Categories /wp-admin/edit-tags.php?taxonomy=wiki_cats&post_type=yada_wiki | 3.37 | 36.11 |
Wiki Tags /wp-admin/edit-tags.php?taxonomy=wiki_tags&post_type=yada_wiki | 3.37 | 35.36 |
All Wiki Pages /wp-admin/edit.php?post_type=yada_wiki | 3.43 | 38.63 |
Yada Wiki /wp-admin/options-general.php?page=yada_wiki | 3.39 | 40.41 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 26 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_yadawiki_activity_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_yadawiki_toc_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Yada Wiki: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲72 | 14.62 ▼0.11 | 1.73 ▲0.08 | 44.52 ▼4.15 |
Dashboard /wp-admin | 2,237 ▲57 | 5.65 ▲0.05 | 86.52 ▼3.29 | 41.30 ▲0.02 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.01 ▲0.06 | 38.37 ▲3.71 | 34.44 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.36 ▼0.07 | 663.84 ▼117.69 | 63.43 ▲4.92 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.20 ▲0.04 | 94.67 ▼12.26 | 44.48 ▼6.45 |
Add New /wp-admin/post-new.php?post_type=yada_wiki | 2,940 | 7.82 | 229.13 | 86.45 |
Wiki Categories /wp-admin/edit-tags.php?taxonomy=wiki_cats&post_type=yada_wiki | 1,313 | 2.12 | 25.69 | 29.20 |
Wiki Tags /wp-admin/edit-tags.php?taxonomy=wiki_tags&post_type=yada_wiki | 1,282 | 2.12 | 27.08 | 30.34 |
All Wiki Pages /wp-admin/edit.php?post_type=yada_wiki | 1,133 | 2.05 | 30.65 | 29.11 |
Yada Wiki /wp-admin/options-general.php?page=yada_wiki | 911 | 2.15 | 22.55 | 29.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- widget_yadawiki_toc_widget
- widget_recent-posts
- can_compress_scripts
- widget_yadawiki_activity_widget
- theysaidso_admin_options
- widget_recent-comments
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
Please take a closer look at the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/yada-wiki/inc/functions-widgets.php
- > /wp-content/plugins/yada-wiki/inc/functions-settings.php
- > /wp-content/plugins/yada-wiki/inc/functions-settings-load.php
- > /wp-content/plugins/yada-wiki/inc/functions-register-cpt.php
- > /wp-content/plugins/yada-wiki/inc/functions-public.php
- > /wp-content/plugins/yada-wiki/inc/functions-admin.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/yada-wiki/inc/yadawiki-dialog-link.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/yada-wiki/inc/yadawiki-dialog-toc.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: faq, shortcode, wiki, page links, internal links...
yada-wiki/yada-wiki.php 92% from 13 tests
This is the main PHP file of "Yada Wiki" version 3.4.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,236 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 180 | 290 | 1,427 |
PO File | 2 | 196 | 196 | 481 |
JavaScript | 3 | 2 | 7 | 206 |
CSS | 1 | 14 | 2 | 122 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 17.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 19 | |
▷ Static methods | 1 | 5.26% |
▷ Public methods | 15 | 78.95% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 21.05% |
Functions | 41 | |
▷ Named functions | 41 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/img/wiki-toc.png | 0.46KB | 0.34KB | ▼ 25.53% |
js/img/wiki-link.png | 0.41KB | 0.36KB | ▼ 12.09% |