Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.11ms] Passed 4 tests
An overview of server-side resources used by Agile CRM Contact Form 7 Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.86 ▼0.53 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.23 ▲0.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 44.88 ▼12.17 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.54 ▼0.47 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.43 ▲0.73 |
Agile Contact Form 7 Forms /wp-admin/options-general.php?page=agile-cf7-addon | 3.25 | 31.64 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Agile CRM Contact Form 7 Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲37 | 14.25 ▼0.02 | 1.71 ▲0.08 | 44.82 ▲3.90 |
Dashboard /wp-admin | 2,202 ▲25 | 5.67 ▲0.14 | 85.13 ▼11.76 | 38.15 ▲0.39 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.02 | 38.24 ▲2.12 | 31.97 ▼6.90 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.90 ▲1.64 | 673.45 ▲79.29 | 55.11 ▼3.93 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.16 ▼0.04 | 111.28 ▲13.29 | 50.99 ▲7.65 |
Agile Contact Form 7 Forms /wp-admin/options-general.php?page=agile-cf7-addon | 902 | 2.01 | 27.26 | 32.71 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- 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
Good news, no errors were detected
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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/agile-crm-contact-form-7-forms/agile-contact-form-7.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/agile-crm-contact-form-7-forms/templates/form-tab.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/agile-crm-contact-form-7-forms/templates/account-tab.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 ('/assets/screenshot-1.png'), #2 ('/assets/screenshot-2.png'), #3 ('/assets/screenshot-3.png'), #4 ('/assets/screenshot-4.png')
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
agile-crm-contact-form-7-forms/agile-contact-form-7.php 85% from 13 tests
The main PHP file in "Agile CRM Contact Form 7 Forms" ver. 1.6 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "4.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("agile-crm-contact-form-7-forms.php" instead of "agile-contact-form-7.php")
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
Everything looks great! No dangerous files found in this plugin654 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 110 | 69 | 509 |
JavaScript | 1 | 24 | 1 | 145 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 5.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 1 | 7.69% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/agile500.png | 5.92KB | 3.87KB | ▼ 34.73% |