Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.11ms] Passed 4 tests
An overview of server-side resources used by Mailster Mandrill Integration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 50.19 ▲0.58 |
Dashboard /wp-admin | 3.42 ▲0.01 | 32.14 ▼0.70 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 35.47 ▲0.17 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.75 ▼1,178.51 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 25.87 ▼5.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Mailster Mandrill Integration
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,788 ▲66 | 15.98 ▲0.09 | 6.08 ▲0.09 | 1.94 ▼0.40 |
Dashboard /wp-admin | 2,917 ▲66 | 6.12 ▲0.00 | 124.39 ▼11.26 | 165.50 ▲4.09 |
Posts /wp-admin/edit.php | 2,719 ▲25 | 3.24 ▼0.00 | 62.57 ▼0.54 | 142.40 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,767 ▲16 | 21.19 ▼0.37 | 429.76 ▼34.31 | 160.57 ▼0.70 |
Media Library /wp-admin/upload.php | 1,720 ▲19 | 5.54 ▼0.00 | 145.14 ▲1.10 | 181.13 ▼14.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mailster-mandrill/mailster-mandrill.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: newsletter, mailster, mailsteresp, mandrill
mailster-mandrill/mailster-mandrill.php Passed 13 tests
Analyzing the main PHP file in "Mailster Mandrill Integration" version 1.1
81 characters long description:
Uses Mandrill to deliver emails for the Mailster Newsletter Plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected484 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 166 | 170 | 477 |
JavaScript | 2 | 4 | 0 | 7 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 5.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
No PNG files were detected