Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.27ms] Passed 4 tests
Analyzing server-side resources used by Ezoic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.77 ▲0.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.36 ▲1.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.25 ▲0.59 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.36 ▼7.07 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.62 ▲1.23 |
Server storage [IO: ▲3.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 128 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_ezoic_endpoints |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
ezoic_db_version |
db_upgraded |
ez_ad_integration_enabled |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
ez_adtester_config |
Browser metrics Passed 4 tests
Checking browser requirements for Ezoic
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▲0.30 | 1.67 ▼0.18 | 44.66 ▲1.26 |
Dashboard /wp-admin | 2,198 ▲23 | 5.59 ▼0.07 | 93.95 ▼15.55 | 41.94 ▲1.62 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.07 | 38.88 ▲4.12 | 37.33 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 22.91 ▼0.26 | 595.17 ▼53.69 | 52.80 ▼0.89 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.14 ▲0.00 | 96.61 ▼1.83 | 41.87 ▲1.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_ezoic_endpoints
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- ez_adtester_config
- can_compress_scripts
- widget_theysaidso_widget
- ez_ad_integration_enabled
- ezoic_db_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/ezoic-integration/admin/partials/ezoic-integration-admin-display-adstxtmanager.php
- > /wp-content/plugins/ezoic-integration/public/partials/ezoic-integration-public-display.php
- > /wp-content/plugins/ezoic-integration/admin/partials/ezoic-integration-admin-display-cdn.php
- > /wp-content/plugins/ezoic-integration/admin/partials/ezoic-integration-admin-display.php
- > /wp-content/plugins/ezoic-integration/ezoic-cache-handle/ezoic-handle-cache.php
- 35× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_Feature' not found in wp-content/plugins/ezoic-integration/includes/adpos/class-ezoic-adpos.php:5
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_AdTester_Inserter' not found in wp-content/plugins/ezoic-integration/includes/adtester/class-ezoic-adtester-native-inserter.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Ezoic_Namespace\\iAdsTxtManager_Solution' not found in wp-content/plugins/ezoic-integration/includes/adstxtmanager/class-ezoic-adstxtmanager-file-modifier.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function Ezoic_Namespace\\plugin_dir_path() in wp-content/plugins/ezoic-integration/includes/class-ezoic-integration-deactivator.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function Ezoic_Namespace\\plugin_dir_path() in wp-content/plugins/ezoic-integration/admin/class-ezoic-integration-settings.php:14
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_Content_Export' not found in wp-content/plugins/ezoic-integration/includes/content/emote/class-ezoic-emote-export.php:14
- > PHP Notice
Undefined variable: type in wp-content/plugins/ezoic-integration/admin/partials/ezoic-integration-admin-display-adstxtmanager.php on line 42
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_Feature' not found in wp-content/plugins/ezoic-integration/includes/adtester/class-ezoic-adtester.php:5
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_Feature' not found in wp-content/plugins/ezoic-integration/includes/adpos/class-ezoic-adpos.php:5
- > PHP Fatal error
Uncaught Error: Class 'Ezoic_Namespace\\Ezoic_Feature' not found in wp-content/plugins/ezoic-integration/includes/content/cms/class-ezoic-cms.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
ezoic-integration/ezoic-integration.php 92% from 13 tests
The main PHP script in "Ezoic" version 2.9.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 193 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected19,611 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 110 | 3,174 | 7,563 | 19,445 |
CSS | 3 | 30 | 11 | 157 |
Markdown | 1 | 0 | 0 | 5 |
JSON | 2 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 1 | 2 |
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.49 |
Average class complexity | 31.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 582.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 59.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 114 | |
▷ Abstract classes | 7 | 6.14% |
▷ Concrete classes | 107 | 93.86% |
▷ Final classes | 0 | 0.00% |
Methods | 1,294 | |
▷ Static methods | 240 | 18.55% |
▷ Public methods | 1,023 | 79.06% |
▷ Protected methods | 98 | 7.57% |
▷ Private methods | 173 | 13.37% |
Functions | 91 | |
▷ Named functions | 32 | 35.16% |
▷ Anonymous functions | 59 | 64.84% |
Constants | 63 | |
▷ Global constants | 33 | 52.38% |
▷ Class constants | 30 | 47.62% |
▷ Public constants | 30 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
admin/img/ezoic-logo.png | 7.14KB | 3.20KB | ▼ 55.19% |