Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼292.13ms] Passed 4 tests
This is a short check of server-side resources used by Mailster SendGrid Integration
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.14 | 79.75 ▲28.05 |
Dashboard /wp-admin | 3.50 ▲0.09 | 35.62 ▲2.98 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 39.10 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.97 ▼0.00 | 99.13 ▼1,173.74 |
Media Library /wp-admin/upload.php | 3.38 ▲0.09 | 24.13 ▲0.47 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mailster SendGrid Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲34 | 15.94 ▲0.03 | 5.85 ▼0.10 | 2.45 ▲0.26 |
Dashboard /wp-admin | 2,920 ▲62 | 6.15 ▼0.01 | 120.12 ▼17.90 | 162.19 ▼0.63 |
Posts /wp-admin/edit.php | 2,716 ▲25 | 3.24 ▲0.01 | 62.43 ▼3.07 | 139.01 ▼4.12 |
Add New Post /wp-admin/post-new.php | 1,676 ▲15 | 16.61 ▼0.20 | 402.10 ▼20.12 | 161.97 ▲9.81 |
Media Library /wp-admin/upload.php | 1,723 ▲25 | 5.50 ▼0.02 | 135.51 ▲0.23 | 182.23 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
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
The smoke test was a success, however most plugin functionality was not tested
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/mailster-sendgrid/views/settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mailster-sendgrid/classes/sendgrid.class.php:10
- > PHP Notice
Undefined variable: verified in wp-content/plugins/mailster-sendgrid/views/settings.php on line 2
- > 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 Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: email, delivery, mailster, mailsteresp, newsletter
mailster-sendgrid/mailster-sendgrid.php Passed 13 tests
The entry point to "Mailster SendGrid Integration" version 2.1 is a PHP file that has certain tags in its header comment area
81 characters long description:
Uses SendGrid to deliver emails for the Mailster Newsletter Plugin for WordPress.
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
Good job! No executable or dangerous file extensions detected482 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 180 | 144 | 482 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 83.00 |
▷ Minimum class complexity | 83.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There were not PNG files found in your plugin