Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.37MB] [CPU: ▼5.13ms] Passed 4 tests
Analyzing server-side resources used by WP Mailing Status
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.53 ▲1.07 | 53.53 ▲10.05 |
Dashboard /wp-admin | 4.35 ▲1.05 | 58.40 ▲5.30 |
Posts /wp-admin/edit.php | 4.47 ▲1.11 | 63.93 ▲16.92 |
Add New Post /wp-admin/post-new.php | 4.22 ▼1.67 | 48.80 ▼52.77 |
Media Library /wp-admin/upload.php | 4.28 ▲1.04 | 55.78 ▲23.08 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 4.43 | 56.12 |
Server storage [IO: ▲1.00MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 167 new files
Database: 4 new tables, 13 new options
New tables |
---|
wp_actionscheduler_logs |
wp_actionscheduler_actions |
wp_actionscheduler_groups |
wp_actionscheduler_claims |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
schema-ActionScheduler_StoreSchema |
widget_theysaidso_widget |
schema-ActionScheduler_LoggerSchema |
action_scheduler_hybrid_store_demarkation |
bda_mail_is_mail_exists |
widget_recent-posts |
bda_mail_is_smtp_enabled |
bda_mail_is_mail_working |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WP Mailing Status
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,185 ▲450 | 15.13 ▲0.90 | 9.33 ▲7.54 | 36.45 ▼7.64 |
Dashboard /wp-admin | 2,389 ▲201 | 5.75 ▲0.84 | 118.15 ▲3.12 | 80.36 ▲31.38 |
Posts /wp-admin/edit.php | 2,278 ▲189 | 2.87 ▲0.81 | 42.05 ▼0.75 | 35.85 ▼1.16 |
Add New Post /wp-admin/post-new.php | 1,756 ▲242 | 23.79 ▲6.30 | 788.66 ▲150.58 | 37.72 ▼13.71 |
Media Library /wp-admin/upload.php | 1,680 ▲292 | 5.15 ▲0.96 | 121.58 ▲22.45 | 48.92 ▲4.53 |
Scheduled Actions /wp-admin/tools.php?page=action-scheduler | 1,427 | 2.49 | 33.71 | 33.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 4 tables
- wp_actionscheduler_groups
- wp_actionscheduler_logs
- wp_actionscheduler_actions
- wp_actionscheduler_claims
- This plugin does not fully uninstall, leaving 10 options in the database
- schema-ActionScheduler_StoreSchema
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- action_scheduler_lock_async-request-runner
- action_scheduler_hybrid_store_demarkation
- widget_recent-comments
- db_upgraded
- schema-ActionScheduler_LoggerSchema
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 74× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
require(wp-content/tests/phpunit/includes/bootstrap.php): failed to open stream: No such file or directory in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/bootstrap.php on line 24
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/phpunit/migration/ActionMigrator_Test.php:10
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/phpunit/migration/Scheduler_Test.php:10
- > PHP Fatal error
Uncaught Error: Class 'CronExpression_AbstractField' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/lib/cron-expression/CronExpression_MinutesField.php:8
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/phpunit/schedules/ActionScheduler_SimpleSchedule_Test.php:7
- > PHP Fatal error
require(): Failed opening required 'wp-content/tests/phpunit/includes/bootstrap.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/bootstrap.php on line 24
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/classes/abstracts/ActionScheduler_Abstract_ListTable.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Abstract_QueueRunner' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/classes/ActionScheduler_QueueRunner.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_UnitTestCase' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/tests/phpunit/procedural_api/wc_get_scheduled_actions_Test.php:6
- > PHP Fatal error
Uncaught Error: Class 'ActionScheduler_Store' not found in wp-content/plugins/wp-mail-manager/libraries/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:10
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: server settings, php, smtp, mail
wp-mail-manager/wp-mail-manager.php 92% from 13 tests
"WP Mailing Status" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected11,721 lines of code in 158 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 2,247 | 4,617 | 8,359 |
JSON | 6 | 0 | 0 | 2,269 |
Markdown | 10 | 349 | 0 | 602 |
JavaScript | 7 | 21 | 40 | 122 |
XML | 3 | 7 | 3 | 86 |
CSS | 2 | 2 | 51 | 56 |
YAML | 4 | 14 | 10 | 56 |
HTML | 3 | 8 | 0 | 53 |
SVG | 2 | 0 | 0 | 51 |
Sass | 1 | 10 | 0 | 47 |
Bourne Shell | 1 | 10 | 8 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 8.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 85.00 |
Average method complexity | 2.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 106 | |
▷ Abstract classes | 15 | 14.15% |
▷ Concrete classes | 91 | 85.85% |
▷ Final classes | 0 | 0.00% |
Methods | 744 | |
▷ Static methods | 64 | 8.60% |
▷ Public methods | 589 | 79.17% |
▷ Protected methods | 135 | 18.15% |
▷ Private methods | 20 | 2.69% |
Functions | 33 | |
▷ Named functions | 21 | 63.64% |
▷ Anonymous functions | 12 | 36.36% |
Constants | 50 | |
▷ Global constants | 18 | 36.00% |
▷ Class constants | 32 | 64.00% |
▷ Public constants | 32 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libraries/action-scheduler/docs/android-chrome-256x256.png | 2.93KB | 3.03KB | 0.00% |
libraries/action-scheduler/docs/favicon-16x16.png | 0.39KB | 0.38KB | ▼ 3.02% |
libraries/action-scheduler/docs/apple-touch-icon.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/android-chrome-192x192.png | 6.77KB | 2.46KB | ▼ 63.68% |
libraries/action-scheduler/docs/mstile-150x150.png | 4.15KB | 3.67KB | ▼ 11.47% |