Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲0.48ms] Passed 4 tests
A check of server-side resources used by Affiliates Contact Form 7 Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.20 ▲1.68 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.67 ▲1.10 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 51.18 ▼4.50 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 102.58 ▲11.32 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.82 ▲3.62 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Affiliates Contact Form 7 Integration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲29 | 14.47 ▼0.20 | 1.75 ▲0.03 | 43.84 ▲0.07 |
Dashboard /wp-admin | 2,235 ▲29 | 5.89 ▲0.06 | 104.10 ▼2.86 | 41.73 ▲4.76 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.00 ▼0.05 | 37.52 ▼2.26 | 35.73 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 17.67 ▼5.71 | 712.76 ▲39.35 | 54.00 ▼1.89 |
Media Library /wp-admin/upload.php | 1,420 ▲29 | 4.26 ▲0.08 | 98.38 ▲2.61 | 42.34 ▲0.96 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 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 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues 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
Attributes that require attention:
- Tags: There are too many tags (28 tag instead of maximum 10)
- Screenshots: Please add images for these screenshots: #1 (Settings), #2 (More settings), #3 (Referral recorded for a contact form submission), #4 (Referral recorded for a form with fixed amount), #5 (Referral recorded for a form that provides a base amount used to calculate the referral amount), #6 (Example form with a hidden fixed amount), #7 (Example form with a base-amount field)
affiliates-contact-form-7/affiliates-contact-form-7.php Passed 13 tests
"Affiliates Contact Form 7 Integration" version 5.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
83 characters long description:
Integrates Affiliates, Affiliates Pro and Affiliates Enterprise with Contact Form 7
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
Success! There were no dangerous files found in this plugin945 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 155 | 270 | 945 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 61.75 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 15.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 93.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 | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 17 | 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 | 34 | |
▷ Global constants | 3 | 8.82% |
▷ Class constants | 31 | 91.18% |
▷ Public constants | 31 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.38MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 78.80KB | 26.65KB | ▼ 66.18% |
screenshot-5.png | 32.63KB | 9.33KB | ▼ 71.40% |
screenshot-3.png | 37.18KB | 10.96KB | ▼ 70.52% |
screenshot-7.png | 44.28KB | 12.24KB | ▼ 72.35% |
screenshot-4.png | 48.99KB | 13.24KB | ▼ 72.97% |