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.20MB] [CPU: ▼5.77ms] Passed 4 tests
This is a short check of server-side resources used by Wise Agent Lead Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 41.08 ▲0.68 |
Dashboard /wp-admin | 3.52 ▲0.17 | 50.16 ▼8.41 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 49.93 ▲5.78 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 80.46 ▼21.12 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.95 ▲9.80 |
Settings /wp-admin/admin.php?page=wiseagent-settings | 3.39 | 31.88 |
Capture Forms /wp-admin/admin.php?page=wiseagent-captureforms | 3.42 | 29.64 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
wiseagent_recaptcha_options |
wiseagent_options |
wiseagent_hcaptcha_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wise Agent Lead Forms
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲73 | 14.20 ▼0.17 | 1.99 ▼0.09 | 43.97 ▲0.17 |
Dashboard /wp-admin | 2,221 ▲50 | 5.56 ▲0.02 | 92.88 ▲9.09 | 81.99 ▲46.00 |
Posts /wp-admin/edit.php | 2,132 ▲29 | 1.99 ▲0.02 | 34.24 ▼4.42 | 33.36 ▼5.85 |
Add New Post /wp-admin/post-new.php | 1,701 ▲164 | 22.45 ▲3.98 | 708.99 ▲103.60 | 56.60 ▼0.59 |
Media Library /wp-admin/upload.php | 1,423 ▲20 | 4.21 ▲0.01 | 96.21 ▼4.96 | 67.86 ▲25.07 |
Settings /wp-admin/admin.php?page=wiseagent-settings | 812 | 1.99 | 23.40 | 27.02 |
Capture Forms /wp-admin/admin.php?page=wiseagent-captureforms | 797 | 2.00 | 24.52 | 25.15 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/wiseagentleadform/wa_widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
- Requires at least: Version not formatted correctly
- Tested up to: Version not formatted correctly
wiseagentleadform/wiseagent.php 92% from 13 tests
Analyzing the main PHP file in "Wise Agent Lead Forms" version 3.2
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("wiseagentleadform.php" instead of "wiseagent.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,522 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 220 | 330 | 1,344 |
CSS | 1 | 13 | 0 | 91 |
JavaScript | 2 | 8 | 8 | 87 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 37.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 83.08% |
▷ Protected methods | 4 | 6.15% |
▷ Private methods | 7 | 10.77% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo_welcome.png | 3.17KB | 0.83KB | ▼ 73.76% |