Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.55MB] [CPU: ▼3.57ms] Passed 4 tests
Server-side resources used by WP Advanced newsletter
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 33.46 ▼4.27 |
Dashboard /wp-admin | 3.87 ▲0.57 | 49.47 ▲3.99 |
Posts /wp-admin/edit.php | 3.92 ▲0.57 | 53.34 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.59 | 87.98 ▼15.77 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 39.67 ▲5.82 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 118 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Advanced newsletter
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,058 ▲301 | 14.73 ▲0.17 | 20.81 ▲18.85 | 43.39 ▼4.52 |
Dashboard /wp-admin | 2,282 ▲94 | 5.17 ▼0.73 | 109.58 ▲7.07 | 38.00 ▼5.57 |
Posts /wp-admin/edit.php | 2,168 ▲79 | 2.45 ▲0.42 | 43.50 ▲0.84 | 34.33 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,564 ▲30 | 23.67 ▲0.69 | 665.19 ▲40.60 | 35.88 ▼15.87 |
Media Library /wp-admin/upload.php | 1,464 ▲79 | 4.47 ▲0.12 | 99.84 ▼0.37 | 41.56 ▼3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 56× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-advanced-newsletter/email-service/activecampaign/includes/Auth.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-advanced-newsletter/email-service/activecampaign/includes/Campaign.class.php:3
- > PHP Fatal error
Uncaught Error: Interface 'Ctct\\Auth\\CtctDataStore' not found in wp-content/plugins/wp-advanced-newsletter/email-service/constant_contact_api/src/Ctct/Auth/SessionDataStore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Ctct\\Components\\Component' not found in wp-content/plugins/wp-advanced-newsletter/email-service/constant_contact_api/src/Ctct/Components/Tracking/ClickActivity.php:13
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-advanced-newsletter/email-service/activecampaign/includes/Form.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'Ctct\\Services\\BaseService' not found in wp-content/plugins/wp-advanced-newsletter/email-service/constant_contact_api/src/Ctct/Services/ContactTrackingService.php:20
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-advanced-newsletter/email-service/activecampaign/includes/Message.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'Ctct\\Services\\BaseService' not found in wp-content/plugins/wp-advanced-newsletter/email-service/constant_contact_api/src/Ctct/Services/ContactService.php:14
- > PHP Fatal error
Uncaught Error: Class 'Ctct\\Services\\BaseService' not found in wp-content/plugins/wp-advanced-newsletter/email-service/constant_contact_api/src/Ctct/Services/CampaignScheduleService.php:14
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/wp-advanced-newsletter/email-service/activecampaign/includes/List.class.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% 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
6 plugin tags: email newsletter, popup newsletter, email marketing, newsletter subscription, wordpress newsletter...
wp-advanced-newsletter/wp-advanced-newsletter.php 85% from 13 tests
The primary PHP file in "WP Advanced newsletter" version 1.0.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 178 characters long)
- Domain Path: The domain path folder was not found ("/language/")
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
No dangerous file extensions were detected22,589 lines of code in 105 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 2,656 | 1,742 | 13,934 |
PHP | 89 | 1,309 | 4,810 | 8,024 |
CSS | 5 | 30 | 18 | 377 |
PO File | 1 | 89 | 139 | 194 |
XML | 3 | 0 | 0 | 43 |
YAML | 1 | 5 | 0 | 15 |
INI | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 2 | 2.67% |
▷ Concrete classes | 73 | 97.33% |
▷ Final classes | 0 | 0.00% |
Methods | 541 | |
▷ Static methods | 33 | 6.10% |
▷ Public methods | 535 | 98.89% |
▷ Protected methods | 2 | 0.37% |
▷ Private methods | 4 | 0.74% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.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
5 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
colorbox/images/controls.png | 0.49KB | 0.57KB | 0.00% |
colorbox/images/overlay.png | 0.11KB | 0.15KB | 0.00% |
assets/images/logo.png | 33.43KB | 16.71KB | ▼ 50.03% |
assets/images/mail.png | 1.92KB | 1.86KB | ▼ 3.30% |
assets/images/help.png | 2.50KB | 1.80KB | ▼ 27.93% |