Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▲199.39ms] Passed 4 tests
A check of server-side resources used by The Moneytizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.51 | 45.44 ▲2.84 |
Dashboard /wp-admin | 3.85 ▲0.50 | 352.14 ▲290.77 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 328.42 ▲271.63 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 371.12 ▲271.14 |
Media Library /wp-admin/upload.php | 3.71 ▲0.48 | 289.78 ▲251.96 |
The Moneytizer /wp-admin/options-general.php?page=themoneytizer | 3.72 | 287.84 |
Server storage [IO: ▲36.48MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Try to limit filesystem usage to 25MB (currently using 36.48MB)
Filesystem: 120 new files
Database: no new tables, 18 new options
New WordPress options |
---|
themoneytizer_plugin_version |
themoneytizer_data_lazy |
widget_recent-comments |
theysaidso_admin_options |
widget_themoneytizer_widget |
themoneytizer_user_notifications |
themoneytizer_user_language |
themoneytizer_setting_fix_46 |
themoneytizer_setting_init |
themoneytizer_data_statistics |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for The Moneytizer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲180 | 13.51 ▼0.76 | 8.40 ▲6.74 | 38.59 ▼6.03 |
Dashboard /wp-admin | 2,248 ▲71 | 5.61 ▲0.08 | 85.74 ▼6.94 | 41.21 ▼2.58 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 2.01 ▲0.00 | 37.23 ▼1.89 | 34.92 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,580 ▲52 | 23.19 ▲0.06 | 668.47 ▲6.17 | 70.85 ▲16.37 |
Media Library /wp-admin/upload.php | 1,517 ▲117 | 4.30 ▲0.11 | 100.30 ▼1.84 | 46.12 ▼1.05 |
The Moneytizer /wp-admin/options-general.php?page=themoneytizer | 1,526 | 7.81 | 93.31 | 85.98 |
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 did not uninstall successfully, leaving 11 options in the database
- count_call
- widget_themoneytizer_widget
- themoneytizer_user_local_lang
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- themoneytizer_data_language
- themoneytizer_setting_fix_46
- db_upgraded
- widget_recent-posts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Notice in wp-content/plugins/the-moneytizer/themoneytizer-shortcode.php+57
Trying to get property 'site_tags' of non-object
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/the-moneytizer/core/core_statistics.php+4
Trying to get property 'validity' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 75× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-moneytizer/core/core_cmp.php:251
- > PHP Notice
Undefined variable: ad_align in wp-content/plugins/the-moneytizer/core/inc/inc_lazy_template.php on line 62
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/the-moneytizer/tab/tab_menu_faq.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/the-moneytizer/tab/tab_menu_settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/the-moneytizer/tab/tab_menu_tags.php:5
- > PHP Notice
Undefined variable: ad_id in wp-content/plugins/the-moneytizer/core/inc/inc_lazy_template.php on line 37
- > PHP Notice
Undefined variable: ad_id in wp-content/plugins/the-moneytizer/core/inc/inc_lazy_template.php on line 56
- > PHP Notice
Undefined variable: ad_id in wp-content/plugins/the-moneytizer/core/inc/inc_lazy_template.php on line 57
- > PHP Notice
Undefined variable: ad_id in wp-content/plugins/the-moneytizer/core/inc/inc_lazy_template.php on line 61
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/the-moneytizer/core/core_update_informations.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Network (severe)
https://unpkg.com/driver.js@1.3.0/dist/driver.min.css - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Network (severe)
https://unpkg.com/driver.js@1.3.0/dist/driver.min.js - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Javascript (severe) in unknown
/wp-content/plugins/the-moneytizer/js/intro-languages/US_script_intro_js.js?ver=2 15:15 Uncaught ReferenceError: Driver is not defined
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Javascript (severe) in unknown
/wp-content/plugins/the-moneytizer/js/script_intro_js.js?ver=2 0:0 Uncaught ReferenceError: driver is not defined
- > GET request to /wp-admin/options-general.php?page=themoneytizer
- > Javascript (severe) in unknown
https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.js?ver=6.3.1 7759:18 Uncaught TypeError: Cannot read properties of null (reading 'length')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 14 tag instead of maximum 10
the-moneytizer/themoneytizer.php 92% from 13 tests
The main PHP file in "The Moneytizer" ver. 9.5.20 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("the-moneytizer.php" instead of "themoneytizer.php")
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
Everything looks great! No dangerous files found in this plugin12,233 lines of code in 68 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 7 | 2,695 | 5,042 | 5,163 |
PHP | 39 | 317 | 220 | 3,408 |
JavaScript | 21 | 180 | 84 | 3,021 |
CSS | 1 | 143 | 2 | 641 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 69.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 30.77% |
Functions | 52 | |
▷ Named functions | 51 | 98.08% |
▷ Anonymous functions | 1 | 1.92% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
31 PNG files occupy 0.93MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 72.32KB | 28.87KB | ▼ 60.08% |
assets/format_6.png | 3.86KB | 2.15KB | ▼ 44.25% |
assets/format_30.png | 7.58KB | 3.91KB | ▼ 48.37% |
assets/footer.png | 3.21KB | 2.25KB | ▼ 29.96% |
assets/format_5.png | 2.37KB | 1.87KB | ▼ 21.19% |