Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼1.87ms] Passed 4 tests
A check of server-side resources used by Safe Block Editor by WPMarmite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 46.49 ▲4.07 |
Dashboard /wp-admin | 3.30 ▼0.01 | 52.79 ▲0.86 |
Posts /wp-admin/edit.php | 3.35 ▼0.01 | 48.50 ▲0.97 |
Add New Post /wp-admin/post-new.php | 5.87 ▼0.02 | 86.83 ▼8.57 |
Media Library /wp-admin/upload.php | 3.22 ▼0.01 | 35.92 ▼0.72 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Safe Block Editor by WPMarmite: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.20 ▼0.19 | 1.75 ▼0.55 | 44.69 ▲0.61 |
Dashboard /wp-admin | 2,228 ▲51 | 5.67 ▲0.09 | 87.03 ▼1.66 | 40.50 ▼2.89 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.15 ▲0.12 | 35.74 ▼2.12 | 33.80 ▼2.04 |
Add New Post /wp-admin/post-new.php | 1,558 ▲13 | 23.14 ▲0.07 | 639.45 ▼41.41 | 55.45 ▼0.55 |
Media Library /wp-admin/upload.php | 1,433 ▲33 | 4.29 ▲0.18 | 101.68 ▼10.68 | 43.35 ▼4.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
3 plugin tags: block editor, blocks, editor
safe-block-editor/safe-block-editor.php 77% from 13 tests
"Safe Block Editor by WPMarmite" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires PHP: The required version number did not match the one declared in readme.txt ("5.6" instead of "7.0")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin188 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 78 | 157 |
JavaScript | 1 | 7 | 6 | 27 |
CSS | 1 | 1 | 4 | 4 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin