Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > User deprecated in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Autoloader.php+12
The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead.
Server metrics [RAM: ▼1.49MB] [CPU: ▼52.89ms] Passed 4 tests
An overview of server-side resources used by eMail Signature Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.51 ▼0.95 | 8.33 ▼31.30 |
Dashboard /wp-admin | 2.53 ▼0.82 | 8.73 ▼57.09 |
Posts /wp-admin/edit.php | 2.53 ▼0.83 | 8.67 ▼40.61 |
Add New Post /wp-admin/post-new.php | 2.53 ▼3.36 | 8.83 ▼82.54 |
Media Library /wp-admin/upload.php | 2.53 ▼0.70 | 10.16 ▼31.01 |
-> Add company /wp-admin/admin.php?page=./post-new.php?post_type=emsg_company | 2.53 | 9.04 |
List all redirects /wp-admin/admin.php?page=./edit.php?post_type=emsg_redirect | 2.53 | 8.81 |
List all companies /wp-admin/admin.php?page=./edit.php?post_type=emsg_company | 2.53 | 8.69 |
-> Add redirect /wp-admin/admin.php?page=./post-new.php?post_type=emsg_redirect | 2.53 | 7.75 |
List all persons (signatures) /wp-admin/admin.php?page=./edit.php?post_type=emsg_person | 2.53 | 14.06 |
eMail Signature Manager /wp-admin/admin.php?page=email-signature-plugin | 2.53 | 12.56 |
-> Add person (signature) /wp-admin/admin.php?page=./post-new.php?post_type=emsg_person | 2.53 | 9.13 |
Server storage [IO: ▲3.51MB] [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: 603 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
eMail Signature Manager: 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,877 ▲116 | 13.27 ▼1.01 | 1.99 ▲0.09 | 44.05 ▲0.90 |
Dashboard /wp-admin | 2,283 ▲80 | 4.86 ▼0.99 | 114.79 ▲5.79 | 42.75 ▼1.60 |
Posts /wp-admin/edit.php | 2,162 ▲59 | 2.08 ▲0.07 | 37.48 ▼0.29 | 36.35 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,576 ▲45 | 17.43 ▼5.91 | 662.70 ▼108.12 | 52.57 ▼8.64 |
Media Library /wp-admin/upload.php | 1,462 ▲68 | 4.39 ▲0.12 | 99.30 ▼6.26 | 45.22 ▲0.61 |
-> Add company /wp-admin/admin.php?page=./post-new.php?post_type=emsg_company | 28 | 0.44 | 0.08 | 3.82 |
List all redirects /wp-admin/admin.php?page=./edit.php?post_type=emsg_redirect | 28 | 0.44 | 0.08 | 4.36 |
List all companies /wp-admin/admin.php?page=./edit.php?post_type=emsg_company | 28 | 0.44 | 0.08 | 4.66 |
-> Add redirect /wp-admin/admin.php?page=./post-new.php?post_type=emsg_redirect | 28 | 0.44 | 0.09 | 3.71 |
List all persons (signatures) /wp-admin/admin.php?page=./edit.php?post_type=emsg_person | 28 | 0.44 | 0.09 | 4.73 |
eMail Signature Manager /wp-admin/admin.php?page=email-signature-plugin | 852 | 2.07 | 23.31 | 22.98 |
-> Add person (signature) /wp-admin/admin.php?page=./post-new.php?post_type=emsg_person | 28 | 0.44 | 0.07 | 4.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > User deprecated in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Autoloader.php+12
The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead.
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=./post-new.php?post_type=emsg_person
- > User deprecated in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Autoloader.php+12
The Twig_Autoloader class is deprecated since version 1.21 and will be removed in 2.0. Use Composer instead.
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=./post-new.php?post_type=emsg_person
- > User deprecated in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Autoloader.php+30
Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead.
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/email-signature-manager/assets/Template-Configuration.php
- 200× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/email-signature-manager/includes/vendor/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/email-signature-manager/includes/class-emsg-redirect-plugin.php:3
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Base' not found in wp-content/plugins/email-signature-manager/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'Twig_Filter' not found in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Filter/Node.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Print' not found in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Node/SandboxedPrint.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig_Node_Include' not found in wp-content/plugins/email-signature-manager/includes/vendor/Twig-1.35.4/lib/Twig/Node/Embed.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-signature-manager/includes/vendor/cmb2-conditionals/example-functions.php:28
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/email-signature-manager/includes/vendor/cmb2/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-signature-manager/includes/vendor/cmb2-conditionals/cmb2-conditionals.php:256
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Multicheck' not found in wp-content/plugins/email-signature-manager/includes/vendor/cmb2/includes/types/CMB2_Type_Taxonomy_Multicheck_Hierarchical.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=./post-new.php?post_type=emsg_company
- > Network (severe)
wp-admin/admin.php?page=./post-new.php?post_type=emsg_company - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=./edit.php?post_type=emsg_redirect
- > Network (severe)
wp-admin/admin.php?page=./edit.php?post_type=emsg_redirect - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=./edit.php?post_type=emsg_company
- > Network (severe)
wp-admin/admin.php?page=./edit.php?post_type=emsg_company - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=./post-new.php?post_type=emsg_redirect
- > Network (severe)
wp-admin/admin.php?page=./post-new.php?post_type=emsg_redirect - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=./edit.php?post_type=emsg_person
- > Network (severe)
wp-admin/admin.php?page=./edit.php?post_type=emsg_person - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=./post-new.php?post_type=emsg_person
- > Network (severe)
wp-admin/admin.php?page=./post-new.php?post_type=emsg_person - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: call-to-action, email, manager, signature, email signature...
email-signature-manager/email-signature-manager.php 92% from 13 tests
Analyzing the main PHP file in "eMail Signature Manager" version 1.1.1
Please take the time to fix the following:
- Git Repository: An alternative Git repository was detected
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected61,235 lines of code in 441 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,787 | 17,890 | 31,582 |
PHP | 268 | 5,304 | 11,533 | 19,978 |
CSS | 14 | 1,149 | 1,211 | 5,233 |
JavaScript | 9 | 351 | 463 | 1,410 |
Sass | 15 | 291 | 25 | 1,330 |
C | 1 | 171 | 186 | 860 |
Markdown | 5 | 216 | 0 | 622 |
JSON | 2 | 0 | 0 | 77 |
YAML | 2 | 18 | 52 | 77 |
XML | 2 | 8 | 2 | 37 |
C/C++ Header | 1 | 7 | 13 | 15 |
reStructuredText | 1 | 5 | 1 | 9 |
m4 | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 11.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 25 | |
Traits | 0 | |
Classes | 249 | |
▷ Abstract classes | 22 | 8.84% |
▷ Concrete classes | 227 | 91.16% |
▷ Final classes | 1 | 0.44% |
Methods | 1,509 | |
▷ Static methods | 112 | 7.42% |
▷ Public methods | 1,232 | 81.64% |
▷ Protected methods | 258 | 17.10% |
▷ Private methods | 19 | 1.26% |
Functions | 92 | |
▷ Named functions | 92 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 67 | |
▷ Global constants | 9 | 13.43% |
▷ Class constants | 58 | 86.57% |
▷ Public constants | 58 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/vendor/cmb2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/vendor/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/vendor/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/vendor/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |