Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.40ms] Passed 4 tests
A check of server-side resources used by Sim Social Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.80 ▼5.75 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.86 ▼3.95 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 55.81 ▲4.42 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.28 ▼30.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.54 ▼1.90 |
Instagram Feed /wp-admin/admin.php?page=simsf-social-feed-settings | 3.38 | 40.85 |
Account Setup /wp-admin/admin.php?page=simsf-account-setup | 3.29 | 35.04 |
Refresh Access Token /wp-admin/admin.php?page=simsf-refresh-access-token | 3.26 | 33.33 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 50 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
simsf_user_media |
widget_theysaidso_widget |
simsf_token |
simsf_access_token |
Browser metrics Passed 4 tests
Sim Social Feed: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.35 ▲0.12 | 1.58 ▼0.15 | 43.56 ▼0.71 |
Dashboard /wp-admin | 2,228 ▲51 | 5.54 ▼0.11 | 82.82 ▼7.26 | 41.17 ▼0.37 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.02 ▲0.06 | 39.13 ▲2.28 | 37.23 ▲2.83 |
Add New Post /wp-admin/post-new.php | 1,572 ▲44 | 18.30 ▼4.77 | 616.43 ▼51.58 | 62.87 ▲12.89 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.24 ▲0.03 | 94.05 ▼25.64 | 44.21 ▼2.42 |
Instagram Feed /wp-admin/admin.php?page=simsf-social-feed-settings | 907 | 2.16 | 24.89 | 55.11 |
Account Setup /wp-admin/admin.php?page=simsf-account-setup | 936 | 2.19 | 32.17 | 49.15 |
Refresh Access Token /wp-admin/admin.php?page=simsf-refresh-access-token | 926 | 2.19 | 24.69 | 39.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sim-social-feed/src/Admin/pages/social-feed-settings/refresh-access-token.admin.php:33
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/sim-social-feed/src/WPAdminPage/pages/footer.admin.php:8
- > PHP Fatal error
Uncaught Error: Class 'SimSocialFeed\\WPAdminPage\\AdminPage' not found in wp-content/plugins/sim-social-feed/src/Admin/SocialFeedAdmin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sim-social-feed/src/inc/shortcode.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sim-social-feed/src/Admin/pages/social-feed-settings/account-setup.admin.php:87
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sim-social-feed/src/inc/schedule.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sim-social-feed/src/inc/schedule.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sim-social-feed/src/Admin/pages/social-feed-settings/social-feed-settings.admin.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function is_user_logged_in() in wp-content/plugins/sim-social-feed/src/WPAdminPage/pages/header.admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 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
5 plugin tags: instagram feed, instagram, instagram gallery, instagram widget, instagram photos
sim-social-feed/sim-social.php 69% from 13 tests
"Sim Social Feed" version 2.8.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("sim-social-feed.php" instead of "sim-social.php")
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
There were no executable files found in this plugin2,608 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 556 | 934 | 1,861 |
Markdown | 3 | 135 | 0 | 456 |
CSS | 2 | 27 | 5 | 210 |
JSON | 2 | 0 | 0 | 75 |
HTML | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 2 | 18.18% |
Methods | 127 | |
▷ Static methods | 35 | 27.56% |
▷ Public methods | 121 | 95.28% |
▷ Protected methods | 1 | 0.79% |
▷ Private methods | 5 | 3.94% |
Functions | 8 | |
▷ Named functions | 4 | 50.00% |
▷ Anonymous functions | 4 | 50.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.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
There were not PNG files found in your plugin