Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.23MB] [CPU: ▼15.46ms] Passed 4 tests
This is a short check of server-side resources used by Osom Blocks - Gutenberg Blocks Collection
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.66 ▼1.45 |
Dashboard /wp-admin | 3.35 ▲0.01 | 49.33 ▼13.31 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.82 ▼3.27 |
Add New Post /wp-admin/post-new.php | 4.87 ▼1.02 | 54.13 ▼43.81 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.60 ▲0.68 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Osom Blocks - Gutenberg Blocks Collection
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.16 ▼1.22 | 1.76 ▲0.03 | 42.34 ▼1.57 |
Dashboard /wp-admin | 2,221 ▲24 | 5.85 ▲0.04 | 98.06 ▼5.04 | 40.96 ▼1.42 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.05 | 35.48 ▼5.21 | 38.38 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6,194 ▲4,661 | 26.06 ▲3.02 | 906.63 ▲264.07 | 53.09 ▼0.77 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.15 ▼0.04 | 97.45 ▼8.56 | 47.51 ▲2.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% 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 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function osom\\Osom_Blocks\\add_action() in wp-content/plugins/osomblocks/lib/meta-boxes.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/osomblocks/blocks/cpt-list/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function osom\\Osom_Blocks\\add_action() in wp-content/plugins/osomblocks/lib/enqueue-scripts.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: gutenberg blocks, blocks, editor, page building, block enabled...
osomblocks/osomblocks.php Passed 13 tests
The main PHP script in "Osom Blocks - Gutenberg Blocks Collection" version 1.2.1 is automatically included on every request by WordPress
47 characters long description:
Gutenberg Block collection for OsomPress themes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected9,085 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 8,228 |
JavaScript | 7 | 52 | 37 | 385 |
PHP | 4 | 54 | 88 | 275 |
Sass | 1 | 52 | 0 | 137 |
PO File | 1 | 20 | 25 | 53 |
CSS | 2 | 4 | 3 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 1 | |
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 | 0 | |
▷ Global constants | 0 | 0.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