Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲5.36MB] [CPU: ▲29.11ms] 75% from 4 tests
A check of server-side resources used by Get Cash
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.36MB on /wp-admin/post-new.php?post_type=gc-transactions)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.16 ▲5.69 | 64.01 ▲20.32 |
Dashboard /wp-admin | 9.18 ▲5.87 | 77.34 ▲25.93 |
Posts /wp-admin/edit.php | 9.18 ▲5.82 | 85.95 ▲39.42 |
Add New Post /wp-admin/post-new.php | 9.95 ▲4.06 | 124.39 ▲30.78 |
Media Library /wp-admin/upload.php | 9.18 ▲5.95 | 73.34 ▲41.86 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.18 | 59.99 |
GC transactions /wp-admin/edit.php?post_type=gc-transactions | 9.18 | 68.89 |
Add New /wp-admin/post-new.php?post_type=gc-transactions | 9.18 | 80.91 |
Server storage [IO: ▲8.46MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 214 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
fs_debug_mode |
theysaidso_admin_options |
fs_accounts |
widget_recent-comments |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for Get Cash
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,998 ▲252 | 13.68 ▼0.70 | 9.80 ▲7.52 | 28.61 ▼17.96 |
Dashboard /wp-admin | 2,266 ▲78 | 5.89 ▲0.99 | 108.96 ▼1.09 | 43.59 ▼0.95 |
Posts /wp-admin/edit.php | 2,149 ▲63 | 2.00 ▲0.01 | 41.37 ▲3.19 | 45.88 ▲11.03 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 22.83 ▲5.25 | 639.64 ▲21.36 | 53.13 ▼1.59 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.21 ▼0.02 | 99.62 ▼3.93 | 45.65 ▲0.44 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,120 | 1.72 | 23.97 | 32.68 |
GC transactions /wp-admin/edit.php?post_type=gc-transactions | 1,110 | 1.93 | 35.94 | 33.54 |
Add New /wp-admin/post-new.php?post_type=gc-transactions | 2,181 | 7.63 | 164.67 | 62.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/get-cash/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- fs_debug_mode
- widget_recent-comments
- fs_accounts
- fs_active_plugins
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/get-cash/languages/index.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
get-cash/get-cash.php 77% from 13 tests
"Get Cash" version 3.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 143 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 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected34,638 lines of code in 149 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,084 | 17,325 | 33,901 |
JavaScript | 7 | 53 | 109 | 525 |
CSS | 15 | 43 | 6 | 211 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 91.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.56 |
▷ 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 | 197 | 15.45% |
▷ Public methods | 886 | 69.49% |
▷ Protected methods | 17 | 1.33% |
▷ Private methods | 372 | 29.18% |
Functions | 121 | |
▷ Named functions | 121 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 154 | |
▷ Global constants | 107 | 69.48% |
▷ Class constants | 47 | 30.52% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.39MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/zelle.png | 10.02KB | 4.18KB | ▼ 58.23% |
images/venmo.png | 14.51KB | 6.87KB | ▼ 52.63% |
images/paypal.png | 15.47KB | 7.64KB | ▼ 50.59% |
(invalid) images/get-cash-256x256.png | 26.94KB | 0.00KB | ▼ 100.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |