Benchmarks
Plugin footprint 65% 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.16MB] [CPU: ▲13.18ms] Passed 4 tests
An overview of server-side resources used by Tip Jar WP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.31 | 55.46 ▲14.51 |
Dashboard /wp-admin | 3.49 ▲0.19 | 59.80 ▲13.16 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 60.81 ▲12.36 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 104.26 ▲12.67 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 55.43 ▲24.14 |
Server storage [IO: ▲3.39MB] [DB: ▲0.01MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- The plugin illegally modified 1 file (8.90KB) outside of "wp-content/plugins/tip-jar-wp/" and "wp-content/uploads/"
- (new file) .well-known/apple-developer-merchantid-domain-association
Filesystem: 202 new files
Database: 6 new tables, 12 new options
New tables |
---|
wp_tip_jar_wp_forms |
wp_tip_jar_wp_logs |
wp_tip_jar_wp_notes |
wp_tip_jar_wp_arrangements |
wp_tip_jar_wp_download_logs |
wp_tip_jar_wp_transactions |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
wp_tip_jar_wp_transactions_db_version |
widget_recent-comments |
wp_tip_jar_wp_notes_db_version |
wp_tip_jar_wp_forms_db_version |
widget_recent-posts |
can_compress_scripts |
wp_tip_jar_wp_logs_db_version |
wp_tip_jar_wp_arrangements_db_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tip Jar WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲207 | 19.63 ▲5.26 | 24.79 ▲22.67 | 37.90 ▼5.05 |
Dashboard /wp-admin | 2,320 ▲134 | 7.75 ▲2.80 | 162.02 ▲51.29 | 36.44 ▼8.19 |
Posts /wp-admin/edit.php | 2,201 ▲115 | 5.22 ▲3.17 | 77.94 ▲38.93 | 31.19 ▼3.33 |
Add New Post /wp-admin/post-new.php | 6,550 ▲5,036 | 28.01 ▲10.46 | 995.38 ▲307.70 | 54.06 ▼5.86 |
Media Library /wp-admin/upload.php | 1,504 ▲113 | 6.76 ▲2.54 | 162.06 ▲56.96 | 46.86 ▲3.71 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie tables detected upon uninstall: 6 tables
- wp_tip_jar_wp_forms
- wp_tip_jar_wp_download_logs
- wp_tip_jar_wp_logs
- wp_tip_jar_wp_transactions
- wp_tip_jar_wp_notes
- wp_tip_jar_wp_arrangements
- This plugin does not fully uninstall, leaving 12 options in the database
- db_upgraded
- wp_tip_jar_wp_forms_db_version
- widget_recent-posts
- can_compress_scripts
- wp_tip_jar_wp_notes_db_version
- wp_tip_jar_wp_arrangements_db_version
- wp_tip_jar_wp_transactions_db_version
- widget_recent-comments
- wp_tip_jar_wp_logs_db_version
- wp_tip_jar_wp_download_logs_db_version
- ...
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please a description for screenshot #15 in tip-jar-wp/assets to your readme.txt
tip-jar-wp/tip-jar-wp.php 77% from 13 tests
This is the main PHP file of "Tip Jar WP" version 2.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 144 characters long)
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
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
Everything looks great! No dangerous files found in this plugin28,731 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 77 | 3,564 | 1,167 | 13,680 |
PHP | 96 | 3,479 | 5,845 | 13,124 |
CSS | 6 | 87 | 39 | 1,845 |
Markdown | 1 | 6 | 0 | 45 |
SVG | 5 | 0 | 0 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.68 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 1 | 5.26% |
▷ Concrete classes | 18 | 94.74% |
▷ Final classes | 1 | 5.56% |
Methods | 166 | |
▷ Static methods | 1 | 0.60% |
▷ Public methods | 140 | 84.34% |
▷ Protected methods | 13 | 7.83% |
▷ Private methods | 13 | 7.83% |
Functions | 210 | |
▷ Named functions | 210 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.21MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/closebtn.png | 4.90KB | 1.03KB | ▼ 79.05% |
assets/images/flags/flags.png | 209.85KB | 77.62KB | ▼ 63.01% |