Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.54MB] [CPU: ▼2.62ms] 75% from 4 tests
A check of server-side resources used by Gallery for Social Photo
Please fix the following
- CPU: Total CPU usage must kept under 500.00ms (currently 845.88ms on /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-premium-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 40.49 ▲1.55 |
Dashboard /wp-admin | 3.98 ▲0.64 | 49.69 ▼11.12 |
Posts /wp-admin/edit.php | 4.03 ▲0.67 | 49.57 ▲0.50 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 88.81 ▼1.39 |
Media Library /wp-admin/upload.php | 3.84 ▲0.61 | 38.06 ▲5.53 |
Upgrade to PRO /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-comparison | 3.84 | 42.35 |
All Feeds /wp-admin/edit.php?post_type=ginstagramfeed | 3.88 | 43.84 |
Documentation /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-docs | 3.84 | 37.37 |
Add New Feed /wp-admin/post-new.php?post_type=ginstagramfeed | 3.88 | 54.90 |
Free Plugins /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-free-plugins | 3.94 | 655.99 |
Settings /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-settings | 3.84 | 39.23 |
Premium Plugins /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-premium-plugins | 3.93 | 845.88 |
Server storage [IO: ▲1.21MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 171 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
ghozylab_instagram_feed_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_gifeed-widget |
Browser metrics Passed 4 tests
Gallery for Social Photo: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲193 | 13.57 ▼0.78 | 8.68 ▲6.94 | 36.23 ▼7.71 |
Dashboard /wp-admin | 2,255 ▲100 | 5.95 ▲0.26 | 109.52 ▼8.45 | 80.17 ▲38.55 |
Posts /wp-admin/edit.php | 2,138 ▲49 | 2.01 ▲0.00 | 39.85 ▲5.01 | 34.13 ▼3.31 |
Add New Post /wp-admin/post-new.php | 6,310 ▲4,781 | 18.81 ▲0.49 | 814.03 ▲178.59 | 59.36 ▼7.13 |
Media Library /wp-admin/upload.php | 1,434 ▲49 | 4.18 ▲0.06 | 96.53 ▼3.89 | 71.57 ▲28.28 |
Upgrade to PRO /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-comparison | 1,732 | 3.61 | 60.84 | 121.22 |
All Feeds /wp-admin/edit.php?post_type=ginstagramfeed | 1,109 | 1.95 | 37.22 | 28.15 |
Documentation /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-docs | 1,607 | 10.69 | 337.48 | 113.01 |
Add New Feed /wp-admin/post-new.php?post_type=ginstagramfeed | 1,162 | 3.87 | 62.56 | 96.68 |
Free Plugins /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-free-plugins | 1,627 | 3.62 | 48.86 | 102.57 |
Settings /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-instagram-settings | 1,129 | 3.59 | 49.13 | 80.35 |
Premium Plugins /wp-admin/edit.php?post_type=ginstagramfeed&page=ghozylab-premium-plugins | 1,140 | 3.61 | 47.72 | 66.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_gifeed-widget
- ghozylab_instagram_feed_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Please fix the following
- 15× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/feed-instagram-lite/inc/admin/gifeed-tinymce.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/gifeed-script-loader.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/pages/gifeed-docs-page.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/functions/gifeed-admin-functions.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/gifeed-settings.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/functions/gifeed-preview.php
- > /wp-content/plugins/feed-instagram-lite/inc/admin/gifeed-custom-post.php
- > /wp-content/plugins/feed-instagram-lite/inc/frontend/gifeed-template-helper.php
- > /wp-content/plugins/feed-instagram-lite/inc/frontend/gifeed-opt-loader.php
- > /wp-content/plugins/feed-instagram-lite/inc/frontend/gifeed-template.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feed-instagram-lite/inc/admin/vc/vc-shortcode.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/feed-instagram-lite/inc/admin/gifeed-widget.php:3
- > PHP Fatal error
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: Please a description for screenshot #6 in feed-instagram-lite/assets to your readme.txt
feed-instagram-lite/feed-instagram-lite.php 92% from 13 tests
"Gallery for Social Photo" version 1.0.0.31's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 170 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
Success! There were no dangerous files found in this plugin11,476 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 838 | 377 | 5,583 |
PHP | 25 | 1,245 | 313 | 3,423 |
JavaScript | 13 | 203 | 59 | 1,268 |
SVG | 4 | 0 | 0 | 667 |
PO File | 1 | 200 | 232 | 535 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 84 | |
▷ Named functions | 81 | 96.43% |
▷ Anonymous functions | 3 | 3.57% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
77 PNG files occupy 0.32MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/admin/img/metabox/valid.png | 1.02KB | 0.16KB | ▼ 84.64% |
inc/admin/img/comparison/no.png | 3.79KB | 0.46KB | ▼ 87.74% |
inc/admin/img/comparison/yes.png | 3.20KB | 0.50KB | ▼ 84.22% |
inc/admin/css/jquery/ui/images/ui-bg_fine-grain_10_f8f7f6_60x60.png | 9.67KB | 1.25KB | ▼ 87.10% |
inc/admin/img/metabox/invalid.png | 0.81KB | 0.69KB | ▼ 15.20% |