Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin cannot be installed
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.04MB] [CPU: ▼19.15ms] Passed 4 tests
A check of server-side resources used by Easy Bricks Navigation
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 25.69 ▼18.99 |
Dashboard /wp-admin | 3.37 ▲0.07 | 30.23 ▼23.16 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 39.67 ▼10.30 |
Add New Post /wp-admin/post-new.php | 5.72 ▼0.16 | 68.90 ▼24.16 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 30.22 ▼4.49 |
All Bricks Menu-Items /wp-admin/edit.php?post_type=ebn_menuitem_cpt | 3.45 | 34.11 |
Easy Bricks Navigation /wp-admin/admin.php?page=ebn_admin_main | 3.36 | 30.82 |
Server storage [IO: ▲0.15MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Easy Bricks Navigation: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,008 ▲1,251 | 14.19 ▲0.02 | 6.61 ▲4.39 | 36.77 ▼7.04 |
Dashboard /wp-admin | 2,772 ▲584 | 5.01 ▲0.11 | 112.55 ▼5.65 | 38.88 ▼11.29 |
Posts /wp-admin/edit.php | 2,655 ▲566 | 2.30 ▲0.26 | 38.50 ▲2.57 | 32.00 ▼4.47 |
Add New Post /wp-admin/post-new.php | 2,076 ▲556 | 23.33 ▲0.36 | 695.31 ▲71.22 | 38.59 ▼12.73 |
Media Library /wp-admin/upload.php | 1,957 ▲572 | 4.39 ▲0.21 | 98.51 ▼11.70 | 40.62 ▼3.62 |
All Bricks Menu-Items /wp-admin/edit.php?post_type=ebn_menuitem_cpt | 4,624 | 2.30 | 39.40 | 33.89 |
Easy Bricks Navigation /wp-admin/admin.php?page=ebn_admin_main | 1,444 | 2.33 | 23.69 | 29.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ebn_admin_main
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/easy-bricks-navigation/public/partials/easy-bricks-navigation-public-display.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/easy-bricks-navigation/admin/partials/ebn-admin-main.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== easy-bricks-navigation ===
)
easy-bricks-navigation/easy-bricks-navigation.php Passed 13 tests
Analyzing the main PHP file in "Easy Bricks Navigation" version 1.0.0
49 characters long description:
Makes navigation inside bricks page builder easy.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,633 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 320 | 591 | 1,367 |
JavaScript | 4 | 194 | 89 | 959 |
CSS | 4 | 53 | 8 | 307 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 53 | |
▷ Static methods | 3 | 5.66% |
▷ Public methods | 48 | 90.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.43% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
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/ebn-logo2.png | 3.60KB | 2.28KB | ▼ 36.68% |