Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼7.52ms] Passed 4 tests
This is a short check of server-side resources used by Ninja Forms - MailPoet
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 41.28 ▼4.81 |
Dashboard /wp-admin | 3.58 ▼0.05 | 53.72 ▼16.70 |
Posts /wp-admin/edit.php | 3.69 ▲0.01 | 48.44 ▼1.81 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.02 | 92.40 ▼4.04 |
Media Library /wp-admin/upload.php | 3.50 ▲0.01 | 35.39 ▼4.53 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Ninja Forms - MailPoet
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.31 ▲0.33 | 1.89 ▲0.25 | 41.67 ▲1.10 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▼0.03 | 96.21 ▲3.84 | 37.13 ▼6.64 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.02 ▼0.03 | 39.18 ▼4.05 | 34.79 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.21 ▲5.72 | 659.54 ▼29.78 | 51.24 ▼6.62 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.01 | 102.55 ▼1.11 | 48.37 ▼2.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Contributors: The plugin contributors field is missing
ninja-forms-mailpoet/mailpoet-ninja-forms.php 69% from 13 tests
The entry point to "Ninja Forms - MailPoet" version 1.0.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ninja-forms-mailpoet.php" instead of "mailpoet-ninja-forms.php")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected88 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 44 | 88 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 images were found in this plugin