Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼4.70ms] Passed 4 tests
An overview of server-side resources used by Dropp Pay Tipping
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 45.51 ▼5.05 |
Dashboard /wp-admin | 3.45 ▲0.15 | 51.98 ▼5.83 |
Posts /wp-admin/edit.php | 3.56 ▲0.21 | 49.35 ▼4.21 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 94.85 ▼3.69 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 36.92 ▼1.70 |
Settings /wp-admin/admin.php?page=dropp-cc-settings | 3.48 | 41.12 |
Profile /wp-admin/admin.php?page=dropp-cc | 3.41 | 39.92 |
Logs /wp-admin/admin.php?page=dropp-cc-logs | 3.37 | 40.77 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 30 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_dropp_logs |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_droppcc_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Dropp Pay Tipping
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,548 ▲787 | 17.52 ▲2.96 | 840.31 ▲838.01 | 42.01 ▼0.57 |
Dashboard /wp-admin | 2,211 ▲31 | 5.56 ▼0.16 | 85.72 ▼5.73 | 78.34 ▲38.46 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.99 ▼0.02 | 39.00 ▼0.30 | 35.29 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.41 ▲0.26 | 718.48 ▲90.21 | 55.14 ▼3.06 |
Media Library /wp-admin/upload.php | 1,431 ▲34 | 4.14 ▲0.05 | 107.24 ▲1.14 | 67.22 ▲20.74 |
Settings /wp-admin/admin.php?page=dropp-cc-settings | 1,523 | 3.14 | 41.94 | 73.02 |
Profile /wp-admin/admin.php?page=dropp-cc | 1,173 | 3.18 | 40.34 | 73.22 |
Logs /wp-admin/admin.php?page=dropp-cc-logs | 1,014 | 2.97 | 41.31 | 51.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dropp-pay-tipping/includes/widget/widget-like-button.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dropp-pay-tipping/includes/widget/widget-tipping.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: like button, micropayment, donation, tipping, low fee tipping
dropp-pay-tipping/dropp-pay-tipping.php 92% from 13 tests
The main file in "Dropp Pay Tipping" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/i18n/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected1,799 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 292 | 81 | 1,370 |
CSS | 2 | 54 | 3 | 275 |
JavaScript | 2 | 44 | 11 | 154 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 15 | 33.33% |
▷ Public methods | 37 | 82.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 17.78% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo-dropp@2x.png | 6.57KB | 7.04KB | 0.00% |
assets/images/like-icon.png | 7.56KB | 1.82KB | ▼ 75.89% |
assets/images/dropp-icon.png | 1.12KB | 1.12KB | 0.00% |
assets/images/dropp-menu-icon.png | 1.11KB | 0.80KB | ▼ 27.74% |
assets/images/dropp_logo_white.png | 22.39KB | 7.14KB | ▼ 68.12% |