Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/config.php+114
Invalid argument supplied for foreach()
Server metrics [RAM: ▲1.99MB] [CPU: ▲583.12ms] 50% from 4 tests
Server-side resources used by Compare Your Income - MoneyArcher
The following require your attention
- CPU: You should keep total CPU usage under 500.00ms (currently 824.46ms on /wp-admin/admin.php?page=cyi-settings&tab=19)
- Extra CPU: Extra CPU usage must be kept under 200.00ms (currently 583.12ms on /wp-admin/admin.php?page=cyi-settings&tab=19)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.04 ▲1.58 | 54.39 ▲12.67 |
Dashboard /wp-admin | 5.79 ▲2.49 | 3,404.42 ▲3,352.52 |
Posts /wp-admin/edit.php | 5.52 ▲2.16 | 845.88 ▲793.07 |
Add New Post /wp-admin/post-new.php | 7.99 ▲2.10 | 829.10 ▲732.75 |
Media Library /wp-admin/upload.php | 5.35 ▲2.12 | 829.12 ▲793.97 |
Compare [Five] /wp-admin/admin.php?page=cyi-settings&tab=6 | 5.91 | 952.91 |
Compare [Thirteen] /wp-admin/admin.php?page=cyi-settings&tab=14 | 5.88 | 3,698.98 |
Compare [One] /wp-admin/admin.php?page=cyi-settings&tab=2 | 5.88 | 753.91 |
Compare [Eight] /wp-admin/admin.php?page=cyi-settings&tab=9 | 5.88 | 778.96 |
Compare [Ten] /wp-admin/admin.php?page=cyi-settings&tab=11 | 5.88 | 782.91 |
Powered by website /wp-admin/admin.php?page=cyi-settings&tab=17 | 5.88 | 866.89 |
Compare [Nine] /wp-admin/admin.php?page=cyi-settings&tab=10 | 5.88 | 762.15 |
Compare [Twelve] /wp-admin/admin.php?page=cyi-settings&tab=13 | 5.88 | 782.25 |
Compare [Eleven] /wp-admin/admin.php?page=cyi-settings&tab=12 | 5.88 | 856.94 |
Options Object /wp-admin/admin.php?page=cyi-settings&tab=19 | 5.88 | 824.46 |
Server storage [IO: ▲3.73MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 417 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
cyi |
cyi-transients |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
redux_version_upgraded_from |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Compare Your Income - MoneyArcher
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,118 ▲332 | 13.44 ▼0.94 | 7.64 ▲5.42 | 37.97 ▼3.66 |
Dashboard /wp-admin | 2,431 ▲260 | 5.62 ▼0.03 | 83.50 ▼8.20 | 45.19 ▼0.41 |
Posts /wp-admin/edit.php | 2,274 ▲174 | 1.97 ▲0.02 | 37.91 ▼1.38 | 34.62 ▼1.71 |
Add New Post /wp-admin/post-new.php | 1,673 ▲147 | 22.71 ▼1.02 | 618.77 ▼52.92 | 59.76 ▼5.50 |
Media Library /wp-admin/upload.php | 1,574 ▲174 | 4.15 ▼0.10 | 104.94 ▼2.75 | 42.95 ▼2.38 |
Compare [Five] /wp-admin/admin.php?page=cyi-settings&tab=6 | 7,060 | 4.46 | 85.36 | 41.60 |
Compare [Thirteen] /wp-admin/admin.php?page=cyi-settings&tab=14 | 7,066 | 4.44 | 89.84 | 39.59 |
Compare [One] /wp-admin/admin.php?page=cyi-settings&tab=2 | 7,066 | 4.43 | 87.18 | 37.32 |
Compare [Eight] /wp-admin/admin.php?page=cyi-settings&tab=9 | 7,063 | 4.46 | 83.54 | 38.30 |
Compare [Ten] /wp-admin/admin.php?page=cyi-settings&tab=11 | 7,066 | 4.41 | 84.15 | 36.41 |
Powered by website /wp-admin/admin.php?page=cyi-settings&tab=17 | 7,064 | 4.36 | 80.80 | 36.92 |
Compare [Nine] /wp-admin/admin.php?page=cyi-settings&tab=10 | 7,066 | 4.44 | 87.58 | 35.99 |
Compare [Twelve] /wp-admin/admin.php?page=cyi-settings&tab=13 | 7,063 | 4.34 | 83.20 | 35.59 |
Compare [Eleven] /wp-admin/admin.php?page=cyi-settings&tab=12 | 7,066 | 4.49 | 88.78 | 37.79 |
Options Object /wp-admin/admin.php?page=cyi-settings&tab=19 | 7,059 | 4.44 | 82.80 | 37.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- cyi-transients
- theysaidso_admin_options
- redux_version_upgraded_from
- widget_recent-posts
- can_compress_scripts
- cyi
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=19
- > Error in wp-includes/Requests/src/Exception/InvalidArgument.php+29
Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
#0 wp-includes/Requests/src/Cookie.php(84): WpOrg\Requests\Exception\InvalidArgument::create()
#1 wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct()
#2 wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies()
#3 wp-includes/http.php(150): WP_Http->request()
#4 wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/class.p.php(230): wp_remote_request()
#5 wp-includes/class-wp-hook.php(310): Redux_P->proxy()
#6 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 wp-includes/plugin.php(517): WP_Hook->do_action()
#8 wp-admin/admin-ajax.php(188): d
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 27× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/class.p.php:7
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/themecheck/checks/embedded.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/templates/panel/footer.tpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/welcome/views/changelog.php:2
- > PHP Fatal error
Uncaught Error: Interface 'themecheck' not found in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/themecheck/checks/full_package.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/templates/panel/container.tpl.php:12
- > PHP Warning
Use of undefined constant CYI_PATH - assumed 'CYI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/compare-your-income-moneyarcher/bootstrap.php on line 7
- > PHP Warning
Use of undefined constant CYI_PATH - assumed 'CYI_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/compare-your-income-moneyarcher/bootstrap.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/compare-your-income-moneyarcher/optionpanel/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/compare-your-income-moneyarcher/display.php:77
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=19
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=19
- > Network (severe)
wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=6
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=6 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=14
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=14 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=2
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=2 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=9
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=9 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=11
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=11 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=10
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=10 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=cyi-settings&tab=19
- > Security (severe) in unknown
/wp-admin/admin.php?page=cyi-settings&tab=19 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=663ff04a5d&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3D663ff04a5d%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: income, moneyarcher, compare
compare-your-income-moneyarcher/init.php 92% from 13 tests
The principal PHP file in "Compare Your Income - MoneyArcher" v. 2.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("compare-your-income-moneyarcher.php" instead of "init.php")
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
There were no executable files found in this plugin37,665 lines of code in 299 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 108 | 3,730 | 5,341 | 15,777 |
JavaScript | 87 | 2,609 | 1,934 | 12,115 |
Sass | 54 | 1,187 | 60 | 7,580 |
SVG | 1 | 0 | 0 | 934 |
JSON | 1 | 184 | 0 | 909 |
CSS | 47 | 10 | 35 | 297 |
LESS | 1 | 0 | 0 | 53 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 32.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 883.00 |
Average method complexity | 6.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 102 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 578 | |
▷ Static methods | 101 | 17.47% |
▷ Public methods | 437 | 75.61% |
▷ Protected methods | 91 | 15.74% |
▷ Private methods | 50 | 8.65% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 60 | |
▷ Global constants | 3 | 5.00% |
▷ Class constants | 57 | 95.00% |
▷ Public constants | 57 | 100.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
30 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
optionpanel/ReduxCore/assets/img/2cl.png | 2.91KB | 0.24KB | ▼ 91.79% |
optionpanel/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
optionpanel/ReduxCore/assets/img/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |
optionpanel/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
optionpanel/ReduxCore/inc/fields/spinner/arrow_left.png | 0.15KB | 0.12KB | ▼ 16.67% |