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
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method DBWD_Send_Link_Lite::setDefaultData() should not be called statically
Server metrics [RAM: ▲0.01MB] [CPU: ▼143.31ms] Passed 4 tests
A check of server-side resources used by DBWD Send Link to Page
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 44.06 ▲19.42 |
Dashboard /wp-admin | 3.07 ▲0.02 | 50.72 ▲2.02 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 43.81 ▼4.56 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 93.49 ▼579.80 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 42.46 ▲9.09 |
Send Link Lite /wp-admin/admin.php?page=DBWD_Send_Link_Lite | 2.96 | 28.55 |
DBWD Software /wp-admin/admin.php?page=dbwd-software | 2.96 | 29.79 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 83 new files
Database: no new tables, 2 new options
New WordPress options |
---|
DBWD_Send_Link_Lite |
DBWD_Menu_Control |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DBWD Send Link to Page
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,731 ▲137 | 15.76 ▼0.13 | 10.21 ▼0.35 | 52.95 ▼3.35 |
Dashboard /wp-admin | 2,991 ▲57 | 5.91 ▼0.03 | 148.92 ▼14.25 | 150.16 ▲33.96 |
Posts /wp-admin/edit.php | 2,768 ▲29 | 2.59 ▼0.09 | 70.87 ▲2.52 | 95.61 ▼3.31 |
Add New Post /wp-admin/post-new.php | 1,521 ▼151 | 18.61 ▼0.23 | 382.26 ▼13.65 | 116.47 ▼3.04 |
Media Library /wp-admin/upload.php | 1,850 ▲40 | 4.99 ▼0.04 | 147.40 ▼20.15 | 147.91 ▲23.63 |
Send Link Lite /wp-admin/admin.php?page=DBWD_Send_Link_Lite | 2,236 | 2.77 | 74.32 | 192.28 |
DBWD Software /wp-admin/admin.php?page=dbwd-software | 1,042 | 2.34 | 56.91 | 57.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method DBWD_Send_Link_Lite::deactivationMenuControl() should not be called statically
- Zombie WordPress options were found after uninstall: 2 options
- DBWD_Menu_Control
- DBWD_Send_Link_Lite
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Deprecated in wp-content/plugins/dbwd-send-link/DBWD Send Link.php+595
Non-static method DBWD_Send_Link_Lite::setDefaultData() should not be called statically
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Warning in wp-content/plugins/dbwd-send-link/DBWD Send Link.php+598
include_once(Mail.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Warning in wp-content/plugins/dbwd-send-link/DBWD Send Link.php+598
include_once(): Failed opening 'Mail.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Deprecated in wp-content/plugins/dbwd-send-link/DBWD Send Link.php+608
Non-static method DBWD_Send_Link_Lite::data_save() should not be called statically
- > GET request to /wp-admin/admin.php?page=dbwd-software
- > Deprecated in wp-includes/class-wp-hook.php+303
Non-static method DBWD_Send_Link_Lite::DBWD_custom_menu_page() should not be called statically
SRP 0% from 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
Please fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dbwd-send-link/processSL.php
- > /wp-content/plugins/dbwd-send-link/DBWD_FormPage.php
- 29× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined index: displayTextColor_SL in wp-content/plugins/dbwd-send-link/processSL.php on line 32
- > PHP Notice
Undefined index: siteLoginPassword in wp-content/plugins/dbwd-send-link/DBWD_FormPage.php on line 13
- > PHP Notice
Undefined index: tellTo in wp-content/plugins/dbwd-send-link/processSL.php on line 26
- > PHP Notice
Undefined index: emailTest in wp-content/plugins/dbwd-send-link/processSL.php on line 31
- > PHP Notice
Undefined index: tellCaptcha in wp-content/plugins/dbwd-send-link/processSL.php on line 40
- > PHP Notice
Undefined index: siteName in wp-content/plugins/dbwd-send-link/processSL.php on line 29
- > PHP Notice
Undefined index: siteLoginName in wp-content/plugins/dbwd-send-link/DBWD_FormPage.php on line 12
- > PHP Notice
Undefined index: siteLoginName in wp-content/plugins/dbwd-send-link/processSL.php on line 35
- > PHP Notice
Undefined index: sendersEmail in wp-content/plugins/dbwd-send-link/processSL.php on line 37
- > PHP Notice
Undefined index: displayColor_SL in wp-content/plugins/dbwd-send-link/DBWD_FormPage.php on line 7
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Network (severe)
http://sites.tghosting.net/contribute2.jpg - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=DBWD_Send_Link_Lite
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=DBWD_Send_Link_Lite 555:6 Uncaught TypeError: Cannot read properties of null (reading 'style')
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5 in dbwd-send-link/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
dbwd-send-link/DBWD Send Link.php 85% from 13 tests
"DBWD Send Link to Page" version 4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 239 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("dbwd-send-link.php" instead of "DBWD Send Link.php")
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
Good job! No executable or dangerous file extensions detected2,909 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 246 | 22 | 1,252 |
JavaScript | 8 | 159 | 121 | 976 |
CSS | 2 | 80 | 24 | 672 |
HTML | 1 | 3 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 83.00 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 6.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.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 | 7 | 46.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.69MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 7.32KB | 4.80KB | ▼ 34.37% |
screenshot-1.png | 85.25KB | 28.35KB | ▼ 66.75% |
js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
js/jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |
gifs/favicon.png | 0.40KB | 0.41KB | 0.00% |