Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/ads-ez/DbHelper.php+228
Function get_magic_quotes_gpc() is deprecated
Server metrics [RAM: ▲0.08MB] [CPU: ▼0.05ms] Passed 4 tests
Analyzing server-side resources used by Ads EZ
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.22 ▼2.37 |
Dashboard /wp-admin | 3.39 ▲0.08 | 47.19 ▼0.57 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 48.87 ▲3.38 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.25 ▼0.17 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.99 ▲2.90 |
Server storage [IO: ▲2.44MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 131 new files
Database: 5 new tables, 7 new options
New tables |
---|
wp_ads_htmlAds |
wp_ads_categories |
wp_ads_banners |
wp_ads_administrator |
wp_ads_options_meta |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
adsEz |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Ads EZ
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲58 | 13.34 ▼1.42 | 1.73 ▼0.42 | 41.67 ▼1.32 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼0.01 | 105.54 ▼14.25 | 38.76 ▼5.32 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.01 ▼0.01 | 33.42 ▼1.77 | 34.18 ▲0.97 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.01 ▲4.83 | 684.87 ▲18.09 | 57.75 ▼0.74 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.20 ▲0.05 | 112.48 ▲15.79 | 47.80 ▲5.93 |
Ads EZ Lite /wp-admin/ads-ez.php | 26 | 0.44 | 0.08 | 13.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure failed, leaving 5 tables in the database
- wp_ads_banners
- wp_ads_htmlAds
- wp_ads_options_meta
- wp_ads_categories
- wp_ads_administrator
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 40× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/ads-ez/admin/banners.php
- > /wp-content/plugins/ads-ez/afr.php
- > /wp-content/plugins/ads-ez/admin/pub.php
- > /wp-content/plugins/ads-ez/admin/categories.php
- > /wp-content/plugins/ads-ez/admin/reinstall.php
- > /wp-content/plugins/ads-ez/admin/htmlAds-edit.php
- > /wp-content/plugins/ads-ez/admin/header.php
- > /wp-content/plugins/ads-ez/admin/banners-new.php
- > /wp-content/plugins/ads-ez/admin/stats.php
- > /wp-content/plugins/ads-ez/admin/update.php
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: small in wp-content/plugins/ads-ez/fallback.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'EZ' not found in wp-content/plugins/ads-ez/admin/tour.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function renderFooter() in wp-content/plugins/ads-ez/admin/footer.php:4
- > 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: 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 Notice
Undefined variable: height in wp-content/plugins/ads-ez/fallback.php on line 12
- > PHP Notice
Undefined variable: height in wp-content/plugins/ads-ez/fallback.php on line 12
- > 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 __() in wp-content/plugins/ads-ez/admin/options-default.php:4
- > PHP Notice
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 is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your 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 entry point to "Ads EZ" version 3.20 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 210 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions 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
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
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 |
admin/img/star-on.png | 0.62KB | 0.61KB | ▼ 1.58% |
screenshot-2.png | 49.31KB | 51.88KB | 0.00% |
screenshot-6.png | 32.10KB | 33.00KB | 0.00% |
screenshot-4.png | 54.08KB | 56.98KB | 0.00% |
screenshot-10.png | 46.47KB | 48.24KB | 0.00% |