Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.96ms] Passed 4 tests
A check of server-side resources used by Bricks Navigator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.50 ▼6.91 |
Dashboard /wp-admin | 3.34 ▲0.04 | 41.58 ▼5.60 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 48.99 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.49 ▼10.16 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.50 ▲5.70 |
Bricks Navigator /wp-admin/admin.php?page=brickslabs-bricks-navigator | 3.23 | 31.77 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bricks Navigator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.24 ▼0.11 | 1.77 ▼0.04 | 39.80 ▼3.89 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▼0.08 | 96.97 ▼3.67 | 44.06 ▲0.02 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.06 | 37.32 ▲1.39 | 36.68 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.45 ▲0.21 | 680.42 ▲70.77 | 60.96 ▲13.38 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▲0.00 | 99.29 ▼1.13 | 41.94 ▲0.64 |
Bricks Navigator /wp-admin/admin.php?page=brickslabs-bricks-navigator | 830 | 1.99 | 24.66 | 28.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
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
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 builder, admin bar
brickslabs-bricks-navigator/brickslabs-bricks-navigator.php Passed 13 tests
The primary PHP file in "Bricks Navigator" version 1.0.2 is used by WordPress to initiate all plugin functionality
70 characters long description:
Adds quick links in the WordPress admin bar for users of Bricks theme.
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 detected1,310 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 118 | 205 | 1,226 |
CSS | 1 | 22 | 17 | 84 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 15 | |
▷ Named functions | 10 | 66.67% |
▷ Anonymous functions | 5 | 33.33% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bricks-logo.png | 0.70KB | 0.53KB | ▼ 23.50% |