Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼4.79ms] Passed 4 tests
An overview of server-side resources used by ICAAL Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.75 ▲3.98 |
Dashboard /wp-admin | 3.39 ▲0.05 | 57.97 ▼8.93 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.54 ▲1.07 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 87.08 ▼14.00 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 39.55 ▲2.69 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for ICAAL Contact Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲167 | 13.89 ▼0.28 | 8.71 ▲6.87 | 39.82 ▲0.05 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.18 | 103.86 ▼7.48 | 39.75 ▼4.37 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 36.31 ▼7.09 | 33.56 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,518 ▼19 | 23.15 ▲0.02 | 647.23 ▼13.25 | 53.95 ▼9.88 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.17 ▼0.01 | 95.32 ▼14.37 | 41.19 ▼6.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/icaal-contact-form/admin/partials/icaal-contact-form-admin-display.php
- > /wp-content/plugins/icaal-contact-form/public/partials/icaal-contact-form-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== icaal-contact-form ===
)
icaal-contact-form/icaal-contact-form.php Passed 13 tests
Analyzing the main PHP file in "ICAAL Contact Form" version 1.3.3
75 characters long description:
Create simple contact forms, send via. AJAX and post to the ICAAL Dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin420 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 165 | 531 | 348 |
JavaScript | 2 | 14 | 27 | 72 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 23 | 69.70% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 30.30% |
Functions | 3 | |
▷ Named functions | 3 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin