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.55MB] [CPU: ▲0.50ms] Passed 4 tests
This is a short check of server-side resources used by Wp Default Sender Email by IT Pixelz
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 40.51 ▼1.65 |
Dashboard /wp-admin | 3.91 ▲0.60 | 51.12 ▼1.83 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 47.43 ▲2.11 |
Add New Post /wp-admin/post-new.php | 6.43 ▲0.54 | 89.91 ▲3.36 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 45.72 ▲12.75 |
WP Default Mail /wp-admin/options-general.php?page=wp-default-sender-email-itpixelz | 3.90 | 52.41 |
Freemius Debug [v.2.5.6] /wp-admin/admin.php?page=freemius | 4.03 | 38.70 |
Server storage [IO: ▲3.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 191 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
fs_accounts |
fs_debug_mode |
widget_theysaidso_widget |
fs_active_plugins |
Browser metrics Passed 4 tests
Wp Default Sender Email by IT Pixelz: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 13.62 ▼0.76 | 1.68 ▼0.07 | 34.99 ▼9.50 |
Dashboard /wp-admin | 2,233 ▲45 | 5.86 ▲0.82 | 102.43 ▼13.02 | 42.62 ▼4.57 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 2.02 ▲0.02 | 38.53 ▲0.98 | 36.93 ▲4.58 |
Add New Post /wp-admin/post-new.php | 1,524 ▼12 | 23.58 ▲0.50 | 670.43 ▲20.30 | 50.67 ▼4.29 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.21 ▼0.00 | 106.63 ▲8.99 | 46.85 ▲1.12 |
WP Default Mail /wp-admin/options-general.php?page=wp-default-sender-email-itpixelz | 977 | 1.69 | 27.88 | 63.08 |
Freemius Debug [v.2.5.6] /wp-admin/admin.php?page=freemius | 1,071 | 2.05 | 23.51 | 28.51 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 9 options in the database
- fs_debug_mode
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- fs_accounts
- fs_active_plugins
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
9 plugin tags: sender email, default sender name, outgoing mail, wp default sender email, default mail...
wp-default-sender-email-by-it-pixelz/wp-default-sender-email-itpixelz.php 85% from 13 tests
The entry point to "Wp Default Sender Email by IT Pixelz" version 2.1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-default-sender-email-by-it-pixelz.php" instead of "wp-default-sender-email-itpixelz.php")
- Description: The description should be shorter than 140 characters (currently 144 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin33,538 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 125 | 8,072 | 17,563 | 33,099 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
CSS | 14 | 4 | 0 | 31 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,079)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 83.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,079.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 54 | |
▷ Abstract classes | 2 | 3.70% |
▷ Concrete classes | 52 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,290 | |
▷ Static methods | 199 | 15.43% |
▷ Public methods | 896 | 69.46% |
▷ Protected methods | 17 | 1.32% |
▷ Private methods | 377 | 29.22% |
Functions | 95 | |
▷ Named functions | 95 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.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
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/wp-default-sender-email-by-it-pixelz.png | 16.37KB | 6.21KB | ▼ 62.06% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |