Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▲4.44ms] Passed 4 tests
Analyzing server-side resources used by JUVO Mail Editor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 48.13 ▲1.25 |
Dashboard /wp-admin | 3.70 ▲0.40 | 54.79 ▲10.15 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 51.87 ▲2.46 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.53 | 98.20 ▲3.91 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 53.10 ▲20.22 |
Add Mail /wp-admin/post-new.php?post_type=juvo-mail | 6.58 | 98.38 |
Settings /wp-admin/edit.php?post_type=juvo-mail&page=settings | 3.68 | 43.68 |
All Mails /wp-admin/edit.php?post_type=juvo-mail | 3.67 | 44.04 |
Server storage [IO: ▲4.33MB] [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: 1,005 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for JUVO Mail Editor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 13.16 ▼1.10 | 4.46 ▲2.78 | 41.38 ▲4.97 |
Dashboard /wp-admin | 2,243 ▲73 | 5.60 ▲0.07 | 86.11 ▼11.24 | 35.21 ▼7.19 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 2.07 ▲0.06 | 37.84 ▲2.00 | 31.80 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 23.31 ▼0.33 | 609.81 ▼65.80 | 56.20 ▲1.03 |
Media Library /wp-admin/upload.php | 1,451 ▲51 | 4.34 ▲0.13 | 106.98 ▼4.51 | 47.05 ▼1.08 |
Add Mail /wp-admin/post-new.php?post_type=juvo-mail | 6,472 | 26.22 | 910.96 | 39.21 |
Settings /wp-admin/edit.php?post_type=juvo-mail&page=settings | 929 | 2.28 | 28.50 | 27.10 |
All Mails /wp-admin/edit.php?post_type=juvo-mail | 1,155 | 2.00 | 34.45 | 30.01 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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 fix the following
- 332× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/juvo-mail-editor/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/juvo-mail-editor/vendor/cmb2/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/juvo-mail-editor/vendor/twig/twig/src/Extension/StringLoaderExtension.php:15
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/juvo-mail-editor/vendor/cmb2/cmb2/includes/CMB2_Hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'Timber\\Core' not found in wp-content/plugins/juvo-mail-editor/vendor/timber/timber/lib/MenuItem.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/juvo-mail-editor/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:5
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/juvo-mail-editor/vendor/twig/twig/src/Node/Expression/Binary/RangeBinary.php:16
- > PHP Fatal error
Uncaught Error: Class 'JUVO_MailEditor\\Mail_Generator' not found in wp-content/plugins/juvo-mail-editor/src/Mails/Password_Changed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/juvo-mail-editor/vendor/upstatement/routes/Routes.php:23
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/juvo-mail-editor/vendor/twig/twig/src/Node/Expression/Binary/NotEqualBinary.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 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
3 plugin tags: editor, framework, mail
juvo-mail-editor/juvo-mail-editor.php 92% from 13 tests
Analyzing the main PHP file in "JUVO Mail Editor" version 3.1.1
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin78,749 lines of code in 845 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 636 | 8,380 | 17,991 | 34,343 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 14 | 273 | 1,191 | 4,654 |
Markdown | 37 | 1,425 | 0 | 3,634 |
JavaScript | 8 | 364 | 583 | 1,454 |
Sass | 17 | 306 | 29 | 1,411 |
JSON | 1 | 0 | 0 | 812 |
YAML | 3 | 4 | 0 | 74 |
XML | 2 | 0 | 3 | 25 |
reStructuredText | 1 | 8 | 5 | 10 |
Twig | 6 | 0 | 0 | 9 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 47 | |
Interfaces | 20 | |
Traits | 0 | |
Classes | 615 | |
▷ Abstract classes | 24 | 3.90% |
▷ Concrete classes | 591 | 96.10% |
▷ Final classes | 52 | 8.80% |
Methods | 2,309 | |
▷ Static methods | 365 | 15.81% |
▷ Public methods | 1,894 | 82.03% |
▷ Protected methods | 310 | 13.43% |
▷ Private methods | 105 | 4.55% |
Functions | 208 | |
▷ Named functions | 159 | 76.44% |
▷ Anonymous functions | 49 | 23.56% |
Constants | 84 | |
▷ Global constants | 16 | 19.05% |
▷ Class constants | 68 | 80.95% |
▷ Public constants | 68 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/cmb2/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
vendor/cmb2/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/cmb2/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/cmb2/cmb2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
vendor/cmb2/cmb2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |