Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.02ms] Passed 4 tests
A check of server-side resources used by BlogWings Companion
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 48.57 ▲2.96 |
Dashboard /wp-admin | 3.36 ▲0.06 | 57.29 ▼0.98 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 56.33 ▲2.03 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 100.08 ▼3.92 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 42.82 ▲7.48 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 85 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for BlogWings Companion
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.42 ▼0.19 | 2.20 ▲0.55 | 39.65 ▼6.63 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▼0.09 | 104.53 ▲3.12 | 44.05 ▲1.21 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.00 | 42.55 ▼3.00 | 36.92 ▼0.95 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.49 ▲0.72 | 634.72 ▼18.65 | 53.39 ▲3.37 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.26 ▲0.03 | 115.06 ▲8.89 | 51.48 ▲7.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: blog, service, customizer
blogwings-companion/blogwings-companion.php Passed 13 tests
The primary PHP file in "BlogWings Companion" version 1.0.7 is used by WordPress to initiate all plugin functionality
119 characters long description:
With the help of Blogwings Companion unlimited addon you can add unlimited number of post with color options for each.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected18,623 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 16 | 2,124 | 1,535 | 8,717 |
PHP | 28 | 549 | 753 | 5,331 |
CSS | 9 | 1,002 | 69 | 4,575 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 14.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 5.01 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 77 | 93.90% |
▷ Protected methods | 5 | 6.10% |
▷ Private methods | 0 | 0.00% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
20 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/customizer-radio-image/img/gradientovly-4.png | 7.75KB | 7.15KB | ▼ 7.85% |
admin/customizer-radio-image/img/Gradient-1.png | 1.54KB | 1.38KB | ▼ 10.94% |
admin/customizer-radio-image/img/gradientovly-3.png | 9.13KB | 8.95KB | ▼ 1.98% |
admin/color/transparency-grid.png | 2.58KB | 2.80KB | 0.00% |
admin/customizer-radio-image/img/download.png | 24.46KB | 6.76KB | ▼ 72.36% |