Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.03MB] [CPU: ▼20.09ms] Passed 4 tests
A check of server-side resources used by Auto Ad Inserter - Increase Google Adsense and Ad Manager Revenue
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 41.82 ▲1.51 |
Dashboard /wp-admin | 3.33 ▼0.02 | 29.56 ▼33.41 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 31.88 ▼15.28 |
Add New Post /wp-admin/post-new.php | 5.64 ▼0.25 | 65.52 ▼27.01 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 27.63 ▼4.66 |
Project Create / Select /wp-admin/admin.php?page=revenueflex-projectSelectCreatePage | 3.31 | 27.09 |
Update Email Validate Key /wp-admin/admin.php?page=revenueflex-updateEmailValidateKeyPage | 3.31 | 28.07 |
Update Email /wp-admin/admin.php?page=revenueflex-updateEmailPage | 3.31 | 28.75 |
Update User Settings /wp-admin/admin.php?page=revenueflex-updateUserSettingsPage | 3.31 | 24.31 |
Validate Key /wp-admin/admin.php?page=revenueflex-validateKeyPage | 3.31 | 28.39 |
Delete Account /wp-admin/admin.php?page=revenueflex-deleteAccountPage | 3.31 | 25.35 |
User Settings /wp-admin/admin.php?page=revenueflex-userSettingsPage | 3.31 | 24.40 |
Project Settings /wp-admin/admin.php?page=revenueflex-projectSettingsPage | 3.31 | 24.95 |
Dashboard /wp-admin/admin.php?page=revenueflex-dashboardPage | 3.31 | 34.81 |
Auto Ad Inserter /wp-admin/admin.php?page=startPage | 3.24 | 25.82 |
Server storage [IO: ▲7.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 91 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
revenueflex_api |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Auto Ad Inserter - Increase Google Adsense and Ad Manager Revenue
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲159 | 13.31 ▼1.09 | 1.80 ▼0.03 | 43.80 ▼4.89 |
Dashboard /wp-admin | 2,300 ▲115 | 5.88 ▲0.02 | 101.19 ▼1.67 | 38.82 ▼5.38 |
Posts /wp-admin/edit.php | 2,182 ▲90 | 2.06 ▲0.00 | 39.18 ▲0.31 | 33.41 ▼1.85 |
Add New Post /wp-admin/post-new.php | 1,570 ▲51 | 23.07 ▼0.27 | 600.91 ▼98.54 | 50.20 ▼1.74 |
Media Library /wp-admin/upload.php | 1,484 ▲102 | 4.27 ▲0.11 | 95.44 ▼3.54 | 41.75 ▼1.69 |
Project Create / Select /wp-admin/admin.php?page=revenueflex-projectSelectCreatePage | 941 | 2.21 | 37.20 | 43.62 |
Update Email Validate Key /wp-admin/admin.php?page=revenueflex-updateEmailValidateKeyPage | 952 | 2.09 | 33.89 | 24.57 |
Update Email /wp-admin/admin.php?page=revenueflex-updateEmailPage | 950 | 2.09 | 31.78 | 22.30 |
Update User Settings /wp-admin/admin.php?page=revenueflex-updateUserSettingsPage | 1,122 | 2.02 | 32.31 | 22.16 |
Validate Key /wp-admin/admin.php?page=revenueflex-validateKeyPage | 1,789 | 3.60 | 63.00 | 29.81 |
Delete Account /wp-admin/admin.php?page=revenueflex-deleteAccountPage | 948 | 2.09 | 36.48 | 23.99 |
User Settings /wp-admin/admin.php?page=revenueflex-userSettingsPage | 937 | 2.02 | 29.65 | 23.89 |
Project Settings /wp-admin/admin.php?page=revenueflex-projectSettingsPage | 2,671 | 2.31 | 38.10 | 71.88 |
Dashboard /wp-admin/admin.php?page=revenueflex-dashboardPage | 933 | 2.15 | 34.38 | 20.58 |
Auto Ad Inserter /wp-admin/admin.php?page=startPage | 914 | 2.00 | 29.46 | 20.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- revenueflex_api
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 67 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=startPage
- > Notice in wp-content/plugins/revenueflex-easy-ads/inc.php+91
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=revenueflex-projectSelectCreatePage
- > Notice in wp-content/plugins/revenueflex-easy-ads/inc/helpers.php+4
Undefined index: text_before
- > GET request to /wp-admin/admin.php?page=revenueflex-updateEmailValidateKeyPage
- > Notice in wp-content/plugins/revenueflex-easy-ads/pages/updateEmailValidateKeyPage.php+23
Undefined index: email
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 fix the following items
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/subscriptionPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/dashboardPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/inc.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/userSettingsPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/updateEmailValidateKeyPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/startPage.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/projectSettingsPage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/projectSelectCreatePage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/inc/initPages.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/revenueflex-easy-ads/pages/updateUserSettingsPage.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=revenueflex-projectSelectCreatePage
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=revenueflex-projectSelectCreatePage - Access to XMLHttpRequest at 'https://panel.revenueflex.com/rest/user/get' from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/admin.php?page=revenueflex-projectSelectCreatePage
- > Network (severe)
https://panel.revenueflex.com/rest/user/get - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=revenueflex-updateUserSettingsPage
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'includes')" "TypeError: Cannot read properties of null (reading 'includes')\n at isRealEmail (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:1370:38)\n at revenueflex_updateUserSettingsPage (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:185:28)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:1127:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=revenueflex-userSettingsPage
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot read properties of null (reading 'includes')
- > GET request to /wp-admin/admin.php?page=revenueflex-userSettingsPage
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot read properties of null (reading 'includes')" "TypeError: Cannot read properties of null (reading 'includes')\n at isRealEmail (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:1370:38)\n at revenueflex_userSettingsPage (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:130:18)\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/revenueflex-easy-ads/assets/js/revenueflex.js?ver=6.3.1:1126:9)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=revenueflex-projectSettingsPage
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=revenueflex-projectSettingsPage - Access to XMLHttpRequest at 'https://panel.revenueflex.com/rest/project/get' from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=revenueflex-dashboardPage
- > Network (severe)
https://panel.revenueflex.com/rest/project/get - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=revenueflex-dashboardPage
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=revenueflex-dashboardPage - Access to XMLHttpRequest at 'https://panel.revenueflex.com/rest/project/get' from origin '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Please a description for screenshot #6 in revenueflex-easy-ads/assets to your readme.txt
revenueflex-easy-ads/revenueflex.php 77% from 13 tests
The main PHP script in "Auto Ad Inserter - Increase Google Adsense and Ad Manager Revenue" version 1.5 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("revenueflex-easy-ads.php" instead of "revenueflex.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 214 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
There were no executable files found in this plugin51,756 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 8,135 | 138 | 35,193 |
JavaScript | 10 | 3,978 | 2,345 | 15,194 |
PHP | 15 | 60 | 70 | 971 |
PO File | 1 | 132 | 162 | 377 |
SVG | 21 | 0 | 0 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 46 | |
▷ Named functions | 44 | 95.65% |
▷ Anonymous functions | 2 | 4.35% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/revenueflex.png | 9.82KB | 5.61KB | ▼ 42.81% |