Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼2.47ms] Passed 4 tests
Analyzing server-side resources used by BlossomThemes Social Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 37.71 ▼3.25 |
Dashboard /wp-admin | 3.54 ▲0.24 | 54.40 ▲7.36 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 48.27 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 82.26 ▼8.95 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 37.99 ▲1.01 |
Server storage [IO: ▲1.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 46 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_btif_instagram_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for BlossomThemes Social Feed
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,970 ▲209 | 13.90 ▼0.45 | 9.65 ▲8.10 | 38.81 ▼0.52 |
Dashboard /wp-admin | 2,266 ▲86 | 5.65 ▼0.01 | 81.47 ▼3.45 | 68.89 ▲25.34 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.16 ▲0.14 | 35.77 ▲1.54 | 33.94 ▲1.62 |
Add New Post /wp-admin/post-new.php | 1,585 ▲59 | 23.29 ▲0.37 | 771.22 ▲73.14 | 57.07 ▲2.70 |
Media Library /wp-admin/upload.php | 1,465 ▲68 | 4.13 ▼0.12 | 98.76 ▼0.77 | 63.23 ▲14.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- widget_btif_instagram_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/blossomthemes-instagram-feed/public/partials/blossomthemes-instagram-feed-public-display.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/blossomthemes-instagram-feed/includes/template/backend/usage.php:7
- > PHP Notice
Undefined variable: items in wp-content/plugins/blossomthemes-instagram-feed/public/partials/blossomthemes-instagram-feed-public-display.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/blossomthemes-instagram-feed/includes/template/backend/general.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/blossomthemes-instagram-feed/admin/partials/blossomthemes-instagram-feed-admin-display.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/blossomthemes-instagram-feed/includes/template/backend/settings.php:7
- > PHP Notice
Undefined variable: settings in wp-content/plugins/blossomthemes-instagram-feed/public/partials/blossomthemes-instagram-feed-public-display.php on line 17
- > PHP Notice
Undefined variable: settings in wp-content/plugins/blossomthemes-instagram-feed/public/partials/blossomthemes-instagram-feed-public-display.php on line 17
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/blossomthemes-instagram-feed/public/partials/blossomthemes-instagram-feed-public-display.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/blossomthemes-instagram-feed/includes/template/backend/sidebar.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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: popup, insta widget, instagram, responsive
blossomthemes-instagram-feed/blossomthemes-instagram-feed.php Passed 13 tests
"BlossomThemes Social Feed" version 2.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
63 characters long description:
Show instagram feed on your website using shortcode and widget.
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
No dangerous file extensions were detected6,297 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 41 | 20 | 2,508 |
PHP | 21 | 322 | 732 | 1,055 |
JavaScript | 4 | 2 | 7 | 63 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 8.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 7 | 12.07% |
▷ Public methods | 50 | 86.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 13.79% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/images/help.png | 5.37KB | 2.58KB | ▼ 51.87% |
admin/css/images/logo.png | 6.71KB | 3.78KB | ▼ 43.65% |
admin/css/images/files.png | 3.30KB | 1.41KB | ▼ 57.38% |
admin/css/images/menu-icon.png | 1.35KB | 0.53KB | ▼ 60.61% |