Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼7.46ms] Passed 4 tests
A check of server-side resources used by Snow Monkey Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 41.65 ▼7.76 |
Dashboard /wp-admin | 3.43 ▲0.09 | 44.96 ▼19.40 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.85 ▼1.83 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 93.64 ▲4.85 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.24 ▼0.85 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 231 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Snow Monkey Editor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲34 | 14.22 ▼0.06 | 2.28 ▲0.14 | 37.96 ▼9.29 |
Dashboard /wp-admin | 2,192 ▲12 | 5.53 ▼0.13 | 87.69 ▼11.68 | 40.97 ▼3.14 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.03 | 38.88 ▲1.86 | 34.70 ▼5.24 |
Add New Post /wp-admin/post-new.php | 1,565 ▲39 | 18.83 ▼4.32 | 646.11 ▼7.42 | 47.80 ▲0.30 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.00 | 100.56 ▼1.25 | 43.13 ▼0.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function Snow_Monkey\\Plugin\\Editor\\untrailingslashit() in wp-content/plugins/snow-monkey-editor/snow-monkey-editor.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: blocks, editor, page builder, gutenberg, gutenberg blocks...
snow-monkey-editor/snow-monkey-editor.php Passed 13 tests
The primary PHP file in "Snow Monkey Editor" version 9.3.2 is used by WordPress to initiate all plugin functionality
30 characters long description:
Extends gutenberg block editor
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected4,900 lines of code in 166 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 70 | 418 | 37 | 2,901 |
PHP | 17 | 208 | 500 | 932 |
Sass | 58 | 105 | 3 | 817 |
PO File | 1 | 65 | 74 | 145 |
JSON | 9 | 0 | 0 | 86 |
Markdown | 1 | 4 | 0 | 9 |
SVG | 7 | 0 | 0 | 7 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 18.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 19 | 32.20% |
▷ Public methods | 56 | 94.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.08% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin