Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.91ms] Passed 4 tests
An overview of server-side resources used by Secure Encrypted Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 40.35 ▼4.73 |
Dashboard /wp-admin | 3.43 ▲0.13 | 49.47 ▼1.44 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.94 ▼2.23 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.95 ▼7.25 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.79 ▲2.46 |
Debug log /wp-admin/admin.php?page=secure-encrypted-form-debug-log | 3.30 | 33.94 |
Secure Encrypted Form /wp-admin/admin.php?page=secure-encrypted-form | 3.30 | 33.60 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 169 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
secure_encrypted_form_option_name |
Browser metrics Passed 4 tests
A check of browser resources used by Secure Encrypted Form
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,955 ▲184 | 15.21 ▲0.83 | 8.24 ▲6.05 | 41.32 ▼1.17 |
Dashboard /wp-admin | 2,248 ▲60 | 5.93 ▲1.03 | 100.59 ▼4.95 | 41.12 ▼2.25 |
Posts /wp-admin/edit.php | 2,130 ▲38 | 2.91 ▲0.93 | 39.55 ▼2.65 | 33.81 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.69 ▲0.46 | 693.44 ▲50.93 | 37.14 ▼15.33 |
Media Library /wp-admin/upload.php | 1,430 ▲42 | 5.17 ▲0.98 | 104.35 ▼8.56 | 44.75 ▼2.15 |
Debug log /wp-admin/admin.php?page=secure-encrypted-form-debug-log | 857 | 2.76 | 28.89 | 43.67 |
Secure Encrypted Form /wp-admin/admin.php?page=secure-encrypted-form | 894 | 2.77 | 30.29 | 41.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/secure-encrypted-form/public/partials/secure-encrypted-form-public-display.php
- 101× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php:28
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\StreamHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:27
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/TelegramBotHandler.php:34
- > PHP Fatal error
Uncaught Error: Interface 'Monolog\\Formatter\\FormatterInterface' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php:23
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/ElasticsearchHandler.php:47
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/RedisHandler.php:31
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\ormalizerFormatter' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php:20
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Formatter\\JsonFormatter' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Formatter/GoogleCloudLoggingFormatter.php:24
- > PHP Fatal error
Uncaught Error: Class 'Monolog\\Handler\\AbstractProcessingHandler' not found in wp-content/plugins/secure-encrypted-form/lib/vendor/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #4 is required in secure-encrypted-form/assets to your readme.txt
secure-encrypted-form/secure-encrypted-form.php Passed 13 tests
"Secure Encrypted Form" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
95 characters long description:
Display a form on any page or post and receive secure (encrypted) communications using OpenPGP.
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
Good job! No executable or dangerous file extensions detected10,415 lines of code in 160 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 150 | 2,449 | 6,748 | 9,308 |
Markdown | 4 | 202 | 0 | 648 |
JavaScript | 3 | 51 | 41 | 172 |
JSON | 1 | 0 | 0 | 164 |
CSS | 2 | 23 | 0 | 123 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 8.99 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 10 | |
Traits | 5 | |
Classes | 122 | |
▷ Abstract classes | 8 | 6.56% |
▷ Concrete classes | 114 | 93.44% |
▷ Final classes | 3 | 2.63% |
Methods | 765 | |
▷ Static methods | 59 | 7.71% |
▷ Public methods | 531 | 69.41% |
▷ Protected methods | 162 | 21.18% |
▷ Private methods | 72 | 9.41% |
Functions | 24 | |
▷ Named functions | 3 | 12.50% |
▷ Anonymous functions | 21 | 87.50% |
Constants | 65 | |
▷ Global constants | 1 | 1.54% |
▷ Class constants | 64 | 98.46% |
▷ Public constants | 37 | 57.81% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin