Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure had errors
- > User deprecated in wp-includes/functions.php+5737
Function WP_User_Query was called with an argument that is deprecated since version 5.9.0! who is deprecated. Use capability instead.
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.22ms] Passed 4 tests
A check of server-side resources used by WP Users Guide
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 34.68 ▼5.27 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.38 ▼2.49 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.16 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 81.41 ▼17.99 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.19 ▲2.89 |
ユーザーマニュアル /wp-admin/options-general.php?page=user-guide-setting | 3.25 | 30.40 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
user_guide_option |
Browser metrics Passed 4 tests
WP Users Guide: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,012 ▲266 | 13.80 ▼0.58 | 1.89 ▲0.07 | 41.44 ▼2.95 |
Dashboard /wp-admin | 2,418 ▲230 | 5.52 ▼0.34 | 108.34 ▼0.16 | 56.32 ▲8.58 |
Posts /wp-admin/edit.php | 2,232 ▲146 | 2.46 ▲0.41 | 45.01 ▲7.35 | 81.91 ▲40.97 |
Add New Post /wp-admin/post-new.php | 1,688 ▲160 | 22.84 ▲4.40 | 685.27 ▲84.87 | 42.01 ▼6.16 |
Media Library /wp-admin/upload.php | 1,491 ▲100 | 4.74 ▲0.56 | 106.10 ▲7.17 | 52.81 ▲7.23 |
ユーザーマニュアル /wp-admin/options-general.php?page=user-guide-setting | 1,033 | 2.40 | 36.31 | 76.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'ISP_UserGuide' not found
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- user_guide_option
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (ダッシュボードを開いた時に「ようこそ」画面を表示します。 This is "Welcome Screen" on the dashboard.), #2 (ツールチップによる簡易的なヘルプを表示します。 It will display a simple help by the tooltip.), #3 (ヘルプ画面のインデックス。 Index of help.), #4 (詳細なヘルプ画面。 show help.)
wp-users-guide/users-guide.php 92% from 13 tests
The main file in "WP Users Guide" v. 1.01 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-users-guide.php" instead of "users-guide.php")
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
Good job! No executable or dangerous file extensions detected2,587 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 99 | 98 | 1,559 |
JavaScript | 2 | 40 | 53 | 524 |
SVG | 1 | 0 | 0 | 288 |
CSS | 3 | 14 | 24 | 216 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
108 PNG files occupy 0.61MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/category-edit007.png | 5.88KB | 4.28KB | ▼ 27.22% |
css/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
images/image007.png | 11.24KB | 9.34KB | ▼ 16.86% |
images/visual-editor029.png | 0.40KB | 0.21KB | ▼ 47.22% |
images/image-edit009.png | 0.46KB | 0.24KB | ▼ 48.11% |