Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.99ms] Passed 4 tests
Server-side resources used by Subscriber Stats For Mailpoet
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 42.17 ▼0.43 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.83 ▼2.57 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 45.13 ▼3.06 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.27 | 74.62 ▼17.88 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 37.43 ▼0.36 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
sjmailsub_activate |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Subscriber Stats For Mailpoet: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲65 | 13.26 ▼1.12 | 1.72 ▼0.32 | 44.66 ▼1.85 |
Dashboard /wp-admin | 2,231 ▲46 | 5.91 ▲0.10 | 102.13 ▼12.88 | 38.90 ▼3.50 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.04 ▲0.01 | 34.27 ▼5.87 | 35.61 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.41 ▲0.16 | 656.07 ▼34.12 | 57.57 ▼3.42 |
Media Library /wp-admin/upload.php | 1,401 ▲16 | 4.27 ▲0.05 | 97.84 ▼3.29 | 44.28 ▼2.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- sjmailsub_deactivate
- sjmailsub_activate
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: email, mailpoet, statistics, newsletter
subscriber-stats-for-mailpoet/subscriber-stats-for-mailpoet.php Passed 13 tests
The entry point to "Subscriber Stats For Mailpoet" version 1.0 is a PHP file that has certain tags in its header comment area
72 characters long description:
Display statistics of individual subscriber engagement through Mailpoet.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin3,787 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Sass | 8 | 317 | 33 | 1,858 |
CSS | 8 | 82 | 255 | 1,451 |
PHP | 4 | 102 | 256 | 434 |
JavaScript | 3 | 8 | 15 | 43 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin