Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼321.80ms] Passed 4 tests
A check of server-side resources used by Bricksbee for Bricks Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 54.00 ▲1.84 |
Dashboard /wp-admin | 3.43 ▲0.02 | 37.95 ▲1.70 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.54 ▼4.12 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 94.69 ▼1,286.62 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 29.40 ▲4.26 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Bricksbee for Bricks Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,781 ▲59 | 15.88 ▲0.25 | 6.01 ▼0.91 | 2.43 ▲0.01 |
Dashboard /wp-admin | 2,878 ▲17 | 6.09 ▼0.10 | 121.41 ▼14.93 | 158.30 ▼4.30 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▲0.01 | 62.21 ▼2.22 | 139.86 ▼4.04 |
Add New Post /wp-admin/post-new.php | 1,672 ▲11 | 21.53 ▲5.50 | 470.89 ▲27.89 | 168.44 ▼10.75 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.50 ▲0.00 | 143.39 ▼4.15 | 189.55 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/bricksbee/includes/helper/functions.php:116
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
bricksbee/bricksbee.php 92% from 13 tests
The entry point to "Bricksbee for Bricks Builder" version 0.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires PHP: The required version number must match the one declared in readme.txt ("7.0" instead of "5.6")
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
Good job! No executable or dangerous file extensions detected3,618 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 649 | 836 | 3,302 |
CSS | 3 | 60 | 6 | 316 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 21.25 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 1 | 8.33% |
Methods | 124 | |
▷ Static methods | 13 | 10.48% |
▷ Public methods | 85 | 68.55% |
▷ Protected methods | 8 | 6.45% |
▷ Private methods | 31 | 25.00% |
Functions | 9 | |
▷ Named functions | 6 | 66.67% |
▷ Anonymous functions | 3 | 33.33% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin