Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.74ms] Passed 4 tests
This is a short check of server-side resources used by Blazing Companion
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 42.32 ▼4.48 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.00 ▼5.62 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.97 ▼0.87 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.02 ▼12.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.78 ▲0.01 |
Server storage [IO: ▲1.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Blazing Companion
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.61 ▼0.76 | 4.30 ▲2.20 | 44.63 ▲1.32 |
Dashboard /wp-admin | 2,206 ▲15 | 4.85 ▼0.07 | 107.61 ▼0.92 | 39.46 ▼5.53 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.01 ▼0.04 | 37.54 ▼3.46 | 33.99 ▼3.48 |
Add New Post /wp-admin/post-new.php | 1,520 ▼23 | 23.33 ▲4.80 | 691.67 ▲35.71 | 55.10 ▲1.28 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.43 ▲0.25 | 98.44 ▼4.60 | 43.43 ▲0.59 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/blazing-companion/fields/repeater/inc/icons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: slider, testimonial, blazing companion, blazing
blazing-companion/blazing-companion.php Passed 13 tests
Analyzing the main PHP file in "Blazing Companion" version 1.1
95 characters long description:
Companion for Blazing WordPress Theme. this plugin is to extend functionality of Blazing theme.
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 plugin4,257 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 51 | 16 | 2,444 |
PHP | 5 | 124 | 48 | 836 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 5 | 85 | 79 | 292 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 25.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected