Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/dfd-reddcoin-tips/dfd-reddcoin-tips.php+19
Undefined variable: _SESSION
Server metrics [RAM: ▼1.97MB] [CPU: ▼55.36ms] Passed 4 tests
Server-side resources used by DFD Reddcoin Tips
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.30 ▼33.78 |
Dashboard /wp-admin | 2.05 ▼1.30 | 5.80 ▼56.28 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.17 ▼39.23 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.35 ▼92.15 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.35 ▼28.98 |
DFD Reddcoin Tips Settings /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings | 2.05 | 6.27 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 448 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_dfdrddtipwidget2 |
widget_dfdrddtipwidget1 |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for DFD Reddcoin Tips
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.28 ▼0.08 | 2.01 ▲0.41 | 43.81 ▼0.08 |
Dashboard /wp-admin | 2,214 ▲34 | 5.54 ▼0.08 | 83.08 ▼15.62 | 84.40 ▲41.41 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 1.99 ▼0.01 | 34.06 ▼2.00 | 34.37 ▼5.09 |
Add New Post /wp-admin/post-new.php | 6,365 ▲4,839 | 24.13 ▲1.03 | 994.56 ▲332.43 | 61.92 ▲9.12 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.17 ▼0.13 | 93.87 ▼19.78 | 73.93 ▲24.52 |
DFD Reddcoin Tips Settings /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings | 956 | 2.00 | 22.21 | 54.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/dfd-reddcoin-tips/dfd-reddcoin-tips.php+19
Undefined variable: _SESSION
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_dfdrddtipwidget1
- widget_recent-comments
- widget_dfdrddtipwidget2
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings
- > Notice in wp-content/plugins/dfd-reddcoin-tips/dfd-reddcoin-tips.php+19
Undefined variable: _SESSION
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings
- > Notice in wp-content/plugins/dfd-reddcoin-tips/includes/pages/settings/settings.php+149
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in dfd_rdd_tip_widget_1 is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in dfd_rdd_tip_widget_2 is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=dfd-reddcoin-tips-settings
- > 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=dfd-reddcoin-tips-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dfd-reddcoin-tips/includes/addons/phpqrcode/index.php
- > /wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/reddapi_connect.php
- > /wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console_submissions.php
- > /wp-content/plugins/dfd-reddcoin-tips/includes/ajax/requests.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/dfd-reddcoin-tips/includes/pages/settings/settings.php:45
- > PHP Notice
Undefined index: send_to_external_address in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console_submissions.php on line 75
- > PHP Warning
Use of undefined constant rdd_coin_address - assumed 'rdd_coin_address' (this will throw an Error in a future version of PHP) in wp-content/plugins/dfd-reddcoin-tips/assets/images/rdd-tip-address.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console.php:96
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/dfd-reddcoin-tips/includes/widgets/tip-widgets/tip_widget_2.php:3
- > PHP Notice
Undefined index: rdd_coin_address in wp-content/plugins/dfd-reddcoin-tips/assets/images/rdd-tip-address.php on line 4
- > PHP Notice
Undefined index: get_username_data in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console_submissions.php on line 64
- > PHP Notice
Undefined index: send_internal_from_username in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console_submissions.php on line 89
- > PHP Notice
Undefined index: send_internal_to_username in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/console_submissions.php on line 88
- > PHP Notice
Undefined variable: _SESSION in wp-content/plugins/dfd-reddcoin-tips/includes/pages/console/reddapi_connect.php on line 4
- > PHP Fatal error
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 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
Please fix the following attributes:
- Contributors: Plugin contributors not specified
dfd-reddcoin-tips/dfd-reddcoin-tips.php 92% from 13 tests
The main file in "DFD Reddcoin Tips" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 349 characters long)
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- For security reasons, never distribute binary or executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/dfd-reddcoin-tips/includes/addons/phpqrcode/tools/merge.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 2,108 | 2,247 | 7,549 |
JavaScript | 1 | 25 | 12 | 35 |
Bourne Shell | 1 | 0 | 0 | 2 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 30.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 391 | |
▷ Static methods | 122 | 31.20% |
▷ Public methods | 289 | 73.91% |
▷ Protected methods | 96 | 24.55% |
▷ Private methods | 6 | 1.53% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 97 | |
▷ Global constants | 97 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
43 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/addons/phpqrcode/cache/frame_37.png | 0.27KB | 0.25KB | ▼ 7.89% |
includes/addons/phpqrcode/cache/frame_15.png | 0.21KB | 0.20KB | ▼ 4.57% |
includes/addons/phpqrcode/cache/frame_10.png | 0.20KB | 0.20KB | ▼ 0.99% |
includes/addons/phpqrcode/cache/frame_22.png | 0.22KB | 0.21KB | ▼ 6.19% |
includes/addons/phpqrcode/cache/frame_12.png | 0.21KB | 0.20KB | ▼ 4.63% |