Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.80MB] [CPU: ▲2.54ms] Passed 4 tests
Analyzing server-side resources used by Social Feed Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.23 ▲0.77 | 43.14 ▲4.71 |
Dashboard /wp-admin | 4.12 ▲0.82 | 52.87 ▲3.71 |
Posts /wp-admin/edit.php | 4.19 ▲0.84 | 54.13 ▲2.66 |
Add New Post /wp-admin/post-new.php | 6.76 ▲0.87 | 92.67 ▼0.93 |
Media Library /wp-admin/upload.php | 4.00 ▲0.78 | 46.27 ▲14.08 |
Server storage [IO: ▲5.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 145 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_qligg_widget |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Feed Gallery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,042 ▲280 | 13.58 ▼1.18 | 11.26 ▲9.46 | 38.01 ▼5.76 |
Dashboard /wp-admin | 2,340 ▲162 | 5.56 ▼0.14 | 99.13 ▼4.45 | 43.09 ▼2.63 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.03 ▲0.06 | 39.01 ▼1.10 | 35.86 ▲2.58 |
Add New Post /wp-admin/post-new.php | 1,707 ▲181 | 22.29 ▼0.88 | 716.30 ▲46.19 | 37.41 ▼21.81 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.21 ▲0.06 | 98.97 ▲0.40 | 42.97 ▲1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-posts
- widget_qligg_widget
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 41× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\IGG\\Api\\Rest\\Endpoints\\Backend\\Base' not found in wp-content/plugins/insta-gallery/lib/api/rest/endpoints/backend/settings/class-save.php:10
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\IGG\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/insta-gallery/lib/api/rest/endpoints/frontend/class-hashtag-media.php:9
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\IGG\\Models\\Base' not found in wp-content/plugins/insta-gallery/lib/models/class-account.php:12
- > PHP Fatal error
Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/insta-gallery/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlugV2.php on line 20
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-plugin-install-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/insta-gallery/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\IGG\\Api\\Fetch\\Business\\Base' not found in wp-content/plugins/insta-gallery/lib/api/fetch/business/user-profile/class-get.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function QuadLayers\\IGG\\load_plugin_textdomain() in wp-content/plugins/insta-gallery/lib/class-plugin.php:19
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/insta-gallery/jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Table.php on line 14
- > PHP Fatal error
Trait 'QuadLayers\\WP_Notice_Plugin_Promote\\Traits\\PluginActions' not found in wp-content/plugins/insta-gallery/jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlug.php on line 20
- > PHP Fatal error
Uncaught Error: Class 'QuadLayers\\IGG\\Api\\Rest\\Endpoints\\Base' not found in wp-content/plugins/insta-gallery/lib/api/rest/endpoints/frontend/class-user-media.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Please describe screenshot #6 in insta-gallery/assets to your readme.txt
insta-gallery/insta-gallery.php Passed 13 tests
This is the main PHP file of "Social Feed Gallery" version 4.2.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
92 characters long description:
Display beautiful and responsive galleries on your website from your Instagram feed account.
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
Good job! No executable or dangerous file extensions detected6,771 lines of code in 113 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 87 | 1,265 | 2,719 | 5,471 |
Markdown | 12 | 271 | 0 | 734 |
JSON | 1 | 0 | 0 | 458 |
JavaScript | 8 | 12 | 36 | 103 |
CSS | 4 | 1 | 11 | 4 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 10.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 35 | |
Interfaces | 2 | |
Traits | 3 | |
Classes | 58 | |
▷ Abstract classes | 5 | 8.62% |
▷ Concrete classes | 53 | 91.38% |
▷ Final classes | 1 | 1.89% |
Methods | 336 | |
▷ Static methods | 97 | 28.87% |
▷ Public methods | 279 | 83.04% |
▷ Protected methods | 25 | 7.44% |
▷ Private methods | 32 | 9.52% |
Functions | 34 | |
▷ Named functions | 1 | 2.94% |
▷ Anonymous functions | 33 | 97.06% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 compressed PNG files occupy 4.31MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/backend/img/masonry.png | 0.20KB | 0.19KB | ▼ 4.81% |
assets/backend/img/carousel.png | 0.33KB | 0.34KB | 0.00% |
assets/backend/img/instagram-feed.png | 354.62KB | 377.50KB | 0.00% |
assets/backend/img/highlight.png | 0.18KB | 0.18KB | ▼ 1.61% |
assets/backend/img/instagram-feed-popup.png | 450.88KB | 489.55KB | 0.00% |