Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.48MB] [CPU: ▲0.06ms] Passed 4 tests
A check of server-side resources used by Enjoy Social Feed plugin for WordPress website
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.47 | 43.13 ▲6.20 |
Dashboard /wp-admin | 3.85 ▲0.50 | 53.95 ▼2.91 |
Posts /wp-admin/edit.php | 3.90 ▲0.54 | 48.02 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.49 | 85.15 ▼2.38 |
Media Library /wp-admin/upload.php | 3.71 ▲0.47 | 37.17 ▲3.17 |
Server storage [IO: ▲4.89MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 106 new files
Database: 2 new tables, 95 new options
New tables |
---|
wp_enjoy_instagram_hashtags |
wp_enjoy_instagram_media |
New WordPress options |
---|
enjoyinstagram_grid_link_default |
enjoyinstagram_grid_cols_600px_default |
enjoyinstagram_grid_cols_768px_default |
enjoyinstagram_carousel_theme |
enjoyinstagram_lightbox_caption_default |
enjoyinstagram_album_delay_default |
enjoyinstagram_carousel_margin_default |
widget_recent-posts |
enjoyinstagram_grid_cols_1024px_default |
enjoyinstagram_carousel_items_number |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Enjoy Social Feed plugin for WordPress website
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲134 | 14.18 ▼0.47 | 2.51 ▲0.65 | 43.35 ▲1.55 |
Dashboard /wp-admin | 2,326 ▲146 | 5.62 ▲0.05 | 90.31 ▲1.66 | 81.64 ▲40.70 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 2.05 ▲0.06 | 40.61 ▼3.56 | 40.49 ▲4.70 |
Add New Post /wp-admin/post-new.php | 1,544 ▲16 | 22.92 ▼0.20 | 663.33 ▼30.84 | 54.25 ▼2.48 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.19 ▼0.01 | 95.02 ▼14.24 | 42.09 ▼5.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_enjoy_instagram_hashtags
- wp_enjoy_instagram_media
- This plugin does not fully uninstall, leaving 95 options in the database
- enjoyinstagram_polaroid_link_altro_default
- enjoyinstagram_album_link_default
- enjoyinstagram_carousel_moderate_default
- enjoyinstagram_carousel_margin_default
- enjoyinstagram_polaroid_moderate_default
- enjoyinstagram_grid_step_default
- enjoyinstagram_album_margin_default
- enjoyinstagram_album_animation_out_default
- enjoyinstagram_carousel_autoreload_value_default
- enjoyinstagram_grid_margin_default
- ...
Smoke tests 50% from 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 0% 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/shortcodes/lightbox-styles/igvertical.php
- 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function enjoyinstagram() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/shortcodes/carousel.php:14
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/shortcodes/lightbox-styles/igvertical.php on line 15
- > PHP Notice
Undefined variable: result in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/shortcodes/lightbox-styles/igvertical.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function enjoyinstagram() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/diagnostic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/shortcodes/album.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/shortcodes/badge.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function enjoyinstagram() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/shortcodes/grid.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/plugin-options/options.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/enjoyinstagram.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/enjoy-instagram-instagram-responsive-images-gallery-and-carousel/templates/admin/shortcodes/polaroid.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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: These screenshots lack descriptions #10, #11, #12, #13, #9 in enjoy-instagram-instagram-responsive-images-gallery-and-carousel/assets to your readme.txt
enjoy-instagram-instagram-responsive-images-gallery-and-carousel/enjoyinstagram.php 85% from 13 tests
"Enjoy Social Feed plugin for WordPress website" version 6.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("enjoy-instagram-instagram-responsive-images-gallery-and-carousel.php" instead of "enjoyinstagram.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected18,707 lines of code in 71 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 1,763 | 410 | 8,851 |
CSS | 22 | 750 | 129 | 5,217 |
PHP | 28 | 711 | 1,125 | 4,595 |
XML | 1 | 6 | 1 | 25 |
SVG | 3 | 0 | 0 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 22.82 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 3 | 27.27% |
Methods | 105 | |
▷ Static methods | 7 | 6.67% |
▷ Public methods | 96 | 91.43% |
▷ Protected methods | 3 | 2.86% |
▷ Private methods | 6 | 5.71% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 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
19 PNG files occupy 0.17MB with 0.08MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/moderation-panel.png | 93.71KB | 43.13KB | ▼ 53.98% |
assets/images/grid-view.png | 1.01KB | 0.61KB | ▼ 39.40% |
assets/images/icons.png | 0.71KB | 0.43KB | ▼ 39.64% |
assets/images/followme.png | 7.21KB | 3.35KB | ▼ 53.49% |
assets/images/users.png | 12.67KB | 7.54KB | ▼ 40.46% |