Benchmarks
Plugin footprint Passed 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.08MB] [CPU: ▼146.11ms] Passed 4 tests
An overview of server-side resources used by Bard Extra
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 32.56 ▲13.67 |
Dashboard /wp-admin | 3.14 ▲0.08 | 43.93 ▼1.10 |
Posts /wp-admin/edit.php | 3.19 ▲0.08 | 34.37 ▼7.69 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.06 | 86.98 ▼572.29 |
Media Library /wp-admin/upload.php | 3.08 ▲0.08 | 27.61 ▼3.34 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Bard Extra
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,720 ▲125 | 15.85 ▲0.20 | 9.34 ▲0.59 | 47.68 ▲3.93 |
Dashboard /wp-admin | 2,987 ▲50 | 5.89 ▲0.02 | 154.00 ▲8.25 | 110.99 ▼3.39 |
Posts /wp-admin/edit.php | 2,756 ▲17 | 2.69 ▼0.13 | 65.26 ▲0.24 | 90.68 ▼1.19 |
Add New Post /wp-admin/post-new.php | 1,512 ▼176 | 18.58 ▼0.61 | 367.35 ▼1.67 | 105.74 ▼0.24 |
Media Library /wp-admin/upload.php | 1,827 ▲17 | 5.02 ▲0.02 | 151.57 ▲2.24 | 118.60 ▼5.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
There were not plugin tags detected
bard-extra/bard-extra.php Passed 13 tests
"Bard Extra" version 1.2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
56 characters long description:
Adds One Click Demo Import functionality for Bard theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin6,987 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
XML | 1 | 67 | 16 | 4,746 |
PHP | 3 | 451 | 415 | 1,880 |
JavaScript | 1 | 25 | 9 | 196 |
CSS | 2 | 26 | 1 | 165 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 62.50 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 214.00 |
Average method complexity | 6.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 2 | 3.03% |
▷ Public methods | 63 | 95.45% |
▷ Protected methods | 3 | 4.55% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/instagram-feed.png | 8.05KB | 5.04KB | ▼ 37.35% |
assets/images/cf7.png | 5.74KB | 2.65KB | ▼ 53.77% |
assets/images/royal-addons.png | 12.30KB | 7.13KB | ▼ 41.99% |
assets/images/recent-posts.png | 3.32KB | 2.26KB | ▼ 32.05% |
assets/images/elementor.png | 14.86KB | 7.53KB | ▼ 49.35% |