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
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼10.03ms] Passed 4 tests
Server-side resources used by Snow Monkey Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 41.62 ▼3.56 |
Dashboard /wp-admin | 3.70 ▲0.36 | 49.15 ▼15.05 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 48.86 ▲4.21 |
Add New Post /wp-admin/post-new.php | 6.66 ▲0.77 | 87.48 ▼23.39 |
Media Library /wp-admin/upload.php | 3.63 ▲0.39 | 38.66 ▲1.88 |
reCAPTCHA /wp-admin/edit.php?post_type=snow-monkey-forms&page=smf-recaptcha | 3.59 | 35.65 |
Snow Monkey Forms /wp-admin/edit.php?post_type=snow-monkey-forms | 3.67 | 41.02 |
Add New /wp-admin/post-new.php?post_type=snow-monkey-forms | 6.65 | 82.68 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 276 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Snow Monkey Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲116 | 14.22 ▼0.20 | 1.73 ▲0.14 | 38.68 ▼4.93 |
Dashboard /wp-admin | 2,223 ▲45 | 5.63 ▼0.24 | 87.51 ▼18.63 | 39.61 ▼4.54 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 1.94 ▼0.02 | 38.89 ▲0.82 | 35.94 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,800 ▲273 | 23.01 ▲0.16 | 693.69 ▼65.38 | 38.58 ▼17.65 |
Media Library /wp-admin/upload.php | 1,434 ▲37 | 4.18 ▲0.01 | 95.86 ▼1.12 | 45.55 ▲5.26 |
reCAPTCHA /wp-admin/edit.php?post_type=snow-monkey-forms&page=smf-recaptcha | 832 | 2.00 | 26.71 | 26.72 |
Snow Monkey Forms /wp-admin/edit.php?post_type=snow-monkey-forms | 1,095 | 1.93 | 32.90 | 31.24 |
Add New /wp-admin/post-new.php?post_type=snow-monkey-forms | 1,663 | 19.16 | 945.15 | 31.08 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 42× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Snow_Monkey\\Plugin\\Forms\\App\\Contract\\Control' not found in wp-content/plugins/snow-monkey-forms/App/Control/Tel.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/snow-monkey-forms/dist/blocks/file/render.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/snow-monkey-forms/src/blocks/url/render.php:11
- > PHP Fatal error
Uncaught Error: Class 'Snow_Monkey\\Plugin\\Forms\\App\\Contract\\Validation' not found in wp-content/plugins/snow-monkey-forms/App/Validation/Required.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/snow-monkey-forms/src/blocks/radio-buttons/render.php:11
- > PHP Fatal error
Uncaught Error: Class 'Snow_Monkey\\Plugin\\Forms\\App\\Contract\\Control' not found in wp-content/plugins/snow-monkey-forms/App/Control/RadioButton.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/snow-monkey-forms/dist/blocks/email/render.php:11
- > PHP Fatal error
Uncaught Error: Class 'Snow_Monkey\\Plugin\\Forms\\App\\Contract\\Controller' not found in wp-content/plugins/snow-monkey-forms/App/Controller/Back.php:14
- > PHP Fatal error
Uncaught Error: Class 'Snow_Monkey\\Plugin\\Forms\\App\\Contract\\Controller' not found in wp-content/plugins/snow-monkey-forms/App/Controller/Input.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/snow-monkey-forms/src/blocks/email/render.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=snow-monkey-forms
- > Console-api (warning) in unknown
/wp-includes/js/dist/block-editor.min.js?ver=0cd49e3f951fc97cabb7 25:219944 "snow-monkey-forms@editor-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe." link#snow-monkey-forms@editor-css
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
snow-monkey-forms/snow-monkey-forms.php Passed 13 tests
The entry point to "Snow Monkey Forms" version 6.0.5 is a PHP file that has certain tags in its header comment area
65 characters long description:
The Snow Monkey Forms is a mail form plugin for the block editor.
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 detected9,375 lines of code in 242 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 977 | 2,399 | 4,228 |
JavaScript | 59 | 334 | 9 | 2,961 |
JSON | 60 | 0 | 0 | 1,357 |
Sass | 26 | 74 | 4 | 520 |
PO File | 1 | 126 | 279 | 288 |
CSS | 13 | 0 | 0 | 13 |
Markdown | 1 | 3 | 0 | 8 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 9.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 50 | |
▷ Abstract classes | 3 | 6.00% |
▷ Concrete classes | 47 | 94.00% |
▷ Final classes | 0 | 0.00% |
Methods | 270 | |
▷ Static methods | 69 | 25.56% |
▷ Public methods | 208 | 77.04% |
▷ Protected methods | 55 | 20.37% |
▷ Private methods | 7 | 2.59% |
Functions | 16 | |
▷ Named functions | 3 | 18.75% |
▷ Anonymous functions | 13 | 81.25% |
Constants | 6 | |
▷ Global constants | 2 | 33.33% |
▷ Class constants | 4 | 66.67% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin