Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.50ms] Passed 4 tests
A check of server-side resources used by Techsarathy Sendy CF7 Integration
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 40.91 ▼7.45 |
Dashboard /wp-admin | 3.43 ▲0.12 | 47.17 ▼6.70 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.15 ▼4.94 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 100.70 ▼2.90 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 38.06 ▲3.02 |
Sendy List /wp-admin/edit.php?post_type=tssendy | 3.39 | 37.50 |
Add New /wp-admin/post-new.php?post_type=tssendy | 3.38 | 44.70 |
Settings /wp-admin/edit.php?post_type=tssendy&page=ts_sendy_settings | 3.32 | 30.61 |
Server storage [IO: ▲2.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Techsarathy Sendy CF7 Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.32 ▼1.11 | 1.88 ▼0.22 | 46.39 ▼0.40 |
Dashboard /wp-admin | 2,236 ▲45 | 5.94 ▲0.05 | 111.35 ▲6.78 | 83.74 ▲41.61 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 1.99 ▼0.06 | 38.01 ▼3.52 | 34.10 ▼4.60 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.03 ▲5.55 | 701.96 ▲91.26 | 50.69 ▼1.26 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.18 ▲0.01 | 96.85 ▼4.15 | 75.10 ▲31.21 |
Sendy List /wp-admin/edit.php?post_type=tssendy | 1,127 | 2.47 | 46.92 | 71.07 |
Add New /wp-admin/post-new.php?post_type=tssendy | 1,502 | 3.25 | 57.32 | 92.83 |
Settings /wp-admin/edit.php?post_type=tssendy&page=ts_sendy_settings | 916 | 2.43 | 34.52 | 43.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% 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 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
Almost there! Just fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/techsarathy-sendy-cf7-integration/classes/TsSendyPostType.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/techsarathy-sendy-cf7-integration/views/TsSendyShortcode/sendy.php:2
- > PHP Fatal error
Uncaught Error: Class 'TsSendySettings' not found in wp-content/plugins/techsarathy-sendy-cf7-integration/views/TsSendySettings/general-settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: contact form 7, sendy campaign, campaign, sendy email, sendy...
techsarathy-sendy-cf7-integration/tssendy.php 69% from 13 tests
"Techsarathy Sendy CF7 Integration" version 1.1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("techsarathy-sendy-cf7-integration.php" instead of "tssendy.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 detected2,578 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 393 | 293 | 970 |
SVG | 1 | 0 | 0 | 769 |
PHP | 6 | 149 | 177 | 542 |
CSS | 4 | 14 | 49 | 216 |
PO File | 1 | 28 | 30 | 81 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 16.25 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 29 | |
▷ Static methods | 28 | 96.55% |
▷ Public methods | 29 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/adminIcon.png | 0.39KB | 0.28KB | ▼ 26.58% |