Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/baw-breach-avoider/BREACH.php+44
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.14ms] Passed 4 tests
Analyzing server-side resources used by BREACH Avoider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.40 | 4.13 ▼39.24 |
Dashboard /wp-admin | 2.09 ▼1.22 | 6.20 ▼48.94 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 6.44 ▼41.30 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.80 | 5.65 ▼83.06 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.49 ▼29.76 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BREACH Avoider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.10 ▼0.43 | 1.79 ▼0.16 | 39.91 ▼4.34 |
Dashboard /wp-admin | 2,194 ▲14 | 5.63 ▲0.02 | 89.73 ▼14.51 | 42.45 ▼2.03 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.01 ▲0.00 | 39.16 ▲3.55 | 35.14 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.32 ▲0.18 | 682.87 ▲0.40 | 64.16 ▲9.96 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.01 | 99.39 ▼6.38 | 44.26 ▼3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/baw-breach-avoider/BREACH.php+44
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 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 50% 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
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/baw-breach-avoider/BREACH.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: breach, https, security
baw-breach-avoider/BREACH.php 85% from 13 tests
The entry point to "BREACH Avoider" version 1.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 200 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("baw-breach-avoider.php" instead of "BREACH.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin106 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 33 | 106 |
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.30 |
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 | 6 | |
▷ Named functions | 6 | 100.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
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