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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.26ms] Passed 4 tests
This is a short check of server-side resources used by Money Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.20 ▲1.46 |
Dashboard /wp-admin | 3.33 ▼0.01 | 45.09 ▼14.88 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 43.83 ▼4.73 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 86.08 ▼6.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.90 ▲5.60 |
Home /wp-admin/admin.php?page=money-manager-home | 3.48 | 41.94 |
Add-ons /wp-admin/admin.php?page=money-manager-addons | 3.25 | 30.96 |
Server storage [IO: ▲2.76MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 53 new files
Database: 11 new tables, 8 new options
New tables |
---|
wp_money_manager_files |
wp_money_manager_recurring_transactions |
wp_money_manager_notifications |
wp_money_manager_currencies |
wp_money_manager_categories |
wp_money_manager_split_transactions |
wp_money_manager_transactions |
wp_money_manager_parties |
wp_money_manager_accounts |
wp_money_manager_quotes |
... |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
money_manager_woocommerce |
widget_recent-comments |
db_upgraded |
money_manager_version |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Money Manager: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲76 | 14.27 ▼0.08 | 1.79 ▲0.20 | 37.96 ▼3.18 |
Dashboard /wp-admin | 2,215 ▲37 | 5.51 ▼0.11 | 82.96 ▼19.95 | 39.50 ▼4.55 |
Posts /wp-admin/edit.php | 2,123 ▲20 | 1.98 ▲0.01 | 34.32 ▼6.06 | 33.69 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.16 ▲0.19 | 677.28 ▲36.52 | 65.35 ▲11.71 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.18 ▼0.01 | 105.41 ▲8.10 | 49.15 ▲7.06 |
Home /wp-admin/admin.php?page=money-manager-home | 2,914 | 5.03 | 108.12 | 43.53 |
Add-ons /wp-admin/admin.php?page=money-manager-addons | 1,013 | 1.97 | 37.25 | 45.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
Almost there! Just fix the following items
- 37× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/money-manager/controllers/class-transactions-controller.php
- > /wp-content/plugins/money-manager/managers/class-quote-manager.php
- > /wp-content/plugins/money-manager/managers/class-file-manager.php
- > /wp-content/plugins/money-manager/models/class-notification.php
- > /wp-content/plugins/money-manager/controllers/class-addons-controller.php
- > /wp-content/plugins/money-manager/models/class-file.php
- > /wp-content/plugins/money-manager/class-multisite.php
- > /wp-content/plugins/money-manager/controllers/class-base-controller.php
- > /wp-content/plugins/money-manager/controllers/class-reports-controller.php
- > /wp-content/plugins/money-manager/class-update.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: accounting, crypto, banking, money, finance...
money-manager/money-manager.php Passed 13 tests
The principal PHP file in "Money Manager" v. 1.27.0 is loaded by WordPress automatically on each request
72 characters long description:
Finance software that keeps track of where, when and how the money goes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected9,087 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 5,835 |
PHP | 37 | 470 | 815 | 3,236 |
CSS | 3 | 1 | 4 | 14 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 7.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 1 | 2.86% |
▷ Concrete classes | 34 | 97.14% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 33 | 23.57% |
▷ Public methods | 116 | 82.86% |
▷ Protected methods | 24 | 17.14% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 1 | 5.88% |
▷ Anonymous functions | 16 | 94.12% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin