Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.82MB] [CPU: ▲159.40ms] Passed 4 tests
This is a short check of server-side resources used by EZFunnels
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.28 ▲0.82 | 47.09 ▲1.31 |
Dashboard /wp-admin | 4.14 ▲0.80 | 309.63 ▲243.06 |
Posts /wp-admin/edit.php | 4.19 ▲0.84 | 270.71 ▲222.92 |
Add New Post /wp-admin/post-new.php | 6.75 ▲0.86 | 297.99 ▲194.08 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 257.79 ▲219.30 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 70 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
_ezf_activation_status |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for EZFunnels
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.72 ▲0.37 | 1.83 ▲0.04 | 42.73 ▼5.39 |
Dashboard /wp-admin | 2,198 ▲21 | 5.65 ▼0.00 | 87.33 ▼3.57 | 85.43 ▲40.53 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.97 ▲0.01 | 35.56 ▲0.03 | 34.47 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,697 ▲171 | 22.52 ▼0.41 | 706.12 ▲17.45 | 46.41 ▼6.30 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.15 ▼0.08 | 99.73 ▼5.58 | 79.15 ▲31.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- _ezf_activation_status
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
The following issues need your attention
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Controller' not found in wp-content/plugins/ezfunnels/includes/controllers/funnels.php:13
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Models\\WP' not found in wp-content/plugins/ezfunnels/includes/models/user.php:7
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Service' not found in wp-content/plugins/ezfunnels/includes/services/locale.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function EZF\\add_action() in wp-content/plugins/ezfunnels/ezfunnels.php:20
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Helpers\\View' not found in wp-content/plugins/ezfunnels/assets/dashboard/views/options/header/header.php:15
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Controller' not found in wp-content/plugins/ezfunnels/includes/controllers/design.php:12
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Options\\Page' not found in wp-content/plugins/ezfunnels/includes/controllers/options/pages/general/page.php:9
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Options\\Section' not found in wp-content/plugins/ezfunnels/includes/controllers/options/pages/general/sections/general.php:7
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Models\\WP' not found in wp-content/plugins/ezfunnels/includes/models/variation.php:10
- > PHP Fatal error
Uncaught Error: Class 'EZF\\Classes\\Models\\WP' not found in wp-content/plugins/ezfunnels/includes/models/funnel.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (14 tag instead of maximum 10)
ezfunnels/ezfunnels.php 92% from 13 tests
This is the main PHP file of "EZFunnels" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin4,497 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 972 | 3,493 | 3,153 |
CSS | 4 | 47 | 17 | 489 |
JavaScript | 4 | 72 | 20 | 339 |
Sass | 1 | 63 | 0 | 318 |
PO File | 1 | 76 | 81 | 183 |
SVG | 2 | 0 | 0 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 17.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 73.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 2 | 8.33% |
▷ Concrete classes | 22 | 91.67% |
▷ Final classes | 15 | 68.18% |
Methods | 318 | |
▷ Static methods | 139 | 43.71% |
▷ Public methods | 297 | 93.40% |
▷ Protected methods | 14 | 4.40% |
▷ Private methods | 7 | 2.20% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 compressed PNG files occupy 0.01MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/dashboard/images/minimal-logo.png | 1.48KB | 1.04KB | ▼ 29.79% |
assets/dashboard/images/without_preview.png | 6.33KB | 6.35KB | 0.00% |
assets/dashboard/images/logo.png | 5.13KB | 5.14KB | 0.00% |