Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.55MB] [CPU: ▼3.46ms] Passed 4 tests
This is a short check of server-side resources used by Wallet Up
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 44.84 ▲1.31 |
Dashboard /wp-admin | 3.91 ▲0.61 | 51.25 ▼1.26 |
Posts /wp-admin/edit.php | 3.96 ▲0.61 | 59.81 ▲8.14 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 90.50 ▼21.30 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 43.03 ▲7.42 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 4.01 | 43.12 |
Server storage [IO: ▲6.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 220 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_active_plugins |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
fs_debug_mode |
fs_accounts |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Wallet Up
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 13.90 ▼0.45 | 1.70 ▲0.14 | 34.28 ▼3.35 |
Dashboard /wp-admin | 2,227 ▲53 | 5.64 ▲0.07 | 90.73 ▲5.22 | 42.61 ▼1.52 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.00 ▲0.00 | 39.34 ▼2.28 | 38.18 ▲4.30 |
Add New Post /wp-admin/post-new.php | 1,541 ▲127 | 23.00 ▲1.67 | 682.49 ▲80.35 | 57.96 ▼13.81 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.22 ▲0.01 | 106.28 ▼0.82 | 51.32 ▲3.76 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,084 | 1.66 | 28.43 | 30.14 |
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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wallet-up/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 9 options in the database
- fs_debug_mode
- widget_recent-posts
- fs_accounts
- fs_active_plugins
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wallet-up/languages/index.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
wallet-up/wallet-up.php 85% from 13 tests
The primary PHP file in "Wallet Up" version 3.3.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 180 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin48,610 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 8,082 | 17,280 | 33,699 |
SVG | 3 | 0 | 0 | 9,552 |
CSS | 17 | 1,516 | 37 | 4,934 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 4 | 34 | 65 | 195 |
XML | 1 | 3 | 0 | 16 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 91.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 2 | 4.08% |
▷ Concrete classes | 47 | 95.92% |
▷ Final classes | 0 | 0.00% |
Methods | 1,275 | |
▷ Static methods | 198 | 15.53% |
▷ Public methods | 885 | 69.41% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 373 | 29.25% |
Functions | 106 | |
▷ Named functions | 105 | 99.06% |
▷ Anonymous functions | 1 | 0.94% |
Constants | 155 | |
▷ Global constants | 108 | 69.68% |
▷ Class constants | 47 | 30.32% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
9 PNG files occupy 0.34MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/cashapp-walup.png | 44.98KB | 15.56KB | ▼ 65.42% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/lib/paypal-walup.png | 53.29KB | 13.77KB | ▼ 74.17% |
assets/lib/walup-logo.png | 6.79KB | 3.75KB | ▼ 44.77% |