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
Installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.11ms] Passed 4 tests
Server-side resources used by Combine Social Photos | Still BE
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.11 ▼1.70 |
Dashboard /wp-admin | 3.53 ▲0.18 | 47.21 ▼13.12 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 51.54 ▲5.80 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 93.47 ▲10.05 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 32.36 ▲0.57 |
Instagram /wp-admin/options-general.php?page=sb-csp-setting-page | 3.37 | 37.39 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Combine Social Photos | Still BE
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲163 | 14.21 ▼0.16 | 1.70 ▼0.39 | 43.41 ▼1.44 |
Dashboard /wp-admin | 2,347 ▲170 | 6.14 ▲0.51 | 118.30 ▲24.04 | 43.09 ▲0.56 |
Posts /wp-admin/edit.php | 2,275 ▲178 | 3.39 ▲1.41 | 54.41 ▲16.35 | 35.48 ▼0.60 |
Add New Post /wp-admin/post-new.php | 6,386 ▲4,860 | 27.80 ▲4.69 | 928.57 ▲234.20 | 38.45 ▼20.92 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.04 ▼0.19 | 85.56 ▼17.37 | 44.51 ▲1.57 |
Instagram /wp-admin/options-general.php?page=sb-csp-setting-page | 1,246 | 3.10 | 44.17 | 41.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/still-be-combine-social-photos/templates/template-modal.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: content in wp-content/plugins/still-be-combine-social-photos/templates/template-modal.php on line 26
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
7 plugin tags: instagram gallery, block, instagram, instagram widget, gutenberg...
still-be-combine-social-photos/still-be-combine-social-photos.php 92% from 13 tests
The entry point to "Combine Social Photos | Still BE" version 0.13.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin9,251 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 623 | 438 | 3,501 |
PHP | 15 | 1,232 | 620 | 3,468 |
CSS | 6 | 169 | 39 | 1,839 |
JSON | 2 | 54 | 0 | 434 |
SVG | 7 | 0 | 0 | 9 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 45.11 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 120.00 |
Average method complexity | 6.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 7 | 87.50% |
Methods | 70 | |
▷ Static methods | 34 | 48.57% |
▷ Public methods | 55 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 21.43% |
Functions | 20 | |
▷ Named functions | 2 | 10.00% |
▷ Anonymous functions | 18 | 90.00% |
Constants | 68 | |
▷ Global constants | 6 | 8.82% |
▷ Class constants | 62 | 91.18% |
▷ Public constants | 62 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 compressed PNG files occupy 0.03MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/img/thumb-cache-expired.png | 8.63KB | 7.37KB | ▼ 14.64% |
asset/img/thumb-go-ig.png | 13.27KB | 11.95KB | ▼ 9.95% |
asset/img/thumb-video.png | 8.84KB | 7.14KB | ▼ 19.20% |
asset/img/ig-icon.png | 2.50KB | 2.50KB | 0.04% |