Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼1.24ms] Passed 4 tests
This is a short check of server-side resources used by Plezi
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 41.68 ▼6.03 |
Dashboard /wp-admin | 3.58 ▲0.28 | 54.84 ▲2.09 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 51.96 ▼1.64 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.29 | 99.12 ▲0.63 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 39.80 ▲6.85 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Plezi: 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 / | 2,979 ▲208 | 13.53 ▼0.85 | 2.10 ▲0.08 | 40.37 ▼5.06 |
Dashboard /wp-admin | 2,367 ▲179 | 5.81 ▲0.94 | 102.01 ▼13.59 | 84.14 ▲42.79 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.02 ▼0.00 | 36.93 ▲0.66 | 34.66 ▼2.75 |
Add New Post /wp-admin/post-new.php | 6,385 ▲4,871 | 27.71 ▲10.07 | 860.59 ▲174.86 | 36.34 ▼15.45 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.27 ▲0.09 | 103.22 ▲1.06 | 75.11 ▲31.31 |
Forms /wp-admin/plezi-for-wordpress-forms.php | 26 | 0.44 | 0.08 | 15.56 |
Setup /wp-admin/plezi-for-wordpress-configuration.php | 26 | 0.44 | 0.12 | 8.66 |
FAQ /wp-admin/plezi-for-wordpress-faq.php | 26 | 0.44 | 0.11 | 7.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/plezi/includes/class-plz-forms.php:6
- > PHP Warning
include_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/plezi/includes/class-plz-forms.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/plezi/module/includes/class-divi-plezi-form-module.php:2
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/plezi/module/includes/modules/PleziForm/PleziForm.php:2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plezi/includes/class-plz-forms.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/class-wp-list-table.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/plezi/includes/class-plz-forms.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/plezi-for-wordpress-forms.php
- > Network (severe)
wp-admin/plezi-for-wordpress-forms.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/plezi-for-wordpress-configuration.php
- > Network (severe)
wp-admin/plezi-for-wordpress-configuration.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/plezi-for-wordpress-faq.php
- > Network (severe)
wp-admin/plezi-for-wordpress-faq.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: automation, forms, tracking, lead generation, plezi one...
plezi/plezi.php 85% from 13 tests
The entry point to "Plezi" version 1.0.4 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 144 characters long)
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin4,560 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 120 | 180 | 2,292 |
PHP | 16 | 257 | 28 | 1,348 |
JavaScript | 10 | 76 | 0 | 446 |
PO File | 1 | 125 | 191 | 304 |
JSON | 4 | 0 | 0 | 73 |
SVG | 8 | 0 | 0 | 69 |
JSX | 1 | 3 | 0 | 15 |
Sass | 2 | 3 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 0 | 0.00% |
Functions | 45 | |
▷ Named functions | 45 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin