Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.77MB] [CPU: ▼290.24ms] Passed 4 tests
An overview of server-side resources used by Client Dash
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.34 ▲0.82 | 68.60 ▲10.82 |
Dashboard /wp-admin | 4.18 ▲0.77 | 44.65 ▲4.97 |
Posts /wp-admin/edit.php | 4.41 ▲0.76 | 46.68 ▲1.60 |
Add New Post /wp-admin/post-new.php | 7.71 ▲0.73 | 109.13 ▼1,172.29 |
Media Library /wp-admin/upload.php | 4.13 ▲0.83 | 30.57 ▲4.75 |
Server storage [IO: ▲5.86MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 182 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_cd_customizations |
New WordPress options |
---|
clientdash_db_version |
Browser metrics Passed 4 tests
Checking browser requirements for Client Dash
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,812 ▲70 | 16.87 ▲1.30 | 5.69 ▼0.95 | 2.11 ▲0.06 |
Dashboard /wp-admin | 2,944 ▲83 | 7.13 ▲0.96 | 128.65 ▼7.28 | 161.35 ▲0.97 |
Posts /wp-admin/edit.php | 2,740 ▲46 | 3.65 ▲0.29 | 73.06 ▲7.30 | 143.19 ▼0.19 |
Add New Post /wp-admin/post-new.php | 1,742 ▲81 | 19.81 ▲3.47 | 401.32 ▼30.07 | 170.09 ▲22.87 |
Media Library /wp-admin/upload.php | 1,747 ▲49 | 6.17 ▲0.64 | 132.65 ▼13.07 | 202.46 ▲15.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_cd_customizations
- This plugin did not uninstall successfully, leaving 1 option in the database
- clientdash_db_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #6, #7 in client-dash/assets to your readme.txt
client-dash/client-dash.php Passed 13 tests
Analyzing the main PHP file in "Client Dash" version 2.1.6
54 characters long description:
Creating a more intuitive admin interface for clients.
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
Good job! No executable or dangerous file extensions detected20,769 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 28 | 2,733 | 1,104 | 10,532 |
PHP | 94 | 2,132 | 4,446 | 5,656 |
SVG | 2 | 0 | 0 | 2,683 |
Sass | 25 | 286 | 11 | 1,608 |
JSON | 1 | 0 | 0 | 225 |
Markdown | 2 | 8 | 0 | 34 |
CSS | 6 | 6 | 7 | 31 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 12.05 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 4 | 10.26% |
▷ Concrete classes | 35 | 89.74% |
▷ Final classes | 1 | 2.86% |
Methods | 264 | |
▷ Static methods | 96 | 36.36% |
▷ Public methods | 224 | 84.85% |
▷ Protected methods | 3 | 1.14% |
▷ Private methods | 37 | 14.02% |
Functions | 71 | |
▷ Named functions | 68 | 95.77% |
▷ Anonymous functions | 3 | 4.23% |
Constants | 8 | |
▷ Global constants | 8 | 100.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
8 PNG files occupy 1.42MB with 0.95MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dist/images/cd-pro-logo.png | 24.09KB | 7.63KB | ▼ 68.31% |
assets/static/screenshot-customize-admin-page.png | 468.49KB | 124.72KB | ▼ 73.38% |
assets/dist/images/tutorial-editor.png | 23.63KB | 9.79KB | ▼ 58.60% |
assets/static/screenshot-customize-dashboard.png | 325.79KB | 94.23KB | ▼ 71.08% |
assets/static/banner.png | 180.92KB | 64.38KB | ▼ 64.42% |