Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/ads-ez/DbHelper.php+228
Function get_magic_quotes_gpc() is deprecated
Server metrics [RAM: ▼0.00MB] [CPU: ▼300.11ms] Passed 4 tests
Analyzing server-side resources used by Ads EZ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.09 | 58.83 ▼39.65 |
Dashboard /wp-admin | 3.44 ▲0.03 | 33.26 ▼0.19 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 39.89 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 98.80 ▼1,159.00 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 27.56 ▼1.58 |
Server storage [IO: ▲2.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 131 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_ads_administrator |
wp_ads_categories |
wp_ads_options_meta |
New WordPress options |
---|
adsEz |
Browser metrics Passed 4 tests
Ads EZ: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,791 ▲37 | 15.82 ▲0.50 | 5.77 ▼0.41 | 2.03 ▼0.72 |
Dashboard /wp-admin | 2,897 ▲46 | 6.06 ▼0.11 | 159.60 ▲5.84 | 164.22 ▲2.89 |
Posts /wp-admin/edit.php | 2,690 ▼1 | 3.24 ▲0.01 | 63.26 ▼1.10 | 193.99 ▲39.30 |
Add New Post /wp-admin/post-new.php | 1,619 ▼16 | 17.69 ▼1.83 | 364.13 ▼78.41 | 144.63 ▼15.32 |
Media Library /wp-admin/upload.php | 1,700 ▲5 | 5.56 ▲0.04 | 136.70 ▼19.87 | 189.50 ▼29.33 |
Ads EZ Lite /wp-admin/ads-ez.php | 26 | 0.94 | 0.03 | 23.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 3 tables in the database
- wp_ads_administrator
- wp_ads_categories
- wp_ads_options_meta
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 fix the following
- 40× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/ads-ez/admin/lock.php
- > /wp-content/plugins/ads-ez/admin/ajax/categories.php
- > /wp-content/plugins/ads-ez/admin/login.php
- > /wp-content/plugins/ads-ez/admin/pub.php
- > /wp-content/plugins/ads-ez/admin/banners-new.php
- > /wp-content/plugins/ads-ez/admin/advanced.php
- > /wp-content/plugins/ads-ez/admin/openx.php
- > /wp-content/plugins/ads-ez/ad.php
- > /wp-content/plugins/ads-ez/avw.php
- > /wp-content/plugins/ads-ez/admin/promo.php
- 15× 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 renderFooter() in wp-content/plugins/ads-ez/admin/footer.php:4
- > PHP Notice
Undefined variable: badgeTarget in wp-content/plugins/ads-ez/fallback.php on line 12
- > PHP Notice
Undefined variable: badgeEnabled in wp-content/plugins/ads-ez/fallback.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'EZ' not found in wp-content/plugins/ads-ez/admin/support.php:3
- > PHP Notice
Undefined variable: height in wp-content/plugins/ads-ez/fallback.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ads-ez/EzPlugin.php:386
- > PHP Notice
Undefined variable: small in wp-content/plugins/ads-ez/fallback.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function menuShown() in wp-content/plugins/ads-ez/admin/intro.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ads-ez/EzPlugin.php:386
- > PHP Fatal error
Uncaught Error: Class 'EZ' not found in wp-content/plugins/ads-ez/admin/tour.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/ads-ez.php
- > Network (severe)
wp-admin/ads-ez.php - 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
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Dashboard, showing the beautifully designed admin interface.), #2 (Tour and Help, to quickly get started with Ads EZ.), #3 (Admin interface elements.), #4 (Listing your banners.), #5 (Generating invocation codes.), #6 (Configuration optons, showing help.), #7 (Editing categories.), #8 (Admin page tour sample screen, showing a dark theme.), #9 (Ad serving statistics and charts in the Pro version.), #10 (Advanced tools and Cache management in the Pro version.), #11 (OpenX/Revive replacement tools in the Pro version.), #12 (Drag-and-drop banners upload in the Pro version.)
ads-ez/ads-ez.php 92% from 13 tests
The primary PHP file in "Ads EZ" version 3.20 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 210 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected10,748 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 63 | 545 | 185 | 6,888 |
CSS | 11 | 216 | 103 | 1,867 |
JavaScript | 11 | 99 | 95 | 1,189 |
SVG | 2 | 0 | 0 | 749 |
SQL | 1 | 6 | 0 | 55 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 46.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 157.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 225 | |
▷ Static methods | 93 | 41.33% |
▷ Public methods | 219 | 97.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 2.67% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
26 compressed PNG files occupy 0.82MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 54.08KB | 56.98KB | 0.00% |
admin/img/clear.png | 0.50KB | 0.38KB | ▼ 22.59% |
screenshot-7.png | 34.30KB | 35.96KB | 0.00% |
admin/img/star-on.png | 0.62KB | 0.61KB | ▼ 1.58% |
admin/img/star-off.png | 0.67KB | 0.61KB | ▼ 9.05% |