Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.27MB] [CPU: ▼1.93ms] Passed 4 tests
Analyzing server-side resources used by BBCode Deluxe
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 42.11 ▲1.45 |
Dashboard /wp-admin | 3.57 ▲0.27 | 52.58 ▲1.75 |
Posts /wp-admin/edit.php | 3.68 ▲0.33 | 52.48 ▼0.83 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 90.22 ▼10.09 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 40.59 ▲4.75 |
BBCode Deluxe /wp-admin/options-general.php?page=bbcode-deluxe | 3.47 | 37.16 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BBCode Deluxe
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.08 | 1.74 ▼0.06 | 42.95 ▼1.07 |
Dashboard /wp-admin | 2,213 ▲25 | 5.85 ▼0.05 | 114.84 ▼1.49 | 41.54 ▲3.02 |
Posts /wp-admin/edit.php | 2,090 ▼2 | 2.03 ▲0.03 | 36.62 ▼4.40 | 32.20 ▼5.34 |
Add New Post /wp-admin/post-new.php | 1,527 ▼6 | 22.97 ▼0.35 | 617.27 ▼82.72 | 59.21 ▲9.63 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.24 ▲0.07 | 100.96 ▼3.35 | 47.38 ▼2.75 |
BBCode Deluxe /wp-admin/options-general.php?page=bbcode-deluxe | 1,164 | 2.18 | 23.21 | 33.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/bbcode-deluxe/bbcode-deluxe.php
- > /wp-content/plugins/bbcode-deluxe/options-form-template.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/bbcode-deluxe/options-form-template.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bbcode-deluxe/bbcode-admin.php:8
- > PHP Notice
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 issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
bbcode-deluxe/bbcode-deluxe.php Passed 13 tests
The main PHP script in "BBCode Deluxe" version 2020.08.01.2 is automatically included on every request by WordPress
48 characters long description:
Adds support for BBCode to Wordpress and BBPress
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
There were no executable files found in this plugin810 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 86 | 38 | 810 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 107.00 |
▷ Minimum class complexity | 107.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin