Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.68ms] Passed 4 tests
Server-side resources used by Dashboard User profile Detais-(DUPD)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.22 ▼0.20 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.67 ▼2.07 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 43.97 ▼8.40 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.81 ▼7.84 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.64 ▼0.42 |
Dashboard User profile Detais-(DUPD) /wp-admin/options-general.php?page=dupd-plugin-options_options | 3.22 | 29.50 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Dashboard User profile Detais-(DUPD): an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,954 ▲219 | 13.26 ▼0.74 | 5.81 ▲3.92 | 42.86 ▼4.27 |
Dashboard /wp-admin | 2,355 ▲164 | 4.85 ▼0.25 | 106.85 ▼7.84 | 43.59 ▼0.68 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.03 ▼0.00 | 34.34 ▼7.32 | 32.16 ▼3.97 |
Add New Post /wp-admin/post-new.php | 1,517 ▼3 | 17.43 ▼5.82 | 592.17 ▼47.99 | 81.70 ▲17.25 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.25 ▲0.08 | 99.15 ▲0.08 | 42.01 ▲1.02 |
Dashboard User profile Detais-(DUPD) /wp-admin/options-general.php?page=dupd-plugin-options_options | 879 | 2.05 | 24.30 | 40.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=dupd-plugin-options_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=dupd-plugin-options_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% 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 fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dashboard-user-profile-detais-dupd/index.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/dashboard-user-profile-detais-dupd/options.php:3
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: dashboard user profile detais, profile widget, wp-admin profile, profile detais, user...
dashboard-user-profile-detais-dupd/index.php 92% from 13 tests
The primary PHP file in "Dashboard User profile Detais-(DUPD)" version 2.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dashboard-user-profile-detais-dupd.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin192 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 33 | 56 | 153 |
CSS | 1 | 0 | 0 | 39 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 4 | 100.00% |
▷ Public methods | 4 | 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 | 2 | |
▷ Global constants | 2 | 100.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.06MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot/screenshot2.png | 20.25KB | 12.35KB | ▼ 39.05% |
screenshot/screenshot1.png | 37.22KB | 14.71KB | ▼ 60.48% |