Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.30ms] Passed 4 tests
Analyzing server-side resources used by WP Help
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 38.06 ▼4.64 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.55 ▼2.29 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.73 ▼2.55 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 88.40 ▼11.72 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.08 ▲2.44 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
cws_wp_help |
Browser metrics Passed 4 tests
A check of browser resources used by WP Help
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 14.80 ▲0.56 | 1.71 ▼0.25 | 39.46 ▼15.78 |
Dashboard /wp-admin | 2,221 ▲33 | 4.88 ▼0.18 | 106.68 ▼12.85 | 42.54 ▼4.49 |
Posts /wp-admin/edit.php | 2,107 ▲15 | 2.06 ▲0.06 | 38.64 ▼3.50 | 37.08 ▲5.80 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.07 ▲4.81 | 651.05 ▲35.36 | 58.02 ▲8.32 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.19 ▲0.01 | 93.35 ▲0.42 | 45.00 ▲2.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- cws_wp_help
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: client sites, docs, help, documentation, clients
wp-help/wp-help.php Passed 13 tests
The main PHP script in "WP Help" version 1.7.4 is automatically included on every request by WordPress
131 characters long description:
Administrators can create detailed, hierarchical documentation for the site's authors and editors, viewable in the WordPress admin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin964 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 130 | 118 | 960 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 44.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 5 | 6.41% |
▷ Public methods | 52 | 66.67% |
▷ Protected methods | 21 | 26.92% |
▷ Private methods | 5 | 6.41% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort.png | 0.22KB | 0.16KB | ▼ 27.39% |