Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.03ms] Passed 4 tests
Server-side resources used by Clustdoc Client portal – Onboard anyone from WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.07 ▼4.10 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.58 ▼6.23 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 53.07 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 105.83 ▲8.13 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.31 ▲4.31 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Clustdoc Client portal – Onboard anyone from WP: 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,815 ▲69 | 13.24 ▼1.13 | 1.71 ▼0.05 | 42.43 ▲1.02 |
Dashboard /wp-admin | 2,206 ▲18 | 5.80 ▼0.07 | 100.87 ▼4.02 | 79.17 ▲35.67 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.97 ▼0.06 | 41.13 ▲3.60 | 37.73 ▲3.28 |
Add New Post /wp-admin/post-new.php | 6,195 ▲4,662 | 19.46 ▼3.82 | 894.60 ▲209.72 | 37.42 ▼14.54 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.17 ▼0.03 | 99.24 ▼3.74 | 47.45 ▲1.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: client onboarding, receive client applications, clustdoc, document collection, client portal
clust-client-portal/clustdoc-client-portal.php 85% from 13 tests
This is the main PHP file of "Clustdoc Client portal – Onboard anyone from WP" version 2.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("clust-client-portal.php" instead of "clustdoc-client-portal.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected465 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 43 | 27 | 309 |
PO File | 1 | 27 | 30 | 80 |
JavaScript | 2 | 6 | 6 | 76 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 9 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 40.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.33MB with 0.16MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/clust-icon.png | 1.49KB | 0.87KB | ▼ 41.33% |
images/clustdoc-icon.png | 1.49KB | 0.87KB | ▼ 41.33% |
images/menu-icon.png | 1.33KB | 0.78KB | ▼ 41.53% |
images/settings-screenshot.png | 334.77KB | 111.89KB | ▼ 66.58% |