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.09MB] [CPU: ▼0.52ms] Passed 4 tests
Server-side resources used by Email Sync
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.59 ▼0.05 |
Dashboard /wp-admin | 3.39 ▲0.09 | 51.65 ▲0.49 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 49.83 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 88.55 ▼2.27 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.52 ▲1.45 |
Email Sync /wp-admin/options-general.php?page=dev7-email-sync | 3.28 | 32.30 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Email Sync: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.22 ▼0.04 | 1.81 ▼0.28 | 46.87 ▲6.63 |
Dashboard /wp-admin | 2,199 ▲19 | 5.60 ▼0.05 | 94.04 ▼4.80 | 42.45 ▲0.64 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.94 ▼0.08 | 36.40 ▼5.11 | 34.88 ▼2.47 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.14 ▲4.83 | 631.19 ▲4.40 | 49.14 ▼8.90 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.16 ▼0.09 | 95.62 ▼6.59 | 40.28 ▼9.79 |
Email Sync /wp-admin/options-general.php?page=dev7-email-sync | 811 | 2.00 | 24.51 | 26.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Interface 'Dev7EmailSync\\Integration' not found in wp-content/plugins/email-sync/src/Integrations/Mailchimp.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: sync, mailchimp, email
email-sync/email-sync.php 92% from 13 tests
The main PHP script in "Email Sync" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,579 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 449 | 2,409 | 1,491 |
JSON | 3 | 0 | 0 | 81 |
Markdown | 1 | 6 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 114 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 114 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 193 | |
▷ Static methods | 2 | 1.04% |
▷ Public methods | 191 | 98.96% |
▷ Protected methods | 1 | 0.52% |
▷ Private methods | 1 | 0.52% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected