Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼6.73ms] Passed 4 tests
An overview of server-side resources used by Bricksable for Bricks Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 40.30 ▲1.50 |
Dashboard /wp-admin | 3.55 ▲0.20 | 45.23 ▼16.04 |
Posts /wp-admin/edit.php | 3.66 ▲0.30 | 47.93 ▲2.66 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 85.54 ▼15.03 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 35.74 ▲4.67 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bricksable for Bricks Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲77 | 14.17 ▼0.57 | 2.02 ▲0.43 | 42.68 ▼1.29 |
Dashboard /wp-admin | 2,201 ▲24 | 5.48 ▼0.13 | 92.46 ▼9.99 | 39.16 ▼5.90 |
Posts /wp-admin/edit.php | 2,109 ▲6 | 2.01 ▲0.02 | 38.45 ▼3.22 | 38.92 ▲0.10 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.12 ▲0.06 | 626.19 ▼31.62 | 50.97 ▼7.04 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▼0.12 | 105.53 ▲6.79 | 43.83 ▲3.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% 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: bricks, bricks element, bricks builder
bricksable/bricksable.php 92% from 13 tests
The primary PHP file in "Bricksable for Bricks Builder" version 1.6.40 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 232 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected16,992 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 1,632 | 1,285 | 13,970 |
CSS | 28 | 395 | 17 | 2,542 |
JavaScript | 14 | 111 | 107 | 480 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 44.58 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 7.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 92.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 156 | |
▷ Static methods | 4 | 2.56% |
▷ Public methods | 153 | 98.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 1.92% |
Functions | 5 | |
▷ Named functions | 1 | 20.00% |
▷ Anonymous functions | 4 | 80.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected