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.12MB] [CPU: ▲1.89ms] Passed 4 tests
An overview of server-side resources used by Email Marketing Services Integration
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 46.02 ▲7.80 |
Dashboard /wp-admin | 3.42 ▲0.11 | 50.53 ▲1.97 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 47.23 ▲4.17 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 87.49 ▼2.31 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.56 ▲3.73 |
Get More /wp-admin/admin.php?page=wow-company | 3.35 | 257.55 |
EMS Integration /wp-admin/admin.php?page=email-marketing-services-integration | 3.33 | 31.75 |
Server storage [IO: ▲1.46MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 92 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Email Marketing Services Integration: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲135 | 13.24 ▼1.13 | 1.73 ▲0.05 | 39.88 ▼2.83 |
Dashboard /wp-admin | 2,273 ▲91 | 5.87 ▲0.99 | 96.85 ▼8.80 | 39.14 ▼1.69 |
Posts /wp-admin/edit.php | 2,159 ▲70 | 2.05 ▲0.03 | 34.50 ▼3.81 | 35.12 ▼1.60 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 17.70 ▼5.86 | 687.32 ▲63.69 | 76.78 ▲16.34 |
Media Library /wp-admin/upload.php | 1,462 ▲77 | 4.26 ▲0.08 | 109.87 ▲9.51 | 43.67 ▼0.72 |
Get More /wp-admin/admin.php?page=wow-company | 1,452 | 1.86 | 29.47 | 58.66 |
EMS Integration /wp-admin/admin.php?page=email-marketing-services-integration | 1,034 | 1.73 | 25.51 | 52.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/email-marketing-services-integration/services/aweber/aweber_entry.php:3
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/email-marketing-services-integration/services/aweber/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/email-marketing-services-integration/services/aweber/oauth_application.php:56
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/email-marketing-services-integration/services/aweber/aweber_response.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Integration), #2 (Email Services)
email-marketing-services-integration/ems-integration.php 69% from 13 tests
The primary PHP file in "Email Marketing Services Integration" version 1.2.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Domain Path: Prefix the domain path with a forward slash character ("/ems-integration")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("email-marketing-services-integration.php" instead of "ems-integration.php")
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path should use only dashes and lowercase characters ("ems-integration")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin11,742 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 10 | 37 | 3,338 |
SVG | 1 | 0 | 0 | 2,671 |
PHP | 36 | 458 | 1,078 | 2,135 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
JavaScript | 2 | 7 | 0 | 72 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 6.59 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 2 | 7.41% |
Methods | 149 | |
▷ Static methods | 4 | 2.68% |
▷ Public methods | 125 | 83.89% |
▷ Protected methods | 21 | 14.09% |
▷ Private methods | 3 | 2.01% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and 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 |
admin/partials/thankyou.png | 2.23KB | 1.88KB | ▼ 15.62% |