Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼314.12ms] Passed 4 tests
A check of server-side resources used by MyMail Dummy Mailer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 62.38 ▼31.47 |
Dashboard /wp-admin | 3.41 ▲0.01 | 37.20 ▲2.50 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.84 ▼0.38 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 95.02 ▼1,222.67 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 24.69 ▼1.94 |
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: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for MyMail Dummy Mailer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲9 | 15.85 ▲0.56 | 5.85 ▼2.32 | 2.72 ▼0.09 |
Dashboard /wp-admin | 2,895 ▲38 | 6.10 ▲0.00 | 124.12 ▼1.81 | 189.94 ▲23.83 |
Posts /wp-admin/edit.php | 2,673 ▼21 | 3.24 ▼0.00 | 65.00 ▼2.95 | 138.06 ▼6.41 |
Add New Post /wp-admin/post-new.php | 1,661 ▼91 | 20.73 ▼1.08 | 422.31 ▼35.31 | 213.83 ▲32.26 |
Media Library /wp-admin/upload.php | 1,692 ▼3 | 5.58 ▲0.05 | 153.64 ▼0.29 | 209.47 ▼19.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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 everything seems fine, this is not an exhaustive test
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
Please fix the following
- 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/mymail-dummy-mailer/mymail-dummy-mailer.php:27
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: newsletter, revaxarts, mymail, email, mailer...
mymail-dummy-mailer/mymail-dummy-mailer.php Passed 13 tests
The principal PHP file in "MyMail Dummy Mailer" v. 0.5.1 is loaded by WordPress automatically on each request
27 characters long description:
A Dummy Mailer for MyMail 2
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
Everything looks great! No dangerous files found in this plugin298 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 123 | 145 | 298 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.82 |
▷ 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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin