Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.41ms] Passed 4 tests
This is a short check of server-side resources used by Social Media Feed - Social Feed Gallery With API
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.17 ▼8.21 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.08 ▼1.33 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.98 ▼5.00 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.79 ▼7.09 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.61 ▲3.89 |
Server storage [IO: ▲1.71MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Social Media Feed - Social Feed Gallery With API
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 13.58 ▼0.78 | 4.97 ▲3.23 | 41.08 ▼1.85 |
Dashboard /wp-admin | 2,214 ▲29 | 5.88 ▲0.07 | 97.81 ▼6.94 | 75.19 ▲29.57 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 1.97 ▼0.06 | 39.87 ▲5.40 | 34.39 ▼0.66 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.37 ▲5.72 | 734.33 ▲94.92 | 55.41 ▲1.12 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.14 ▼0.02 | 107.64 ▲4.85 | 48.97 ▲3.21 |
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
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: instagram, instagram gallery, instagram post, instagram feed, social media feed
wp-instagram-feed-awplife/wp-instagram-feed-awplife.php Passed 13 tests
"Social Media Feed - Social Feed Gallery With API" version 1.3.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
111 characters long description:
Instagram Feed Gallery Plugin For WordPress allows you to fetch your Instagram feeds to your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin21,204 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 1,418 | 32 | 11,907 |
JSON | 1 | 0 | 0 | 5,070 |
JavaScript | 3 | 842 | 341 | 3,274 |
PHP | 5 | 64 | 62 | 719 |
SVG | 1 | 0 | 0 | 186 |
PO File | 1 | 16 | 16 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 71.43% |
▷ Protected methods | 2 | 28.57% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
6 PNG files occupy 0.28MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/Grid-Layout.png | 66.30KB | 62.78KB | ▼ 5.31% |
img/insta-icon.png | 1.45KB | 1.42KB | ▼ 1.82% |
img/carousel-layout.png | 43.89KB | 40.23KB | ▼ 8.32% |
img/instagram-gallery-premium.png | 67.46KB | 22.37KB | ▼ 66.84% |
img/post-layout.png | 52.40KB | 48.83KB | ▼ 6.80% |