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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼6.21ms] Passed 4 tests
Analyzing server-side resources used by ClickSend Contact Form 7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 34.11 ▼3.93 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.49 ▼13.65 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.38 ▼1.54 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 90.50 ▼5.70 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.18 ▲1.49 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 31 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_clicksend_messages |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ClickSend Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲115 | 13.74 ▼0.61 | 8.19 ▲6.12 | 37.72 ▼6.88 |
Dashboard /wp-admin | 2,199 ▲25 | 5.65 ▼0.01 | 90.49 ▼7.06 | 44.44 ▼1.27 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.95 ▼0.01 | 38.61 ▼3.10 | 38.49 ▲5.98 |
Add New Post /wp-admin/post-new.php | 1,530 ▲4 | 23.18 ▲0.01 | 654.89 ▼5.63 | 60.45 ▲5.88 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.22 ▲0.04 | 97.36 ▲0.34 | 42.37 ▲1.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/clicksend-contactform7/admin/partials/clicksend-contactform7-admin-display.php
- > /wp-content/plugins/clicksend-contactform7/public/partials/clicksend-contactform7-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clicksend-contactform7/admin/clicksend-contactform7-admin-actions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/clicksend-contactform7/public/clicksend-contactform7-actions.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== clicksend-contactform7 ===
) - Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4 in clicksend-contactform7/assets to your readme.txt
clicksend-contactform7/clicksend-contactform7.php Passed 13 tests
"ClickSend Contact Form 7" version 1.3.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
36 characters long description:
A ContactForm7 plugin for ClickSend.
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
There were no executable files found in this plugin1,282 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 310 | 758 | 1,248 |
JavaScript | 2 | 6 | 56 | 28 |
CSS | 2 | 1 | 8 | 6 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 75 | |
▷ Static methods | 3 | 4.00% |
▷ Public methods | 62 | 82.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 13 | 17.33% |
Functions | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.75MB with 0.54MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 211.90KB | 62.56KB | ▼ 70.48% |
assets/screenshot-4.png | 146.54KB | 37.36KB | ▼ 74.51% |
assets/screenshot-2.png | 225.95KB | 65.82KB | ▼ 70.87% |
assets/screenshot-1.png | 180.29KB | 51.33KB | ▼ 71.53% |