Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.22ms] Passed 4 tests
An overview of server-side resources used by Lock Reusable Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 53.65 ▲7.32 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.99 ▼2.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.27 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.85 ▼0.03 | 87.46 ▲0.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.09 ▲2.98 |
Server storage [IO: ▲0.61MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Lock Reusable Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.54 ▼0.84 | 2.34 ▲0.39 | 55.04 ▲7.80 |
Dashboard /wp-admin | 2,209 ▲21 | 5.83 ▲0.78 | 93.61 ▼20.07 | 39.96 ▼2.63 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.13 ▲0.08 | 36.42 ▼1.59 | 32.47 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,683 ▲149 | 22.25 ▼0.93 | 680.88 ▲7.87 | 51.19 ▼0.84 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.05 | 98.45 ▼9.91 | 44.51 ▼1.07 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: reusable, block, lock
lock-reusable-blocks/lock-reusable-blocks.php 92% from 13 tests
The main file in "Lock Reusable Blocks" v. 0.6.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "5.8")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected16,504 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 16,064 |
JavaScript | 2 | 33 | 78 | 262 |
PHP | 2 | 9 | 24 | 79 |
CSS | 1 | 1 | 4 | 35 |
Sass | 1 | 5 | 0 | 35 |
PO File | 1 | 3 | 3 | 21 |
Markdown | 1 | 4 | 0 | 8 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG files were detected