Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.82ms] Passed 4 tests
An overview of server-side resources used by Marketo Lite for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.27 ▼1.79 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.89 ▼12.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.36 ▼6.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.65 ▼10.31 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.32 ▼0.17 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Marketo Lite for Contact Form 7
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲37 | 13.20 ▼1.19 | 1.74 ▼0.31 | 43.63 ▲2.81 |
Dashboard /wp-admin | 2,211 ▲23 | 5.82 ▼0.08 | 98.95 ▼2.31 | 36.89 ▼6.12 |
Posts /wp-admin/edit.php | 2,097 ▲5 | 2.01 ▼0.04 | 36.85 ▼5.69 | 33.68 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,550 ▲31 | 18.44 ▼4.52 | 622.83 ▼55.45 | 60.32 ▲2.21 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.21 ▼0.08 | 94.81 ▼3.88 | 47.11 ▲5.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 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 Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: contact, form, marketo, cf7, mailing list...
cf7-marketo-lite/marketo-lite-for-cf7.php 85% from 13 tests
Analyzing the main PHP file in "Marketo Lite for Contact Form 7" version 1.6
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.7" instead of "2.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("cf7-marketo-lite.php" instead of "marketo-lite-for-cf7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,718 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 671 | 343 | 1,537 |
JavaScript | 2 | 26 | 0 | 83 |
CSS | 1 | 11 | 0 | 61 |
Markdown | 1 | 11 | 0 | 37 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 81 | |
▷ Static methods | 23 | 28.40% |
▷ Public methods | 79 | 97.53% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 2.47% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin