Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > Notice in wp-content/plugins/deemly/inc/buddypress.php+9
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.84MB] [CPU: ▼48.46ms] Passed 4 tests
Analyzing server-side resources used by deemly
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.31 | 7.06 ▼33.78 |
Dashboard /wp-admin | 2.17 ▼1.14 | 9.09 ▼40.12 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 9.24 ▼38.48 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 9.06 ▼81.44 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 9.45 ▼24.70 |
deemly /wp-admin/admin.php?page=deemly-settings | 2.17 | 9.09 |
Help /wp-admin/admin.php?page=dmly-help | 2.17 | 7.70 |
Server storage [IO: ▲0.12MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 29 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_dmly_user_profile |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_dmly_user_rating_form |
widget_dmly_user_profile_ratings |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by deemly
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 14.47 ▲0.27 | 1.69 ▼0.11 | 43.98 ▼3.77 |
Dashboard /wp-admin | 2,238 ▲50 | 5.89 ▲1.03 | 101.04 ▼12.09 | 41.96 ▼6.43 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.06 ▲0.04 | 36.45 ▼1.44 | 33.89 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,562 ▲48 | 18.47 ▲1.00 | 649.62 ▼33.33 | 54.46 ▼9.30 |
Media Library /wp-admin/upload.php | 1,420 ▲38 | 4.21 ▼0.09 | 98.72 ▼0.78 | 41.35 ▼2.28 |
deemly /wp-admin/admin.php?page=deemly-settings | 946 | 2.19 | 22.68 | 27.59 |
Help /wp-admin/admin.php?page=dmly-help | 846 | 2.02 | 21.58 | 27.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/deemly/inc/buddypress.php+9
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 9 options
- widget_dmly_user_profile_ratings
- db_upgraded
- widget_dmly_user_rating_form
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_dmly_user_profile
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dmly-help
- > Notice in wp-content/plugins/deemly/inc/buddypress.php+9
Trying to access array offset on value of type bool
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dmly-help
- > Notice in wp-content/plugins/deemly/inc/buddypress.php+19
Undefined index: dmly_display_bp_activity_feed
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=dmly-help
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/admin.php?page=deemly-settings
- > Notice in wp-content/plugins/deemly/inc/admin/register-settings.php+116
Undefined index: dmly_site_app_key
- > GET request to /wp-admin/admin.php?page=deemly-settings
- > Notice in wp-content/plugins/deemly/inc/admin/register-settings.php+123
Undefined index: dmly_site_secret_key
- > GET request to /wp-admin/admin.php?page=deemly-settings
- > Warning in wp-content/plugins/deemly/inc/admin/admin-pages.php+61
Invalid argument supplied for foreach()
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/deemly/inc/buddypress.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (21 tag instead of maximum 10)
deemly/deemly-profile-score.php 85% from 13 tests
The primary PHP file in "deemly" version 1.0.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("deemly.php" instead of "deemly-profile-score.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
There were no executable files found in this plugin1,451 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 157 | 235 | 825 |
CSS | 2 | 53 | 22 | 333 |
PO File | 4 | 98 | 124 | 293 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 35 | |
▷ Named functions | 35 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/deemly-verified.png | 2.74KB | 1.91KB | ▼ 30.53% |
assets/img/dmly-score-widget-logo.png | 20.76KB | 2.74KB | ▼ 86.78% |
assets/img/dmly-logo.png | 20.76KB | 2.74KB | ▼ 86.78% |