Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼8.73ms] Passed 4 tests
A check of server-side resources used by Mini Newsletter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.18 | 45.72 ▼1.63 |
Dashboard /wp-admin | 3.52 ▲0.18 | 48.06 ▼3.75 |
Posts /wp-admin/edit.php | 3.63 ▲0.24 | 49.13 ▼11.99 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.19 | 86.06 ▼17.55 |
Media Library /wp-admin/upload.php | 3.44 ▲0.17 | 38.07 ▲2.89 |
Email List /wp-admin/admin.php?page=mini-newsletter-list-email | 3.41 | 36.11 |
Mini Newsletter /wp-admin/admin.php?page=mini-newsletter | 3.41 | 36.66 |
Send Newsletter /wp-admin/admin.php?page=mini-newsletter-send-email | 3.46 | 35.59 |
Server storage [IO: ▲9.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 60 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_mini_nletter_email |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Mini Newsletter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲153 | 13.47 ▼1.00 | 7.98 ▲6.35 | 39.57 ▼8.53 |
Dashboard /wp-admin | 2,235 ▲58 | 5.59 ▼0.08 | 89.32 ▼1.86 | 65.68 ▲29.18 |
Posts /wp-admin/edit.php | 2,140 ▲37 | 1.99 ▲0.03 | 34.11 ▼6.99 | 30.31 ▼7.36 |
Add New Post /wp-admin/post-new.php | 1,560 ▲9 | 23.41 ▲5.44 | 701.86 ▲63.05 | 59.14 ▼8.86 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.24 ▲0.00 | 101.04 ▼8.35 | 74.96 ▲27.10 |
Email List /wp-admin/admin.php?page=mini-newsletter-list-email | 854 | 2.18 | 24.63 | 28.63 |
Mini Newsletter /wp-admin/admin.php?page=mini-newsletter | 971 | 2.01 | 27.28 | 31.44 |
Send Newsletter /wp-admin/admin.php?page=mini-newsletter-send-email | 1,917 | 7.54 | 151.83 | 32.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mini-newsletter/admin/class-mini-newsletter-admin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: email newsletter, min- newsletter, newsletter, send email, simple newsletter
mini-newsletter/mini-newsletter.php Passed 13 tests
The principal PHP file in "Mini Newsletter" v. 1.0.0 is loaded by WordPress automatically on each request
85 characters long description:
Mini Newsletter, where you can send custom email or latest posts to your subscribers.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin10,183 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 8 | 1 | 3 | 6,179 |
CSS | 3 | 34 | 12 | 2,891 |
PHP | 14 | 86 | 109 | 999 |
JavaScript | 2 | 19 | 4 | 114 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 2 | 4.76% |
▷ Public methods | 41 | 97.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.38% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/mn_default_template.png | 1.87KB | 0.86KB | ▼ 54.15% |
admin/images/no-image.png | 3.55KB | 1.94KB | ▼ 45.28% |
admin/images/newsletter-icon.png | 1.23KB | 0.46KB | ▼ 62.67% |