Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.40MB] [CPU: ▼1.49ms] Passed 4 tests
A check of server-side resources used by BNM Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 37.31 ▼1.91 |
Dashboard /wp-admin | 3.69 ▲0.39 | 47.48 ▲1.74 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 46.16 ▲0.21 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.47 | 98.79 ▼2.67 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 33.70 ▼1.57 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for BNM Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.44 ▲0.04 | 1.91 ▲0.22 | 40.85 ▼0.80 |
Dashboard /wp-admin | 2,206 ▲18 | 5.99 ▲1.11 | 94.83 ▼12.48 | 38.03 ▼3.66 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.02 | 32.22 ▼1.19 | 34.80 ▼1.82 |
Add New Post /wp-admin/post-new.php | 6,213 ▲4,699 | 19.54 ▲2.08 | 872.53 ▲228.94 | 35.62 ▼11.35 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.18 ▼0.03 | 97.72 ▼3.93 | 43.10 ▼0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
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 just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 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
5 plugin tags: wordpress blocks, blocks, gutenberg blocks, gutenberg, page builder
bnm-blocks/bnm-blocks.php Passed 13 tests
"BNM Blocks" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
67 characters long description:
A Collection of Blocks for Blogs, Newspapers and Magazine websites.
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 detected14,966 lines of code in 97 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 45 | 664 | 547 | 6,354 |
JSON | 12 | 1 | 0 | 4,350 |
Sass | 8 | 260 | 1 | 2,137 |
PHP | 23 | 420 | 86 | 2,049 |
CSS | 9 | 13 | 0 | 76 |
PHP code Passed 2 tests
A short 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.62 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 6 | 40.00% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 13.33% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
PNG images were not found in this plugin