Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/adseasy/class-lib/AE_WidgetClass.php+258
Function create_function() is deprecated
Server metrics [RAM: ▼2.13MB] [CPU: ▼356.34ms] Passed 4 tests
A check of server-side resources used by Ads Easy
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.28 | 6.01 ▼42.81 |
Dashboard /wp-admin | 2.25 ▼1.15 | 5.75 ▼26.15 |
Posts /wp-admin/edit.php | 2.25 ▼1.39 | 5.28 ▼31.70 |
Add New Post /wp-admin/post-new.php | 2.25 ▼4.72 | 5.49 ▼1,324.69 |
Media Library /wp-admin/upload.php | 2.25 ▼1.04 | 5.68 ▼19.02 |
Ads Easy /wp-admin/plugins.php?page=ads-easy-settings | 2.26 | 5.75 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 2 new options
New WordPress options |
---|
widget_ads_easy_widget |
ae_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Ads Easy
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,834 ▲90 | 15.72 ▲0.10 | 6.58 ▼0.48 | 16.59 ▲14.30 |
Dashboard /wp-admin | 2,914 ▲53 | 5.98 ▼0.20 | 116.60 ▼19.85 | 174.92 ▲10.71 |
Posts /wp-admin/edit.php | 2,710 ▲16 | 3.24 ▲0.00 | 68.09 ▲5.53 | 145.89 ▲9.44 |
Add New Post /wp-admin/post-new.php | 1,771 ▼10 | 20.99 ▲3.53 | 431.79 ▼2.55 | 163.35 ▲8.17 |
Media Library /wp-admin/upload.php | 1,718 ▲23 | 5.55 ▲0.05 | 127.08 ▼9.80 | 213.86 ▲23.81 |
Ads Easy /wp-admin/plugins.php?page=ads-easy-settings | 1,346 | 4.21 | 80.32 | 135.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/adseasy/class-lib/AE_WidgetClass.php+258
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_ads_easy_widget
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)
Smoke test failed, please fix the following
- > GET request to /wp-admin/plugins.php?page=ads-easy-settings
- > Deprecated in wp-content/plugins/adseasy/class-lib/AE_WidgetClass.php+258
Function create_function() is deprecated
- > GET request to /wp-admin/plugins.php?page=ads-easy-settings
- > Notice in wp-content/plugins/adseasy/class-lib/AE_AdminClass.php+119
Undefined index: use_google_tags
- > GET request to /wp-admin/plugins.php?page=ads-easy-settings
- > Notice in wp-content/plugins/adseasy/class-lib/AE_AdminClass.php+133
Undefined index: ae_css
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
The following issues need your attention
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'A5_OptionPage' not found in wp-content/plugins/adseasy/class-lib/AE_AdminClass.php:12
- > PHP Fatal error
Uncaught Error: Class 'A5_DynamicFiles' not found in wp-content/plugins/adseasy/class-lib/AE_DynamicCSSClass.php:13
- > PHP Fatal error
Uncaught Error: Class 'A5_Widget' not found in wp-content/plugins/adseasy/class-lib/AE_WidgetClass.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/adseasy/class-lib/A5_WidgetClass.php:14
- > 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)
There are user-side issues you should fix
- > GET request to /wp-admin/plugins.php?page=ads-easy-settings
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31592 "jQuery.Deferred exception: jQuery(...).live is not a function" "TypeError: jQuery(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/adseasy/ta-expander.min.js?ver=3.0:1:2865)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2:2:30340)" undefined
- > GET request to /wp-admin/plugins.php?page=ads-easy-settings
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.9.2 1:31702 Uncaught TypeError: jQuery(...).live is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
adseasy/adseasy.php 92% from 13 tests
The entry point to "Ads Easy" version 3.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 283 characters long)
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
Good job! No executable or dangerous file extensions detected1,928 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 1,053 | 538 | 1,310 |
PO File | 2 | 131 | 140 | 407 |
JavaScript | 7 | 88 | 51 | 211 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 17.78 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 88 | |
▷ Static methods | 24 | 27.27% |
▷ Public methods | 85 | 96.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.41% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/a5-icon-11.png | 0.67KB | 0.42KB | ▼ 37.17% |
tinymce/AdsEasy.png | 3.83KB | 1.25KB | ▼ 67.28% |
img/a5-icon-34.png | 1.65KB | 1.35KB | ▼ 18.07% |