Benchmarks
Plugin footprint 65% 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.07MB] [CPU: ▼17.83ms] Passed 4 tests
This is a short check of server-side resources used by Ads24 Lite - Ultimate WP Ads Manager Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.90 ▼4.43 |
Dashboard /wp-admin | 3.30 ▼0.04 | 35.62 ▼30.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 40.25 ▼13.82 |
Add New Post /wp-admin/post-new.php | 5.54 ▼0.34 | 74.27 ▼22.37 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.76 ▲4.17 |
Ads24 Lite /wp-admin/admin.php?page=a24p-lite-sub-menu | 3.28 | 35.75 |
Users Manager /wp-admin/admin.php?page=a24p-lite-sub-menu-users | 3.28 | 33.39 |
Control Panel /wp-admin/admin.php?page=a24p-lite-sub-menu-spaces | 3.28 | 30.16 |
Ads Scheduling /wp-admin/admin.php?page=a24p-lite-sub-menu-cron | 3.28 | 33.34 |
Settings /wp-admin/admin.php?page=a24p-lite-sub-menu-opts | 3.28 | 30.48 |
Custom Ad Size Tool /wp-admin/admin.php?page=a24p-lite-sub-menu-creator | 3.28 | 32.53 |
A/B Tests /wp-admin/admin.php?page=a24p-lite-sub-menu-ab-tests | 3.28 | 36.00 |
Translations /wp-admin/admin.php?page=a24p-lite-sub-menu-trans | 3.28 | 27.87 |
Add new Ad /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad | 3.28 | 33.51 |
Add new AdSlot /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space | 3.28 | 32.20 |
Server storage [IO: ▲3.40MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 174 new files
Database: 9 new tables, 145 new options
New tables |
---|
wp_ADS24_LITE_sites |
wp_ADS24_LITE_spaces |
wp_ADS24_LITE_stats |
wp_ADS24_LITE_salaries |
wp_ADS24_LITE_cron |
wp_ADS24_LITE_referrals |
wp_ADS24_LITE_ads |
wp_ADS24_LITE_withdrawals |
wp_ADS24_LITE_users |
New WordPress options |
---|
ADS24_LITE_views_counter |
ADS24_LITE_plugin_trans_payment_paid |
ADS24_LITE_plugin_trans_form_img_invalid |
ADS24_LITE_plugin_trans_seller_subject |
ADS24_LITE_plugin_ap_custom |
ADS24_LITE_plugin_trans_stats_next_week |
ADS24_LITE_plugin_prefix |
ADS24_LITE_plugin_stats_views_line |
db_upgraded |
widget_a24p_shortcode_widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Ads24 Lite - Ultimate WP Ads Manager Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,080 ▲334 | 14.95 ▲0.53 | 10.00 ▲8.28 | 44.77 ▲1.79 |
Dashboard /wp-admin | 2,343 ▲155 | 6.18 ▲1.06 | 114.40 ▼4.37 | 79.80 ▲36.95 |
Posts /wp-admin/edit.php | 2,231 ▲142 | 3.01 ▲0.97 | 51.60 ▲14.99 | 55.03 ▲21.38 |
Add New Post /wp-admin/post-new.php | 1,612 ▲78 | 23.59 ▲0.44 | 697.99 ▲10.95 | 38.06 ▼16.11 |
Media Library /wp-admin/upload.php | 1,525 ▲140 | 5.42 ▲1.16 | 117.45 ▲15.17 | 87.84 ▲41.77 |
Ads24 Lite /wp-admin/admin.php?page=a24p-lite-sub-menu | 1,082 | 2.78 | 42.45 | 56.55 |
Users Manager /wp-admin/admin.php?page=a24p-lite-sub-menu-users | 965 | 2.76 | 42.04 | 33.21 |
Control Panel /wp-admin/admin.php?page=a24p-lite-sub-menu-spaces | 934 | 2.73 | 42.57 | 29.62 |
Ads Scheduling /wp-admin/admin.php?page=a24p-lite-sub-menu-cron | 979 | 2.79 | 42.70 | 29.77 |
Settings /wp-admin/admin.php?page=a24p-lite-sub-menu-opts | 7,104 | 5.42 | 180.91 | 41.92 |
Custom Ad Size Tool /wp-admin/admin.php?page=a24p-lite-sub-menu-creator | 992 | 2.78 | 40.46 | 37.52 |
A/B Tests /wp-admin/admin.php?page=a24p-lite-sub-menu-ab-tests | 993 | 2.92 | 44.92 | 33.10 |
Translations /wp-admin/admin.php?page=a24p-lite-sub-menu-trans | 2,446 | 2.82 | 45.00 | 31.03 |
Add new Ad /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad | 939 | 2.83 | 48.89 | 29.31 |
Add new AdSlot /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space | 7,636 | 4.03 | 138.42 | 62.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure failed, leaving 9 tables in the database
- wp_ADS24_LITE_users
- wp_ADS24_LITE_cron
- wp_ADS24_LITE_stats
- wp_ADS24_LITE_withdrawals
- wp_ADS24_LITE_spaces
- wp_ADS24_LITE_ads
- wp_ADS24_LITE_sites
- wp_ADS24_LITE_referrals
- wp_ADS24_LITE_salaries
- Zombie WordPress options detected upon uninstall: 144 options
- ADS24_LITE_plugin_ap_cookie_lifetime
- ADS24_LITE_plugin_trans_example_title
- ADS24_LITE_plugin_trans_form_left_title
- ADS24_LITE_plugin_bbp_topic_hook
- ADS24_LITE_plugin_symbol_position
- ADS24_LITE_plugin_trans_payment_stripe_title
- ADS24_LITE_plugin_agency_minimum_withdrawal
- ADS24_LITE_plugin_trans_buyer_message
- ADS24_LITE_plugin_trans_form_left_button
- ADS24_LITE_plugin_trans_form_invalid_params
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 15 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Notice in wp-content/plugins/wp-ad-management/lib/functions.php+2501
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu
- > Notice in wp-content/plugins/wp-ad-management/admin/dashboard.php+51
Undefined variable: views
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-cron
- > Notice in wp-content/plugins/wp-ad-management/admin/cron.php+21
Undefined variable: ifAdForm
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-cron
- > Notice in wp-content/plugins/wp-ad-management/admin/cron.php+21
Undefined variable: ifSpaceForm
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-cron
- > Notice in wp-content/plugins/wp-ad-management/admin/cron.php+116
Undefined variable: getTasks
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-cron
- > Warning in wp-content/plugins/wp-ad-management/admin/cron.php+116
count(): Parameter must be an array or an object that implements Countable
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-opts
- > Notice in wp-content/plugins/wp-ad-management/admin/settings.php+691
Undefined variable: opt
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-ab-tests
- > Notice in wp-content/plugins/wp-ad-management/admin/ab-tests.php+9
Undefined variable: ifIssetForm
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-ab-tests
- > Notice in wp-content/plugins/wp-ad-management/admin/ab-tests.php+84
Undefined variable: get_ads
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad
- > Warning in wp-content/plugins/wp-ad-management/admin/add-ad.php+279
Invalid argument supplied for foreach()
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-ad-management/lib/ajax-functions.php+43
Undefined index: a24p_space_id
SRP 0% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-ad-management/api/get.php
- > /wp-content/plugins/wp-ad-management/admin/ab-tests.php
- > /wp-content/plugins/wp-ad-management/frontend/php/example.php
- > /wp-content/plugins/wp-ad-management/admin/creator.php
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/frontend/template/block-200--200.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/admin/updates.php:11
- > PHP Notice
Undefined variable: get_ads in wp-content/plugins/wp-ad-management/admin/ab-tests.php on line 84
- > PHP Fatal error
Uncaught Error: Class 'ADS24_LITE_Model' not found in wp-content/plugins/wp-ad-management/lib/ADS24_LITE_Agency_Ordering_form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/wp-ad-management/admin/cron.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/frontend/template/default.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/frontend/template/block-300--250.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/frontend/template/flat-2.php:19
- > PHP Fatal error
Uncaught Error: Class 'ADS24_LITE_Model' not found in wp-content/plugins/wp-ad-management/lib/ADS24_LITE_Ordering_form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-ad-management/frontend/template/block-728--90.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Network (severe)
wp-content/plugins/wp-ad-management/frontend/img/a24p-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-ad 237:26 Uncaught TypeError: Cannot read properties of undefined (reading 'length')
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Network (severe)
wp-content/plugins/ads24-lite-plugin/frontend/img/icon-mobile.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Network (severe)
wp-content/plugins/ads24-lite-plugin/frontend/img/icon-tablet.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Network (severe)
wp-content/plugins/ads24-lite-plugin/frontend/img/icon-desktop.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > 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: a24pCheckItem.live is not a function" "TypeError: a24pCheckItem.live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space:2989:19)\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=a24p-lite-sub-menu-add-new-space
- > 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: a24pCheckItem.live is not a function
- > GET request to /wp-admin/admin.php?page=a24p-lite-sub-menu-add-new-space
- > Network (severe)
wp-content/plugins/ads24-lite-plugin/frontend/img/example.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (MultiStep Lite Form Menu), #2 (MultiStep Editor Panel), #3 (Drag & Drop Form Creator), #4 (Form Editor Fields), #5 (Frontend Form View), #6 (Having Question ?)
wp-ad-management/ads24-lite.php 92% from 13 tests
"Ads24 Lite - Ultimate WP Ads Manager Plugin" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-ad-management.php" instead of "ads24-lite.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected50,566 lines of code in 135 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 65 | 2,722 | 3,227 | 19,324 |
JavaScript | 10 | 3,117 | 3,323 | 16,894 |
CSS | 59 | 3,045 | 672 | 13,597 |
SVG | 1 | 0 | 0 | 751 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 167)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 125.45 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 739.00 |
Average method complexity | 6.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 167.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 252 | |
▷ Static methods | 16 | 6.35% |
▷ Public methods | 195 | 77.38% |
▷ Protected methods | 52 | 20.63% |
▷ Private methods | 5 | 1.98% |
Functions | 107 | |
▷ Named functions | 107 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 3 | 23.08% |
▷ Class constants | 10 | 76.92% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.25MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
frontend/img/incorrect.png | 3.59KB | 1.02KB | ▼ 71.48% |
frontend/img/icon-drag-16.png | 0.28KB | 0.32KB | 0.00% |
frontend/img/example.png | 6.92KB | 2.20KB | ▼ 68.13% |
frontend/img/corner-peel.png | 78.61KB | 53.12KB | ▼ 32.42% |
frontend/img/correct.png | 3.51KB | 0.87KB | ▼ 75.19% |